diff options
| author | Thomas Zimmermann <[email protected]> | 2024-09-24 07:13:15 +0000 |
|---|---|---|
| committer | Thomas Zimmermann <[email protected]> | 2024-09-26 07:31:29 +0000 |
| commit | 41d48e557e01582780eb1426407bd9b26c0bad31 (patch) | |
| tree | 25bd42d0ca0608bf1d2809aa174f3f9b707c55cd /drivers/gpu/drm/omapdrm/omap_fbdev.c | |
| parent | drm/msm: Run DRM default client setup (diff) | |
| download | kernel-41d48e557e01582780eb1426407bd9b26c0bad31.tar.gz kernel-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 <[email protected]>
Cc: Alex Deucher <[email protected]>
Cc: "Christian König" <[email protected]>
Cc: Xinhui Pan <[email protected]>
Acked-by: Alex Deucher <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_fbdev.c')
0 files changed, 0 insertions, 0 deletions
