]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
drm/i915: Clean up skl+ PLANE_POS vs. scaler handling
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 1 Nov 2018 15:05:56 +0000 (17:05 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 9 Nov 2018 17:11:19 +0000 (19:11 +0200)
commit07464c7c0cf773b86372d128d17a892529c0775a
treed1535d5d387dfbb8d35c87408509ac6c8e28342c
parent7b012bd62db951384a73943311822d1fb447e416
drm/i915: Clean up skl+ PLANE_POS vs. scaler handling

On skl+ the scaler (when enabled) will take care of the plane output
position. Make the code less ugly by just setting crtc_x/y to 0
when the scaler is enabled.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181101150605.18235-6-ville.syrjala@linux.intel.com
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/i915/intel_sprite.c