linux/drivers/gpu/drm/amd
Luben Tuikov 546aa546b0 drm/amdgpu: Add double-sscanf but invert
Add back the double-sscanf so that both decimal
and hexadecimal values could be read in, but this
time invert the scan so that hexadecimal format
with a leading 0x is tried first, and if that
fails, then try decimal format.

Also use a logical-AND instead of nesting double
if-conditional.

See commit "drm/amdgpu: Fix a bug for input with double sscanf"

Cc: Alexander Deucher <Alexander.Deucher@amd.com>
Cc: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Luben Tuikov <luben.tuikov@amd.com>
Reviewed-by: John Clements <john.clements@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-04-15 16:32:44 -04:00
..
acp
amdgpu drm/amdgpu: Add double-sscanf but invert 2021-04-15 16:32:44 -04:00
amdkfd drm/amdkfd: Avoid null pointer in SMI event 2021-04-09 16:50:42 -04:00
display drm/amd/display: [FW Promotion] Release 0.0.61 2021-04-15 16:32:37 -04:00
include drm/amdgpu: add DMUB outbox event IRQ source define/complete/debug flag 2021-04-09 16:54:42 -04:00
pm drm/amd/pm: Show updated clocks on aldebaran 2021-04-15 16:32:44 -04:00