Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm: fix some kernel-doc markups

Some identifiers have different names between their prototypes
and the kernel-doc markup.

Others need to be fixed, as kernel-doc markups should use this format:
identifier - description

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Acked-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/12d4ca26f6843618200529ce5445063734d38c04.1605521731.git.mchehab+huawei@kernel.org

authored by

Mauro Carvalho Chehab and committed by
Daniel Vetter
e9d2871f 250fe9a5

+32 -28
+1 -1
drivers/gpu/drm/drm_atomic_state_helper.c
··· 543 543 EXPORT_SYMBOL(drm_atomic_helper_connector_destroy_state); 544 544 545 545 /** 546 - * __drm_atomic_helper_private_duplicate_state - copy atomic private state 546 + * __drm_atomic_helper_private_obj_duplicate_state - copy atomic private state 547 547 * @obj: CRTC object 548 548 * @state: new private object state 549 549 *
+2 -1
drivers/gpu/drm/drm_connector.c
··· 1432 1432 EXPORT_SYMBOL(drm_hdmi_avi_infoframe_content_type); 1433 1433 1434 1434 /** 1435 - * drm_mode_attach_tv_margin_properties - attach TV connector margin properties 1435 + * drm_connector_attach_tv_margin_properties - attach TV connector margin 1436 + * properties 1436 1437 * @connector: DRM connector 1437 1438 * 1438 1439 * Called by a driver when it needs to attach TV margin props to a connector.
+1 -1
drivers/gpu/drm/drm_dp_helper.c
··· 1161 1161 EXPORT_SYMBOL(drm_dp_subconnector_type); 1162 1162 1163 1163 /** 1164 - * drm_mode_set_dp_subconnector_property - set subconnector for DP connector 1164 + * drm_dp_set_subconnector_property - set subconnector for DP connector 1165 1165 * @connector: connector to set property on 1166 1166 * @status: connector status 1167 1167 * @dpcd: DisplayPort configuration data
+1 -1
drivers/gpu/drm/drm_framebuffer.c
··· 552 552 } 553 553 554 554 /** 555 - * drm_mode_getfb2 - get extended FB info 555 + * drm_mode_getfb2_ioctl - get extended FB info 556 556 * @dev: drm device for the ioctl 557 557 * @data: data pointer for the ioctl 558 558 * @file_priv: drm file for the ioctl call
+2 -2
drivers/gpu/drm/drm_gem.c
··· 867 867 } 868 868 869 869 /** 870 - * drm_gem_open - implementation of the GEM_OPEN ioctl 870 + * drm_gem_open_ioctl - implementation of the GEM_OPEN ioctl 871 871 * @dev: drm_device 872 872 * @data: ioctl data 873 873 * @file_priv: drm file-private structure ··· 912 912 } 913 913 914 914 /** 915 - * gem_gem_open - initalizes GEM file-private structures at devnode open time 915 + * drm_gem_open - initalizes GEM file-private structures at devnode open time 916 916 * @dev: drm_device which is being opened by userspace 917 917 * @file_private: drm file-private structure to set up 918 918 *
+1 -1
drivers/gpu/drm/drm_gem_vram_helper.c
··· 617 617 */ 618 618 619 619 /** 620 - * drm_gem_vram_driver_create_dumb() - \ 620 + * drm_gem_vram_driver_dumb_create() - \ 621 621 Implements &struct drm_driver.dumb_create 622 622 * @file: the DRM file 623 623 * @dev: the DRM device
+1 -1
drivers/gpu/drm/drm_mode_object.c
··· 115 115 } 116 116 117 117 /** 118 - * drm_lease_required - check types which must be leased to be used 118 + * drm_mode_object_lease_required - check types which must be leased to be used 119 119 * @type: type of object 120 120 * 121 121 * Returns whether the provided type of drm_mode_object must
+2 -2
drivers/gpu/drm/drm_modes.c
··· 1889 1889 EXPORT_SYMBOL(drm_mode_create_from_cmdline_mode); 1890 1890 1891 1891 /** 1892 - * drm_crtc_convert_to_umode - convert a drm_display_mode into a modeinfo 1892 + * drm_mode_convert_to_umode - convert a drm_display_mode into a modeinfo 1893 1893 * @out: drm_mode_modeinfo struct to return to the user 1894 1894 * @in: drm_display_mode to use 1895 1895 * ··· 1941 1941 } 1942 1942 1943 1943 /** 1944 - * drm_crtc_convert_umode - convert a modeinfo into a drm_display_mode 1944 + * drm_mode_convert_umode - convert a modeinfo into a drm_display_mode 1945 1945 * @dev: drm device 1946 1946 * @out: drm_display_mode to return to the user 1947 1947 * @in: drm_mode_modeinfo to use
+1 -1
drivers/gpu/drm/drm_scdc_helper.c
··· 125 125 EXPORT_SYMBOL(drm_scdc_write); 126 126 127 127 /** 128 - * drm_scdc_check_scrambling_status - what is status of scrambling? 128 + * drm_scdc_get_scrambling_status - what is status of scrambling? 129 129 * @adapter: I2C adapter for DDC channel 130 130 * 131 131 * Reads the scrambler status over SCDC, and checks the
+1 -1
drivers/gpu/drm/i915/display/intel_dpll_mgr.c
··· 4587 4587 } 4588 4588 4589 4589 /** 4590 - * intel_shared_dpll_dump_hw_state - write hw_state to dmesg 4590 + * intel_dpll_dump_hw_state - write hw_state to dmesg 4591 4591 * @dev_priv: i915 drm device 4592 4592 * @hw_state: hw state to be written to the log 4593 4593 *
+1 -1
drivers/gpu/drm/i915/i915_gem_evict.c
··· 238 238 } 239 239 240 240 /** 241 - * i915_gem_evict_for_vma - Evict vmas to make room for binding a new one 241 + * i915_gem_evict_for_node - Evict vmas to make room for binding a new one 242 242 * @vm: address space to evict from 243 243 * @target: range (and color) to evict for 244 244 * @flags: additional flags to control the eviction algorithm
+5 -3
drivers/gpu/drm/i915/i915_perf.c
··· 625 625 } 626 626 627 627 /** 628 - * Copies all buffered OA reports into userspace read() buffer. 628 + * gen8_append_oa_reports - Copies all buffered OA reports into 629 + * userspace read() buffer. 629 630 * @stream: An i915-perf stream opened for OA metrics 630 631 * @buf: destination buffer given by userspace 631 632 * @count: the number of bytes userspace wants to read ··· 918 917 } 919 918 920 919 /** 921 - * Copies all buffered OA reports into userspace read() buffer. 920 + * gen7_append_oa_reports - Copies all buffered OA reports into 921 + * userspace read() buffer. 922 922 * @stream: An i915-perf stream opened for OA metrics 923 923 * @buf: destination buffer given by userspace 924 924 * @count: the number of bytes userspace wants to read ··· 3229 3227 } 3230 3228 3231 3229 /** 3232 - * i915_perf_ioctl - support ioctl() usage with i915 perf stream FDs 3230 + * i915_perf_ioctl_locked - support ioctl() usage with i915 perf stream FDs 3233 3231 * @stream: An i915 perf stream 3234 3232 * @cmd: the ioctl request 3235 3233 * @arg: the ioctl data
+1 -1
drivers/gpu/drm/scheduler/sched_main.c
··· 446 446 EXPORT_SYMBOL(drm_sched_stop); 447 447 448 448 /** 449 - * drm_sched_job_recovery - recover jobs after a reset 449 + * drm_sched_start - recover jobs after a reset 450 450 * 451 451 * @sched: scheduler instance 452 452 * @full_recovery: proceed with complete sched restart
+1 -1
drivers/gpu/drm/v3d/v3d_sched.c
··· 64 64 } 65 65 66 66 /** 67 - * Returns the fences that the job depends on, one by one. 67 + * v3d_job_dependency - Returns the fences that the job depends on, one by one. 68 68 * 69 69 * If placed in the scheduler's .dependency method, the corresponding 70 70 * .run_job won't be called until all of them have been signaled.
+1 -1
drivers/gpu/drm/vc4/vc4_bo.c
··· 391 391 }; 392 392 393 393 /** 394 - * vc4_gem_create_object - Implementation of driver->gem_create_object. 394 + * vc4_create_object - Implementation of driver->gem_create_object. 395 395 * @dev: DRM device 396 396 * @size: Size in bytes of the memory the object will reference 397 397 *
+2 -2
include/drm/drm_atomic_helper.h
··· 167 167 drm_for_each_plane_mask(plane, (crtc)->dev, (crtc)->state->plane_mask) 168 168 169 169 /** 170 - * drm_crtc_atomic_state_for_each_plane - iterate over attached planes in new state 170 + * drm_atomic_crtc_state_for_each_plane - iterate over attached planes in new state 171 171 * @plane: the loop cursor 172 172 * @crtc_state: the incoming CRTC state 173 173 * ··· 180 180 drm_for_each_plane_mask(plane, (crtc_state)->state->dev, (crtc_state)->plane_mask) 181 181 182 182 /** 183 - * drm_crtc_atomic_state_for_each_plane_state - iterate over attached planes in new state 183 + * drm_atomic_crtc_state_for_each_plane_state - iterate over attached planes in new state 184 184 * @plane: the loop cursor 185 185 * @plane_state: loop cursor for the plane's state, must be const 186 186 * @crtc_state: the incoming CRTC state
+1 -1
include/drm/drm_connector.h
··· 84 84 }; 85 85 86 86 /** 87 - * enum drm_connector_registration_status - userspace registration status for 87 + * enum drm_connector_registration_state - userspace registration status for 88 88 * a &drm_connector 89 89 * 90 90 * This enum is used to track the status of initializing a connector and
+1 -1
include/drm/drm_device.h
··· 27 27 28 28 29 29 /** 30 - * enum drm_switch_power - power state of drm device 30 + * enum switch_power_state - power state of drm device 31 31 */ 32 32 33 33 enum switch_power_state {
+2 -1
include/drm/drm_dsc.h
··· 273 273 }; 274 274 275 275 /** 276 - * struct picture_parameter_set - Represents 128 bytes of Picture Parameter Set 276 + * struct drm_dsc_picture_parameter_set - Represents 128 bytes of 277 + * Picture Parameter Set 277 278 * 278 279 * The VESA DSC standard defines picture parameter set (PPS) which display 279 280 * stream compression encoders must communicate to decoders.
+4 -4
include/drm/drm_gem_vram_helper.h
··· 66 66 }; 67 67 68 68 /** 69 - * Returns the container of type &struct drm_gem_vram_object 70 - * for field bo. 69 + * drm_gem_vram_of_bo - Returns the container of type 70 + * &struct drm_gem_vram_object for field bo. 71 71 * @bo: the VRAM buffer object 72 72 * Returns: The containing GEM VRAM object 73 73 */ ··· 78 78 } 79 79 80 80 /** 81 - * Returns the container of type &struct drm_gem_vram_object 82 - * for field gem. 81 + * drm_gem_vram_of_gem - Returns the container of type 82 + * &struct drm_gem_vram_object for field gem. 83 83 * @gem: the GEM object 84 84 * Returns: The containing GEM VRAM object 85 85 */