diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-06-30 11:12:34 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-06-30 11:32:24 +0100 |
commit | 40301e6d03f6e8d2d2d01e6bb9f1754a7e543a08 (patch) | |
tree | 85752961213e347e5c3e75741dd49b98961a87ef /src/intel_driver.h | |
parent | 17da58f904e75d434aaf71e297e15d41153ba954 (diff) |
sna: Store the path used to open the device and pass to DRI
Avoid having to search the device tree once again in order to simply
recover the path we used to open the device.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/intel_driver.h')
-rw-r--r-- | src/intel_driver.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel_driver.h b/src/intel_driver.h index ed58444f..22b623ff 100644 --- a/src/intel_driver.h +++ b/src/intel_driver.h @@ -313,6 +313,7 @@ void intel_detect_chipset(ScrnInfoPtr scrn, int intel_open_device(int entity_num, const struct pci_device *pci, const char *path); int intel_get_device(ScrnInfoPtr scrn); +const char *intel_get_device_name(ScrnInfoPtr scrn); int intel_get_master(ScrnInfoPtr scrn); int intel_put_master(ScrnInfoPtr scrn); void intel_put_device(ScrnInfoPtr scrn); |