diff options
| author | Jordan Crouse <jcrouse@codeaurora.org> | 2017-02-13 10:14:25 -0700 |
|---|---|---|
| committer | Jordan Crouse <jcrouse@codeaurora.org> | 2017-02-22 09:52:21 -0700 |
| commit | 76eb0ae231831f40c631959b98c786facde0d266 (patch) | |
| tree | a1a0ac0e7e91b1553590bfc1fd74e11b58bb4005 /drivers/gpu/drm/msm/msm_ringbuffer.c | |
| parent | 64e3375be29e5634337724a7a51ee019cb2de146 (diff) | |
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 caculate 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.
Change-Id: Ic0dedbadca31e835f014037ea3f9741048df3b98
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Diffstat (limited to 'drivers/gpu/drm/msm/msm_ringbuffer.c')
0 files changed, 0 insertions, 0 deletions
