[PATCH v2] drm/amd/pm/powerplay/smumgr/fiji_smumgr: Add error check in fiji_populate_smc_boot_level()

Markus Elfring Markus.Elfring at web.de
Tue Apr 15 11:55:05 UTC 2025


> The return value of fiji_populate_smc_boot_level() is needs to be checked.

                                                     should?


> An error handling is also needed to phm_find_boot_level() to reset the
> boot level when the function fails. A proper implementation can be found
> in tonga_populate_smc_boot_level().

Can you propose in a nicer way to complete the error handling?

Regards,
Markus


More information about the dri-devel mailing list