]> git.baikalelectronics.ru Git - kernel.git/commit
drm/arm/malidp:- Disregard the pitch alignment constraint for AFBC framebuffer.
authorAyan Kumar Halder <ayan.halder@arm.com>
Mon, 19 Nov 2018 14:41:03 +0000 (14:41 +0000)
committerAyan kumar halder <ayan.halder@arm.com>
Tue, 12 Mar 2019 18:25:10 +0000 (18:25 +0000)
commit2ce8846ef313dac474c5e3ee060ddebb2382da1f
tree52a9b225532e70791cb77ecd42fe69155a805814
parentd3a01ed76e4b375e306ae93533e54902b4ca56ab
drm/arm/malidp:- Disregard the pitch alignment constraint for AFBC framebuffer.

Considering the fact that some of the AFBC specific pixel formats are expressed
in bits per pixel (ie bpp which is not byte aligned), the pitch (ie width * bpp)
is not guaranteed to be aligned to burst size (ie 8 or 16 bytes).
For example, DRM_FORMAT_VUY101010 is 30 bits per pixel. For a framebuffer of
width 32 pixels, the pitch will be 120 bytes which is not aligned to burst size
(ie 16 bytes) for DP650.

Changes since v3 (series):
- Added the ack
- Rebased on the latest drm-misc-next

Signed-off-by: Ayan Kumar halder <ayan.halder@arm.com>
Acked-by: Liviu Dudau <liviu.dudau@arm.com>
Acked-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Link: https://patchwork.freedesktop.org/patch/291764/?series=57895&rev=1
drivers/gpu/drm/arm/malidp_planes.c