summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2016-07-09 10:41:01 +1000
committerBen Skeggs <bskeggs@redhat.com>2016-07-14 11:51:56 +1000
commitadb475429c1197d215f13ce48a86662f96b46053 (patch)
tree1b84e49e17250ada33d16e34e22fcd32e28772ed /bin
parent9149e65fb7974127caf10d385d441efcc0477f71 (diff)
downloadnouveau-adb475429c1197d215f13ce48a86662f96b46053.tar.gz
core: recognise GP100 chipset
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'bin')
-rw-r--r--bin/nv_rffunc.h2
-rw-r--r--bin/nv_rifunc.h2
-rw-r--r--bin/nv_rsfunc.h2
-rw-r--r--bin/nv_rvfunc.h2
-rw-r--r--bin/nv_wffunc.h2
-rw-r--r--bin/nv_wifunc.h2
-rw-r--r--bin/nv_wsfunc.h2
-rw-r--r--bin/nv_wvfunc.h2
8 files changed, 8 insertions, 8 deletions
diff --git a/bin/nv_rffunc.h b/bin/nv_rffunc.h
index fe1d616a0..d14efe2a0 100644
--- a/bin/nv_rffunc.h
+++ b/bin/nv_rffunc.h
@@ -13,7 +13,7 @@ nv_rfb(struct nvif_device *device, u64 offset)
u64 addr = (offset & (PAGE_SIZE - 1));
if (device->info.family < NV_DEVICE_INFO_V0_TNT ||
- device->info.family > NV_DEVICE_INFO_V0_MAXWELL) {
+ device->info.family > NV_DEVICE_INFO_V0_PASCAL) {
printk("unsupported chipset\n");
exit(1);
}
diff --git a/bin/nv_rifunc.h b/bin/nv_rifunc.h
index 8da8898ed..c3827fb39 100644
--- a/bin/nv_rifunc.h
+++ b/bin/nv_rifunc.h
@@ -13,7 +13,7 @@ nv_rfb(struct nvif_device *device, u64 offset)
u64 addr = (offset & (PAGE_SIZE - 1));
if (device->info.family < NV_DEVICE_INFO_V0_CURIE ||
- device->info.family > NV_DEVICE_INFO_V0_MAXWELL) {
+ device->info.family > NV_DEVICE_INFO_V0_PASCAL) {
printk("unsupported chipset\n");
exit(1);
}
diff --git a/bin/nv_rsfunc.h b/bin/nv_rsfunc.h
index f234ccac7..4f7bc691a 100644
--- a/bin/nv_rsfunc.h
+++ b/bin/nv_rsfunc.h
@@ -6,7 +6,7 @@ static CAST
nv_rsys(struct nvif_device *device, u64 addr)
{
if (device->info.family >= NV_DEVICE_INFO_V0_TESLA &&
- device->info.family <= NV_DEVICE_INFO_V0_MAXWELL) {
+ device->info.family <= NV_DEVICE_INFO_V0_PASCAL) {
CAST data;
u32 pmem = nvif_rd32(&device->object, 0x001700);
nvif_wr32(&device->object, 0x001700, 0x02000000 | (addr >> 16));
diff --git a/bin/nv_rvfunc.h b/bin/nv_rvfunc.h
index ea8aaf60f..cf804bf1e 100644
--- a/bin/nv_rvfunc.h
+++ b/bin/nv_rvfunc.h
@@ -6,7 +6,7 @@ static CAST
nv_rvram(struct nvif_device *device, u64 addr)
{
if (device->info.family >= NV_DEVICE_INFO_V0_TESLA &&
- device->info.family <= NV_DEVICE_INFO_V0_MAXWELL) {
+ device->info.family <= NV_DEVICE_INFO_V0_PASCAL) {
CAST data;
u32 pmem = nvif_rd32(&device->object, 0x001700);
nvif_wr32(&device->object, 0x001700, 0x00000000 | (addr >> 16));
diff --git a/bin/nv_wffunc.h b/bin/nv_wffunc.h
index 94f54146f..9b0ed3b1c 100644
--- a/bin/nv_wffunc.h
+++ b/bin/nv_wffunc.h
@@ -13,7 +13,7 @@ nv_wfb(struct nvif_device *device, u64 offset, CAST data)
u64 addr = (offset & (PAGE_SIZE - 1));
if (device->info.family < NV_DEVICE_INFO_V0_TNT ||
- device->info.family > NV_DEVICE_INFO_V0_MAXWELL) {
+ device->info.family > NV_DEVICE_INFO_V0_PASCAL) {
printk("unsupported chipset\n");
exit(1);
}
diff --git a/bin/nv_wifunc.h b/bin/nv_wifunc.h
index aaa597c2d..50c67a654 100644
--- a/bin/nv_wifunc.h
+++ b/bin/nv_wifunc.h
@@ -13,7 +13,7 @@ nv_wfb(struct nvif_device *device, u64 offset, CAST data)
u64 addr = (offset & (PAGE_SIZE - 1));
if (device->info.family < NV_DEVICE_INFO_V0_CURIE ||
- device->info.family > NV_DEVICE_INFO_V0_MAXWELL) {
+ device->info.family > NV_DEVICE_INFO_V0_PASCAL) {
printk("unsupported chipset\n");
exit(1);
}
diff --git a/bin/nv_wsfunc.h b/bin/nv_wsfunc.h
index a77dda676..9d313b540 100644
--- a/bin/nv_wsfunc.h
+++ b/bin/nv_wsfunc.h
@@ -6,7 +6,7 @@ static void
nv_wsys(struct nvif_device *device, u64 addr, CAST data)
{
if (device->info.family >= NV_DEVICE_INFO_V0_TESLA &&
- device->info.family <= NV_DEVICE_INFO_V0_MAXWELL) {
+ device->info.family <= NV_DEVICE_INFO_V0_PASCAL) {
u32 pmem = nvif_rd32(&device->object, 0x001700);
nvif_wr32(&device->object, 0x001700, 0x02000000 | (addr >> 16));
WSYS(&device->object, 0x700000 + (addr & 0xffffULL), data);
diff --git a/bin/nv_wvfunc.h b/bin/nv_wvfunc.h
index ea631fa50..7ff26ec54 100644
--- a/bin/nv_wvfunc.h
+++ b/bin/nv_wvfunc.h
@@ -6,7 +6,7 @@ static void
nv_wvram(struct nvif_device *device, u64 addr, CAST data)
{
if (device->info.family >= NV_DEVICE_INFO_V0_TESLA &&
- device->info.family <= NV_DEVICE_INFO_V0_MAXWELL) {
+ device->info.family <= NV_DEVICE_INFO_V0_PASCAL) {
u32 pmem = nvif_rd32(&device->object, 0x001700);
nvif_wr32(&device->object, 0x001700, 0x00000000 | (addr >> 16));
WVRAM(&device->object, 0x700000 + (addr & 0xffffULL), data);