mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-03-22 07:27:12 +08:00
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>
This commit is contained in:
@@ -2734,7 +2734,7 @@ static bool psr2_sel_fetch_plane_state_supported(const struct intel_plane_state
|
||||
if (plane_state->uapi.dst.y1 < 0 ||
|
||||
plane_state->uapi.dst.x1 < 0 ||
|
||||
plane_state->scaler_id >= 0 ||
|
||||
plane_state->uapi.rotation != DRM_MODE_ROTATE_0)
|
||||
plane_state->hw.rotation != DRM_MODE_ROTATE_0)
|
||||
return false;
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user