drm/radeon: Refactor how SI and CIK support is determined
authorTimur Kristóf <timur.kristof@gmail.com>
Sun, 9 Nov 2025 15:41:04 +0000 (16:41 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Nov 2025 16:27:04 +0000 (11:27 -0500)
commit5c1a781af370c498b367f9b7ff9e3eb35328d4d2
tree1943899cdc7f150ab00da2b19755c6dc518a7f34
parent43d08222adf70f6b3ff6ded8dd8e8e4ed3ceff05
drm/radeon: Refactor how SI and CIK support is determined

Move the determination into a separate function.
Change radeon.si_support and radeon.cik_support so that their
default value is -1 (default).

This prepares the code for changing the default driver based
on the chip.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_drv.c