]> 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)
commit18ad01191818c75d873712e8f00f52fa7575c9ec
tree77947d1410bfbe8542caa646113e2045ed43cba3
parent9d82c6e29371fc60fa71deda95f83d7f3d517407
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