OpenCloudOS-Kernel/drivers/gpu/drm/bridge
Laurent Pinchart 0527e12e82 drm: bridge: dw-hdmi: Reject invalid product IDs
The DWC HDMI TX can be recognized by the two product identification
registers. If the registers don't read as expect the IP will be very
different than what the driver has been designed for, or will be
misconfigured in a way that makes it non-operational (invalid memory
address, incorrect clocks, ...). We should reject this situation with an
error.

While this isn't critical for proper operation with supported IPs at the
moment, the driver will soon gain automatic device-specific handling
based on runtime device identification. This change makes it easier to
implement that without having to default to a random guess in case the
device can't be identified.

While at it print a readable version number in the device identification
message instead of raw register values.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Jose Abreu <joabreu@synopsys.com>
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20170117082910.27023-14-laurent.pinchart+renesas@ideasonboard.com
2017-01-18 09:29:34 +05:30
..
adv7511 drm/bridge: adv7511: Initialize regulators 2017-01-17 10:37:22 +05:30
analogix drm: bridge: Link encoder and bridge in core code 2016-12-18 16:31:45 +05:30
Kconfig tilcdc changes for v4.10 2016-12-01 09:26:55 +10:00
Makefile tilcdc changes for v4.10 2016-12-01 09:26:55 +10:00
analogix-anx78xx.c drm/bridge: Call drm_connector_cleanup directly 2016-10-05 15:20:36 +02:00
analogix-anx78xx.h drm/bridge: Add Analogix anx78xx support 2016-05-12 11:32:14 +02:00
dumb-vga-dac.c drm: bridge: add support for TI ths8135 2016-12-14 10:03:08 +05:30
dw-hdmi-ahb-audio.c drm/bridge: dw-hdmi: Delete unnecessary assignment for the field "owner" 2016-08-23 11:34:26 -04:00
dw-hdmi-audio.h drm: bridge: add DesignWare HDMI I2S audio support 2016-11-24 14:27:15 +05:30
dw-hdmi-i2s-audio.c drm: bridge: add DesignWare HDMI I2S audio support 2016-11-24 14:27:15 +05:30
dw-hdmi.c drm: bridge: dw-hdmi: Reject invalid product IDs 2017-01-18 09:29:34 +05:30
dw-hdmi.h drm: bridge: dw-hdmi: Reject invalid product IDs 2017-01-18 09:29:34 +05:30
nxp-ptn3460.c drm: Make the connector .detect() callback optional 2016-12-01 10:05:53 -05:00
parade-ps8622.c drm: Make the connector .detect() callback optional 2016-12-01 10:05:53 -05:00
sii902x.c drm/bridge: Add sii902x driver 2016-06-20 15:55:49 +02:00
sil-sii8620.c drm/bridge: fix platform_no_drv_owner.cocci warnings 2016-10-27 11:35:23 +05:30
sil-sii8620.h drm/bridge: add Silicon Image SiI8620 driver 2016-10-26 11:19:12 +05:30
tc358767.c drm: Make the connector .detect() callback optional 2016-12-01 10:05:53 -05:00
ti-tfp410.c drm/bridge: Add ti-tfp410 DVI transmitter driver 2016-11-30 14:17:14 +02:00