[PATCH v2 09/10] drm/amdgpu: fix missing reset domain locks

Li, Yunxiang (Teddy) Yunxiang.Li at amd.com
Tue Jun 4 12:52:39 UTC 2024


[AMD Official Use Only - AMD Internal Distribution Only]

The trouble with taking the read side lock in the MES helper functions is that we use a lot of them during reset under the write lock. So either we need to duplicate the helper functions or we will get inconsistencies where a random subset of the helper functions takes the lock themselves but the other helper functions you need to take the lock outside. "Always need to take the lock before accessing MES" seems to be the least bad option.

Teddy


More information about the amd-gfx mailing list