mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 01:55:51 +02:00
drm/ast: Remove traces of DRM_FORMAT_RGB888 handling
There's some incomplete handling for DRM_FORMAT_RGB888 in the mode- setting code. It was added by ast's original commit, which imported the code from the user-space Xorg driver. But the hardware doesn't support 24-bit pixel sizes. Hence remove the traces of RGB888 from ast. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com> Link: https://patch.msgid.link/20260414070522.33943-3-tzimmermann@suse.de
This commit is contained in:
parent
6033c027c8
commit
adf469f2b7
|
|
@ -155,7 +155,6 @@ static void ast_set_vbios_color_reg(struct ast_device *ast,
|
|||
case 2:
|
||||
color_index = HiCModeIndex;
|
||||
break;
|
||||
case 3:
|
||||
case 4:
|
||||
color_index = TrueCModeIndex;
|
||||
break;
|
||||
|
|
@ -765,7 +764,6 @@ static int ast_crtc_helper_atomic_check(struct drm_crtc *crtc,
|
|||
case DRM_FORMAT_RGB565:
|
||||
ast_state->std_table = &vbios_stdtable[HiCModeIndex];
|
||||
break;
|
||||
case DRM_FORMAT_RGB888:
|
||||
case DRM_FORMAT_XRGB8888:
|
||||
ast_state->std_table = &vbios_stdtable[TrueCModeIndex];
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user