linux_dsm_epyc7002/drivers/gpu/drm/msm/adreno
Jordan Crouse fb03998192 drm/msm: Add adreno_gpu_write64()
Add a new generic function to write a "64" bit value. This isn't
actually a 64 bit operation, it just writes the upper and lower
32 bit of a 64 bit value to a specified LO and HI register.  If
a particular target doesn't support one of the registers it can
mark that register as SKIP and writes/reads from that register
will be quietly dropped.

This can be immediately put in place for the ringbuffer base and
the RPTR address.  Both writes are converted to use
adreno_gpu_write64() with their respective high and low registers
and the high register appropriately marked as SKIP for both 32 bit
targets (a3xx and a4xx). When a5xx comes it will define valid target
registers for the 'hi' option and everything else will just work.

Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
2016-11-28 15:14:12 -05:00
..
a2xx.xml.h drm/msm: update generated headers 2016-11-28 15:14:10 -05:00
a3xx_gpu.c drm/msm: Add adreno_gpu_write64() 2016-11-28 15:14:12 -05:00
a3xx_gpu.h drm/msm: update generated headers 2014-08-04 11:55:28 -04:00
a3xx.xml.h drm/msm: update generated headers 2016-11-28 15:14:10 -05:00
a4xx_gpu.c drm/msm: Add adreno_gpu_write64() 2016-11-28 15:14:12 -05:00
a4xx_gpu.h drm/msm: a4xx support for msm-drm 2014-11-16 14:27:40 -05:00
a4xx.xml.h drm/msm: update generated headers 2016-11-28 15:14:10 -05:00
a5xx.xml.h drm/msm: update generated headers 2016-11-28 15:14:10 -05:00
adreno_common.xml.h drm/msm: update generated headers 2016-11-28 15:14:10 -05:00
adreno_device.c drm/msm/adreno: move function declarations to header file 2016-10-24 16:28:03 +02:00
adreno_gpu.c drm/msm: Add adreno_gpu_write64() 2016-11-28 15:14:12 -05:00
adreno_gpu.h drm/msm: Add adreno_gpu_write64() 2016-11-28 15:14:12 -05:00
adreno_pm4.xml.h drm/msm: update generated headers 2016-11-28 15:14:10 -05:00