drm/amdgpu/gfx9: set gfx.funcs in early init
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 2 Nov 2022 15:17:23 +0000 (11:17 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 4 Nov 2022 20:05:53 +0000 (16:05 -0400)
commit33034c5c2efaf56c7b89aed5a3cf1bcb3f12b853
tree0cad4b84734a97cd91d59b4ea8ffe4ac290568fe
parentf8638ad7fcac50d2ba8e76625e7d86cabd5d5bd2
drm/amdgpu/gfx9: set gfx.funcs in early init

So the callbacks are set before we use them.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c