]> www.infradead.org Git - nvme.git/commit
drm/i915/overlay: Remove redundant drm_rect_visible() use
authorArthur Grillo <arthurgrillo@riseup.net>
Sat, 25 Mar 2023 17:27:19 +0000 (14:27 -0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 4 Mar 2024 11:00:26 +0000 (13:00 +0200)
commit711c487ca4b94582e6ce2f301c62801646f28749
tree2775cf5f6785eac6a627cfb2f024ea5b0646e031
parentd10612f8303fab350d82f8b7d5793683af50ee3c
drm/i915/overlay: Remove redundant drm_rect_visible() use

The drm_rect_intersect() already returns if the intersection is visible
or not, so the use of drm_rect_visible() is duplicate.

Signed-off-by: Arthur Grillo <arthurgrillo@riseup.net>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230325172719.92102-1-arthurgrillo@riseup.net
drivers/gpu/drm/i915/display/intel_overlay.c