mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-09 12:08:05 +02:00
nouveau: oops
This commit is contained in:
parent
128d87a3dd
commit
26bf6d9b5b
1 changed files with 1 additions and 2 deletions
|
|
@ -388,8 +388,7 @@ nv40_graph_context_create(drm_device_t *dev, int channel)
|
|||
unsigned int ctx_size;
|
||||
int i, chipset;
|
||||
|
||||
chipset = (NV_READ(NV_PMC_BOOT_0) & 0x0ff00000) >> 24;
|
||||
|
||||
chipset = (NV_READ(NV_PMC_BOOT_0) & 0x0ff00000) >> 20;
|
||||
switch (chipset) {
|
||||
case 0x40:
|
||||
ctx_size = NV40_GRCTX_SIZE;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue