Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/i915/psr: Use hw.rotation instead of uapi.rotation

Presumably we're tryign to check if the hw plane is actually
rotated or not, so grab that information from the correct
plane (hw.rotation).

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patch.msgid.link/20251119181606.17129-4-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>

+1 -1
+1 -1
drivers/gpu/drm/i915/display/intel_psr.c
··· 2734 2734 if (plane_state->uapi.dst.y1 < 0 || 2735 2735 plane_state->uapi.dst.x1 < 0 || 2736 2736 plane_state->scaler_id >= 0 || 2737 - plane_state->uapi.rotation != DRM_MODE_ROTATE_0) 2737 + plane_state->hw.rotation != DRM_MODE_ROTATE_0) 2738 2738 return false; 2739 2739 2740 2740 return true;