[PATCH] drm/amdgpu: add safeguards for accessing mmhub CG registers

Lazar, Lijo Lijo.Lazar at amd.com
Wed Jan 26 12:05:37 UTC 2022


Hi Lang,

There are ASICs in which driver doesn't enable CG, and then these flags will be false. However, the CG will be enabled by another component like VBIOS. Driver still reports the CG status eventhough driver doesn't enable it. For those, this logic doesn't work.

BTW, could you check if it's some sort of PG which causes the issue?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20220126/eaf3f26f/attachment.htm>

More information about the amd-gfx mailing list