diff options
author | Jordan Crouse <jcrouse@codeaurora.org> | 2017-05-08 14:35:00 -0600 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2017-06-16 11:15:47 -0400 |
commit | e895c7bd31f5ca7dbd315001cfbdcaee98ee16c4 (patch) | |
tree | 323939c63b1c71f08526b025b24a2a836885eb91 /drivers/gpu/drm/msm/adreno/a4xx_gpu.c | |
parent | 167b606aa262270ab6aeb5700adca6b1f33da26a (diff) | |
download | linux-stable-e895c7bd31f5ca7dbd315001cfbdcaee98ee16c4.tar.gz linux-stable-e895c7bd31f5ca7dbd315001cfbdcaee98ee16c4.tar.bz2 linux-stable-e895c7bd31f5ca7dbd315001cfbdcaee98ee16c4.zip |
drm/msm: Remove idle function hook
There isn't any generic code that uses ->idle so remove it.
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/msm/adreno/a4xx_gpu.c')
-rw-r--r-- | drivers/gpu/drm/msm/adreno/a4xx_gpu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/msm/adreno/a4xx_gpu.c b/drivers/gpu/drm/msm/adreno/a4xx_gpu.c index dfe0eceaae3b..19abf229b08d 100644 --- a/drivers/gpu/drm/msm/adreno/a4xx_gpu.c +++ b/drivers/gpu/drm/msm/adreno/a4xx_gpu.c @@ -31,6 +31,7 @@ extern bool hang_debug; static void a4xx_dump(struct msm_gpu *gpu); +static bool a4xx_idle(struct msm_gpu *gpu); /* * a4xx_enable_hwcg() - Program the clock control registers @@ -137,7 +138,7 @@ static bool a4xx_me_init(struct msm_gpu *gpu) OUT_RING(ring, 0x00000000); gpu->funcs->flush(gpu); - return gpu->funcs->idle(gpu); + return a4xx_idle(gpu); } static int a4xx_hw_init(struct msm_gpu *gpu) @@ -534,7 +535,6 @@ static const struct adreno_gpu_funcs funcs = { .last_fence = adreno_last_fence, .submit = adreno_submit, .flush = adreno_flush, - .idle = a4xx_idle, .irq = a4xx_irq, .destroy = a4xx_destroy, #ifdef CONFIG_DEBUG_FS |