drm/i915: remove excess functions from plane protection check
authorJani Nikula <jani.nikula@intel.com>
Thu, 9 Nov 2023 16:07:22 +0000 (18:07 +0200)
committerJani Nikula <jani.nikula@intel.com>
Fri, 10 Nov 2023 22:23:30 +0000 (00:23 +0200)
commit9b1c97fc0ce6090c328b5723250f4deeefc95fcd
tree6e2415089b9d3077a93f3cf9e5908a6e1d9c967a
parent88a6e46cd3e33756b168c7f2366bf7029a16da56
drm/i915: remove excess functions from plane protection check

Reduce the function calls by reusing ->decrypt.

Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231109160722.3372379-2-jani.nikula@intel.com
drivers/gpu/drm/i915/display/skl_universal_plane.c