Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'drm-fixes-2020-10-08' of git://anongit.freedesktop.org/drm/drm

Pull drm nouveau fixes from Dave Airlie:
"Karol found two last minute nouveau fixes, they both fix crashes, the
TTM one follows what other drivers do already, and the other is for
bailing on load on unrecognised chipsets.

- fix crash in TTM alloc fail path

- return error earlier for unknown chipsets"

* tag 'drm-fixes-2020-10-08' of git://anongit.freedesktop.org/drm/drm:
drm/nouveau/mem: guard against NULL pointer access in mem_del
drm/nouveau/device: return error for unknown chipsets

+3
+2
drivers/gpu/drm/nouveau/nouveau_mem.c
··· 176 176 nouveau_mem_del(struct ttm_mem_reg *reg) 177 177 { 178 178 struct nouveau_mem *mem = nouveau_mem(reg); 179 + if (!mem) 180 + return; 179 181 nouveau_mem_fini(mem); 180 182 kfree(reg->mm_node); 181 183 reg->mm_node = NULL;
+1
drivers/gpu/drm/nouveau/nvkm/engine/device/base.c
··· 3149 3149 case 0x168: device->chip = &nv168_chipset; break; 3150 3150 default: 3151 3151 nvdev_error(device, "unknown chipset (%08x)\n", boot0); 3152 + ret = -ENODEV; 3152 3153 goto done; 3153 3154 } 3154 3155