Quoting Lionel Landwerlin (2017-08-09 15:57:59)
> Right, that's exactly what I was asking in our previous exchange.

I just follow the traces, and am internally screaming at how much we are
stuffing inside drm_i915_private nowadays.
 
> You need to leave the memset() I think, because we check further down 

It is already zeroed.

> that function that id == 0 to detect failure to recognize that the (Gen, 
> GT) is supported.
> Unless there is a guarantee that dev_priv is fully memset()?

It is allocated using kzalloc() and we depend upon that in many, many
places.
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to