diff options
author | Laurent Pinchart <[email protected]> | 2019-02-21 12:17:32 +0200 |
---|---|---|
committer | Laurent Pinchart <[email protected]> | 2019-03-18 17:24:30 +0200 |
commit | 97eb9eaeb95ba8eb3c7a77a7ec7786d47a1bcaee (patch) | |
tree | 23475d0d548703ad3e775ef57e64a8bd48a5b666 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | a63722aeb76c65f39c98c66a1e730a2f3da123ab (diff) |
drm: writeback: Cleanup job ownership handling when queuing job
The drm_writeback_queue_job() function takes ownership of the passed job
and requires the caller to manually set the connector state
writeback_job pointer to NULL. To simplify drivers and avoid errors
(such as the missing NULL set in the vc4 driver), pass the connector
state pointer to the function instead of the job pointer, and set the
writeback_job pointer to NULL internally.
Signed-off-by: Laurent Pinchart <[email protected]>
Reviewed-by: Brian Starkey <[email protected]>
Acked-by: Eric Anholt <[email protected]>
Acked-by: Liviu Dudau <[email protected]>
Reviewed-by: Kieran Bingham <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions