drm/msm/adreno: remove duplicate adreno_hw_init() call
authorRob Clark <robdclark@gmail.com>
Wed, 24 Feb 2016 23:56:24 +0000 (18:56 -0500)
committerRob Clark <robdclark@gmail.com>
Thu, 3 Mar 2016 16:55:32 +0000 (11:55 -0500)
Not sure where it came from, but seem unintentional.  And also not
needed on a420, so let's just drop it.

Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/adreno/a4xx_gpu.c

index b371f1c..d0d3c7b 100644 (file)
@@ -238,12 +238,6 @@ static int a4xx_hw_init(struct msm_gpu *gpu)
                gpu_write(gpu, REG_A4XX_RBBM_CLOCK_DELAY_HLSQ, val);
        }
 
-       if (!adreno_is_a430(adreno_gpu)) {
-               ret = adreno_hw_init(gpu);
-               if (ret)
-                       return ret;
-       }
-
        /* setup access protection: */
        gpu_write(gpu, REG_A4XX_CP_PROTECT_CTRL, 0x00000007);