summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/display/intel_dp_link_training.c
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2019-10-15 18:27:57 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2019-10-18 17:04:34 +0300
commit30a027dcccc27051b3145ff9bb756d79038ad320 (patch)
treede8df1cfb2f19ff9154b39975a8209b0cfd6d103 /drivers/gpu/drm/i915/display/intel_dp_link_training.c
parentc6e07ada8eaa3ff66868a8bd6b1b9cdfa6d9fe21 (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