]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/i915: Soft defeature of cursor size reduction
authorNemesa Garg <nemesa.garg@intel.com>
Wed, 13 Aug 2025 05:20:17 +0000 (10:50 +0530)
committerAnimesh Manna <animesh.manna@intel.com>
Fri, 19 Sep 2025 08:37:55 +0000 (14:07 +0530)
From display 14 onward do not enable the cursor
size reduction bit as it has been defeatured.

Bspec: 50372

Signed-off-by: Nemesa Garg <nemesa.garg@intel.com>
Reviewed-by: Chaitanya Kumar Borah <chaitanya.kumar.borah@intel.com>
Signed-off-by: Animesh Manna <animesh.manna@intel.com>
Link: https://lore.kernel.org/r/20250813052017.3591331-1-nemesa.garg@intel.com
drivers/gpu/drm/i915/display/intel_cursor.c

index d4d181f9dca5f69aba70077268275c4a396e807f..c47c849358714ee21468a85e4cd1a85f5b82fbd0 100644 (file)
@@ -662,7 +662,7 @@ static void i9xx_cursor_update_arm(struct intel_dsb *dsb,
                cntl = plane_state->ctl |
                        i9xx_cursor_ctl_crtc(crtc_state);
 
-               if (width != height)
+               if (DISPLAY_VER(display) < 14 && width != height)
                        fbc_ctl = CUR_FBC_EN | CUR_FBC_HEIGHT(height - 1);
 
                base = plane_state->surf;