diff options
author | Rob Clark <robdclark@gmail.com> | 2013-12-05 17:39:53 -0500 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2014-01-09 14:44:06 -0500 |
commit | 55459968176f1319b5fe298420aa06347e3481a1 (patch) | |
tree | 4bdccb782c04d7f6762d7cdd6efa0f27797cc762 /drivers/gpu/drm/msm/adreno/a3xx_gpu.h | |
parent | 06c0dd96bfbba8a9368ffd7c4b12d3bfed37001d (diff) | |
download | lwn-55459968176f1319b5fe298420aa06347e3481a1.tar.gz lwn-55459968176f1319b5fe298420aa06347e3481a1.zip |
drm/msm: add a330/apq8x74
Add support for adreno 330. Not too much different, just a few
differences in initial configuration plus setting OCMEM base.
Userspace support is already in upstream mesa.
Note that the existing DT code is simply using the bindings from
downstream android kernel, to simplify porting of this driver to
existing devices. These do not constitute any committed/stable
DT ABI. The addition of proper DT bindings will be a subsequent
patch, at which point (as best as possible) I will try to support
either upstream bindings or what is found in downstream android
kernel, so that existing device DT files can be used.
Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/msm/adreno/a3xx_gpu.h')
-rw-r--r-- | drivers/gpu/drm/msm/adreno/a3xx_gpu.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/msm/adreno/a3xx_gpu.h b/drivers/gpu/drm/msm/adreno/a3xx_gpu.h index 32c398c2d00a..bb9a8ca0507b 100644 --- a/drivers/gpu/drm/msm/adreno/a3xx_gpu.h +++ b/drivers/gpu/drm/msm/adreno/a3xx_gpu.h @@ -24,6 +24,10 @@ struct a3xx_gpu { struct adreno_gpu base; struct platform_device *pdev; + + /* if OCMEM is used for GMEM: */ + uint32_t ocmem_base; + void *ocmem_hdl; }; #define to_a3xx_gpu(x) container_of(x, struct a3xx_gpu, base) |