freedreno: add renderonly scanout
authorJonathan Marek <jonathan@marek.ca>
Wed, 16 Jan 2019 15:22:53 +0000 (10:22 -0500)
committerRob Clark <robdclark@gmail.com>
Sat, 26 Jan 2019 15:47:21 +0000 (10:47 -0500)
commit41ddf1d1506e4a1394ab784d805d1df78b1892e1
treeb546fe3b3299e8d2ac589294d23e8cd9088c65f3
parentcd79b5e0c2cc0035719348592bac97dce6ce1d73
freedreno: add renderonly scanout

This allows creating a fd_screen with a renderonly object which will be
used to allocated scanout resources.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Eric Anholt <eric@anholt.net>
[slight tweak to fix uninitialized 'prsc' in debug print]
Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/auxiliary/target-helpers/drm_helper.h
src/gallium/drivers/freedreno/freedreno_resource.c
src/gallium/drivers/freedreno/freedreno_resource.h
src/gallium/drivers/freedreno/freedreno_screen.c
src/gallium/drivers/freedreno/freedreno_screen.h
src/gallium/targets/pipe-loader/pipe_msm.c
src/gallium/winsys/freedreno/drm/freedreno_drm_public.h
src/gallium/winsys/freedreno/drm/freedreno_drm_winsys.c