mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00: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
1 changed files with 3 additions and 1 deletions
|
@ -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 a new issue