linux_dsm_epyc7002/drivers/gpu/drm/arm/display/komeda
james qian wang (Arm Technology China) 1f7f9ab790 drm/komeda: Add engine clock requirement check for the downscaling
For downscaling there is a restriction, the downscaling needed engine
clock can not acceed the real engine clock, and the clock requirement
mostly depend on the specific HW, to solve this problem:
1. Add a pipeline func - downscaling_clk_check for CORE to query the real
   HW if downscaling can be supported.
2. Add new property clock ratio which is the ratio of:
     (mclk << 32) / pxlclk
   then User driver can use this ratio to do the clock check to avoid post
   an invalid downscaling to kernel.

v2: Rebase and Delete debug print

Signed-off-by: James Qian Wang (Arm Technology China) <james.qian.wang@arm.com>
Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
2019-06-19 11:42:16 +01:00
..
d71 drm/komeda: Add engine clock requirement check for the downscaling 2019-06-19 11:42:16 +01:00
komeda_crtc.c drm/komeda: Add engine clock requirement check for the downscaling 2019-06-19 11:42:16 +01:00
komeda_dev.c drm/komeda: fixing of DMA mapping sg segment warning 2019-06-04 15:12:44 +01:00
komeda_dev.h drm/komeda: fixing of DMA mapping sg segment warning 2019-06-04 15:12:44 +01:00
komeda_drv.c drm/komeda: Mark the local functions as static 2019-05-07 11:26:47 +01:00
komeda_format_caps.c drm/komeda: Added AFBC support for komeda driver 2019-06-19 11:42:16 +01:00
komeda_format_caps.h drm/komeda: Added AFBC support for komeda driver 2019-06-19 11:42:16 +01:00
komeda_framebuffer.c drm/komeda: Added AFBC support for komeda driver 2019-06-19 11:42:16 +01:00
komeda_framebuffer.h drm/komeda: Added AFBC support for komeda driver 2019-06-19 11:42:16 +01:00
komeda_kms.c drm/komeda: Added AFBC support for komeda driver 2019-06-19 11:42:16 +01:00
komeda_kms.h drm/komeda: Add engine clock requirement check for the downscaling 2019-06-19 11:42:16 +01:00
komeda_pipeline_state.c drm/komeda: Add engine clock requirement check for the downscaling 2019-06-19 11:42:16 +01:00
komeda_pipeline.c drm/komeda: Add the initial scaler support for CORE 2019-06-19 11:42:16 +01:00
komeda_pipeline.h drm/komeda: Add engine clock requirement check for the downscaling 2019-06-19 11:42:16 +01:00
komeda_plane.c drm/komeda: Add writeback scaling support 2019-06-19 11:42:16 +01:00
komeda_private_obj.c drm/komeda: Attach scaler to drm as private object 2019-06-19 11:42:16 +01:00
komeda_wb_connector.c drm/komeda: Add writeback scaling support 2019-06-19 11:42:16 +01:00
Makefile drm/komeda: Add writeback support 2019-06-19 11:42:16 +01:00