]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu: Add more checks to discovery fetch
authorLijo Lazar <lijo.lazar@amd.com>
Thu, 29 May 2025 10:27:44 +0000 (15:57 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 3 Jun 2025 19:02:58 +0000 (15:02 -0400)
commit719d84f8a812608fc0f7be18a96d7dee96eaf3ba
treec9772e7a21fc4f5b9914ee467bfaafbe28897be7
parent4e696906e9a82d4cab75f3083fabd65433c77e20
drm/amdgpu: Add more checks to discovery fetch

Add more checks for valid vram size and log error, if any.

Signed-off-by: Lijo Lazar <lijo.lazar@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_discovery.c