]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/amdgpu: Validate ip discovery blob
authorErnst Sjöstrand <ernstp@gmail.com>
Sun, 26 Sep 2021 21:27:19 +0000 (23:27 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 29 Sep 2021 21:30:00 +0000 (17:30 -0400)
commite4c90263f13c09d7d7277adce10ecf285674337e
tree2ef7ae68c6248a9948c444c734ca899fb9cb2fa1
parentfa4967cc6585a974cd1633ac0eb2c504b7c3ea67
drm/amd/amdgpu: Validate ip discovery blob

We use the number_instance index that we get from the fw discovery blob
to index into an array for example.

Update error messages (Alex)

Signed-off-by: Ernst Sjöstrand <ernstp@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c