[Intel-gfx][PATCH 01/10] drm/i915: Add i915 device based MISSING_CASE macro

Chris Wilson chris at chris-wilson.co.uk
Tue Feb 25 14:01:59 UTC 2020


Quoting Pankaj Bharadiya (2020-02-25 13:47:00)
> Now that we have struct drm_device based drm_WARN, introduce struct
> drm_i915_private based i915_MISSING_CASE macro which uses drm_WARN so
> that device specific information will also get printed in backtrace.
> 
> i915_MISSING_CASE macro should be preferred over MISSING_CASE,
> wherever possible.

Whatever for? MISSING_CASE() itself should be a complete picture for the
forgotten code.
-Chris


More information about the dri-devel mailing list