]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915: Don't reuse commit_work for the cleanup
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 27 Nov 2024 06:11:14 +0000 (08:11 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 28 Nov 2024 15:33:33 +0000 (17:33 +0200)
commit0768530b7c5bedd9b967c87e2f85ab982ae29b9b
tree9f1e18e857e691ca8d83208aa22fa4bafcb2e011
parent36a585f6bb13ca03f8dc3f1a110da243f8b766b8
drm/i915: Don't reuse commit_work for the cleanup

Currently we reuse the commit_work for a later cleanup step.
Let's not do that so that atomic ioctl handler won't accidentally
wait for the cleanup work when it really wants to just wait on the
commit_tail() part. We'll just add another work struct for the
cleanup.

Cc: Brian Geffon <bgeffon@google.com>
Cc: Vidya Srinivas <vidya.srinivas@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241127061117.25622-2-ville.syrjala@linux.intel.com
Reviewed-by: Vidya Srinivas <vidya.srinivas@intel.com>
Tested-by: Vidya Srinivas <vidya.srinivas@intel.com>
drivers/gpu/drm/i915/display/intel_display.c
drivers/gpu/drm/i915/display/intel_display_types.h