mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
drm/i915/xe3p_lpd: Don't allow odd ypan or ysize with semiplanar format
Disable support for odd panning and size in y direction when running on display version 35 and using semiplanar formats. Bspec: 68903 Signed-off-by: Juha-pekka Heikkila <juha-pekka.heikkila@intel.com> Reviewed-by: Matt Atwood <matthew.s.atwood@intel.com> Link: https://patch.msgid.link/20251103-xe3p_lpd-basic-enabling-v3-12-00e87b510ae7@intel.com Signed-off-by: Gustavo Sousa <gustavo.sousa@intel.com>
This commit is contained in:
committed by
Gustavo Sousa
parent
9676c29f74
commit
c128c31393
@@ -1050,6 +1050,9 @@ int intel_plane_check_src_coordinates(struct intel_plane_state *plane_state)
|
||||
DISPLAY_VERx100(display) == 3002) &&
|
||||
src_x % 2 != 0)
|
||||
hsub = 2;
|
||||
|
||||
if (DISPLAY_VER(display) == 35)
|
||||
vsub = 2;
|
||||
} else {
|
||||
hsub = fb->format->hsub;
|
||||
vsub = fb->format->vsub;
|
||||
|
||||
Reference in New Issue
Block a user