[PATCH v5 12/19] drm: writeback: Cleanup job ownership handling when queuing job

Eric Anholt eric at anholt.net
Thu Feb 21 16:40:41 UTC 2019


Laurent Pinchart <laurent.pinchart+renesas at ideasonboard.com> writes:

> 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 <laurent.pinchart+renesas at ideasonboard.com>

Acked-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20190221/b675a57a/attachment.sig>


More information about the dri-devel mailing list