]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/arm/malidp:- Use the newly introduced malidp_format_get_bpp() instead of relying...
authorAyan Kumar Halder <ayan.halder@arm.com>
Mon, 19 Nov 2018 14:14:06 +0000 (14:14 +0000)
committerAyan kumar halder <ayan.halder@arm.com>
Tue, 12 Mar 2019 18:25:09 +0000 (18:25 +0000)
commit7834c5770284db6b53943c451a0d2efe69cabd7c
treedc69c412751fbd2e2430f14c63e21d9dd472ed2a
parentda77365870b4b20335645ec1332d1de4202e14b3
drm/arm/malidp:- Use the newly introduced malidp_format_get_bpp() instead of relying on cpp for calculating framebuffer size

Formats like DRM_FORMAT_VUY101010, DRM_FORMAT_YUV420_8BIT and
DRM_FORMAT_YUV420_10BIT are expressed in bits per pixel as they have a non
integer value of cpp (thus denoted as '0' in drm_format_info[]). Therefore,
the calculation of AFBC framebuffer size needs to use malidp_format_get_bpp().

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

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