mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf.git
synced 2026-04-18 06:34:27 -04:00
drm/kms-core: Use recommened kerneldoc for struct member refs
I just learned that &struct_name.member_name works and looks pretty even. It doesn't (yet) link to the member directly though, which would be really good for big structures or vfunc tables (where the per-member kerneldoc tends to be long). Also some minor drive-by polish where it makes sense, I read a lot of docs ... v2: Review from Eric. Cc: Jani Nikula <jani.nikula@linux.intel.com> Cc: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20170125062657.19270-4-daniel.vetter@ffwll.ch
This commit is contained in:
@@ -86,10 +86,15 @@ struct drm_object_properties {
|
||||
*
|
||||
* Note that atomic drivers do not store mutable properties in this
|
||||
* array, but only the decoded values in the corresponding state
|
||||
* structure. The decoding is done using the ->atomic_get_property and
|
||||
* ->atomic_set_property hooks of the corresponding object. Hence atomic
|
||||
* drivers should not use drm_object_property_set_value() and
|
||||
* drm_object_property_get_value() on mutable objects, i.e. those
|
||||
* structure. The decoding is done using the &drm_crtc.atomic_get_property and
|
||||
* &drm_crtc.atomic_set_property hooks for &struct drm_crtc. For
|
||||
* &struct drm_plane the hooks are &drm_plane_funcs.atomic_get_property and
|
||||
* &drm_plane_funcs.atomic_set_property. And for &struct drm_connector
|
||||
* the hooks are &drm_connector_funcs.atomic_get_property and
|
||||
* &drm_connector_funcs.atomic_set_property .
|
||||
*
|
||||
* Hence atomic drivers should not use drm_object_property_set_value()
|
||||
* and drm_object_property_get_value() on mutable objects, i.e. those
|
||||
* without the DRM_MODE_PROP_IMMUTABLE flag set.
|
||||
*/
|
||||
uint64_t values[DRM_OBJECT_MAX_PROPERTY];
|
||||
|
||||
Reference in New Issue
Block a user