[[Intel-gfx] [PATCH v2 00/10] drm: Introduce struct drm_device based WARN* and use them in i915

Jani Nikula jani.nikula at intel.com
Mon Jan 27 09:01:52 UTC 2020


On Mon, 27 Jan 2020, "Bharadiya,Pankaj" <pankaj.laxminarayan.bharadiya at intel.com> wrote:
> On Thu, Jan 23, 2020 at 11:39:37AM +0200, Jani Nikula wrote:
>> On Thu, 23 Jan 2020, "Bharadiya,Pankaj" <pankaj.laxminarayan.bharadiya at intel.com> wrote:
>> > Will rebase remaining patches and submit.
>> 
>> Please also add a patch to convert MISSING_CASE(),
>
> Will do.
>
>> and another to remove
>> the WARN_ON/WARN_ON_ONCE "overrides" that we have in i915_utils.h.
>
> Still i915 driver wil have many calls to WARN_ON* after this patch
> series gets merged.
>
> Shall I remove WARN_ON/WARN_ON_ONCE "overrides" so that existing
> callers will fallback to original WARN_ON* implementation until
> complete conversion is done? Just want to double confirm on this
> before I submit a patch.

I think when you have most of them converted, we can throw away the
"overrides". I'll let you be the judge.

BR,
Jani.



-- 
Jani Nikula, Intel Open Source Graphics Center


More information about the dri-devel mailing list