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:
@@ -123,7 +123,8 @@ struct drm_crtc_commit {
|
||||
/**
|
||||
* @commit_entry:
|
||||
*
|
||||
* Entry on the per-CRTC commit_list. Protected by crtc->commit_lock.
|
||||
* Entry on the per-CRTC &drm_crtc.commit_list. Protected by
|
||||
* $drm_crtc.commit_lock.
|
||||
*/
|
||||
struct list_head commit_entry;
|
||||
|
||||
@@ -429,7 +430,8 @@ void drm_state_dump(struct drm_device *dev, struct drm_printer *p);
|
||||
*
|
||||
* For example if the CRTC mode has changed, and the hardware is able to enact
|
||||
* the requested mode change without going through a full modeset, the driver
|
||||
* should clear mode_changed during its ->atomic_check.
|
||||
* should clear mode_changed in its &drm_mode_config_funcs.atomic_check
|
||||
* implementation.
|
||||
*/
|
||||
static inline bool
|
||||
drm_atomic_crtc_needs_modeset(const struct drm_crtc_state *state)
|
||||
|
Reference in New Issue
Block a user