freedreno/a4xx: enable A405
authorKonrad Dybcio <konradybcio@gmail.com>
Thu, 26 Mar 2020 16:48:52 +0000 (17:48 +0100)
committerMarge Bot <eric+marge@anholt.net>
Wed, 29 Apr 2020 19:15:58 +0000 (19:15 +0000)
This patch brings support for Adreno A405
as found on MSM8939. That chip is a cut-down
version of A4XX IP and requires no special handling.

Tested on Asus Zenfone 2 Laser (Z00T) smartphone.

Signed-off-by: Konrad Dybcio <konradybcio@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4753>

src/gallium/drivers/freedreno/freedreno_screen.c

index 143b601f3b7fe85e13db392bbac776e0dc82a7b6..346ff856fbcc11047fa0794b38bf992976d41c7c 100644 (file)
@@ -914,6 +914,7 @@ fd_screen_create(struct fd_device *dev, struct renderonly *ro)
        case 330:
                fd3_screen_init(pscreen);
                break;
+       case 405:
        case 420:
        case 430:
                fd4_screen_init(pscreen);