commit | 596c67d076a5ae0f2571cab9245ee76f6a6cf922 | [log] [tgz] |
---|---|---|
author | Monk Liu <Monk.Liu@amd.com> | Mon Feb 06 16:46:36 2017 +0800 |
committer | Alex Deucher <alexander.deucher@amd.com> | Wed Mar 29 23:52:44 2017 -0400 |
tree | 77947d1410bfbe8542caa646113e2045ed43cba3 | |
parent | 2da4da3cbe78ee6555b3999494b0f080d17f93b1 [diff] |
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>