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 6067aba9e6 ("freedreno: Include
speedbin fallback in 740 chipid to fix probing"), except for the older
core.

Fixes: 210c6c11cc ("freedreno+tu: Add a690 support")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25408>
(cherry picked from commit b4d111ab6c)
This commit is contained in:
Konrad Dybcio 2023-09-25 18:28:27 +02:00 committed by Eric Engestrom
parent 8e8acb4481
commit 563b08c2be
2 changed files with 2 additions and 1 deletions

View file

@ -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"
},

View file

@ -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,