summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/vega10_reg_init.c
diff options
context:
space:
mode:
authorMonk Liu <Monk.Liu@amd.com>2020-07-27 15:20:12 +0800
committerAlex Deucher <alexander.deucher@amd.com>2020-08-04 17:27:29 -0400
commita300de40f66b87fa90703c94ffb22917f98eb902 (patch)
treee1690029e39055ed5af5896a15ede13c51eba6a0 /drivers/gpu/drm/amd/amdgpu/vega10_reg_init.c
parent9b856defbe355f886f99777e667506841bd267a8 (diff)
drm/amdgpu: introduce a new parameter to configure how many KCQ we want(v5)
what: the MQD's save and restore of KCQ (kernel compute queue) cost lots of clocks during world switch which impacts a lot to multi-VF performance how: introduce a paramter to control the number of KCQ to avoid performance drop if there is no kernel compute queue needed notes: this paramter only affects gfx 8/9/10 v2: refine namings v3: choose queues for each ring to that try best to cross pipes evenly. v4: fix indentation some cleanupsin the gfx_compute_queue_acquire() v5: further fix on indentations more cleanupsin gfx_compute_queue_acquire() TODO: in the future we will let hypervisor driver to set this paramter automatically thus no need for user to configure it through modprobe in virtual machine Signed-off-by: Monk Liu <Monk.Liu@amd.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Acked-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/vega10_reg_init.c')
0 files changed, 0 insertions, 0 deletions