aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2024-09-24 09:13:15 +0200
committerThomas Zimmermann <tzimmermann@suse.de>2024-09-26 09:31:29 +0200
commit41d48e557e01582780eb1426407bd9b26c0bad31 (patch)
tree25bd42d0ca0608bf1d2809aa174f3f9b707c55cd /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parentfe96a73ae530685365549f6f8a889d45844f9dfb (diff)
downloadlinux-41d48e557e01582780eb1426407bd9b26c0bad31.tar.gz
linux-41d48e557e01582780eb1426407bd9b26c0bad31.tar.bz2
linux-41d48e557e01582780eb1426407bd9b26c0bad31.zip
drm/radeon: Run DRM default client setup
Rework fbdev probing to support fbdev_probe in struct drm_driver and remove the old fb_probe callback. Provide an initializer macro for struct drm_driver that sets the callback according to the kernel configuration. Call drm_client_setup() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. The radeon driver specifies a preferred color mode depending on the available video memory, with a default of 32. Adapt this for the new client interface. v5: - select DRM_CLIENT_SELECTION v2: - style changes Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Cc: Alex Deucher <alexander.deucher@amd.com> Cc: "Christian König" <christian.koenig@amd.com> Cc: Xinhui Pan <Xinhui.Pan@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240924071734.98201-78-tzimmermann@suse.de
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions