mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-11 04:50:35 +01:00
nvc0: bail out early during nve4_compute_setup()
Exit gracefully rather than trying to create a random object, whenever the chipset is unknown Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
This commit is contained in:
parent
e28c266682
commit
48bcb94dc3
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ nve4_screen_compute_setup(struct nvc0_screen *screen,
|
|||
break;
|
||||
default:
|
||||
NOUVEAU_ERR("unsupported chipset: NV%02x\n", dev->chipset);
|
||||
break;
|
||||
return -1;
|
||||
}
|
||||
|
||||
ret = nouveau_object_new(chan, 0xbeef00c0, obj_class, NULL, 0,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue