mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-11 16:32:58 +00:00
lib: Make instdone initialisation fail gracefully
Just report that we don't recognise the chipset rather than explode. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
@@ -97,7 +97,8 @@ print_instdone(uint32_t devid, unsigned int instdone, unsigned int instdone1)
|
||||
static int once;
|
||||
|
||||
if (!once) {
|
||||
init_instdone_definitions(devid);
|
||||
if (!init_instdone_definitions(devid))
|
||||
return;
|
||||
once = 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user