drm/amdgpu: check kdb_bin_size to exclude kdb loading sequence
authorHawking Zhang <Hawking.Zhang@amd.com>
Tue, 16 Jul 2019 05:48:19 +0000 (13:48 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 16 Jul 2019 19:49:57 +0000 (14:49 -0500)
commitf216994613bc9f44202eac3a298e52124eb3e35e
tree87c1aaa002046d0a483865754263a3d55a0a4bd8
parent9288b874c5006a22d1fbff303b812cb03241cdfb
drm/amdgpu: check kdb_bin_size to exclude kdb loading sequence

The legacy navi10 sos binary will not carry on kdb image. the kdb_start_addr
is actually the start address of sys_drv image and shouldn't be sent to psp
bootloader.

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: John Clements <john.clements@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c