OpenCloudOS-Kernel/drivers/gpu/drm/arm
Ayan Kumar Halder b8207562ab drm/arm/malidp: Specified the rotation memory requirements for AFBC YUV formats
The newly supported AFBC YUV formats have the following rotation memory
constraints (in DP550/DP650).
1. DRM_FORMAT_VUY888/DRM_FORMAT_VUY101010 :- It can rotate upto 8
horizontal lines in the AFBC output buffer.
2. DRM_FORMAT_YUV420_8BIT :- It can rotate upto 16 horizontal lines
in the AFBC output buffer.

Also some of the pixel formats are specified in bits per pixel (rather
than bytes per pixel), so the calculation needs to take note of this.

Besides there are some difference between DP550 and DP650 and these are
as follows:-
1. DRM_FORMAT_X0L2 (in uncompressed format) does not support rotation in
DP550. For DP650, it can rotate upto 16 horizontal lines in the AFBC
output buffer, whereas in DP550 (with AFBC), it can rotate upto 8
horizontal lines.
2. DRM_FORMAT_YUV420_10BIT :- It can rotate upto 8 horizontal lines in
dp550 and 16 horizontal lines in 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>
Reviewed-by: Liviu Dudau <liviu.dudau@arm.com>
Acked-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Link: https://patchwork.freedesktop.org/patch/291763/?series=57895&rev=1
2019-03-12 18:25:08 +00:00
..
display drm/komeda: fix build with drm_modeset_helper.h update 2019-02-11 10:36:00 +01:00
Kconfig drm/komeda: komeda_dev/pipeline/component definition and initialzation 2019-01-14 11:09:23 +00:00
Makefile drm/komeda: komeda_dev/pipeline/component definition and initialzation 2019-01-14 11:09:23 +00:00
hdlcd_crtc.c drm: Split out drm_probe_helper.h 2019-01-24 13:20:42 +01:00
hdlcd_drv.c drm/irq: Don't check for DRIVER_HAVE_IRQ in drm_irq_(un)install 2019-01-29 15:45:06 +01:00
hdlcd_drv.h drm/arm/hdlcd: Use drm_fb_cma_fbdev_init/fini() 2018-07-31 16:31:50 +01:00
hdlcd_regs.h
malidp_crtc.c drm: Split out drm_probe_helper.h 2019-01-24 13:20:42 +01:00
malidp_drv.c drm/arm/malidp:- Define a common list of AFBC format modifiers supported for DP500, DP550 and DP650 2019-03-12 18:25:07 +00:00
malidp_drv.h drm/arm/malidp:- Define a common list of AFBC format modifiers supported for DP500, DP550 and DP650 2019-03-12 18:25:07 +00:00
malidp_hw.c drm/arm/malidp: Specified the rotation memory requirements for AFBC YUV formats 2019-03-12 18:25:08 +00:00
malidp_hw.h drm/arm/malidp: Specified the rotation memory requirements for AFBC YUV formats 2019-03-12 18:25:08 +00:00
malidp_mw.c drm/arm/malidp:- Define a common list of AFBC format modifiers supported for DP500, DP550 and DP650 2019-03-12 18:25:07 +00:00
malidp_mw.h drm: mali-dp: Add writeback connector 2018-07-05 15:19:03 +01:00
malidp_planes.c drm/arm/malidp: Specified the rotation memory requirements for AFBC YUV formats 2019-03-12 18:25:08 +00:00
malidp_regs.h drm/arm/malidp: Set the AFBC register bits if the framebuffer has AFBC modifier 2019-03-12 18:25:06 +00:00