diff options
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r-- | src/gallium/winsys/imx/drm/imx_drm_winsys.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/winsys/imx/drm/imx_drm_winsys.c b/src/gallium/winsys/imx/drm/imx_drm_winsys.c index 4bd21250315..cd72610b955 100644 --- a/src/gallium/winsys/imx/drm/imx_drm_winsys.c +++ b/src/gallium/winsys/imx/drm/imx_drm_winsys.c @@ -26,7 +26,6 @@ #include "imx_drm_public.h" #include "etnaviv/drm/etnaviv_drm_public.h" -#include "loader/loader.h" #include "renderonly/renderonly.h" #include <fcntl.h> @@ -37,7 +36,7 @@ struct pipe_screen *imx_drm_screen_create(int fd) struct renderonly ro = { .create_for_resource = renderonly_create_kms_dumb_buffer_for_resource, .kms_fd = fd, - .gpu_fd = loader_open_render_node("etnaviv") + .gpu_fd = open("/dev/dri/renderD128", O_RDWR | O_CLOEXEC) }; if (ro.gpu_fd < 0) |