From 524fed65ba9fc29837ea51c9a3e5c96632c8d36a Mon Sep 17 00:00:00 2001 From: Ben Skeggs Date: Fri, 21 Feb 2014 12:53:09 +1000 Subject: tools: fix nv_disp for fermi Signed-off-by: Ben Skeggs --- bin/nv_disp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/nv_disp.c b/bin/nv_disp.c index 2b2011380..f96c4a0ac 100644 --- a/bin/nv_disp.c +++ b/bin/nv_disp.c @@ -9,7 +9,8 @@ static unsigned long chan = 0; static void nv_disp(struct nouveau_object *device, u16 mthd, u32 data) { - if (nv_device(device)->card_type == NV_50) { + if (nv_device(device)->card_type >= NV_50 && + nv_device(device)->card_type <= NV_C0) { u32 ctrl = nv_ro32(device, 0x610300 + (chan * 8)); nv_wo32(device, 0x610300 + (chan * 8), ctrl | 0x00000001); nv_wo32(device, 0x610304 + (chan * 8), data); -- cgit v1.2.1