diff options
| author | Mihail Atanassov <[email protected]> | 2017-01-23 15:24:35 +0000 |
|---|---|---|
| committer | Liviu Dudau <[email protected]> | 2017-01-26 15:46:19 +0000 |
| commit | 83d642ee6dbec57ef1639a3de1e383fbfc5c44ec (patch) | |
| tree | c0bdb4752227b0aab0d124f1d4b17130dd7a0229 /drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c | |
| parent | drm: mali-dp: Add plane offset to the plane's physical start address register (diff) | |
| download | kernel-83d642ee6dbec57ef1639a3de1e383fbfc5c44ec.tar.gz kernel-83d642ee6dbec57ef1639a3de1e383fbfc5c44ec.zip | |
drm: mali-dp: fix stride setting for multi-plane formats
Hardware has multiple (2 or 3, depending on model) stride
registers per layer; add a function that correctly takes that
into account. On hardware that only has 2 stride registers,
ensure that 3-plane (YUV) content has identical strides
for both chroma planes.
Signed-off-by: Mihail Atanassov <[email protected]>
[Removed smart layer stride setup, comment and commit message clarifications]
Signed-off-by: Liviu Dudau <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c')
0 files changed, 0 insertions, 0 deletions
