summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/xe/xe_force_wake.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/xe/xe_force_wake.h')
-rw-r--r--drivers/gpu/drm/xe/xe_force_wake.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/xe/xe_force_wake.h b/drivers/gpu/drm/xe/xe_force_wake.h
index 7c534cdd5fe9..7f304704190e 100644
--- a/drivers/gpu/drm/xe/xe_force_wake.h
+++ b/drivers/gpu/drm/xe/xe_force_wake.h
@@ -24,7 +24,7 @@ static inline int
xe_force_wake_ref(struct xe_force_wake *fw,
enum xe_force_wake_domains domain)
{
- XE_BUG_ON(!domain);
+ XE_WARN_ON(!domain);
return fw->domains[ffs(domain) - 1].ref;
}
@@ -32,7 +32,7 @@ static inline void
xe_force_wake_assert_held(struct xe_force_wake *fw,
enum xe_force_wake_domains domain)
{
- XE_BUG_ON(!(fw->awake_domains & domain));
+ XE_WARN_ON(!(fw->awake_domains & domain));
}
#endif