panfrost: Enable Chromium

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>
This commit is contained in:
Alyssa Rosenzweig 2020-07-15 19:22:53 -04:00 committed by Marge Bot
parent 96fa8d70bc
commit 19da8121d6
1 changed files with 0 additions and 12 deletions

View 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);