summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/drm_dp_aux_dev.c
diff options
context:
space:
mode:
authorJohn Harrison <John.C.Harrison@Intel.com>2015-07-08 16:20:18 +0100
committerJohn Harrison <John.C.Harrison@Intel.com>2016-05-06 14:12:55 +0100
commit2994adc0815129affe9dc1c5053e85a4963dd276 (patch)
tree90171e76520f0820b3d1dcea412d3422c9da38c8 /drivers/gpu/drm/drm_dp_aux_dev.c
parent221f57c77d81da560f43bb3debc0426d0ae3f1bb (diff)
drm/i915: Hook scheduler node clean up into retire requests
The scheduler keeps its own lock on various DRM objects in order to guarantee safe access long after the original execbuff IOCTL has completed. This is especially important when pre-emption is enabled as the batch buffer might need to be submitted to the hardware multiple times. This patch hooks the clean up of these locks into the request retire function. The request can only be retired after it has completed on the hardware and thus is no longer eligible for re-submission. Thus there is no point holding on to the locks beyond that time. v3: Updated to not WARN when cleaning a node that is being cancelled. The clean will happen later so skipping it at the point of cancellation is fine. v5: Squashed the i915_scheduler.c portions down into the 'start of scheduler' patch. [Joonas Lahtinen] For: VIZ-1587 Signed-off-by: John Harrison <John.C.Harrison@Intel.com> Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/gpu/drm/drm_dp_aux_dev.c')
0 files changed, 0 insertions, 0 deletions