File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -480,7 +480,7 @@ static bool xe_gt_mcr_get_nonterminated_steering(struct xe_gt *gt,
480
480
* to synchronize with external clients (e.g., firmware), so a semaphore
481
481
* register will also need to be taken.
482
482
*/
483
- static void mcr_lock (struct xe_gt * gt )
483
+ static void mcr_lock (struct xe_gt * gt ) __acquires ( & gt - > mcr_lock )
484
484
{
485
485
struct xe_device * xe = gt_to_xe (gt );
486
486
int ret = 0 ;
@@ -500,7 +500,7 @@ static void mcr_lock(struct xe_gt *gt)
500
500
drm_WARN_ON_ONCE (& xe -> drm , ret == - ETIMEDOUT );
501
501
}
502
502
503
- static void mcr_unlock (struct xe_gt * gt )
503
+ static void mcr_unlock (struct xe_gt * gt ) __releases ( & gt - > mcr_lock )
504
504
{
505
505
/* Release hardware semaphore - this is done by writing 1 to the register */
506
506
if (GRAPHICS_VERx100 (gt_to_xe (gt )) >= 1270 )
You can’t perform that action at this time.
0 commit comments