mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 06:03:36 -04:00
drm/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 Gustavo. Cc: Jani Nikula <jani.nikula@linux.intel.com> Cc: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Gustavo Padovan <gustavo.padovan@collabora.com> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20170125062657.19270-6-daniel.vetter@ffwll.ch
This commit is contained in:
parent
940eba2d58
commit
ef40cbf999
10 changed files with 33 additions and 33 deletions
|
|
@ -43,18 +43,18 @@ struct drm_master {
|
|||
struct kref refcount;
|
||||
struct drm_device *dev;
|
||||
/**
|
||||
* @unique: Unique identifier: e.g. busid. Protected by struct
|
||||
* &drm_device master_mutex.
|
||||
* @unique: Unique identifier: e.g. busid. Protected by
|
||||
* &drm_device.master_mutex.
|
||||
*/
|
||||
char *unique;
|
||||
/**
|
||||
* @unique_len: Length of unique field. Protected by &struct drm_device
|
||||
* master_mutex.
|
||||
* @unique_len: Length of unique field. Protected by
|
||||
* &drm_device.master_mutex.
|
||||
*/
|
||||
int unique_len;
|
||||
/**
|
||||
* @magic_map: Map of used authentication tokens. Protected by struct
|
||||
* &drm_device master_mutex.
|
||||
* @magic_map: Map of used authentication tokens. Protected by
|
||||
* &drm_device.master_mutex.
|
||||
*/
|
||||
struct idr magic_map;
|
||||
struct drm_lock_data lock;
|
||||
|
|
|
|||
|
|
@ -314,7 +314,7 @@ struct drm_driver {
|
|||
/**
|
||||
* @gem_free_object_unlocked: deconstructor for drm_gem_objects
|
||||
*
|
||||
* This is for drivers which are not encumbered with dev->struct_mutex
|
||||
* This is for drivers which are not encumbered with &drm_device.struct_mutex
|
||||
* legacy locking schemes. Use this hook instead of @gem_free_object.
|
||||
*/
|
||||
void (*gem_free_object_unlocked) (struct drm_gem_object *obj);
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@ struct drm_vblank_crtc {
|
|||
* @disable_timer: Disable timer for the delayed vblank disabling
|
||||
* hysteresis logic. Vblank disabling is controlled through the
|
||||
* drm_vblank_offdelay module option and the setting of the
|
||||
* max_vblank_count value in the &drm_device structure.
|
||||
* &drm_device.max_vblank_count value.
|
||||
*/
|
||||
struct timer_list disable_timer;
|
||||
|
||||
|
|
@ -92,7 +92,7 @@ struct drm_vblank_crtc {
|
|||
*/
|
||||
atomic_t refcount; /* number of users of vblank interruptsper crtc */
|
||||
/**
|
||||
* @last: Protected by dev->vbl_lock, used for wraparound handling.
|
||||
* @last: Protected by &drm_device.vbl_lock, used for wraparound handling.
|
||||
*/
|
||||
u32 last;
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue