[PATCH v2] drm: Move property validation to a helper, v2.

2016-09-12 Thread Sean Paul
On Thu, Sep 8, 2016 at 6:30 AM, Maarten Lankhorst wrote: > Property lifetimes are equal to the device lifetime, so the separate > drm_property_find is not needed. The pointer can be retrieved from > the properties member, which saves us some locking and a extra lookup. > The lifetime for propertie

[PATCH v2] drm: Move property validation to a helper, v2.

2016-09-08 Thread Maarten Lankhorst
Property lifetimes are equal to the device lifetime, so the separate drm_property_find is not needed. The pointer can be retrieved from the properties member, which saves us some locking and a extra lookup. The lifetime for properties is until the device is destroyed, which happens late in the devi