OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c77d1a
)
drm/msm/adreno: remove duplicate adreno_hw_init() call
author
Rob Clark
<robdclark@gmail.com>
Wed, 24 Feb 2016 23:56:24 +0000
(18:56 -0500)
committer
Rob 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
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/msm/adreno/a4xx_gpu.c
b/drivers/gpu/drm/msm/adreno/a4xx_gpu.c
index
b371f1c
..
d0d3c7b
100644
(file)
--- a/
drivers/gpu/drm/msm/adreno/a4xx_gpu.c
+++ b/
drivers/gpu/drm/msm/adreno/a4xx_gpu.c
@@
-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);