panfrost: Enable Chromium
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 15 Jul 2020 23:22:53 +0000 (19:22 -0400)
committerMarge Bot <eric+marge@anholt.net>
Thu, 16 Jul 2020 19:59:43 +0000 (19:59 +0000)
With the latest batch of fixes, Chromium works (including WebGL support,
although performance is still WIP).

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5858>

src/gallium/drivers/panfrost/pan_screen.c

index b4ec7d35666292bb59360c0e7d41c31124f662c0..d850cca71da007af95ac83b69f46933f950445ac 100644 (file)
@@ -677,18 +677,6 @@ panfrost_screen_get_compiler_options(struct pipe_screen *pscreen,
 struct pipe_screen *
 panfrost_create_screen(int fd, struct renderonly *ro)
 {
-        /* Blacklist apps known to be buggy under Panfrost */
-        const char *proc = util_get_process_name();
-        const char *blacklist[] = {
-                "chromium",
-                "chrome",
-        };
-
-        for (unsigned i = 0; i < ARRAY_SIZE(blacklist); ++i) {
-                if ((strcmp(blacklist[i], proc) == 0))
-                        return NULL;
-        }
-
         /* Create the screen */
         struct panfrost_screen *screen = rzalloc(NULL, struct panfrost_screen);