drm/nouveau/fifo/tu102: Move Turing specific FIFO functions
authorAlistair Popple <apopple@nvidia.com>
Fri, 30 Oct 2020 02:36:43 +0000 (13:36 +1100)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 29 Jan 2021 06:49:13 +0000 (16:49 +1000)
commitb8ab4b45e5fe37b34f3467fa2622f9acf376afc1
tree9ac5fcbfeafe72a765efdfd71375b4018e1b12ff
parentc81a51f05389464b19c5e0f0d29fadd305d75a34
drm/nouveau/fifo/tu102: Move Turing specific FIFO functions

Turing requires some changes to FIFO interrupt handling due to changes
in HW register layout. It also requires some changes to implement robust
channel (RC) recovery. This preparatory patch moves the functions
requiring changes into nvkm/engine/fifo/tu102.c so they can be altered
without affecting gk104 and other users. It should not introduce any
functional changes.

Signed-off-by: Alistair Popple <apopple@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c
drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.h
drivers/gpu/drm/nouveau/nvkm/engine/fifo/tu102.c