]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: fix vbios reservation handling on SR-IOV
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 16 Dec 2020 16:36:28 +0000 (11:36 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 17 Dec 2020 21:43:48 +0000 (16:43 -0500)
commita7b6b48c8a470baf04d687d5736530a075d6ffde
tree2ce3d434f1425f1e3e259e07462ed95d627cd87d
parent1b3c6bfd4ddf8dd83456704bb31434a073895017
drm/amdgpu: fix vbios reservation handling on SR-IOV

There is no reserveration so set the size to 0.  Fixes
a regression on SR-IOV.

Reviewed-by: Guchun Chen <guchun.chen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c