drm/v3d: Clean up the reservation object setup.
authorEric Anholt <eric@anholt.net>
Thu, 8 Nov 2018 16:16:53 +0000 (08:16 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 27 Nov 2018 20:23:23 +0000 (12:23 -0800)
commit8f1cd826641d677d0f7494253ecfc3335f0bcd4e
treeca74308db0d25b90bc8668e5d1793d083255336c
parente90e45f6bd45cc494a6f4cd1853c5e7cd4be7f68
drm/v3d: Clean up the reservation object setup.

The extra to_v3d_bo() calls came from copying this from the vc4
driver, which stored the cma gem object in the structs.

v2: Fix an unused var warning

Signed-off-by: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20181108161654.19888-4-eric@anholt.net
Reviewed-by: Boris Brezillon <boris.brezillon@bootlin.com> (v1)
drivers/gpu/drm/v3d/v3d_gem.c