linux_dsm_epyc7002/drivers/gpu/drm/arm/display/komeda
Daniel Vetter 505f6cff88 drm/komeda: Remove clock ratio property
Properties are uapi like anything else, with all the usual rules
regarding review, testcases, open source userspace ... Furthermore
driver-private kms properties are highly discouraged, over the past
few years we've realized we need to make a serious effort at better
standardizing this stuff.

From the discussion with Liviu the solution for these here needs
multiple pieces:

- For being able to reliably read the memory clock we need a DT
  property, plus maybe DT override snippets to fix it if it's wrong.

- For exposing plane limitations to userspace there's TEST_ONLY. There
  is a bit a gap in telling userspace better that scaling doesn't work
  due to limits (atm a good strategy is to retry again without scaling
  when adding a plane didn't work the first time around). But that
  needs a more generic solution, not exposing something extremely
  komeda specific.

- If this is needed by validation tools, you can still expose it in
  debugfs. We have an entire nice infrastructure for debug printing of
  kms objects already, see the various atomic_print_state callbacks
  and infrastructure around them.

Fixes: 1f7f9ab790 ("drm/komeda: Add engine clock requirement check for the downscaling")
Cc: Lowry Li (Arm Technology China) <lowry.li@arm.com>
Cc: James Qian Wang (Arm Technology China) <james.qian.wang@arm.com>
Cc: Liviu Dudau <liviu.dudau@arm.com>
Cc: Mali DP Maintainers <malidp@foss.arm.com>
Cc: Brian Starkey <brian.starkey@arm.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Signed-off-by: Liviu Dudau <Liviu.Dudau@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190705121006.26085-1-daniel.vetter@ffwll.ch
2019-07-08 14:44:10 +01:00
..
d71 drm/komeda: Add new component komeda_splitter 2019-06-19 11:42:18 +01:00
komeda_color_mgmt.c drm/komeda: Enable color-encoding (YUV format) support 2019-06-19 11:42:17 +01:00
komeda_color_mgmt.h drm/komeda: Enable color-encoding (YUV format) support 2019-06-19 11:42:17 +01:00
komeda_crtc.c drm/komeda: Remove clock ratio property 2019-07-08 14:44:10 +01:00
komeda_dev.c komeda: no need to check return value of debugfs_create functions 2019-06-19 17:02:55 +01:00
komeda_dev.h drm/komeda: Rename main engine clk name "mclk" to "aclk" 2019-06-19 11:42:17 +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: Adds limitation check for AFBC wide block not support Rot90 2019-06-19 11:42:17 +01:00
komeda_format_caps.h drm/komeda: Add format support for Y0L2, P010, YUV420_8/10BIT 2019-06-19 11:42:17 +01:00
komeda_framebuffer.c drm/komeda: Correct printk format specifier for "size_t" 2019-06-19 17:03:38 +01:00
komeda_framebuffer.h drm/komeda: Add komeda_fb_check_src_coords 2019-06-19 11:42:17 +01:00
komeda_kms.c drm/komeda: Make Komeda interrupts shareable 2019-06-21 10:47:15 +01:00
komeda_kms.h drm/komeda: Remove clock ratio property 2019-07-08 14:44:10 +01:00
komeda_pipeline_state.c drm/komeda: Enable writeback split support 2019-06-19 11:42:18 +01:00
komeda_pipeline.c drm/komeda: Add new component komeda_splitter 2019-06-19 11:42:18 +01:00
komeda_pipeline.h drm/komeda: Enable writeback split support 2019-06-19 11:42:18 +01:00
komeda_plane.c drm/komeda: Add slave pipeline support 2019-06-19 11:42:17 +01:00
komeda_private_obj.c drm/komeda: Add new component komeda_splitter 2019-06-19 11:42:18 +01:00
komeda_wb_connector.c drm/komeda: Enable writeback split support 2019-06-19 11:42:18 +01:00
Makefile drm/komeda: Enable color-encoding (YUV format) support 2019-06-19 11:42:17 +01:00