Commit 0d8357c2 authored by Lee Jones's avatar Lee Jones Committed by Alex Deucher

drm/radeon/r100: Fix some kernel-doc formatting, misnaming and missing issues

Fixes the following W=1 kernel build warning(s):

 drivers/gpu/drm/radeon/r100.c:163: warning: Function parameter or member 'async' not described in 'r100_page_flip'
 drivers/gpu/drm/radeon/r100.c:848: warning: Function parameter or member 'rdev' not described in 'r100_ring_hdp_flush'
 drivers/gpu/drm/radeon/r100.c:848: warning: Function parameter or member 'ring' not described in 'r100_ring_hdp_flush'
 drivers/gpu/drm/radeon/r100.c:1425: warning: Function parameter or member 'p' not described in 'r100_cs_packet_parse_vline'
 drivers/gpu/drm/radeon/r100.c:1425: warning: Excess function parameter 'parser' description in 'r100_cs_packet_parse_vline'

Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: "Christian König" <christian.koenig@amd.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Sumit Semwal <sumit.semwal@linaro.org>
Cc: amd-gfx@lists.freedesktop.org
Cc: dri-devel@lists.freedesktop.org
Cc: linux-media@vger.kernel.org
Cc: linaro-mm-sig@lists.linaro.org
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent d029ed56
...@@ -153,6 +153,7 @@ void r100_wait_for_vblank(struct radeon_device *rdev, int crtc) ...@@ -153,6 +153,7 @@ void r100_wait_for_vblank(struct radeon_device *rdev, int crtc)
* @rdev: radeon_device pointer * @rdev: radeon_device pointer
* @crtc_id: crtc to cleanup pageflip on * @crtc_id: crtc to cleanup pageflip on
* @crtc_base: new address of the crtc (GPU MC address) * @crtc_base: new address of the crtc (GPU MC address)
* @async: asynchronous flip
* *
* Does the actual pageflip (r1xx-r4xx). * Does the actual pageflip (r1xx-r4xx).
* During vblank we take the crtc lock and wait for the update_pending * During vblank we take the crtc lock and wait for the update_pending
...@@ -841,8 +842,8 @@ u32 r100_get_vblank_counter(struct radeon_device *rdev, int crtc) ...@@ -841,8 +842,8 @@ u32 r100_get_vblank_counter(struct radeon_device *rdev, int crtc)
/** /**
* r100_ring_hdp_flush - flush Host Data Path via the ring buffer * r100_ring_hdp_flush - flush Host Data Path via the ring buffer
* rdev: radeon device structure * @rdev: radeon device structure
* ring: ring buffer struct for emitting packets * @ring: ring buffer struct for emitting packets
*/ */
static void r100_ring_hdp_flush(struct radeon_device *rdev, struct radeon_ring *ring) static void r100_ring_hdp_flush(struct radeon_device *rdev, struct radeon_ring *ring)
{ {
...@@ -1409,7 +1410,7 @@ int r100_cs_parse_packet0(struct radeon_cs_parser *p, ...@@ -1409,7 +1410,7 @@ int r100_cs_parse_packet0(struct radeon_cs_parser *p,
/** /**
* r100_cs_packet_next_vline() - parse userspace VLINE packet * r100_cs_packet_next_vline() - parse userspace VLINE packet
* @parser: parser structure holding parsing context. * @p: parser structure holding parsing context.
* *
* Userspace sends a special sequence for VLINE waits. * Userspace sends a special sequence for VLINE waits.
* PACKET0 - VLINE_START_END + value * PACKET0 - VLINE_START_END + value
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment