]> git.baikalelectronics.ru Git - 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)
commita8800f90c72ff1c9fa46ca53cb44a4300d77e62f
tree6035c7509dcd2ae31ed8015f24678dca70249999
parent0ffbc6d91b61888dc96dc259de7663d19f0c8142
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