Commit 078e8f8c authored by Eric Anholt's avatar Eric Anholt Committed by Rob Clark
Browse files

drm/msm: Fix setup of a6xx create_address_space.



We don't want it under CONFIG_DRM_MSM_GPU_STATE, we need it all the
time (like the other GPUs do).

Fixes: ccac7ce3 ("drm/msm: Refactor address space initialization")
Signed-off-by: default avatarEric Anholt <eric@anholt.net>
Signed-off-by: default avatarRob Clark <robdclark@chromium.org>
parent f167989c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -893,8 +893,8 @@ static const struct adreno_gpu_funcs funcs = {
#if defined(CONFIG_DRM_MSM_GPU_STATE)
		.gpu_state_get = a6xx_gpu_state_get,
		.gpu_state_put = a6xx_gpu_state_put,
		.create_address_space = adreno_iommu_create_address_space,
#endif
		.create_address_space = adreno_iommu_create_address_space,
	},
	.get_timestamp = a6xx_get_timestamp,
};