[PATCH v3 77/81] drm/msm: Run DRM default client setup
Javier Martinez Canillas
javierm at redhat.com
Tue Sep 3 12:16:53 UTC 2024
Thomas Zimmermann <tzimmermann at suse.de> writes:
> 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 msm driver specifies a preferred color mode of 32. As this
> is the default if no format has been given, leave it out entirely.
>
> Signed-off-by: Thomas Zimmermann <tzimmermann at suse.de>
> Cc: Rob Clark <robdclark at gmail.com>
> Cc: Abhinav Kumar <quic_abhinavk at quicinc.com>
> Cc: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
> Cc: Sean Paul <sean at poorly.run>
> Cc: Marijn Suijten <marijn.suijten at somainline.org>
> ---
> drivers/gpu/drm/msm/msm_drv.c | 4 +-
> drivers/gpu/drm/msm/msm_drv.h | 13 ++-
> drivers/gpu/drm/msm/msm_fbdev.c | 144 ++++++--------------------------
> 3 files changed, 38 insertions(+), 123 deletions(-)
>
Acked-by: Javier Martinez Canillas <javierm at redhat.com>
--
Best regards,
Javier Martinez Canillas
Core Platforms
Red Hat
More information about the amd-gfx
mailing list