diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2019-10-15 18:27:57 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2019-10-18 17:04:34 +0300 |
commit | 30a027dcccc27051b3145ff9bb756d79038ad320 (patch) | |
tree | de8df1cfb2f19ff9154b39975a8209b0cfd6d103 /drivers/gpu/drm/i915/display/intel_dp_link_training.c | |
parent | c6e07ada8eaa3ff66868a8bd6b1b9cdfa6d9fe21 (diff) |
drm/i915: Move the cursor rotation handling into intel_cursor_check_surface()
Unlike other planes the cursor currently handles 180 degree rotation
adjustment during the hardware programming phase. Let's move that
stuff into intel_cursor_check_surface() to match how we do things
with other plane types.
And while at we'll plop in the final src x/y coordinates (which will
actually always be zero) into the src rect and color_plane[0].x/y,
just for some extra consistency.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191015152757.12231-1-ville.syrjala@linux.intel.com
Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_dp_link_training.c')
0 files changed, 0 insertions, 0 deletions