drm/msm/a6xx: Add missing aperture_lock init
Subsystems (4)
Rob Clark
maintainerPATCH 1/1 drm/msm/a6xx: Add missing aperture_lock init
Looks like this was somehow missed when introducing gen8 support.
Fixes 288a93200892 ("drm/msm/adreno: Introduce A8x GPU Support")
Signed-off-by Rob Clark <[email protected]>
--- drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/msm/adreno/a6xx_gpu.c +1 -0
@@ -2656,6 +2656,7 @@ static struct msm_gpu *a6xx_gpu_init(struct drm_device *dev) gpu = &adreno_gpu->base;mutex_init (&a6xx_gpu->gmu.lock); +spin_lock_init (&a6xx_gpu->aperture_lock); adreno_gpu->registers =NULL ;
Signature · 1 line
2.53.0
Quoted 8 lines · Rob Clark
Looks like this was somehow missed when introducing gen8 support.
Fixes 288a93200892 ("drm/msm/adreno: Introduce A8x GPU Support")Signed-off-by Rob Clark <[email protected]>--- drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 1 + 1 file changed, 1 insertion(+)
Reviewed-by Dmitry Baryshkov <[email protected]>
Signature · 2 lines
With best wishes Dmitry
Quoted 4 lines · Rob Clark
Looks like this was somehow missed when introducing gen8 support.
Fixes 288a93200892 ("drm/msm/adreno: Introduce A8x GPU Support")Signed-off-by Rob Clark <[email protected]>
Reviewed-by Akhil P Oommen <[email protected]>
-Akhil.
Quoted 16 lines
--- drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 1 + 1 file changed, 1 insertion(+)drivers/gpu/drm/msm/adreno/a6xx_gpu.c +1
-0@@ -2656,6 +2656,7 @@ static struct msm_gpu *a6xx_gpu_init(struct drm_device *dev) gpu = &adreno_gpu->base;mutex_init (&a6xx_gpu->gmu.lock); +spin_lock_init (&a6xx_gpu->aperture_lock); adreno_gpu->registers =NULL ;
Quoted 5 lines · Rob Clark
Looks like this was somehow missed when introducing gen8 support.
Fixes 288a93200892 ("drm/msm/adreno: Introduce A8x GPU Support")Signed-off-by Rob Clark <[email protected]>---
Reviewed-by Konrad Dybcio <[email protected]>
Konrad