Re: [PATCH] drm/i915/perf: Initialise dynamic sysfs group before creation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux