]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu:divide KCQ mqd init to sw and hw
authorMonk Liu <Monk.Liu@amd.com>
Mon, 6 Feb 2017 08:46:36 +0000 (16:46 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Mar 2017 03:52:44 +0000 (23:52 -0400)
commitf9766138d1e393af1592ed67c4a9cdd457abf5d0
tree77947d1410bfbe8542caa646113e2045ed43cba3
parentdc75e463d838a0d4696ae6231d2dcb6e3bf08bf0
drm/amdgpu:divide KCQ mqd init to sw and hw

sw part only invoked once during sw_init.
hw part invoked during first drv load and resume later.

that way we cannot alloc mqd in hw/resume, we only keep
mqd allocted in sw_init routine.
and hw_init routine only kmap and set it.

Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c