summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_device.c
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2017-07-13 17:43:10 +0100
committerEmil Velikov <[email protected]>2017-07-17 15:23:49 +0100
commit647b5a18df6e423e1a15d92bc767ba0cf04493a3 (patch)
tree663e346109b85691c4dfe81eb9a6626908fd1f83 /src/intel/vulkan/anv_device.c
parentf9d5611617d2498a05dddb036659ef37567a7753 (diff)
i965: use strtol to convert the integer deviceID override
One can override the deviceID, by setting the INTEL_DEVID_OVERRIDE variable. A few symbolic names or a numerical value for the actual device ID is accepted. At the same time we're using strtod (string to double) to convert the string to a decimal numeral. A seeming thinko, made by the original commit that introduces the code in libdrm_intel and got here with the import. Fixes: 514db96c117a ("i965: Import libdrm_intel.") Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Eric Engestrom <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_device.c')
0 files changed, 0 insertions, 0 deletions