drm: amd: display: fix kernel-doc struct warning
Subsystems (3)
PATCH 1/1 drm: amd: display: fix kernel-doc struct warning
Fix a kernel-doc warning of missing struct field desription:
../drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h:331: warning: Function parameter or member 'hdcp_workqueue' not described in 'amdgpu_display_manager'
--- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h +1 -0
@@ -139,6 +139,7 @@ struct amdgpu_dm_backlight_caps {* @backlight_link: Link on which to control backlight * @backlight_caps: Capabilities of the backlight device * @freesync_module: Module handling freesync calculations +* @hdcp_workqueue: workqueue for display manager interaction with HDCP module * @fw_dmcu: Reference to DMCU firmware * @dmcu_fw_version: Version of the DMCU firmware * @soc_bounding_box: SOC bounding box values provided by gpu_info FW
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
PATCH 1/1 drm: amdgpu: fix kernel-doc struct warning
Fix a kernel-doc warning of missing struct field desription:
../drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:92: warning: Function parameter or member 'vm' not described in 'amdgpu_vm_eviction_lock'
--- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c +1 -1
@@ -82,7 +82,7 @@ struct amdgpu_prt_cb {struct dma_fence_cb cb; }; -/** +/* * vm eviction_lock can be taken in MMU notifiers. Make sure no reclaim-FS * happens while holding this lock anywhere to prevent deadlocks when * an MMU notifier runs in reclaim-FS context.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Re: [PATCH] drm: amdgpu: fix kernel-doc struct warning
Quoted 4 lines · Randy Dunlap
Fix a kernel-doc warning of missing struct field desription:
../drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:92: warning: Function parameter or member 'vm' not described in 'amdgpu_vm_eviction_lock'
Quoted 8 lines
Fixes a269e44989f3 ("drm/amdgpu: Avoid reclaim fs while eviction lock")Signed-off-by Randy Dunlap <[email protected]>Cc Signed-off-by: Alex Sierra <[email protected]>Cc Felix Kuehling <[email protected]>Cc Christian König <[email protected]>Cc Alex Deucher <[email protected]>Cc David (ChunMing) Zhou <[email protected]>
Harry
Quoted 8 lines
--- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c struct amdgpu_prt_cb { · line 88
Quoted 8 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c +1
-1@@ -82,7 +82,7 @@ struct amdgpu_prt_cb {struct dma_fence_cb cb; }; -/** +/* * vm eviction_lock can be taken in MMU notifiers. Make sure no reclaim-FS * happens while holding this lock anywhere to prevent deadlocks when * an MMU notifier runs in reclaim-FS context.
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Christian König
maintainerRe: [PATCH] drm: amdgpu: fix kernel-doc struct warning
In reply to Randy DunlapAm 20.04.20 um 03:50 schrieb Randy Dunlap:
Quoted 3 lines
Fix a kernel-doc warning of missing struct field desription:
../drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:92: warning: Function parameter or member 'vm' not described in 'amdgpu_vm_eviction_lock'
Can't we just document the function parameter instead? Should only be one IIRC.
Thanks,
Christian.
Quoted 16 lines
Fixes a269e44989f3 ("drm/amdgpu: Avoid reclaim fs while eviction lock")Signed-off-by Randy Dunlap <[email protected]>Cc Signed-off-by: Alex Sierra <[email protected]>Cc Felix Kuehling <[email protected]>Cc Christian König <[email protected]>Cc Alex Deucher <[email protected]>Cc David (ChunMing) Zhou <[email protected]>--- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c struct amdgpu_prt_cb { · line 88
Quoted 8 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c +1
-1@@ -82,7 +82,7 @@ struct amdgpu_prt_cb {struct dma_fence_cb cb; }; -/** +/* * vm eviction_lock can be taken in MMU notifiers. Make sure no reclaim-FS * happens while holding this lock anywhere to prevent deadlocks when * an MMU notifier runs in reclaim-FS context.
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Christian König
Reviewed-byRe: [PATCH] drm: amdgpu: fix kernel-doc struct warning
Am 21.04.20 um 16:33 schrieb Christian König:
Quoted 6 lines
Am 20.04.20 um 03:50 schrieb Randy Dunlap:
Quoted 3 lines
Fix a kernel-doc warning of missing struct field desription:
../drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:92: warning: Function parameter or member 'vm' not described in 'amdgpu_vm_eviction_lock'Can't we just document the function parameter instead? Should only be one IIRC.
On the other hand forget that, the format doesn't match a proper kernel-doc for a function anyway.
Quoted 17 lines
Thanks,
Christian.Quoted 13 lines
Fixes a269e44989f3 ("drm/amdgpu: Avoid reclaim fs while eviction lock")Signed-off-by Randy Dunlap <[email protected]>Cc Signed-off-by: Alex Sierra <[email protected]>Cc Felix Kuehling <[email protected]>Cc Christian König <[email protected]>Cc Alex Deucher <[email protected]>Cc David (ChunMing) Zhou <[email protected]>---
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c| 2 +-1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 15 lines
Quoted 10 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c +0
-0@@ -82,7 +82,7 @@ struct amdgpu_prt_cb { struct dma_fence_cb cb; };-/**
+/*
* vmeviction_lockcan be taken in MMU notifiers. Make sure no reclaim-FS
* happens while holding this lock anywhere to prevent deadlocks when
* an MMU notifier runs in reclaim-FS context._______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Alex Deucher
AppliedRe: [PATCH] drm: amdgpu: fix kernel-doc struct warning
Quoted 8 lines · Christian König
Am 21.04.20 um 16:33 schrieb Christian König:
Quoted 6 lines
Am 20.04.20 um 03:50 schrieb Randy Dunlap:
Quoted 4 lines
Fix a kernel-doc warning of missing struct field desription:
../drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:92: warning: Function parameter or member 'vm' not described in 'amdgpu_vm_eviction_lock'
Quoted 8 lines
Quoted 2 lines
Can't we just document the function parameter instead? Should only be one IIRC.
On the other hand forget that, the format doesn't match a proper kernel-doc for a function anyway.
Reviewed-by Christian König <[email protected]>
Applied. Thanks!
Alex
Quoted 34 lines
Quoted 17 lines
Thanks,
Christian.Quoted 13 lines
Fixes a269e44989f3 ("drm/amdgpu: Avoid reclaim fs while eviction lock")Signed-off-by Randy Dunlap <[email protected]>Cc Signed-off-by: Alex Sierra <[email protected]>Cc Felix Kuehling <[email protected]>Cc Christian König <[email protected]>Cc Alex Deucher <[email protected]>Cc David (ChunMing) Zhou <[email protected]>--- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Quoted 16 lines
Quoted 11 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c +1
-0@@ -82,7 +82,7 @@ struct amdgpu_prt_cb {struct dma_fence_cb cb; }; -/** +/* * vm eviction_lock can be taken in MMU notifiers. Make sure no reclaim-FS
* happens while holding this lock anywhere to prevent deadlocks when
* an MMU notifier runs in reclaim-FS context._______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Quoted 4 lines
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 11 lines · Randy Dunlap
Fix a kernel-doc warning of missing struct field desription:
../drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h:331: warning: Function parameter or member 'hdcp_workqueue' not described in 'amdgpu_display_manager'Fixes 52704fcaf74b ("drm/amd/display: Initialize HDCP work queue")Signed-off-by Randy Dunlap <[email protected]>Cc Bhawanpreet Lakha <[email protected]>Cc Harry Wentland <[email protected]>Cc Alex Deucher <[email protected]>Cc Leo Li <[email protected]>
Harry
Quoted 8 lines
--- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h struct amdgpu_dm_backlight_caps { · line 145
Quoted 7 lines
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h +1
-0@@ -139,6 +139,7 @@ struct amdgpu_dm_backlight_caps {* @backlight_link: Link on which to control backlight * @backlight_caps: Capabilities of the backlight device * @freesync_module: Module handling freesync calculations +* @hdcp_workqueue: workqueue for display manager interaction with HDCP module * @fw_dmcu: Reference to DMCU firmware * @dmcu_fw_version: Version of the DMCU firmware * @soc_bounding_box: SOC bounding box values provided by gpu_info FW
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx