]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/nouveau/nvif: remove disp chan rd/wr
authorBen Skeggs <bskeggs@nvidia.com>
Fri, 26 Jul 2024 04:38:17 +0000 (14:38 +1000)
committerDanilo Krummrich <dakr@kernel.org>
Sat, 27 Jul 2024 01:05:37 +0000 (03:05 +0200)
commit8d7b2d3a7e3aa4fac309f9a496e6b237729d2b01
tree2fa011fb6c3735541da6600f2cb40a56669e6a35
parent216c3c4424bb42bd6e4ea75cfe0c22aa7dceda6a
drm/nouveau/nvif: remove disp chan rd/wr

There's no good reason the ioremap() that results from nvif_object_map()
should fail, so add a check that the map succeeded, and remove the rd/wr
methods from display channel objects.

As this was the last user of rd/wr methods, the nvif plumbing is removed
at the same time.

Signed-off-by: Ben Skeggs <bskeggs@nvidia.com>
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240726043828.58966-27-bskeggs@nvidia.com
drivers/gpu/drm/nouveau/dispnv50/disp.c
drivers/gpu/drm/nouveau/include/nvif/ioctl.h
drivers/gpu/drm/nouveau/include/nvif/object.h
drivers/gpu/drm/nouveau/include/nvkm/core/object.h
drivers/gpu/drm/nouveau/nvif/object.c
drivers/gpu/drm/nouveau/nvkm/core/ioctl.c
drivers/gpu/drm/nouveau/nvkm/core/object.c
drivers/gpu/drm/nouveau/nvkm/core/oproxy.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/chan.c