v3d: Add renderonly support

Graphics / Mesa 3D Graphics Library / Mesa - Eric Anholt [anholt.net] - 27 November 2018 23:03 EST

I've been using this with the kmsro series to test v3d on VKMS without my old KMS hack in the v3d kernel driver. KMSRO still needs some cleanup, but v3d RO support seems reasonable.

e113b21cb7 v3d: Add renderonly support.
src/gallium/drivers/v3d/v3d_resource.c | 57 ++++++++++++++++++++++++++++-
src/gallium/drivers/v3d/v3d_resource.h | 1 +
src/gallium/drivers/v3d/v3d_screen.c | 10 ++++-
src/gallium/drivers/v3d/v3d_screen.h | 4 +-
src/gallium/winsys/v3d/drm/v3d_drm_public.h | 2 +
src/gallium/winsys/v3d/drm/v3d_drm_winsys.c | 8 +++-
6 files changed, 77 insertions(+), 5 deletions(-)

Upstream: cgit.freedesktop.org


  • Share