drm/amdkfd: Remove unnecessary pm_init() for non HWS mode
authorYong Zhao <Yong.Zhao@amd.com>
Wed, 23 Jan 2019 01:09:17 +0000 (20:09 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 3 Oct 2019 14:11:01 +0000 (09:11 -0500)
commit424b5442a2a67ba369839455c3b1fb1b00c6d861
tree0daaf3f7e4d5faae8371cd2ddee9db879f909e1c
parent89b0679bd8cffbf11b6c1def984c83e837c4a43f
drm/amdkfd: Remove unnecessary pm_init() for non HWS mode

The packet manager is not needed for non HWS mode except Hawaii, so only
initialize it for Hawaii under non HWS mode. This will simplify debugging
under non HWS mode for all new asics, because it eliminates one variable
out of the equation in non HWS mode

Signed-off-by: Yong Zhao <Yong.Zhao@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c