Displaying 1 result from an estimated 1 matches for "drm_driver_color_mode_format".
2024 Aug 21
1
[PATCH v2 56/86] drm/mgag200: Run DRM default client setup
.../drm/drm_client_setup.c b/drivers/gpu/drm/drm_client_setup.c
index c8ca5afaa47a..5373a892f097 100644
--- a/drivers/gpu/drm/drm_client_setup.c
+++ b/drivers/gpu/drm/drm_client_setup.c
@@ -64,6 +64,6 @@ void drm_client_setup_with_color_mode(struct drm_device *dev, unsigned int color
{
u32 fourcc = drm_driver_color_mode_format(dev, color_mode);
- drm_client_setup_with_fourcc(dev, fmt);
+ drm_client_setup_with_fourcc(dev, fourcc);
}
EXPORT_SYMBOL(drm_client_setup_with_color_mode);
diff --git a/drivers/gpu/drm/mgag200/mgag200_drv.c b/drivers/gpu/drm/mgag200/mgag200_drv.c
index 6623ee4e3277..29087e2398df 100644
--- a/dr...