aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_public.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2019-05-17 15:36:57 -0400
committerMarek Olšák <[email protected]>2019-05-27 15:26:06 -0400
commitfccced57cf484c6836e6637c0f9df90f09b344b6 (patch)
treed18d16358a72f9d1d9f16fcca0c10c419c1e04d6 /src/gallium/drivers/radeonsi/si_public.h
parentbb5d82bd06b168f8f641516e6d695c97e84888ca (diff)
radeonsi: clean up winsys creation
- unify the code - choose radeon or amdgpu based on the DRM version, not based on which one succeeds first
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_public.h')
-rw-r--r--src/gallium/drivers/radeonsi/si_public.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gallium/drivers/radeonsi/si_public.h b/src/gallium/drivers/radeonsi/si_public.h
index c8721babb05..8a1f6e1d93b 100644
--- a/src/gallium/drivers/radeonsi/si_public.h
+++ b/src/gallium/drivers/radeonsi/si_public.h
@@ -25,9 +25,6 @@
#ifndef SI_PUBLIC_H
#define SI_PUBLIC_H
-struct radeon_winsys;
-
-struct pipe_screen *radeonsi_screen_create(struct radeon_winsys *ws,
- const struct pipe_screen_config *config);
+struct pipe_screen *radeonsi_screen_create(int fd, const struct pipe_screen_config *config);
#endif