drm/amd: Drop special case for yellow carp without discovery
authorMario Limonciello <mario.limonciello@amd.com>
Tue, 5 Sep 2023 19:25:57 +0000 (14:25 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 20 Sep 2023 16:24:04 +0000 (12:24 -0400)
commit3ef07651a5756e7de65615e18eacbf8822c23016
tree7fb1e82ead5da113b05916ebd238dee7833e65ff
parent608f604c791302ae1d93174d0ab5edba001435ee
drm/amd: Drop special case for yellow carp without discovery

`amdgpu_gmc_get_vbios_allocations` has a special case for how to
bring up yellow carp when amdgpu discovery is turned off. As this ASIC
ships with discovery turned on, it's generally dead code and worse it
causes `adev->mman.keep_stolen_vga_memory` to not be initialized for
yellow carp.

Remove it.

Signed-off-by: Mario Limonciello <mario.limonciello@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_gmc.c