]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/nouveau/device: add direct pointer to struct device
authorBen Skeggs <bskeggs@redhat.com>
Thu, 20 Aug 2015 04:54:06 +0000 (14:54 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 28 Aug 2015 02:40:06 +0000 (12:40 +1000)
commit6d0d40e7a577bbc7497ee7fbfeb2315d46a872a6
tree4d12d63abf2bf5dcef568939b76982258b105a43
parent741d778ea0dde26a345717f1843407760f02fe03
drm/nouveau/device: add direct pointer to struct device

A future commit will hide the platform/pci specifics from nvkm_device,
but it's still very useful in a lot of places to have access to the
Linux device struct.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/include/nvkm/core/device.h
drivers/gpu/drm/nouveau/nvkm/engine/device/base.c