Skip to contentSkip to conversation

drm/dp: fix warning for target_rr_divide missing comment

PATCH New Sunil Khatri 2 participants 3 messages Oct 8, 2024 – Oct 11, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 drm/dp: fix warning for target_rr_divide missing comment

include/drm/display/drm_dp_helper.h:127: warning:
Function parameter or struct member 'target_rr_divider' not described in 'drm_dp_as_sdp'

Cc Mitul Golani <[email protected]>
Cc Arun R Murthy <[email protected]>
Cc Suraj Kandpal <[email protected]>
---
 include/drm/display/drm_dp_helper.h | 1 +
 1 file changed, 1 insertion(+)
include/drm/display/drm_dp_helper.h +1 -0
index ea03e1dd26ba..5b8e70ab087b 100644
@@ -112,6 +112,7 @@ struct drm_dp_vsc_sdp {
  * @target_rr: Target Refresh
  * @duration_incr_ms: Successive frame duration increase
  * @duration_decr_ms: Successive frame duration decrease
+ * @target_rr_divider: Refresh rate divider
  * @mode: Adaptive Sync Operation Mode
  */
 struct drm_dp_as_sdp {
Signature · 1 line
2.34.1
#1 lore raw

PATCH 2/2 drm: fix doc warning for height and width of plane

Fixes:
include/uapi/drm/drm_mode.h:869:
warning: Function parameter or struct member 'width' not described in 'drm_plane_size_hint'

include/uapi/drm/drm_mode.h:869:
warning: Function parameter or struct member 'height' not described in 'drm_plane_size_hint'

Cc Ville Syrjälä <[email protected]>
Cc Sameer Lattannavar <[email protected]>
Cc Jonas Ådahl <[email protected]>
---
 include/uapi/drm/drm_mode.h | 2 ++
 1 file changed, 2 insertions(+)
include/uapi/drm/drm_mode.h +2 -0
index d390011b89b4..ea07fbbde425 100644
@@ -862,6 +862,8 @@ struct drm_color_lut {
  *
  * The plane SIZE_HINTS property blob contains an
  * array of struct drm_plane_size_hint.
+ * @width: Plane width hint
+ * @height: Plane height hint
  */
 struct drm_plane_size_hint {
 	__u16 width;
Signature · 1 line
2.34.1
#2 lore raw

✗ Fi.CI.BUILD: failure for series starting with [v1,1/2] drm/dp: fix warning for target_rr_divide missing comment

In reply to Sunil Khatri
== Series Details ==

== Series Details ==

Series: series starting with [v1,1/2] drm/dp: fix warning for target_rr_divide missing comment
URL : https://patchwork.freedesktop.org/series/139881/
State : failure

== Summary ==

Error: patch https://patchwork.freedesktop.org/api/1.0/series/139881/revisions/1/mbox/ not applied
Applying: drm/dp: fix warning for target_rr_divide missing comment
Using index info to reconstruct a base tree...
M include/drm/display/drm_dp_helper.h
Falling back to patching base and 3-way merge...
Auto-merging include/drm/display/drm_dp_helper.h
CONFLICT (content): Merge conflict in include/drm/display/drm_dp_helper.h
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 drm/dp: fix warning for target_rr_divide missing comment
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
Build failed, no error log produced