drm/amdgpu: move apu flags initialization to the start of device init
authorHuang Rui <ray.huang@amd.com>
Tue, 22 Jun 2021 09:33:54 +0000 (17:33 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 1 Jul 2021 04:05:18 +0000 (00:05 -0400)
commit9f6a78572033b9c35268387630353fa1bdee0320
treeacd9c8379bc38ff2afe372a94436739d33522ad3
parent25f178bbd07817acd43643c97d7e6232daf3c323
drm/amdgpu: move apu flags initialization to the start of device init

In some asics, we need to adjust the behavior according to the apu flags
at very early stage.

Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Aaron Liu <aaron.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/nv.c
drivers/gpu/drm/amd/amdgpu/soc15.c