commit | 5ff980439d9423bc40538fc54fff132654489651 | [log] [tgz] |
---|---|---|
author | Monk Liu <Monk.Liu@amd.com> | Mon Feb 06 16:28:53 2017 +0800 |
committer | Alex Deucher <alexander.deucher@amd.com> | Wed Mar 29 23:52:42 2017 -0400 |
tree | fdc59c56953583a8047da37164122abbcf3cc030 | |
parent | f3972b531d36a09bdc01dcf00b9a369e076cb563 [diff] |
drm/amdgpu:imple mqd soft ini/fini this is for SRIOV fix: mqd soft init/fini will be invoked by sw_init to allocate BO for compute MQD resource, instead of original scheme that hw_init allocates MQD. because if hw_init allocates MQD, then resume will allocate MQD, and that lead to memory leak after driver recovered from hang. Signed-off-by: Monk Liu <Monk.Liu@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>