Commit dc220915 authored by Rob Clark's avatar Rob Clark
Browse files

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: 288a9320 ("drm/msm/adreno: Introduce A8x GPU Support")
Signed-off-by: default avatarRob Clark <robin.clark@oss.qualcomm.com>
Patchwork: https://patchwork.freedesktop.org/patch/697779/
Message-ID: <20260109153730.130462-3-robin.clark@oss.qualcomm.com>
parent 56cd8adf
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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;