diff options
author | Liviu Dudau <Liviu.Dudau@arm.com> | 2017-12-05 18:29:00 +0300 |
---|---|---|
committer | Liviu Dudau <Liviu.Dudau@arm.com> | 2018-03-14 14:38:02 +0300 |
commit | 5ed4fdfa58f091a65cb533cc6b8f47ade4cc4475 (patch) | |
tree | fa5ef33e97a42b3305fadf3f9b8b06049cd4013a /drivers/gpu/drm/arm/malidp_planes.c | |
parent | fcad73b9b1fb9580fd43f1349fd8ab34d5d456e9 (diff) | |
download | linux-5ed4fdfa58f091a65cb533cc6b8f47ade4cc4475.tar.xz |
drm/mali-dp: Align pitch size to be multiple of bus burst read size.
Mali DP hardware needs pitch line sizes aligned to the bus burst
size for reads, so take that into consideration when allocating dumb
buffers. If the layer is rotated then the stride size requirement is
even larger for some hardware versions, so allocate for the worst case
scenario. Update the ->dumb_create() hook to a driver specific function
that sets the correct pitch size.
Reported-by: Ayan Halder <ayan.halder@arm.com>
Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
Diffstat (limited to 'drivers/gpu/drm/arm/malidp_planes.c')
0 files changed, 0 insertions, 0 deletions