Module: Mesa
Branch: main
Commit: b4d111ab6c88573e2b54d1b0460e474306d5e2eb
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b4d111ab6c88573e2b54d1b0460e474306d5e2eb

Author: Konrad Dybcio <[email protected]>
Date:   Mon Sep 25 18:28:27 2023 +0200

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 <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25408>

---

 src/freedreno/common/freedreno_devices.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/freedreno/common/freedreno_devices.py 
b/src/freedreno/common/freedreno_devices.py
index 81d5f04d2a0..0fba336bdbd 100644
--- a/src/freedreno/common/freedreno_devices.py
+++ b/src/freedreno/common/freedreno_devices.py
@@ -656,6 +656,7 @@ add_gpus([
 
 add_gpus([
         GPUId(690),
+        GPUId(chip_id=0xffff06090000, name="FD690"), # Default no-speedbin 
fallback
     ], A6xxGPUInfo(
         CHIP.A6XX,
         a6xx_gen4,

Reply via email to