linux_dsm_epyc7002/drivers/gpu/drm/tegra
Thierry Reding 13411ddd31 drm/tegra: Obtain head number from DT
The head number of a given display controller is fixed in hardware and
required to program outputs appropriately. Relying on the driver probe
order to determine this number will not work, since that could yield a
situation where the second head was probed first and would be assigned
head number 0 instead of 1.

By explicitly specifying the head number in the device tree, it is no
longer necessary to rely on these assumptions. As a fallback, if the
property isn't available, derive the head number from the display
controller node's position in the device tree. That's somewhat more
reliable than the previous default but not a proper solution.

Tested-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2014-01-23 15:51:32 +01:00
..
bus.c drm/tegra: Move driver to DRM tree 2013-10-31 09:55:40 +01:00
dc.c drm/tegra: Obtain head number from DT 2014-01-23 15:51:32 +01:00
dc.h drm/tegra: Relocate some output-specific code 2013-12-20 15:56:07 +01:00
drm.c drm/tegra: Add PRIME support 2013-12-20 15:56:07 +01:00
drm.h drm/tegra: Add Tegra124 DC support 2013-12-20 15:56:06 +01:00
dsi.c drm/tegra: Relocate some output-specific code 2013-12-20 15:56:07 +01:00
dsi.h drm/tegra: Add DSI support 2013-12-20 15:56:04 +01:00
fb.c drm/tegra: Fix small leak on error in tegra_fb_alloc() 2013-12-20 15:56:06 +01:00
gem.c drm/tegra: Add PRIME support 2013-12-20 15:56:07 +01:00
gem.h drm/tegra: Add PRIME support 2013-12-20 15:56:07 +01:00
gr2d.c drm/tegra: Reserve base for gr2d 2013-10-31 09:55:48 +01:00
gr2d.h drm/tegra: Use symbolic names for gr2d registers 2013-10-31 09:55:44 +01:00
gr3d.c ARM: tegra: pass reset to tegra_powergate_sequence_power_up() 2013-12-11 16:43:11 -07:00
gr3d.h drm/tegra: Add 3D support 2013-10-31 09:55:45 +01:00
hdmi.c drm/tegra: Don't check resource with devm_ioremap_resource() 2014-01-14 14:34:14 +01:00
hdmi.h drm/tegra: Add Tegra114 HDMI support 2013-10-31 09:55:42 +01:00
Kconfig drm/tegra: Make legacy fbdev support optional 2013-12-20 15:56:05 +01:00
Makefile drm/tegra: Add DSI support 2013-12-20 15:56:04 +01:00
mipi-phy.c drm/tegra: fix compile w/ CONFIG_DYNAMIC_DEBUG 2013-12-20 15:56:33 +01:00
mipi-phy.h drm/tegra: Add DSI support 2013-12-20 15:56:04 +01:00
output.c drm/tegra: Use proper data type 2014-01-14 14:39:38 +01:00
rgb.c drm/tegra: Fix possible CRTC mask for RGB outputs 2014-01-14 14:35:56 +01:00