drm/i915: Add function to clear scanout flag for vmas
authorJouni Högander <jouni.hogander@intel.com>
Thu, 27 Jul 2023 06:41:42 +0000 (09:41 +0300)
committerJouni Högander <jouni.hogander@intel.com>
Tue, 1 Aug 2023 05:47:10 +0000 (08:47 +0300)
commitddd33ff119cfcbb658ed26b543d34d282e01482c
tree8ecfd842d424a0327edf0de75ef1e54fbe44acae
parent1836a6c6668cf9d566b99e9db1661c107c5b9c81
drm/i915: Add function to clear scanout flag for vmas

Currently frontbuffer tracking code is directly iterating over object vmas
and clearing scanout flags for them. Add function to clear scanout flag for
vmas and use it from frontbuffer tracking code.

v2: describe function parameter.

Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Nirmoy Das <nirmoy.das@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230727064142.751976-5-jouni.hogander@intel.com
drivers/gpu/drm/i915/display/intel_frontbuffer.c
drivers/gpu/drm/i915/i915_vma.c
drivers/gpu/drm/i915/i915_vma.h