diff options
author | Jordan Crouse <jcrouse@codeaurora.org> | 2017-10-20 20:07:00 +0300 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2017-10-28 18:01:38 +0300 |
commit | 4d87fc32dfd20ad0d4ffd5204f6e5d41d281e128 (patch) | |
tree | c18ece98db22a9aecfd7825aa29b453b59d453f3 /drivers/gpu/drm/msm/msm_ringbuffer.c | |
parent | 4c7085a5d581a547232086b4ac0f553024eb9cec (diff) | |
download | linux-4d87fc32dfd20ad0d4ffd5204f6e5d41d281e128.tar.xz |
drm/msm: Make the value of RB_CNTL (almost) generic
We use a global ringbuffer size and block size for all targets and
at least for 5XX preemption we need to know the value the RB_CNTL
in several locations so it makes sense to calculate it once and use
it everywhere.
The only monkey wrench is that we need to disable the RPTR shadow
for A430 targets but that only needs to be done once and doesn't
affect A5XX so we can or in the value at init time.
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/msm/msm_ringbuffer.c')
0 files changed, 0 insertions, 0 deletions