Skip to content

Commit 078e8f8

Browse files
anholtrobclark
authored andcommitted
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: ccac7ce ("drm/msm: Refactor address space initialization") Signed-off-by: Eric Anholt <[email protected]> Signed-off-by: Rob Clark <[email protected]>
1 parent f167989 commit 078e8f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/msm/adreno/a6xx_gpu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -893,8 +893,8 @@ static const struct adreno_gpu_funcs funcs = {
893893
#if defined(CONFIG_DRM_MSM_GPU_STATE)
894894
.gpu_state_get = a6xx_gpu_state_get,
895895
.gpu_state_put = a6xx_gpu_state_put,
896-
.create_address_space = adreno_iommu_create_address_space,
897896
#endif
897+
.create_address_space = adreno_iommu_create_address_space,
898898
},
899899
.get_timestamp = a6xx_get_timestamp,
900900
};

0 commit comments

Comments
 (0)