OSDN Git Service

drm/amdgpu/sriov:alloc KIQ MQD in VRAM(v2)
authorMonk Liu <Monk.Liu@amd.com>
Thu, 21 Sep 2017 07:10:06 +0000 (15:10 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 19:14:24 +0000 (15:14 -0400)
commitbeb841028480a13a664f868688102f3cee762a6b
treea54f9fc03362135a922032415c709b9bd3c02478
parent85f95ad629558b65ab27cce583c683fb9e3da35c
drm/amdgpu/sriov:alloc KIQ MQD in VRAM(v2)

this way after KIQ MQD released in drv unloading, CPC
can still let KIQ access this MQD thus RLCV SAVE_VF
will not fail

v2:
always use VRAM domain for KIQ MQD no matter BM or SRIOV

Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c