From 60a64f028d75ad6ca13468490adf1748cf9f1ec0 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 1 May 2019 15:02:27 -0700 Subject: v3d: Use driconf to expose non-MSAA texture limits for Xorg. The V3D 4.2 HW has a limit to MSAA texture sizes of 4096. With non-MSAA, we can go up to 7680 (actually probably 8138, but that hasn't been validated by the HW team). Exposing 7680 in X11 will allow dual 4k displays. --- src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gallium/auxiliary/pipe-loader') diff --git a/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c b/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c index 3006f78311a..9d75a9868e2 100644 --- a/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c +++ b/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c @@ -111,10 +111,12 @@ static const struct drm_driver_descriptor driver_descriptors[] = { { .driver_name = "v3d", .create_screen = pipe_v3d_create_screen, + .driconf_xml = &v3d_driconf_xml, }, { .driver_name = "vc4", .create_screen = pipe_vc4_create_screen, + .driconf_xml = &v3d_driconf_xml, }, { .driver_name = "panfrost", @@ -137,6 +139,7 @@ static const struct drm_driver_descriptor driver_descriptors[] = { static const struct drm_driver_descriptor default_driver_descriptor = { .driver_name = "kmsro", .create_screen = pipe_kmsro_create_screen, + .driconf_xml = &v3d_driconf_xml, }; #endif -- cgit v1.2.3