|
@@ -43,19 +43,19 @@ struct drm_modeset_acquire_ctx {
|
|
|
|
|
|
struct ww_acquire_ctx ww_ctx;
|
|
struct ww_acquire_ctx ww_ctx;
|
|
|
|
|
|
- /**
|
|
|
|
|
|
+ /*
|
|
* Contended lock: if a lock is contended you should only call
|
|
* Contended lock: if a lock is contended you should only call
|
|
* drm_modeset_backoff() which drops locks and slow-locks the
|
|
* drm_modeset_backoff() which drops locks and slow-locks the
|
|
* contended lock.
|
|
* contended lock.
|
|
*/
|
|
*/
|
|
struct drm_modeset_lock *contended;
|
|
struct drm_modeset_lock *contended;
|
|
|
|
|
|
- /**
|
|
|
|
|
|
+ /*
|
|
* list of held locks (drm_modeset_lock)
|
|
* list of held locks (drm_modeset_lock)
|
|
*/
|
|
*/
|
|
struct list_head locked;
|
|
struct list_head locked;
|
|
|
|
|
|
- /**
|
|
|
|
|
|
+ /*
|
|
* Trylock mode, use only for panic handlers!
|
|
* Trylock mode, use only for panic handlers!
|
|
*/
|
|
*/
|
|
bool trylock_only;
|
|
bool trylock_only;
|
|
@@ -70,12 +70,12 @@ struct drm_modeset_acquire_ctx {
|
|
* Used for locking CRTCs and other modeset resources.
|
|
* Used for locking CRTCs and other modeset resources.
|
|
*/
|
|
*/
|
|
struct drm_modeset_lock {
|
|
struct drm_modeset_lock {
|
|
- /**
|
|
|
|
|
|
+ /*
|
|
* modeset lock
|
|
* modeset lock
|
|
*/
|
|
*/
|
|
struct ww_mutex mutex;
|
|
struct ww_mutex mutex;
|
|
|
|
|
|
- /**
|
|
|
|
|
|
+ /*
|
|
* Resources that are locked as part of an atomic update are added
|
|
* Resources that are locked as part of an atomic update are added
|
|
* to a list (so we know what to unlock at the end).
|
|
* to a list (so we know what to unlock at the end).
|
|
*/
|
|
*/
|