summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2025-02-13 00:31:43 +0300
committerAlex Deucher <alexander.deucher@amd.com>2025-02-17 22:08:53 +0300
commitc917e39cbdcd9fff421184db6cc461cc58d52c17 (patch)
tree9f6715fab6babd15a98bc185e06db4cff748d1d3 /tools/perf/scripts/python/gecko.py
parent5183e69090f07585fa6c7ef71d4301bc16a15c76 (diff)
downloadlinux-c917e39cbdcd9fff421184db6cc461cc58d52c17.tar.xz
drm/amdgpu/umsch: fix ucode check
Return an error if the IP version doesn't match otherwise we end up passing a NULL string to amdgpu_ucode_request. We should never hit this in practice today since we only enable the umsch code on the supported IP versions, but add a check to be safe. Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202502130406.iWQ0eBug-lkp@intel.com/ Fixes: 020620424b27 ("drm/amd: Use a constant format string for amdgpu_ucode_request") Reviewed-by: Saleemkhan Jamadar <saleemkhan.jamadar@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Lang Yu <Lang.Yu@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions