mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-16 09:13:55 +08:00
drm/nvc0: enable acceleration for nvc1 by default
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
6688a4dd20
commit
1c77e0f7fa
@ -1110,11 +1110,13 @@ int nouveau_load(struct drm_device *dev, unsigned long flags)
|
||||
dev_priv->noaccel = !!nouveau_noaccel;
|
||||
if (nouveau_noaccel == -1) {
|
||||
switch (dev_priv->chipset) {
|
||||
case 0xc1: /* known broken */
|
||||
#if 0
|
||||
case 0xXX: /* known broken */
|
||||
NV_INFO(dev, "acceleration disabled by default, pass "
|
||||
"noaccel=0 to force enable\n");
|
||||
dev_priv->noaccel = true;
|
||||
break;
|
||||
#endif
|
||||
default:
|
||||
dev_priv->noaccel = false;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user