From 563b08c2bea6f4043ecc105ddc4c9109c32b65df Mon Sep 17 00:00:00 2001 From: Konrad Dybcio Date: Mon, 25 Sep 2023 18:28:27 +0200 Subject: [PATCH] freedreno: Include speedbin fallback in 690 chipid to fix probing The kernel exposes CHIP_ID, which consists of: [63:48] const 0 / reserved [47:32] speedbin (default 0xffff) [31:0 ] actual gpu chip ID Fix the 690 chip id to make it probe correctly. Keep the existing entry for the downstream KGSL driver. This is essentially the same as Commit 6067aba9e6db ("freedreno: Include speedbin fallback in 740 chipid to fix probing"), except for the older core. Fixes: 210c6c11cc61 ("freedreno+tu: Add a690 support") Signed-off-by: Konrad Dybcio Part-of: (cherry picked from commit b4d111ab6c88573e2b54d1b0460e474306d5e2eb) --- .pick_status.json | 2 +- src/freedreno/common/freedreno_devices.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.pick_status.json b/.pick_status.json index ab63653e47c..1dfb526b31e 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -121,7 +121,7 @@ "description": "freedreno: Include speedbin fallback in 690 chipid to fix probing", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": "210c6c11cc61c8f53c2c5506e97084dc5f9f2270" }, diff --git a/src/freedreno/common/freedreno_devices.py b/src/freedreno/common/freedreno_devices.py index 628b2bf78c8..043665a977f 100644 --- a/src/freedreno/common/freedreno_devices.py +++ b/src/freedreno/common/freedreno_devices.py @@ -466,6 +466,7 @@ add_gpus([ add_gpus([ GPUId(690), + GPUId(chip_id=0xffff06090000, name="FD690"), # Default no-speedbin fallback ], A6xxGPUInfo( a6xx_gen4, num_ccu = 8,