freedreno/a5xx: enable a510
authorMarijn Suijten <marijns95@gmail.com>
Sat, 19 Oct 2019 14:43:49 +0000 (16:43 +0200)
committerMarijn Suijten <marijns95@gmail.com>
Sat, 19 Oct 2019 14:48:24 +0000 (16:48 +0200)
Kernel support for this GPU is added by the following series:
https://patchwork.kernel.org/project/linux-arm-msm/list/?series=187609
In particular https://patchwork.kernel.org/patch/11189953/

Tested on Sony Xperia X and X Compact.

Signed-off-by: Marijn Suijten <marijns95@gmail.com>
Tested-by: AngeloGioacchino Del Regno <kholk11@gmail.com>
src/gallium/drivers/freedreno/freedreno_screen.c

index c1ac4a1c5d046b77f10d24bc5bf31d3455910721..e10199d0a85bedfc3b52b31c9129071d9b5078e7 100644 (file)
@@ -897,6 +897,7 @@ fd_screen_create(struct fd_device *dev, struct renderonly *ro)
        case 430:
                fd4_screen_init(pscreen);
                break;
+       case 510:
        case 530:
        case 540:
                fd5_screen_init(pscreen);