mirror of
https://github.com/torvalds/linux.git
synced 2026-05-27 16:44:58 +02:00
drm/i915/display: Use DISPLAY_VER over GRAPHICS_VER
The checks in plane_has_modifier() should check against display version instead of graphics version. Bspec: 67165, 70815 Signed-off-by: Matt Atwood <matthew.s.atwood@intel.com> Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com> Link: https://lore.kernel.org/r/20250903170821.310143-1-matthew.s.atwood@intel.com Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
This commit is contained in:
parent
65805c2ed7
commit
820e067b94
|
|
@ -564,11 +564,11 @@ static bool plane_has_modifier(struct intel_display *display,
|
|||
return false;
|
||||
|
||||
if (md->modifier == I915_FORMAT_MOD_4_TILED_BMG_CCS &&
|
||||
(GRAPHICS_VER(i915) < 20 || !display->platform.dgfx))
|
||||
(DISPLAY_VER(display) < 14 || !display->platform.dgfx))
|
||||
return false;
|
||||
|
||||
if (md->modifier == I915_FORMAT_MOD_4_TILED_LNL_CCS &&
|
||||
(GRAPHICS_VER(i915) < 20 || display->platform.dgfx))
|
||||
(DISPLAY_VER(display) < 20 || display->platform.dgfx))
|
||||
return false;
|
||||
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user