diff options
author | Ayan Kumar Halder <ayan.halder@arm.com> | 2018-11-19 14:14:06 +0000 |
---|---|---|
committer | Ayan kumar halder <ayan.halder@arm.com> | 2019-03-12 18:25:09 +0000 |
commit | 7834c5770284db6b53943c451a0d2efe69cabd7c (patch) | |
tree | dc69c412751fbd2e2430f14c63e21d9dd472ed2a /drivers/gpu/drm/drm_modeset_helper.c | |
parent | da77365870b4b20335645ec1332d1de4202e14b3 (diff) |
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
Diffstat (limited to 'drivers/gpu/drm/drm_modeset_helper.c')
0 files changed, 0 insertions, 0 deletions