drm/nouveau/gpio: rename g92 class to g94
authorEmil Velikov <emil.l.velikov@gmail.com>
Mon, 8 Sep 2014 19:27:57 +0000 (20:27 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 15 Sep 2014 12:25:11 +0000 (22:25 +1000)
commitb485a7005faba38286bc02ab1d80e2cbf61c1002
treefba9600ab53ebe96bdebd95db9e20a3a01beb226
parent6cc406157d9e031aca2d3a3dd8566c74b1f0d680
drm/nouveau/gpio: rename g92 class to g94

nv92 hardware has only 16 interrupt lines, while nv94 and later
has 32. Accessing 0xe0c{0,4} registers on nv92 can lead to incorrect
PDISP setup. This is a regression introduced with

commit 9d0f5ec9ee0fd5dc5fc1cc2cf559286431e406e3
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Mon May 12 15:22:42 2014 +1000

    gpio: split g92 class from nv50

Reported-by: estece on #nouveau
Cc: stable@vger.kernel.org # 3.16+
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/Makefile
drivers/gpu/drm/nouveau/core/engine/device/nv50.c
drivers/gpu/drm/nouveau/core/engine/device/nvc0.c
drivers/gpu/drm/nouveau/core/include/subdev/gpio.h
drivers/gpu/drm/nouveau/core/subdev/gpio/nv92.c [deleted file]
drivers/gpu/drm/nouveau/core/subdev/gpio/nv94.c [new file with mode: 0644]
drivers/gpu/drm/nouveau/core/subdev/gpio/nvd0.c
drivers/gpu/drm/nouveau/core/subdev/gpio/priv.h