mirror of https://gitee.com/openkylin/linux.git
drm/msm/adreno: remove duplicate adreno_hw_init() call
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>
This commit is contained in:
parent
6c77d1abe6
commit
7977f4426c
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue