[RFC 08/16] drm/nouveau/mc: support platform devices

2014-01-31 Thread Alexandre Courbot
Use abstracted resource query functions, and obtain the IRQ from the correct bus. Signed-off-by: Alexandre Courbot --- drivers/gpu/drm/nouveau/core/include/subdev/mc.h | 1 + drivers/gpu/drm/nouveau/core/subdev/mc/base.c| 43 +++- 2 files changed, 29 insertions(+), 15

[RFC 08/16] drm/nouveau/mc: support platform devices

2014-01-31 Thread Alexandre Courbot
Use abstracted resource query functions, and obtain the IRQ from the correct bus. Signed-off-by: Alexandre Courbot acour...@nvidia.com --- drivers/gpu/drm/nouveau/core/include/subdev/mc.h | 1 + drivers/gpu/drm/nouveau/core/subdev/mc/base.c| 43 +++- 2 files changed, 29