drm/amdgpu/gfx10: set gfx.funcs in early init
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 2 Nov 2022 15:20:49 +0000 (11:20 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 4 Nov 2022 20:05:53 +0000 (16:05 -0400)
commit105195af02d4e8665e4583cf7ef4e5f69d858d7d
tree7f80040f5bc6387099d63f4023808182829a0263
parent33034c5c2efaf56c7b89aed5a3cf1bcb3f12b853
drm/amdgpu/gfx10: set gfx.funcs in early init

So the callbacks are set early in case we need 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_v10_0.c