OpenCloudOS-Kernel/drivers/gpu/drm/r128
David Herrmann 915b4d11b8 drm: add driver->set_busid() callback
One step closer to dropping all the drm_bus_* code:
Add a driver->set_busid() callback and make all drivers use the generic
helpers. Nouveau is the only driver that uses two different bus-types with
the same drm_driver. This is totally broken if both buses are available on
the same machine (unlikely, but lets be safe). Therefore, we create two
different drivers for each platform during module_init() and set the
set_busid() callback respectively.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2014-09-10 17:43:04 +10:00
..
Makefile drm: reorganise drm tree to be more future proof. 2008-07-14 10:45:01 +10:00
r128_cce.c drm: mark drm_buf and drm_map as legacy 2014-09-10 17:11:30 +10:00
r128_drv.c drm: add driver->set_busid() callback 2014-09-10 17:43:04 +10:00
r128_drv.h drm: Kill DRM_*MEMORYBARRIER 2013-12-18 11:35:21 +10:00
r128_ioc32.c drm: Remove DRM_ARRAY_SIZE() for ARRAY_SIZE() 2014-06-10 09:36:17 +10:00
r128_irq.c drm: Kill DRM_IRQ_ARGS 2013-12-18 11:33:46 +10:00
r128_state.c drm: Remove DRM_ARRAY_SIZE() for ARRAY_SIZE() 2014-06-10 09:36:17 +10:00