summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Rossi <issor.oruam@gmail.com>2016-04-04 01:32:04 +0200
committerChih-Wei Huang <cwhuang@linux.org.tw>2016-06-13 21:13:24 +0800
commit9b6333c0470a43e4a94ab3d94e0b4cf4558fd9ef (patch)
treea413e50cc2ab84e16a1135a9180e1a9182fbdc02
parent2000f202474f9e3ed1be4e545fab761ced383835 (diff)
downloadexternal_drm_gralloc-9b6333c0470a43e4a94ab3d94e0b4cf4558fd9ef.zip
external_drm_gralloc-9b6333c0470a43e4a94ab3d94e0b4cf4558fd9ef.tar.gz
external_drm_gralloc-9b6333c0470a43e4a94ab3d94e0b4cf4558fd9ef.tar.bz2
nouveau: add support for latest Kepler and Maxwell chipsets
0x100 and 0x120 chipsets were added in gralloc_drm_nouveau.c
-rw-r--r--gralloc_drm_nouveau.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gralloc_drm_nouveau.c b/gralloc_drm_nouveau.c
index b93c564..30e8fcb 100644
--- a/gralloc_drm_nouveau.c
+++ b/gralloc_drm_nouveau.c
@@ -362,9 +362,11 @@ static int nouveau_init(struct nouveau_info *info)
break;
case 0xe0:
case 0xf0:
+ case 0x100:
info->arch = NV_KEPLER;
break;
case 0x110:
+ case 0x120:
info->arch = NV_MAXWELL;
break;
default: