diff options
author | 2022-08-30 12:34:11 +0300 | |
---|---|---|
committer | 2022-08-31 18:34:11 +0300 | |
commit | 03e067bc731c7cf8fba403ecfe4e2a85b49a11c0 (patch) | |
tree | f5958da73fb82c1fe2fcb196b637482dd022ef0e /drivers/gpu/drm/i915/display/intel_panel.c | |
parent | drm/i915/perf: replace BUG_ON() with WARN_ON() (diff) | |
download | linux-dev-03e067bc731c7cf8fba403ecfe4e2a85b49a11c0.tar.xz linux-dev-03e067bc731c7cf8fba403ecfe4e2a85b49a11c0.zip |
drm/i915/fence: replace BUG_ON() with BUILD_BUG_ON()
Avoid BUG_ON(). Since __i915_sw_fence_init() is always called via a
wrapper macro, we can replace it with a compile time BUILD_BUG_ON().
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220830093411.1511040-5-jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_panel.c')
0 files changed, 0 insertions, 0 deletions