From d9bf8b0d79ff9961004803d085ae58909780f0f8 Mon Sep 17 00:00:00 2001 From: SolDev69 Date: Fri, 24 Nov 2023 08:26:43 -0500 Subject: [PATCH] AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA --- src/gallium/drivers/freedreno/freedreno_screen.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gallium/drivers/freedreno/freedreno_screen.c b/src/gallium/drivers/freedreno/freedreno_screen.c index 8517482e09d..95c16b9805b 100644 --- a/src/gallium/drivers/freedreno/freedreno_screen.c +++ b/src/gallium/drivers/freedreno/freedreno_screen.c @@ -1003,6 +1003,8 @@ fd_screen_get_fd(struct pipe_screen *pscreen) } +// kgsl_pipe.c +#include "freedreno/drm/kgsl/kgsl_priv.h" int kgsl_pipe_safe_ioctl(int fd, unsigned long request, void *arg) { @@ -1119,6 +1121,8 @@ struct fd_pipe *kgsl_pipe_new(struct fd_device *dev, enum fd_pipe_id id, return NULL; } + +// Create screen, back to freedreno_screen.c code struct pipe_screen * fd_screen_create(int fd, const struct pipe_screen_config *config,