aboutsummaryrefslogtreecommitdiffstats
path: root/src/loader/loader_dri3_helper.h
diff options
context:
space:
mode:
authorQiang Yu <[email protected]>2018-08-06 11:19:27 +0800
committerEmil Velikov <[email protected]>2018-08-17 17:16:32 +0100
commit0aa80abf257edde027378b6826e60fa8088ac3df (patch)
tree874b616bdd6078d775106f58a70c99b34eb9f737 /src/loader/loader_dri3_helper.h
parent3bbe180b982639554685c997ff51a7cbbf3247e6 (diff)
loader: add dri_driver option to override dri driver to load
drirc implementation of MESA_LOADER_DRIVER_OVERRIDE which can be used to override dri driver to load. Usage: override dri driver for device with spec kernel driver name: <device kernel_driver="kernel_driver_name"> <option name="dri_driver" value="new_dri_driver" /> </device> or <device driver="loader" kernel_driver="kernel_driver_name"> <option name="dri_driver" value="new_dri_driver" /> </device> v2: add kernel_driver device attribute to specify kernel driver name instead of reuse driver attribute v3: seperate loader_get_kernel_driver_name into another patch seperate add kernel_driver attribute into another patch Suggested-by: Michel Dänzer <[email protected]> Signed-off-by: Qiang Yu <[email protected]> Acked-by: Michel Dänzer <[email protected]> Reviewed-by: Emil Velikov <[email protected]> [v4 Emil: add HAVE_LIBDRM guard around __driConfigOptionsLoader and loader_get_dri_config_driver] Signed-off-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/loader/loader_dri3_helper.h')
0 files changed, 0 insertions, 0 deletions