summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/arm/malidp_planes.c
diff options
context:
space:
mode:
authorLiviu Dudau <Liviu.Dudau@arm.com>2017-12-05 18:29:00 +0300
committerLiviu Dudau <Liviu.Dudau@arm.com>2018-03-14 14:38:02 +0300
commit5ed4fdfa58f091a65cb533cc6b8f47ade4cc4475 (patch)
treefa5ef33e97a42b3305fadf3f9b8b06049cd4013a /drivers/gpu/drm/arm/malidp_planes.c
parentfcad73b9b1fb9580fd43f1349fd8ab34d5d456e9 (diff)
downloadlinux-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