Skip to content

Fix: radeon_platform_probed return ture while kernel driver is amdgpu

hongaoo requested to merge (removed):master into master

For machines have two AMD graphic cards, and the first graphic card's kernel driver is radeon, the second graphic card belongs SI/CIK chipset which could use both radeon and amdgpu for kernel driver. When using kernel command line "radeon.si_support=0 amdgpu.si_support=1" to switch the second card's kernel driver to be amdgpu. When xserver probing DDX driver for the second graphic card, radeon_platform_probe will returned ture while kernel driver is amdgpu, that will cause xserver terminated with error In the following process of AddScreen/ScreenInit.

This bug can be fix by adding driver name compare to radeon_platform_probe.

This fixes #181

Signed-off-by: hongao

Merge request reports