mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-22 23:36:30 +00:00
debugger: fix the -p option
Signed-off-by: Thomas Wood <thomas.wood@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
333a5c6f07
commit
49aa4b0df5
@ -538,7 +538,7 @@ int main(int argc, char* argv[]) {
|
||||
}
|
||||
|
||||
pci_dev = intel_get_pci_device();
|
||||
if (devid != -1);
|
||||
if (devid == -1)
|
||||
devid = pci_dev->device_id;
|
||||
if (identify_device(devid)) {
|
||||
abort();
|
||||
|
Loading…
x
Reference in New Issue
Block a user