diff options
author | Jonathan Marek <[email protected]> | 2019-01-16 10:22:53 -0500 |
---|---|---|
committer | Rob Clark <[email protected]> | 2019-01-26 10:47:21 -0500 |
commit | 41ddf1d1506e4a1394ab784d805d1df78b1892e1 (patch) | |
tree | b546fe3b3299e8d2ac589294d23e8cd9088c65f3 /src/gallium/auxiliary | |
parent | cd79b5e0c2cc0035719348592bac97dce6ce1d73 (diff) |
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 <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
[slight tweak to fix uninitialized 'prsc' in debug print]
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r-- | src/gallium/auxiliary/target-helpers/drm_helper.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/target-helpers/drm_helper.h b/src/gallium/auxiliary/target-helpers/drm_helper.h index 7eefa6e42ec..bb5c5790d9d 100644 --- a/src/gallium/auxiliary/target-helpers/drm_helper.h +++ b/src/gallium/auxiliary/target-helpers/drm_helper.h @@ -248,7 +248,7 @@ pipe_freedreno_create_screen(int fd, const struct pipe_screen_config *config) { struct pipe_screen *screen; - screen = fd_drm_screen_create(fd); + screen = fd_drm_screen_create(fd, NULL); return screen ? debug_screen_wrap(screen) : NULL; } |