]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon: Stop changing the drm_driver struct
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 4 Nov 2020 10:04:20 +0000 (11:04 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 6 Nov 2020 09:31:26 +0000 (10:31 +0100)
commitf2d7f7daea042b43cfbe874ef138e49a6f849d0d
tree14d8eb582b6b5254d2bedd0d7045a27668a39a62
parent63cff1d470d23c3317b25b8c9377816327161d13
drm/radeon: Stop changing the drm_driver struct

With only the kms driver left, we can fold this in. This means
we need to move the ioctl table, which means one additional ioctl
must be defined in headers.

Also there's a conflict between the radeon_init macro and the module
init function, so rename the module functions to avoid that.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: "Christian König" <christian.koenig@amd.com>
Cc: amd-gfx@lists.freedesktop.org
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20201104100425.1922351-1-daniel.vetter@ffwll.ch
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_drv.c
drivers/gpu/drm/radeon/radeon_kms.c