linux/drivers/gpu/drm/arm
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
..
display drm/komeda: Remove clock ratio property 2019-07-08 14:44:10 +01:00
hdlcd_crtc.c drm/arm/hdlcd: Allow a bit of clock tolerance 2019-06-04 15:12:45 +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
Kconfig drm/komeda: komeda_dev/pipeline/component definition and initialzation 2019-01-14 11:09:23 +00:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
malidp_crtc.c Linux 5.2-rc5 2019-06-19 12:07:29 +02:00
malidp_drv.c malidp: no need to check return value of debugfs_create functions 2019-06-19 17:03:23 +01:00
malidp_drv.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 443 2019-06-05 17:37:17 +02:00
malidp_hw.c Linux 5.2-rc5 2019-06-19 12:07:29 +02:00
malidp_hw.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 443 2019-06-05 17:37:17 +02:00
malidp_mw.c drm: Remove users of drm_format_num_planes 2019-05-20 13:32:57 +02:00
malidp_mw.h drm: mali-dp: Add writeback connector 2018-07-05 15:19:03 +01:00
malidp_planes.c Linux 5.2-rc5 2019-06-19 12:07:29 +02:00
malidp_regs.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 443 2019-06-05 17:37:17 +02:00