History

drm/nouveau: fix crash with noaccel=1

Marcin Slusarz committed 14 years ago

Commit bf7e4381 parent 1f150b31 file · +4 −0Browse files

Showing the changes to drivers/gpu (1 of 1 file). Show all

Unified · Split

drivers/gpu/drm/nouveau/nouveau_abi16.c+4−0
@@ -241,6 +241,10 @@ nouveau_abi16_ioctl_channel_alloc(ABI16_IOCTL_ARGS) · 240 unmodified lines
241 241
242 if (unlikely(!abi16))242 if (unlikely(!abi16))
243 return -ENOMEM;243 return -ENOMEM;
244
245 if (!drm->channel)
246 return nouveau_abi16_put(abi16, -ENODEV);
247
244 client = nv_client(abi16->client);248 client = nv_client(abi16->client);
245 249
246 if (init->fb_ctxdma_handle == ~0 || init->tt_ctxdma_handle == ~0)250 if (init->fb_ctxdma_handle == ~0 || init->tt_ctxdma_handle == ~0)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t