drm/nouveau: nvkm_gsp_radix3_sg() should use nvkm_gsp_mem_ctor()
authorTimur Tabi <ttabi@nvidia.com>
Fri, 2 Feb 2024 23:06:08 +0000 (17:06 -0600)
committerDanilo Krummrich <dakr@redhat.com>
Mon, 5 Feb 2024 17:41:09 +0000 (18:41 +0100)
commit34e659f34a7559ecfd9c1f5b24d4c291f3f54711
tree0fd44eb1bd3fa0c4b6fc18f9326ca74013d9546a
parent042b5f83841fbf7ce39474412db3b5e4765a7ea7
drm/nouveau: nvkm_gsp_radix3_sg() should use nvkm_gsp_mem_ctor()

Function nvkm_gsp_radix3_sg() uses nvkm_gsp_mem objects to allocate the
radix3 tables, but it unnecessarily creates those objects manually
instead of using the standard nvkm_gsp_mem_ctor() function like the
rest of the code does.

Signed-off-by: Timur Tabi <ttabi@nvidia.com>
Signed-off-by: Danilo Krummrich <dakr@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240202230608.1981026-2-ttabi@nvidia.com
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c