linux/drivers/gpu/drm/arm
james qian wang (Arm Technology China) 420810cec6 drm/komeda: Refine function to_d71_input_id
Since the component_state->input[i] is only valid when it is active, the
content of input[i] is undefined if it is inactive. The user must check the
state->active_inputs with input index firstly before using state->input[i].
Refine the function to_d71_input_id and directly move such check into it.
Simplify the using and avoid problem that caller forget the valid check.

Depends on:
- https://patchwork.freedesktop.org/series/60856/

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:17 +01:00
..
display drm/komeda: Refine function to_d71_input_id 2019-06-19 11:42:17 +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 SPDX update for 5.2-rc4 2019-06-08 12:52:42 -07: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