OpenCloudOS-Kernel/drivers/gpu/drm/tegra
Daniel Vetter b3f2333de8 drm: restrict the device list for shadow attached drivers
There's really no need for the drm core to keep a list of all
devices of a given driver - the linux device model keeps perfect
track of this already for us.

The exception is old legacy ums drivers using pci shadow attaching.
So rename the lists to make the use case clearer and rip out everything
else.

v2: Rebase on top of David Herrmann's drm device register changes.
Also drop the bogus dev_set_drvdata for platform drivers that somehow
crept into the original version - drivers really should be in full
control of that field.

v3: Initialize driver->legacy_dev_list outside of the loop, spotted by
David Herrmann.

v4: Rebase on top of the newly created host1x drm_bus for tegra.

Cc: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2013-12-18 11:08:36 +10:00
..
Kconfig drm/tegra: Changes for v3.13-rc1 2013-11-05 16:21:00 +10:00
Makefile drm/tegra: Add 3D support 2013-10-31 09:55:45 +01:00
bus.c drm: restrict the device list for shadow attached drivers 2013-12-18 11:08:36 +10:00
dc.c drm/tegra: Support bottom-up buffer objects 2013-10-31 09:55:46 +01:00
dc.h drm/tegra: Support bottom-up buffer objects 2013-10-31 09:55:46 +01:00
drm.c drm/tegra: return -EFAULT if copy_from_user() fails 2013-12-03 10:14:03 +01:00
drm.h drm/tegra: Make CRTC upcasting safer 2013-12-03 10:04:15 +01:00
fb.c drm/tegra: Force cast to __iomem to make sparse happy 2013-12-03 10:05:04 +01:00
gem.c drm/tegra: Support bottom-up buffer objects 2013-10-31 09:55:46 +01:00
gem.h drm/tegra: Support bottom-up buffer objects 2013-10-31 09:55:46 +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 drm/tegra: Reserve syncpoint base for gr3d 2013-10-31 09:55:49 +01:00
gr3d.h drm/tegra: Add 3D support 2013-10-31 09:55:45 +01:00
hdmi.c drm/tegra: hdmi: Enable VDD earlier for hotplug/DDC 2013-10-31 09:55:44 +01:00
hdmi.h drm/tegra: Add Tegra114 HDMI support 2013-10-31 09:55:42 +01:00
output.c drm/tegra: Start connectors with correct DPMS mode 2013-10-31 09:55:44 +01:00
rgb.c drm/tegra: Tightly bind RGB output to DC 2013-12-03 10:04:22 +01:00