]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
drm/amdgpu: bypass FB resizing for SRIOV VF
authorpding <Pixel.Ding@amd.com>
Tue, 7 Nov 2017 03:02:00 +0000 (11:02 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 4 Dec 2017 21:41:45 +0000 (16:41 -0500)
commit0c03b912d7f84636766bc26d38df5b21f1c00e94
tree6035c7509dcd2ae31ed8015f24678dca70249999
parentc6332b97fa77bafba2e4c68050090c08c21bff35
drm/amdgpu: bypass FB resizing for SRIOV VF

It introduces 900ms latency in exclusive mode which causes failure
of driver loading. Host can resize the BAR before guest staring,
so the resizing is not necessary here.

Signed-off-by: Pixel Ding <Pixel.Ding@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c