From 41ddf1d1506e4a1394ab784d805d1df78b1892e1 Mon Sep 17 00:00:00 2001 From: Jonathan Marek Date: Wed, 16 Jan 2019 10:22:53 -0500 Subject: 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 Reviewed-by: Eric Anholt [slight tweak to fix uninitialized 'prsc' in debug print] Signed-off-by: Rob Clark --- src/gallium/auxiliary/target-helpers/drm_helper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/auxiliary') 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; } -- cgit v1.2.3