summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_perf_types.h
diff options
context:
space:
mode:
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>2019-10-04 13:34:54 +0200
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>2019-10-10 16:01:04 +0200
commit3a612765f4233993bf5cff302844bd3b6b5a7429 (patch)
treed6ed8265dd7f7a346948f0a856839b5434e27dc2 /drivers/gpu/drm/i915/i915_perf_types.h
parentd8bd3e157a17b03d2b0f380e143bf8204f75df94 (diff)
downloadlinux-3a612765f4233993bf5cff302844bd3b6b5a7429.tar.bz2
drm/i915: Remove cursor use of properties for coordinates
We have a src and dect rectangle, use it instead of relying on the core drm properties. Because the core by default clips the src/dst properties, after the drm_atomic_helper_check_plane_state() we manually set the unclipped src/dst rectangles. We still need the call for visibility checks, but this way we are able to use the src/dst rects in the check/commit code. This removes the special case in the watermark code for cursor w/h. Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20191004113514.17064-5-maarten.lankhorst@linux.intel.com Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> [mlankhorst: Clarify commit message to state we use unclipped src/dst
Diffstat (limited to 'drivers/gpu/drm/i915/i915_perf_types.h')
0 files changed, 0 insertions, 0 deletions