]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915: Prepare clear color before wait_for_dependencies()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 30 Sep 2024 17:04:04 +0000 (20:04 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 3 Oct 2024 21:32:55 +0000 (00:32 +0300)
commitb7e247b3c927493593414dd07ab12702b0977635
tree94c70171f5a30f6d1b56dca5e45f369e39549a00
parent0e94059113f615af15ce0cb2e56908f7f42ffcc2
drm/i915: Prepare clear color before wait_for_dependencies()

Read out the clear color as soon as fences and the transient
data flush have finished. There is no need to wait for
all the display specific operations that might still be
going on. This could parallelize things a bit more effectively.

Reviewed-by: Animesh Manna <animesh.manna@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240930170415.23841-3-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/display/intel_display.c