Skip to content

Commit bc40cf6

Browse files
vsyrjalajnikula
authored andcommitted
drm/i915: Restore lost glk ccs w/a
We lost a CCS related w/a on glk when the display version became 10 instead of 9. Restore the correct check. Cc: Matt Roper <[email protected]> Fixes: 2b5a456 ("drm/i915/display: Simplify GLK display version tests") Reviewed-by: Jani Nikula <[email protected]> Signed-off-by: Ville Syrjälä <[email protected]> Signed-off-by: Jani Nikula <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] (cherry picked from commit 0fe6637) Signed-off-by: Jani Nikula <[email protected]>
1 parent 604b5bc commit bc40cf6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/gpu/drm/i915/display/intel_display.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1403,7 +1403,8 @@ intel_fb_stride_alignment(const struct drm_framebuffer *fb, int color_plane)
14031403
* require the entire fb to accommodate that to avoid
14041404
* potential runtime errors at plane configuration time.
14051405
*/
1406-
if (IS_DISPLAY_VER(dev_priv, 9) && color_plane == 0 && fb->width > 3840)
1406+
if ((IS_DISPLAY_VER(dev_priv, 9) || IS_GEMINILAKE(dev_priv)) &&
1407+
color_plane == 0 && fb->width > 3840)
14071408
tile_width *= 4;
14081409
/*
14091410
* The main surface pitch must be padded to a multiple of four

0 commit comments

Comments
 (0)