drm/nouveau/disp/nv50-: split chid into chid.ctrl and chid.user
authorBen Skeggs <bskeggs@redhat.com>
Fri, 17 Mar 2017 00:48:29 +0000 (00:48 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Mar 2017 11:43:38 +0000 (12:43 +0100)
commit5001756c1c70ab555d4d3ca6965547ac02410d4b
tree7d389c36e59b46655a24893b24c8789acf69ca16
parentddc23b5212b9cfa2e4f802bd95e365e63a6b2cc7
drm/nouveau/disp/nv50-: split chid into chid.ctrl and chid.user

[ Upstream commit 4391d7f5c79a9fe6fa11cf6c160ca7f7bdb49d2a ]

GP102/GP104 make life difficult by redefining the channel indices for
some registers, but not others.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.h
drivers/gpu/drm/nouveau/nvkm/engine/disp/dmacgf119.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/dmacgp104.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/dmacnv50.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/piocgf119.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/piocnv50.c