mirror of
https://github.com/torvalds/linux.git
synced 2026-05-25 23:52:08 +02:00
drm/msm: Fix GMEM_BASE for gen8
This should also be zero for gen8. This does change a7xx-gen1 to zero.
It was almost certainly incorrect before, but we have no such devices in
CI currently.
Fixes: 288a932008 ("drm/msm/adreno: Introduce A8x GPU Support")
Signed-off-by: Rob Clark <robin.clark@oss.qualcomm.com>
Patchwork: https://patchwork.freedesktop.org/patch/697779/
Message-ID: <20260109153730.130462-3-robin.clark@oss.qualcomm.com>
This commit is contained in:
parent
56cd8adff8
commit
dc220915dd
|
|
@ -376,8 +376,7 @@ int adreno_get_param(struct msm_gpu *gpu, struct msm_context *ctx,
|
|||
*value = adreno_gpu->info->gmem;
|
||||
return 0;
|
||||
case MSM_PARAM_GMEM_BASE:
|
||||
if (adreno_is_a650_family(adreno_gpu) ||
|
||||
adreno_is_a740_family(adreno_gpu))
|
||||
if (adreno_gpu->info->family >= ADRENO_6XX_GEN4)
|
||||
*value = 0;
|
||||
else
|
||||
*value = 0x100000;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user