diff options
author | Craig Stout <cstout@chromium.org> | 2016-02-19 03:50:00 +0300 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2016-03-03 19:55:27 +0300 |
commit | 357ff00b08d67cfb489f2e306bda7d3ef45a1306 (patch) | |
tree | 0d98eb831cb60a5ab75dcfdfadfb2a62e17bb14a /drivers/gpu/drm/msm/adreno/adreno_gpu.h | |
parent | a2272e48eef02869dc3fa031720f36dd4cb05e4f (diff) | |
download | linux-357ff00b08d67cfb489f2e306bda7d3ef45a1306.tar.xz |
drm/msm/adreno: support for adreno 430.
Signed-off-by: Craig Stout <cstout@chromium.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/msm/adreno/adreno_gpu.h')
-rw-r--r-- | drivers/gpu/drm/msm/adreno/adreno_gpu.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/msm/adreno/adreno_gpu.h b/drivers/gpu/drm/msm/adreno/adreno_gpu.h index 0a312e9d3afd..c26aea13df6d 100644 --- a/drivers/gpu/drm/msm/adreno/adreno_gpu.h +++ b/drivers/gpu/drm/msm/adreno/adreno_gpu.h @@ -228,6 +228,11 @@ static inline int adreno_is_a420(struct adreno_gpu *gpu) return gpu->revn == 420; } +static inline int adreno_is_a430(struct adreno_gpu *gpu) +{ + return gpu->revn == 430; +} + int adreno_get_param(struct msm_gpu *gpu, uint32_t param, uint64_t *value); int adreno_hw_init(struct msm_gpu *gpu); uint32_t adreno_last_fence(struct msm_gpu *gpu); |