Rid W=1 warnings from GPU
Subsystems (9)
cover Rid W=1 warnings from GPU
This set is part of a larger effort attempting to clean-up W=1 kernel builds, which are currently overwhelmingly riddled with niggly little warnings.
Lee Jones (38):
drm/mediatek/mtk_disp_color: Strip incorrect doc and demote header drm/mediatek/mtk_disp_gamma: Strip and demote non-conformant
kernel-doc header
drm/radeon/radeon_cs: Fix incorrectly documented function
'radeon_cs_parser_fini'
drm/mediatek/mtk_disp_ovl: Strip and demote non-conformant header drm/mediatek/mtk_disp_rdma: Strip and demote non-conformant kernel-doc
header
drm/sti/sti_hdmi_tx3g4c28phy: Provide function names for kernel-doc
headers
drm/sti/sti_hda: Provide missing function names drm/sti/sti_tvout: Provide a bunch of missing function names drm/sti/sti_hqvdp: Fix incorrectly named function 'sti_hqvdp_vtg_cb()' drm/amd/amdgpu/amdgpu_ids: Correct some function name disparity drm/amd/amdgpu/amdgpu_debugfs: Fix a couple of misnamed functions drm/amd/amdgpu/amdgpu_gmc: Fix a little naming related doc-rot drm/amd/amdgpu/cik_sdma: Fix a few incorrectly named functions drm/amd/amdgpu/gfx_v7_0: Repair function names in the documentation drm/msm/disp/dpu1/dpu_encoder_phys_cmd: Remove unused variable
'cmd_enc'
drm/amd/amdgpu/si_dma: Fix some function name disparity
drm/amd/amdgpu/dce_v6_0: Repair function name of
'si_get_number_of_dram_channels()'
drm/msm/disp/dpu1/dpu_hw_interrupts: Demote a bunch of kernel-doc
abuses
drm/radeon/cik: Fix incorrectly named function 'cik_irq_suspend()'
drm/radeon/radeon_vm: Fix function naming disparities
drm/amd/include/aldebaran_ip_offset: Mark top-level IP_BASE as
__maybe_unused
drm/msm/disp/dpu1/dpu_plane: Fix a couple of naming issues
drm/amd/amdgpu/gmc_v7_0: Fix potential copy/paste issue
drm/amd/amdgpu/mmhub_v9_4: Fix naming disparity with
'mmhub_v9_4_set_fault_enable_default()'
drm/msm/msm_gem: Demote kernel-doc abuses
drm/amd/amdgpu/gmc_v10_0: Fix potential copy/paste issue
drm/msm/dp/dp_catalog: Correctly document param 'dp_catalog'
drm/msm/dp/dp_link: Fix some potential doc-rot
drm/radeon/r100: Realign doc header with function
'r100_cs_packet_parse_vline()'
drm/amd/amdgpu/gfx_v9_4_2: Mark functions called by reference as
static
drm/amd/amdgpu/sdma_v2_4: Correct misnamed function
'sdma_v2_4_ring_emit_hdp_flush()'
drm/amd/amdgpu/sdma_v4_0: Realign functions with their headers
drm/amd/amdgpu/sdma_v5_0: Fix typo in function name
drm/amd/amdgpu/amdgpu_vce: Fix a few incorrectly named functions
drm/amd/amdgpu/sdma_v5_2: Repair typo in function name
drm/amd/amdgpu/vcn_v1_0: Fix some function naming disparity
drm/amd/amdgpu/gfx_v10_0: Demote kernel-doc abuse
drm/amd/amdgpu/smuio_v13_0: Realign
'smuio_v13_0_is_host_gpu_xgmi_supported()' headerdrivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | 4 +-- drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | 4 +-- drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c | 8 ++--- drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c | 10 +++--- drivers/gpu/drm/amd/amdgpu/cik_sdma.c | 8 ++--- drivers/gpu/drm/amd/amdgpu/dce_v6_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | 6 ++-- drivers/gpu/drm/amd/amdgpu/gfx_v9_4_2.c | 14 ++++---- drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c | 2 +- drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c | 2 +- drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 4 +-- drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c | 2 +- drivers/gpu/drm/amd/amdgpu/si_dma.c | 6 ++-- drivers/gpu/drm/amd/amdgpu/smuio_v13_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c | 4 +-- .../gpu/drm/amd/include/aldebaran_ip_offset.h | 2 +- drivers/gpu/drm/mediatek/mtk_disp_color.c | 3 +- drivers/gpu/drm/mediatek/mtk_disp_gamma.c | 4 +-- drivers/gpu/drm/mediatek/mtk_disp_ovl.c | 3 +- drivers/gpu/drm/mediatek/mtk_disp_rdma.c | 4 +-- .../drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c | 4 --- .../gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c | 32 +++++++++---------- drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c | 4 +-- drivers/gpu/drm/msm/dp/dp_catalog.c | 2 +- drivers/gpu/drm/msm/dp/dp_link.c | 6 ++-- drivers/gpu/drm/msm/msm_gem.c | 4 +-- drivers/gpu/drm/radeon/cik.c | 2 +- drivers/gpu/drm/radeon/r100.c | 2 +- drivers/gpu/drm/radeon/radeon_cs.c | 2 +- drivers/gpu/drm/radeon/radeon_vm.c | 4 +-- drivers/gpu/drm/sti/sti_hda.c | 6 ++-- drivers/gpu/drm/sti/sti_hdmi_tx3g4c28phy.c | 4 +-- drivers/gpu/drm/sti/sti_hqvdp.c | 2 +- drivers/gpu/drm/sti/sti_tvout.c | 18 +++++------ 38 files changed, 92 insertions(+), 102 deletions(-)
Signature · 1 line
2.31.1
PATCH 1/38 drm/mediatek/mtk_disp_color: Strip incorrect doc and demote header
Fixes the following W=1 kernel build warning(s):
drivers/gpu/drm/mediatek/mtk_disp_color.c:45: warning: Function parameter or member 'clk' not described in 'mtk_disp_color' drivers/gpu/drm/mediatek/mtk_disp_color.c:45: warning: Function parameter or member 'regs' not described in 'mtk_disp_color' drivers/gpu/drm/mediatek/mtk_disp_color.c:45: warning: Function parameter or member 'cmdq_reg' not described in 'mtk_disp_color'
--- drivers/gpu/drm/mediatek/mtk_disp_color.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/gpu/drm/mediatek/mtk_disp_color.c +1 -2
@@ -30,9 +30,8 @@ struct mtk_disp_color_data {unsigned int color_offset; }; -/** +/* * struct mtk_disp_color - DISP_COLOR driver structure -* @ddp_comp: structure containing type enum and hardware resources * @crtc: associated crtc to report irq events to * @data: platform colour driver data */
Signature · 1 line
2.31.1
PATCH 2/38 drm/mediatek/mtk_disp_gamma: Strip and demote non-conformant kernel-doc header
In reply to Lee JonesFixes the following W=1 kernel build warning(s):
drivers/gpu/drm/mediatek/mtk_disp_gamma.c:42: warning: Function parameter or member 'clk' not described in 'mtk_disp_gamma' drivers/gpu/drm/mediatek/mtk_disp_gamma.c:42: warning: Function parameter or member 'regs' not described in 'mtk_disp_gamma' drivers/gpu/drm/mediatek/mtk_disp_gamma.c:42: warning: Function parameter or member 'cmdq_reg' not described in 'mtk_disp_gamma' drivers/gpu/drm/mediatek/mtk_disp_gamma.c:42: warning: Function parameter or member 'data' not described in 'mtk_disp_gamma'
--- drivers/gpu/drm/mediatek/mtk_disp_gamma.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
drivers/gpu/drm/mediatek/mtk_disp_gamma.c +1 -3
@@ -29,10 +29,8 @@ struct mtk_disp_gamma_data {bool has_dither; }; -/** +/* * struct mtk_disp_gamma - DISP_GAMMA driver structure -* @ddp_comp - structure containing type enum and hardware resources -* @crtc - associated crtc to report irq events to */ struct mtk_disp_gamma {struct clk *clk;
Signature · 1 line
2.31.1
PATCH 3/38 drm/radeon/radeon_cs: Fix incorrectly documented function 'radeon_cs_parser_fini'
In reply to Lee JonesFixes the following W=1 kernel build warning(s):
drivers/gpu/drm/radeon/radeon_cs.c:417: warning: expecting prototype for cs_parser_fini(). Prototype was for radeon_cs_parser_fini() instead
--- drivers/gpu/drm/radeon/radeon_cs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/radeon/radeon_cs.c +1 -1
@@ -405,7 +405,7 @@ static int cmp_size_smaller_first(void *priv, const struct list_head *a, }/** -* cs_parser_fini() - clean parser states +* radeon_cs_parser_fini() - clean parser states * @parser: parser structure holding parsing context. * @error: error number * @backoff: indicator to backoff the reservation
Signature · 1 line
2.31.1
Re: [PATCH 03/38] drm/radeon/radeon_cs: Fix incorrectly documented function 'radeon_cs_parser_fini'
Am 20.05.21 um 14:02 schrieb Lee Jones:
Quoted 4 lines
Fixes the following W=1 kernel build warning(s):
drivers/gpu/drm/radeon/radeon_cs.c:417: warning: expecting prototype forcs_parser_fini(). Prototype was forradeon_cs_parser_fini()instead
Quoted 11 lines
Cc Alex Deucher <[email protected]>Cc "Christian König" <[email protected]>Cc David Airlie <[email protected]>Cc Daniel Vetter <[email protected]>Cc Sumit Semwal <[email protected]>Cc Jerome Glisse <[email protected]>Signed-off-by Lee Jones <[email protected]>
Quoted 9 lines
--- drivers/gpu/drm/radeon/radeon_cs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/radeon/radeon_cs.c +0
-0
drivers/gpu/drm/radeon/radeon_cs.c static int cmp_size_smaller_first(void *priv, const struct list_head *a, · line 411
Quoted 8 lines
drivers/gpu/drm/radeon/radeon_cs.c +1
-1@@ -405,7 +405,7 @@ static int cmp_size_smaller_first(void *priv, const struct list_head *a, }/** -* cs_parser_fini() - clean parser states +* radeon_cs_parser_fini() - clean parser states * @parser: parser structure holding parsing context. * @error: error number * @backoff: indicator to backoff the reservation
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Alex Deucher
AppliedRe: [PATCH 03/38] drm/radeon/radeon_cs: Fix incorrectly documented function 'radeon_cs_parser_fini'
Applied. Thanks!
Alex
Quoted 31 lines · Christian König
Am 20.05.21 um 14:02 schrieb Lee Jones:
Quoted 4 lines
Fixes the following W=1 kernel build warning(s):
drivers/gpu/drm/radeon/radeon_cs.c:417: warning: expecting prototype forcs_parser_fini(). Prototype was forradeon_cs_parser_fini()insteadQuoted 11 lines
Cc Alex Deucher <[email protected]>Cc "Christian König" <[email protected]>Cc David Airlie <[email protected]>Cc Daniel Vetter <[email protected]>Cc Sumit Semwal <[email protected]>Cc Jerome Glisse <[email protected]>Signed-off-by Lee Jones <[email protected]>Reviewed-by Christian König <[email protected]>Quoted 11 lines
--- drivers/gpu/drm/radeon/radeon_cs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/radeon/radeon_cs.c +0
-0@@ -405,7 +405,7 @@ static int cmp_size_smaller_first(void *priv, const struct list_head *a, }
Quoted 11 lines
drivers/gpu/drm/radeon/radeon_cs.c static int cmp_size_smaller_first(void *priv, const struct list_head *a, · line 411
Quoted 6 lines
drivers/gpu/drm/radeon/radeon_cs.c +1
-1/** -* cs_parser_fini() - clean parser states +* radeon_cs_parser_fini() - clean parser states * @parser: parser structure holding parsing context. * @error: error number * @backoff: indicator to backoff the reservation _______________________________________________
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
PATCH 4/38 drm/mediatek/mtk_disp_ovl: Strip and demote non-conformant header
In reply to Lee JonesFixes the following W=1 kernel build warning(s):
drivers/gpu/drm/mediatek/mtk_disp_ovl.c:83: warning: Function parameter or member 'clk' not described in 'mtk_disp_ovl' drivers/gpu/drm/mediatek/mtk_disp_ovl.c:83: warning: Function parameter or member 'regs' not described in 'mtk_disp_ovl' drivers/gpu/drm/mediatek/mtk_disp_ovl.c:83: warning: Function parameter or member 'cmdq_reg' not described in 'mtk_disp_ovl' drivers/gpu/drm/mediatek/mtk_disp_ovl.c:83: warning: Function parameter or member 'vblank_cb' not described in 'mtk_disp_ovl' drivers/gpu/drm/mediatek/mtk_disp_ovl.c:83: warning: Function parameter or member 'vblank_cb_data' not described in 'mtk_disp_ovl'
--- drivers/gpu/drm/mediatek/mtk_disp_ovl.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/gpu/drm/mediatek/mtk_disp_ovl.c +1 -2
@@ -66,9 +66,8 @@ struct mtk_disp_ovl_data {bool smi_id_en; }; -/** +/* * struct mtk_disp_ovl - DISP_OVL driver structure -* @ddp_comp: structure containing type enum and hardware resources * @crtc: associated crtc to report vblank events to * @data: platform data */
Signature · 1 line
2.31.1
PATCH 5/38 drm/mediatek/mtk_disp_rdma: Strip and demote non-conformant kernel-doc header
In reply to Lee JonesFixes the following W=1 kernel build warning(s):
drivers/gpu/drm/mediatek/mtk_disp_rdma.c:72: warning: Function parameter or member 'clk' not described in 'mtk_disp_rdma' drivers/gpu/drm/mediatek/mtk_disp_rdma.c:72: warning: Function parameter or member 'regs' not described in 'mtk_disp_rdma' drivers/gpu/drm/mediatek/mtk_disp_rdma.c:72: warning: Function parameter or member 'cmdq_reg' not described in 'mtk_disp_rdma' drivers/gpu/drm/mediatek/mtk_disp_rdma.c:72: warning: Function parameter or member 'vblank_cb' not described in 'mtk_disp_rdma' drivers/gpu/drm/mediatek/mtk_disp_rdma.c:72: warning: Function parameter or member 'vblank_cb_data' not described in 'mtk_disp_rdma' drivers/gpu/drm/mediatek/mtk_disp_rdma.c:72: warning: Function parameter or member 'fifo_size' not described in 'mtk_disp_rdma'
--- drivers/gpu/drm/mediatek/mtk_disp_rdma.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
drivers/gpu/drm/mediatek/mtk_disp_rdma.c +1 -3
@@ -55,10 +55,8 @@ struct mtk_disp_rdma_data {unsigned int fifo_size; }; -/** +/* * struct mtk_disp_rdma - DISP_RDMA driver structure -* @ddp_comp: structure containing type enum and hardware resources -* @crtc: associated crtc to report irq events to * @data: local driver data */ struct mtk_disp_rdma {
Signature · 1 line
2.31.1
PATCH 6/38 drm/sti/sti_hdmi_tx3g4c28phy: Provide function names for kernel-doc headers
In reply to Lee JonesFixes the following W=1 kernel build warning(s):
drivers/gpu/drm/sti/sti_hdmi_tx3g4c28phy.c:77: warning: expecting prototype for Start hdmi phy macro cell tx3g4c28(). Prototype was for sti_hdmi_tx3g4c28phy_start() instead drivers/gpu/drm/sti/sti_hdmi_tx3g4c28phy.c:187: warning: expecting prototype for Stop hdmi phy macro cell tx3g4c28(). Prototype was for sti_hdmi_tx3g4c28phy_stop() instead
--- drivers/gpu/drm/sti/sti_hdmi_tx3g4c28phy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/sti/sti_hdmi_tx3g4c28phy.c +2 -2
@@ -67,7 +67,7 @@ static struct hdmi_phy_config hdmiphy_config[NB_HDMI_PHY_CONFIG] = { };/** -* Start hdmi phy macro cell tx3g4c28 +* sti_hdmi_tx3g4c28phy_start - Start hdmi phy macro cell tx3g4c28 * * @hdmi: pointer on the hdmi internal structure *
@@ -179,7 +179,7 @@ static bool sti_hdmi_tx3g4c28phy_start(struct sti_hdmi *hdmi) }/** -* Stop hdmi phy macro cell tx3g4c28 +* sti_hdmi_tx3g4c28phy_stop - Stop hdmi phy macro cell tx3g4c28 * * @hdmi: pointer on the hdmi internal structure */
Signature · 1 line
2.31.1
PATCH 7/38 drm/sti/sti_hda: Provide missing function names
In reply to Lee JonesFixes the following W=1 kernel build warning(s):
drivers/gpu/drm/sti/sti_hda.c:283: warning: expecting prototype for Search for a video mode in the supported modes table(). Prototype was for hda_get_mode_idx() instead drivers/gpu/drm/sti/sti_hda.c:301: warning: expecting prototype for Enable the HD DACS(). Prototype was for hda_enable_hd_dacs() instead drivers/gpu/drm/sti/sti_hda.c:383: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
--- drivers/gpu/drm/sti/sti_hda.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/gpu/drm/sti/sti_hda.c +3 -3
@@ -272,7 +272,7 @@ static void hda_write(struct sti_hda *hda, u32 val, int offset) }/** -* Search for a video mode in the supported modes table +* hda_get_mode_idx - Search for a video mode in the supported modes table * * @mode: mode being searched * @idx: index of the found mode
@@ -292,7 +292,7 @@ static bool hda_get_mode_idx(struct drm_display_mode mode, int *idx) }/** -* Enable the HD DACS +* hda_enable_hd_dacs - Enable the HD DACS * * @hda: pointer to HD analog structure * @enable: true if HD DACS need to be enabled, else false
@@ -380,7 +380,7 @@ static void hda_debugfs_init(struct sti_hda *hda, struct drm_minor *minor) }/** -* Configure AWG, writing instructions +* sti_hda_configure_awg - Configure AWG, writing instructions * * @hda: pointer to HD analog structure * @awg_instr: pointer to AWG instructions table
Signature · 1 line
2.31.1
RE: [PATCH 07/38] drm/sti/sti_hda: Provide missing function names
Hi Lee
Thank you for the patch
BR
Fabien
ST Restricted
Quoted 20 lines
-----Original Message-----
From: Lee Jones <[email protected]>
Sent: jeudi 20 mai 2021 14:02
To: [email protected]
Cc: [email protected]; Benjamin Gaignard <[email protected]>; David Airlie <[email protected]>; Daniel Vetter <[email protected]>; Fabien DESSENNE <[email protected]>; dri- [email protected]
Subject: [PATCH 07/38] drm/sti/sti_hda: Provide missing function namesFixes the following W=1 kernel build warning(s):
drivers/gpu/drm/sti/sti_hda.c:283: warning: expecting prototype for Search for
a video mode in the supported modestable(). Prototype was forhda_get_mode_idx()instead
drivers/gpu/drm/sti/sti_hda.c:301: warning: expecting prototype for Enable the
HDDACS(). Prototype was forhda_enable_hd_dacs()instead
drivers/gpu/drm/sti/sti_hda.c:383: warning: This comment starts with '/**', but
isn't a kernel-doc comment. ReferDocumentation/doc-guide/kernel-doc.rst
Quoted 6 lines
Cc Benjamin Gaignard <[email protected]>Cc David Airlie <[email protected]>Cc Daniel Vetter <[email protected]>Cc Fabien Dessenne <[email protected]>Signed-off-by Lee Jones <[email protected]>
Quoted 38 lines
--- drivers/gpu/drm/sti/sti_hda.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)drivers/gpu/drm/sti/sti_hda.c index renamed from drivers/gpu/drm/sti/sti_hda.c +0
-0
5c2b650b561d5..03f3377f918c0100644drivers/gpu/drm/sti/sti_hda.c +3
-2@@ -272,7 +272,7 @@ static void hda_write(struct sti_hda *hda, u32 val, int offset) }/** -* Search for a video mode in the supported modes table +* hda_get_mode_idx - Search for a video mode in the supported modes +table * * @mode: mode being searched * @idx: index of the found mode @@ -292,7 +292,7 @@ static bool hda_get_mode_idx(struct drm_display_mode mode, int *idx) }/** -* Enable the HD DACS +* hda_enable_hd_dacs - Enable the HD DACS * * @hda: pointer to HD analog structure * @enable: true if HD DACS need to be enabled, else false @@ -380,7 +380,7 @@ static void
hda_debugfs_init(struct sti_hda *hda, struct drm_minor *minor)}/**
- * Configure AWG, writing instructions
+ *sti_hda_configure_awg- Configure AWG, writing instructions *
* @hda: pointer to HD analog structure
* @awg_instr: pointer to AWG instructions table
--
2.31.1
PATCH 8/38 drm/sti/sti_tvout: Provide a bunch of missing function names
In reply to Lee JonesFixes the following W=1 kernel build warning(s):
drivers/gpu/drm/sti/sti_tvout.c:166: warning: expecting prototype for Set the clipping mode of a VIP(). Prototype was for tvout_vip_set_color_order() instead drivers/gpu/drm/sti/sti_tvout.c:187: warning: expecting prototype for Set the clipping mode of a VIP(). Prototype was for tvout_vip_set_clip_mode() instead drivers/gpu/drm/sti/sti_tvout.c:203: warning: expecting prototype for Set the rounded value of a VIP(). Prototype was for tvout_vip_set_rnd() instead drivers/gpu/drm/sti/sti_tvout.c:223: warning: expecting prototype for Select the VIP input(). Prototype was for tvout_vip_set_sel_input() instead drivers/gpu/drm/sti/sti_tvout.c:258: warning: expecting prototype for Select the input video signed or unsigned(). Prototype was for tvout_vip_set_in_vid_fmt() instead drivers/gpu/drm/sti/sti_tvout.c:274: warning: expecting prototype for Set preformatter matrix(). Prototype was for tvout_preformatter_set_matrix() instead drivers/gpu/drm/sti/sti_tvout.c:299: warning: expecting prototype for Start VIP block for DVO output(). Prototype was for tvout_dvo_start() instead drivers/gpu/drm/sti/sti_tvout.c:353: warning: expecting prototype for Start VIP block for HDMI output(). Prototype was for tvout_hdmi_start() instead drivers/gpu/drm/sti/sti_tvout.c:402: warning: expecting prototype for Start HDF VIP and HD DAC(). Prototype was for tvout_hda_start() instead
--- drivers/gpu/drm/sti/sti_tvout.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-)
drivers/gpu/drm/sti/sti_tvout.c +9 -9
@@ -153,7 +153,7 @@ static void tvout_write(struct sti_tvout *tvout, u32 val, int offset) }/** -* Set the clipping mode of a VIP +* tvout_vip_set_color_order - Set the clipping mode of a VIP * * @tvout: tvout structure * @reg: register to set
@@ -177,7 +177,7 @@ static void tvout_vip_set_color_order(struct sti_tvout *tvout, int reg, }/** -* Set the clipping mode of a VIP +* tvout_vip_set_clip_mode - Set the clipping mode of a VIP * * @tvout: tvout structure * @reg: register to set
@@ -193,7 +193,7 @@ static void tvout_vip_set_clip_mode(struct sti_tvout *tvout, int reg, u32 range) }/** -* Set the rounded value of a VIP +* tvout_vip_set_rnd - Set the rounded value of a VIP * * @tvout: tvout structure * @reg: register to set
@@ -209,7 +209,7 @@ static void tvout_vip_set_rnd(struct sti_tvout *tvout, int reg, u32 rnd) }/** -* Select the VIP input +* tvout_vip_set_sel_input - Select the VIP input * * @tvout: tvout structure * @reg: register to set
@@ -247,7 +247,7 @@ static void tvout_vip_set_sel_input(struct sti_tvout *tvout, }/** -* Select the input video signed or unsigned +* tvout_vip_set_in_vid_fmt - Select the input video signed or unsigned * * @tvout: tvout structure * @reg: register to set
@@ -264,7 +264,7 @@ static void tvout_vip_set_in_vid_fmt(struct sti_tvout *tvout, }/** -* Set preformatter matrix +* tvout_preformatter_set_matrix - Set preformatter matrix * * @tvout: tvout structure * @mode: display mode structure
@@ -289,7 +289,7 @@ static void tvout_preformatter_set_matrix(struct sti_tvout *tvout, }/** -* Start VIP block for DVO output +* tvout_dvo_start - Start VIP block for DVO output * * @tvout: pointer on tvout structure * @main_path: true if main path has to be used in the vip configuration
@@ -343,7 +343,7 @@ static void tvout_dvo_start(struct sti_tvout *tvout, bool main_path) }/** -* Start VIP block for HDMI output +* tvout_hdmi_start - Start VIP block for HDMI output * * @tvout: pointer on tvout structure * @main_path: true if main path has to be used in the vip configuration
@@ -392,7 +392,7 @@ static void tvout_hdmi_start(struct sti_tvout *tvout, bool main_path) }/** -* Start HDF VIP and HD DAC +* tvout_hda_start - Start HDF VIP and HD DAC * * @tvout: pointer on tvout structure * @main_path: true if main path has to be used in the vip configuration
Signature · 1 line
2.31.1
PATCH 9/38 drm/sti/sti_hqvdp: Fix incorrectly named function 'sti_hqvdp_vtg_cb()'
In reply to Lee JonesFixes the following W=1 kernel build warning(s):
drivers/gpu/drm/sti/sti_hqvdp.c:796: warning: expecting prototype for sti_vdp_vtg_cb(). Prototype was for sti_hqvdp_vtg_cb() instead
--- drivers/gpu/drm/sti/sti_hqvdp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/sti/sti_hqvdp.c +1 -1
@@ -782,7 +782,7 @@ static void sti_hqvdp_disable(struct sti_hqvdp *hqvdp) }/** -* sti_vdp_vtg_cb +* sti_hqvdp_vtg_cb * @nb: notifier block * @evt: event message * @data: private data
Signature · 1 line
2.31.1
RE: [PATCH 09/38] drm/sti/sti_hqvdp: Fix incorrectly named function 'sti_hqvdp_vtg_cb()'
Hi Lee
Thank you for the patch
BR
Fabien
ST Restricted
Quoted 16 lines
-----Original Message-----
From: Lee Jones <[email protected]>
Sent: jeudi 20 mai 2021 14:02
To: [email protected]
Cc: [email protected]; Benjamin Gaignard <[email protected]>; David Airlie <[email protected]>; Daniel Vetter <[email protected]>; Philipp Zabel <[email protected]>; Fabien DESSENNE <[email protected]>; [email protected]
Subject: [PATCH 09/38] drm/sti/sti_hqvdp: Fix incorrectly named function 'sti_hqvdp_vtg_cb()'Fixes the following W=1 kernel build warning(s):
drivers/gpu/drm/sti/sti_hqvdp.c:796: warning: expecting prototype forsti_vdp_vtg_cb(). Prototype was forsti_hqvdp_vtg_cb()instead
Quoted 7 lines
Cc Benjamin Gaignard <[email protected]>Cc David Airlie <[email protected]>Cc Daniel Vetter <[email protected]>Cc Philipp Zabel <[email protected]>Cc Fabien Dessenne <[email protected]>Signed-off-by Lee Jones <[email protected]>
Quoted 18 lines
--- drivers/gpu/drm/sti/sti_hqvdp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/sti/sti_hqvdp.c +1
-2@@ -782,7 +782,7 @@ static void sti_hqvdp_disable(struct sti_hqvdp *hqvdp) }/** -* sti_vdp_vtg_cb +* sti_hqvdp_vtg_cb * @nb: notifier block * @evt: event message * @data: private data -- 2.31.1
PATCH 10/38 drm/amd/amdgpu/amdgpu_ids: Correct some function name disparity
In reply to Lee JonesFixes the following W=1 kernel build warning(s):
drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c:200: warning: expecting prototype for amdgpu_vm_grab_idle(). Prototype was for amdgpu_vmid_grab_idle() instead drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c:272: warning: expecting prototype for amdgpu_vm_grab_reserved(). Prototype was for amdgpu_vmid_grab_reserved() instead drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c:337: warning: expecting prototype for amdgpu_vm_grab_used(). Prototype was for amdgpu_vmid_grab_used() instead drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c:410: warning: expecting prototype for amdgpu_vm_grab_id(). Prototype was for amdgpu_vmid_grab() instead
--- drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c +4 -4
@@ -183,7 +183,7 @@ bool amdgpu_vmid_had_gpu_reset(struct amdgpu_device *adev, }/** -* amdgpu_vm_grab_idle - grab idle VMID +* amdgpu_vmid_grab_idle - grab idle VMID * * @vm: vm to allocate id for * @ring: ring we want to submit job to
@@ -256,7 +256,7 @@ static int amdgpu_vmid_grab_idle(struct amdgpu_vm *vm, }/** -* amdgpu_vm_grab_reserved - try to assign reserved VMID +* amdgpu_vmid_grab_reserved - try to assign reserved VMID * * @vm: vm to allocate id for * @ring: ring we want to submit job to
@@ -325,7 +325,7 @@ static int amdgpu_vmid_grab_reserved(struct amdgpu_vm *vm, }/** -* amdgpu_vm_grab_used - try to reuse a VMID +* amdgpu_vmid_grab_used - try to reuse a VMID * * @vm: vm to allocate id for * @ring: ring we want to submit job to
@@ -397,7 +397,7 @@ static int amdgpu_vmid_grab_used(struct amdgpu_vm *vm, }/** -* amdgpu_vm_grab_id - allocate the next free VMID +* amdgpu_vmid_grab - allocate the next free VMID * * @vm: vm to allocate id for * @ring: ring we want to submit job to
Signature · 1 line
2.31.1
Re: [PATCH 10/38] drm/amd/amdgpu/amdgpu_ids: Correct some function name disparity
Am 20.05.21 um 14:02 schrieb Lee Jones:
Quoted 7 lines
Fixes the following W=1 kernel build warning(s):
drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c:200: warning: expecting prototype foramdgpu_vm_grab_idle(). Prototype was foramdgpu_vmid_grab_idle()insteaddrivers/gpu/drm/amd/amdgpu/amdgpu_ids.c:272: warning: expecting prototype foramdgpu_vm_grab_reserved(). Prototype was foramdgpu_vmid_grab_reserved()insteaddrivers/gpu/drm/amd/amdgpu/amdgpu_ids.c:337: warning: expecting prototype foramdgpu_vm_grab_used(). Prototype was foramdgpu_vmid_grab_used()insteaddrivers/gpu/drm/amd/amdgpu/amdgpu_ids.c:410: warning: expecting prototype foramdgpu_vm_grab_id(). Prototype was foramdgpu_vmid_grab()instead
Quoted 10 lines
Cc Alex Deucher <[email protected]>Cc "Christian König" <[email protected]>Cc David Airlie <[email protected]>Cc Daniel Vetter <[email protected]>Cc Sumit Semwal <[email protected]>Signed-off-by Lee Jones <[email protected]>
Quoted 36 lines
--- drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c +3
-3@@ -183,7 +183,7 @@ bool amdgpu_vmid_had_gpu_reset(struct amdgpu_device *adev, }/** -* amdgpu_vm_grab_idle - grab idle VMID +* amdgpu_vmid_grab_idle - grab idle VMID * * @vm: vm to allocate id for * @ring: ring we want to submit job to @@ -256,7 +256,7 @@ static int amdgpu_vmid_grab_idle(struct amdgpu_vm *vm, }/** -* amdgpu_vm_grab_reserved - try to assign reserved VMID +* amdgpu_vmid_grab_reserved - try to assign reserved VMID * * @vm: vm to allocate id for * @ring: ring we want to submit job to @@ -325,7 +325,7 @@ static int amdgpu_vmid_grab_reserved(struct amdgpu_vm *vm, }/** -* amdgpu_vm_grab_used - try to reuse a VMID +* amdgpu_vmid_grab_used - try to reuse a VMID * * @vm: vm to allocate id for * @ring: ring we want to submit job to
drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c static int amdgpu_vmid_grab_used(struct amdgpu_vm *vm, · line 403
Quoted 8 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c +1
-1@@ -397,7 +397,7 @@ static int amdgpu_vmid_grab_used(struct amdgpu_vm *vm, }/** -* amdgpu_vm_grab_id - allocate the next free VMID +* amdgpu_vmid_grab - allocate the next free VMID * * @vm: vm to allocate id for * @ring: ring we want to submit job to
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Alex Deucher
AppliedRe: [PATCH 10/38] drm/amd/amdgpu/amdgpu_ids: Correct some function name disparity
Applied. Thanks!
Alex
Quoted 71 lines · Christian König
Am 20.05.21 um 14:02 schrieb Lee Jones:
Quoted 7 lines
Fixes the following W=1 kernel build warning(s):
drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c:200: warning: expecting prototype foramdgpu_vm_grab_idle(). Prototype was foramdgpu_vmid_grab_idle()insteaddrivers/gpu/drm/amd/amdgpu/amdgpu_ids.c:272: warning: expecting prototype foramdgpu_vm_grab_reserved(). Prototype was foramdgpu_vmid_grab_reserved()insteaddrivers/gpu/drm/amd/amdgpu/amdgpu_ids.c:337: warning: expecting prototype foramdgpu_vm_grab_used(). Prototype was foramdgpu_vmid_grab_used()insteaddrivers/gpu/drm/amd/amdgpu/amdgpu_ids.c:410: warning: expecting prototype foramdgpu_vm_grab_id(). Prototype was foramdgpu_vmid_grab()insteadQuoted 10 lines
Cc Alex Deucher <[email protected]>Cc "Christian König" <[email protected]>Cc David Airlie <[email protected]>Cc Daniel Vetter <[email protected]>Cc Sumit Semwal <[email protected]>Signed-off-by Lee Jones <[email protected]>Reviewed-by Christian König <[email protected]>Quoted 36 lines
--- drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c +3
-3@@ -183,7 +183,7 @@ bool amdgpu_vmid_had_gpu_reset(struct amdgpu_device *adev, }/** -* amdgpu_vm_grab_idle - grab idle VMID +* amdgpu_vmid_grab_idle - grab idle VMID * * @vm: vm to allocate id for * @ring: ring we want to submit job to @@ -256,7 +256,7 @@ static int amdgpu_vmid_grab_idle(struct amdgpu_vm *vm, }/** -* amdgpu_vm_grab_reserved - try to assign reserved VMID +* amdgpu_vmid_grab_reserved - try to assign reserved VMID * * @vm: vm to allocate id for * @ring: ring we want to submit job to @@ -325,7 +325,7 @@ static int amdgpu_vmid_grab_reserved(struct amdgpu_vm *vm, }/** -* amdgpu_vm_grab_used - try to reuse a VMID +* amdgpu_vmid_grab_used - try to reuse a VMID * * @vm: vm to allocate id for * @ring: ring we want to submit job to drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c static int amdgpu_vmid_grab_used(struct amdgpu_vm *vm, · line 403
Quoted 8 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c +1
-1@@ -397,7 +397,7 @@ static int amdgpu_vmid_grab_used(struct amdgpu_vm *vm, }/** -* amdgpu_vm_grab_id - allocate the next free VMID +* amdgpu_vmid_grab - allocate the next free VMID * * @vm: vm to allocate id for * @ring: ring we want to submit job to _______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
PATCH 11/38 drm/amd/amdgpu/amdgpu_debugfs: Fix a couple of misnamed functions
In reply to Lee JonesFixes the following W=1 kernel build warning(s):
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1004: warning: expecting prototype for amdgpu_debugfs_regs_gfxoff_write(). Prototype was for amdgpu_debugfs_gfxoff_write() instead drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1053: warning: expecting prototype for amdgpu_debugfs_regs_gfxoff_status(). Prototype was for amdgpu_debugfs_gfxoff_read() instead
--- drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c +2 -2
@@ -990,7 +990,7 @@ static ssize_t amdgpu_debugfs_gpr_read(struct file *f, char __user *buf, }/** -* amdgpu_debugfs_regs_gfxoff_write - Enable/disable GFXOFF +* amdgpu_debugfs_gfxoff_write - Enable/disable GFXOFF * * @f: open file handle * @buf: User buffer to write data from
@@ -1041,7 +1041,7 @@ static ssize_t amdgpu_debugfs_gfxoff_write(struct file *f, const char __user *bu/** -* amdgpu_debugfs_regs_gfxoff_status - read gfxoff status +* amdgpu_debugfs_gfxoff_read - read gfxoff status * * @f: open file handle * @buf: User buffer to store read data in
Signature · 1 line
2.31.1
Alex Deucher
AppliedRe: [PATCH 11/38] drm/amd/amdgpu/amdgpu_debugfs: Fix a couple of misnamed functions
Applied. Thanks!
Alex
Quoted 45 lines · Lee Jones
Fixes the following W=1 kernel build warning(s):
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1004: warning: expecting prototype foramdgpu_debugfs_regs_gfxoff_write(). Prototype was foramdgpu_debugfs_gfxoff_write()insteaddrivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1053: warning: expecting prototype foramdgpu_debugfs_regs_gfxoff_status(). Prototype was foramdgpu_debugfs_gfxoff_read()insteadCc Alex Deucher <[email protected]>Cc "Christian König" <[email protected]>Cc David Airlie <[email protected]>Cc Daniel Vetter <[email protected]>Cc Sumit Semwal <[email protected]>Signed-off-by Lee Jones <[email protected]>--- drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c +2
-3@@ -990,7 +990,7 @@ static ssize_t amdgpu_debugfs_gpr_read(struct file *f, char __user *buf, }/** -* amdgpu_debugfs_regs_gfxoff_write - Enable/disable GFXOFF +* amdgpu_debugfs_gfxoff_write - Enable/disable GFXOFF * * @f: open file handle * @buf: User buffer to write data from @@ -1041,7 +1041,7 @@ static ssize_t amdgpu_debugfs_gfxoff_write(struct file *f, const char __user *bu/** -* amdgpu_debugfs_regs_gfxoff_status - read gfxoff status +* amdgpu_debugfs_gfxoff_read - read gfxoff status * * @f: open file handle * @buf: User buffer to store read data in -- 2.31.1
PATCH 12/38 drm/amd/amdgpu/amdgpu_gmc: Fix a little naming related doc-rot
In reply to Lee JonesFixes the following W=1 kernel build warning(s):
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c:487: warning: expecting prototype for amdgpu_tmz_set(). Prototype was for amdgpu_gmc_tmz_set() instead drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c:533: warning: expecting prototype for amdgpu_noretry_set(). Prototype was for amdgpu_gmc_noretry_set() instead
--- drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c +2 -2
@@ -528,7 +528,7 @@ int amdgpu_gmc_allocate_vm_inv_eng(struct amdgpu_device *adev) }/** -* amdgpu_tmz_set -- check and set if a device supports TMZ +* amdgpu_gmc_tmz_set -- check and set if a device supports TMZ * @adev: amdgpu_device pointer * * Check and set if an the device @adev supports Trusted Memory
@@ -574,7 +574,7 @@ void amdgpu_gmc_tmz_set(struct amdgpu_device *adev) }/** -* amdgpu_noretry_set -- set per asic noretry defaults +* amdgpu_gmc_noretry_set -- set per asic noretry defaults * @adev: amdgpu_device pointer * * Set a per asic default for the no-retry parameter.
Signature · 1 line
2.31.1
Alex Deucher
AppliedRe: [PATCH 12/38] drm/amd/amdgpu/amdgpu_gmc: Fix a little naming related doc-rot
Applied. Thanks!
Alex
Quoted 40 lines · Lee Jones
Fixes the following W=1 kernel build warning(s):
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c:487: warning: expecting prototype foramdgpu_tmz_set(). Prototype was foramdgpu_gmc_tmz_set()insteaddrivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c:533: warning: expecting prototype foramdgpu_noretry_set(). Prototype was foramdgpu_gmc_noretry_set()insteadCc Alex Deucher <[email protected]>Cc "Christian König" <[email protected]>Cc David Airlie <[email protected]>Cc Daniel Vetter <[email protected]>Signed-off-by Lee Jones <[email protected]>--- drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c +2
-3@@ -528,7 +528,7 @@ int amdgpu_gmc_allocate_vm_inv_eng(struct amdgpu_device *adev) }/** -* amdgpu_tmz_set -- check and set if a device supports TMZ +* amdgpu_gmc_tmz_set -- check and set if a device supports TMZ * @adev: amdgpu_device pointer * * Check and set if an the device @adev supports Trusted Memory @@ -574,7 +574,7 @@ void amdgpu_gmc_tmz_set(struct amdgpu_device *adev) }/** -* amdgpu_noretry_set -- set per asic noretry defaults +* amdgpu_gmc_noretry_set -- set per asic noretry defaults * @adev: amdgpu_device pointer * * Set a per asic default for the no-retry parameter. --
Quoted 2 lines
2.31.1
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
PATCH 13/38 drm/amd/amdgpu/cik_sdma: Fix a few incorrectly named functions
In reply to Lee JonesFixes the following W=1 kernel build warning(s):
drivers/gpu/drm/amd/amdgpu/cik_sdma.c:735: warning: expecting prototype for cik_sdma_vm_copy_pages(). Prototype was for cik_sdma_vm_copy_pte() instead drivers/gpu/drm/amd/amdgpu/cik_sdma.c:762: warning: expecting prototype for cik_sdma_vm_write_pages(). Prototype was for cik_sdma_vm_write_pte() instead drivers/gpu/drm/amd/amdgpu/cik_sdma.c:792: warning: expecting prototype for cik_sdma_vm_set_pages(). Prototype was for cik_sdma_vm_set_pte_pde() instead drivers/gpu/drm/amd/amdgpu/cik_sdma.c:814: warning: expecting prototype for cik_sdma_vm_pad_ib(). Prototype was for cik_sdma_ring_pad_ib() instead
--- drivers/gpu/drm/amd/amdgpu/cik_sdma.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/gpu/drm/amd/amdgpu/cik_sdma.c +4 -4
@@ -720,7 +720,7 @@ static int cik_sdma_ring_test_ib(struct amdgpu_ring *ring, long timeout) }/** -* cik_sdma_vm_copy_pages - update PTEs by copying them from the GART +* cik_sdma_vm_copy_pte - update PTEs by copying them from the GART * * @ib: indirect buffer to fill with commands * @pe: addr of the page entry
@@ -746,7 +746,7 @@ static void cik_sdma_vm_copy_pte(struct amdgpu_ib *ib, }/** -* cik_sdma_vm_write_pages - update PTEs by writing them manually +* cik_sdma_vm_write_pte - update PTEs by writing them manually * * @ib: indirect buffer to fill with commands * @pe: addr of the page entry
@@ -775,7 +775,7 @@ static void cik_sdma_vm_write_pte(struct amdgpu_ib *ib, uint64_t pe, }/** -* cik_sdma_vm_set_pages - update the page tables using sDMA +* cik_sdma_vm_set_pte_pde - update the page tables using sDMA * * @ib: indirect buffer to fill with commands * @pe: addr of the page entry
@@ -804,7 +804,7 @@ static void cik_sdma_vm_set_pte_pde(struct amdgpu_ib *ib, uint64_t pe, }/** -* cik_sdma_vm_pad_ib - pad the IB to the required number of dw +* cik_sdma_ring_pad_ib - pad the IB to the required number of dw * * @ring: amdgpu_ring structure holding ring information * @ib: indirect buffer to fill with padding
Signature · 1 line
2.31.1
Alex Deucher
AppliedRe: [PATCH 13/38] drm/amd/amdgpu/cik_sdma: Fix a few incorrectly named functions
Applied. Thanks!
Alex
Quoted 64 lines · Lee Jones
Fixes the following W=1 kernel build warning(s):
drivers/gpu/drm/amd/amdgpu/cik_sdma.c:735: warning: expecting prototype forcik_sdma_vm_copy_pages(). Prototype was forcik_sdma_vm_copy_pte()insteaddrivers/gpu/drm/amd/amdgpu/cik_sdma.c:762: warning: expecting prototype forcik_sdma_vm_write_pages(). Prototype was forcik_sdma_vm_write_pte()insteaddrivers/gpu/drm/amd/amdgpu/cik_sdma.c:792: warning: expecting prototype forcik_sdma_vm_set_pages(). Prototype was forcik_sdma_vm_set_pte_pde()insteaddrivers/gpu/drm/amd/amdgpu/cik_sdma.c:814: warning: expecting prototype forcik_sdma_vm_pad_ib(). Prototype was forcik_sdma_ring_pad_ib()insteadCc Alex Deucher <[email protected]>Cc "Christian König" <[email protected]>Cc David Airlie <[email protected]>Cc Daniel Vetter <[email protected]>Cc Sumit Semwal <[email protected]>Cc Evan Quan <[email protected]>Signed-off-by Lee Jones <[email protected]>--- drivers/gpu/drm/amd/amdgpu/cik_sdma.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)drivers/gpu/drm/amd/amdgpu/cik_sdma.c +4
-5@@ -720,7 +720,7 @@ static int cik_sdma_ring_test_ib(struct amdgpu_ring *ring, long timeout) }/** -* cik_sdma_vm_copy_pages - update PTEs by copying them from the GART +* cik_sdma_vm_copy_pte - update PTEs by copying them from the GART * * @ib: indirect buffer to fill with commands * @pe: addr of the page entry @@ -746,7 +746,7 @@ static void cik_sdma_vm_copy_pte(struct amdgpu_ib *ib, }/** -* cik_sdma_vm_write_pages - update PTEs by writing them manually +* cik_sdma_vm_write_pte - update PTEs by writing them manually * * @ib: indirect buffer to fill with commands * @pe: addr of the page entry @@ -775,7 +775,7 @@ static void cik_sdma_vm_write_pte(struct amdgpu_ib *ib, uint64_t pe, }/** -* cik_sdma_vm_set_pages - update the page tables using sDMA +* cik_sdma_vm_set_pte_pde - update the page tables using sDMA * * @ib: indirect buffer to fill with commands * @pe: addr of the page entry @@ -804,7 +804,7 @@ static void cik_sdma_vm_set_pte_pde(struct amdgpu_ib *ib, uint64_t pe, }/** -* cik_sdma_vm_pad_ib - pad the IB to the required number of dw +* cik_sdma_ring_pad_ib - pad the IB to the required number of dw * * @ring: amdgpu_ring structure holding ring information * @ib: indirect buffer to fill with padding --
Quoted 2 lines
2.31.1
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
PATCH 14/38 drm/amd/amdgpu/gfx_v7_0: Repair function names in the documentation
In reply to Lee JonesFixes the following W=1 kernel build warning(s):
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c:2126: warning: expecting prototype for gfx_v7_0_ring_emit_hdp(). Prototype was for gfx_v7_0_ring_emit_hdp_flush() instead drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c:2262: warning: expecting prototype for gfx_v7_0_ring_emit_ib(). Prototype was for gfx_v7_0_ring_emit_ib_gfx() instead drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c:3207: warning: expecting prototype for gfx_v7_0_ring_emit_vm_flush(). Prototype was for gfx_v7_0_ring_emit_pipeline_sync() instead
--- drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c +3 -3
@@ -2116,7 +2116,7 @@ static int gfx_v7_0_ring_test_ring(struct amdgpu_ring *ring) }/** -* gfx_v7_0_ring_emit_hdp - emit an hdp flush on the cp +* gfx_v7_0_ring_emit_hdp_flush - emit an hdp flush on the cp * * @ring: amdgpu_ring structure holding ring information *
@@ -2242,7 +2242,7 @@ static void gfx_v7_0_ring_emit_fence_compute(struct amdgpu_ring *ring,* IB stuff */ /** -* gfx_v7_0_ring_emit_ib - emit an IB (Indirect Buffer) on the ring +* gfx_v7_0_ring_emit_ib_gfx - emit an IB (Indirect Buffer) on the ring * * @ring: amdgpu_ring structure holding ring information * @job: job to retrieve vmid from
@@ -3196,7 +3196,7 @@ static int gfx_v7_0_cp_resume(struct amdgpu_device *adev) }/** -* gfx_v7_0_ring_emit_vm_flush - cik vm flush using the CP +* gfx_v7_0_ring_emit_pipeline_sync - cik vm flush using the CP * * @ring: the ring to emit the commands to *
Signature · 1 line
2.31.1
Alex Deucher
AppliedRe: [PATCH 14/38] drm/amd/amdgpu/gfx_v7_0: Repair function names in the documentation
Applied. Thanks!
Alex
Quoted 53 lines · Lee Jones
Fixes the following W=1 kernel build warning(s):
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c:2126: warning: expecting prototype forgfx_v7_0_ring_emit_hdp(). Prototype was forgfx_v7_0_ring_emit_hdp_flush()insteaddrivers/gpu/drm/amd/amdgpu/gfx_v7_0.c:2262: warning: expecting prototype forgfx_v7_0_ring_emit_ib(). Prototype was forgfx_v7_0_ring_emit_ib_gfx()insteaddrivers/gpu/drm/amd/amdgpu/gfx_v7_0.c:3207: warning: expecting prototype forgfx_v7_0_ring_emit_vm_flush(). Prototype was forgfx_v7_0_ring_emit_pipeline_sync()insteadCc Alex Deucher <[email protected]>Cc "Christian König" <[email protected]>Cc David Airlie <[email protected]>Cc Daniel Vetter <[email protected]>Cc Sumit Semwal <[email protected]>Signed-off-by Lee Jones <[email protected]>--- drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c +3
-4@@ -2116,7 +2116,7 @@ static int gfx_v7_0_ring_test_ring(struct amdgpu_ring *ring) }/** -* gfx_v7_0_ring_emit_hdp - emit an hdp flush on the cp +* gfx_v7_0_ring_emit_hdp_flush - emit an hdp flush on the cp * * @ring: amdgpu_ring structure holding ring information * @@ -2242,7 +2242,7 @@ static void gfx_v7_0_ring_emit_fence_compute(struct amdgpu_ring *ring,* IB stuff */ /** -* gfx_v7_0_ring_emit_ib - emit an IB (Indirect Buffer) on the ring +* gfx_v7_0_ring_emit_ib_gfx - emit an IB (Indirect Buffer) on the ring * * @ring: amdgpu_ring structure holding ring information * @job: job to retrieve vmid from @@ -3196,7 +3196,7 @@ static int gfx_v7_0_cp_resume(struct amdgpu_device *adev) }/** -* gfx_v7_0_ring_emit_vm_flush - cik vm flush using the CP +* gfx_v7_0_ring_emit_pipeline_sync - cik vm flush using the CP * * @ring: the ring to emit the commands to * --
Quoted 2 lines
2.31.1
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
PATCH 15/38 drm/msm/disp/dpu1/dpu_encoder_phys_cmd: Remove unused variable 'cmd_enc'
In reply to Lee JonesFixes the following W=1 kernel build warning(s):
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c: In function ‘dpu_encoder_phys_cmd_wait_for_commit_done’:
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c:688:31: warning: variable ‘cmd_enc’ set but not used [-Wunused-but-set-variable]
--- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c | 4 ---- 1 file changed, 4 deletions(-)
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c +0 -4
@@ -685,10 +685,6 @@ static int dpu_encoder_phys_cmd_wait_for_tx_complete(static int dpu_encoder_phys_cmd_wait_for_commit_done (struct dpu_encoder_phys *phys_enc) { -struct dpu_encoder_phys_cmd *cmd_enc; - - cmd_enc =to_dpu_encoder_phys_cmd (phys_enc); -/* only required for master controller */ if (!dpu_encoder_phys_cmd_is_master (phys_enc))return 0 ;
Signature · 1 line
2.31.1
PATCH 16/38 drm/amd/amdgpu/si_dma: Fix some function name disparity
In reply to Lee JonesFixes the following W=1 kernel build warning(s):
drivers/gpu/drm/amd/amdgpu/si_dma.c:320: warning: expecting prototype for cik_dma_vm_copy_pte(). Prototype was for si_dma_vm_copy_pte() instead drivers/gpu/drm/amd/amdgpu/si_dma.c:412: warning: expecting prototype for si_dma_pad_ib(). Prototype was for si_dma_ring_pad_ib() instead drivers/gpu/drm/amd/amdgpu/si_dma.c:425: warning: expecting prototype for cik_sdma_ring_emit_pipeline_sync(). Prototype was for si_dma_ring_emit_pipeline_sync() instead
--- drivers/gpu/drm/amd/amdgpu/si_dma.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/gpu/drm/amd/amdgpu/si_dma.c +3 -3
@@ -305,7 +305,7 @@ static int si_dma_ring_test_ib(struct amdgpu_ring *ring, long timeout) }/** -* cik_dma_vm_copy_pte - update PTEs by copying them from the GART +* si_dma_vm_copy_pte - update PTEs by copying them from the GART * * @ib: indirect buffer to fill with commands * @pe: addr of the page entry
@@ -402,7 +402,7 @@ static void si_dma_vm_set_pte_pde(struct amdgpu_ib *ib, }/** -* si_dma_pad_ib - pad the IB to the required number of dw +* si_dma_ring_pad_ib - pad the IB to the required number of dw * * @ring: amdgpu_ring pointer * @ib: indirect buffer to fill with padding
@@ -415,7 +415,7 @@ static void si_dma_ring_pad_ib(struct amdgpu_ring *ring, struct amdgpu_ib *ib) }/** -* cik_sdma_ring_emit_pipeline_sync - sync the pipeline +* si_dma_ring_emit_pipeline_sync - sync the pipeline * * @ring: amdgpu_ring pointer *
Signature · 1 line
2.31.1
Alex Deucher
AppliedRe: [PATCH 16/38] drm/amd/amdgpu/si_dma: Fix some function name disparity
Applied. Thanks!
Alex
Quoted 53 lines · Lee Jones
Fixes the following W=1 kernel build warning(s):
drivers/gpu/drm/amd/amdgpu/si_dma.c:320: warning: expecting prototype forcik_dma_vm_copy_pte(). Prototype was forsi_dma_vm_copy_pte()insteaddrivers/gpu/drm/amd/amdgpu/si_dma.c:412: warning: expecting prototype forsi_dma_pad_ib(). Prototype was forsi_dma_ring_pad_ib()insteaddrivers/gpu/drm/amd/amdgpu/si_dma.c:425: warning: expecting prototype forcik_sdma_ring_emit_pipeline_sync(). Prototype was forsi_dma_ring_emit_pipeline_sync()insteadCc Alex Deucher <[email protected]>Cc "Christian König" <[email protected]>Cc David Airlie <[email protected]>Cc Daniel Vetter <[email protected]>Cc Sumit Semwal <[email protected]>Signed-off-by Lee Jones <[email protected]>--- drivers/gpu/drm/amd/amdgpu/si_dma.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)drivers/gpu/drm/amd/amdgpu/si_dma.c +3
-4@@ -305,7 +305,7 @@ static int si_dma_ring_test_ib(struct amdgpu_ring *ring, long timeout) }/** -* cik_dma_vm_copy_pte - update PTEs by copying them from the GART +* si_dma_vm_copy_pte - update PTEs by copying them from the GART * * @ib: indirect buffer to fill with commands * @pe: addr of the page entry @@ -402,7 +402,7 @@ static void si_dma_vm_set_pte_pde(struct amdgpu_ib *ib, }/** -* si_dma_pad_ib - pad the IB to the required number of dw +* si_dma_ring_pad_ib - pad the IB to the required number of dw * * @ring: amdgpu_ring pointer * @ib: indirect buffer to fill with padding @@ -415,7 +415,7 @@ static void si_dma_ring_pad_ib(struct amdgpu_ring *ring, struct amdgpu_ib *ib) }/** -* cik_sdma_ring_emit_pipeline_sync - sync the pipeline +* si_dma_ring_emit_pipeline_sync - sync the pipeline * * @ring: amdgpu_ring pointer * --
Quoted 2 lines
2.31.1
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
PATCH 17/38 drm/amd/amdgpu/dce_v6_0: Repair function name of 'si_get_number_of_dram_channels()'
In reply to Lee JonesFixes the following W=1 kernel build warning(s):
drivers/gpu/drm/amd/amdgpu/dce_v6_0.c:468: warning: expecting prototype for cik_get_number_of_dram_channels(). Prototype was for si_get_number_of_dram_channels() instead
--- drivers/gpu/drm/amd/amdgpu/dce_v6_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/dce_v6_0.c +1 -1
@@ -456,7 +456,7 @@ static void dce_v6_0_program_fmt(struct drm_encoder *encoder) }/** -* cik_get_number_of_dram_channels - get the number of dram channels +* si_get_number_of_dram_channels - get the number of dram channels * * @adev: amdgpu_device pointer *
Signature · 1 line
2.31.1
Alex Deucher
AppliedRe: [PATCH 17/38] drm/amd/amdgpu/dce_v6_0: Repair function name of 'si_get_number_of_dram_channels()'
Applied. Thanks!
Alex
Quoted 31 lines · Lee Jones
Fixes the following W=1 kernel build warning(s):
drivers/gpu/drm/amd/amdgpu/dce_v6_0.c:468: warning: expecting prototype forcik_get_number_of_dram_channels(). Prototype was forsi_get_number_of_dram_channels()insteadCc Alex Deucher <[email protected]>Cc "Christian König" <[email protected]>Cc David Airlie <[email protected]>Cc Daniel Vetter <[email protected]>Cc Luben Tuikov <[email protected]>Signed-off-by Lee Jones <[email protected]>--- drivers/gpu/drm/amd/amdgpu/dce_v6_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/amd/amdgpu/dce_v6_0.c +1
-2@@ -456,7 +456,7 @@ static void dce_v6_0_program_fmt(struct drm_encoder *encoder) }/** -* cik_get_number_of_dram_channels - get the number of dram channels +* si_get_number_of_dram_channels - get the number of dram channels * * @adev: amdgpu_device pointer * --
Quoted 2 lines
2.31.1
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
PATCH 18/38 drm/msm/disp/dpu1/dpu_hw_interrupts: Demote a bunch of kernel-doc abuses
In reply to Lee JonesFixes the following W=1 kernel build warning(s):
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c:17: warning: expecting prototype for Register offsets in MDSS register file for the interrupt registers(). Prototype was for MDP_SSPP_TOP0_OFF() instead drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c:35: warning: expecting prototype for WB interrupt status bit definitions(). Prototype was for DPU_INTR_WB_0_DONE() instead drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c:42: warning: expecting prototype for WDOG timer interrupt status bit definitions(). Prototype was for DPU_INTR_WD_TIMER_0_DONE() instead drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c:51: warning: expecting prototype for Pingpong interrupt status bit definitions(). Prototype was for DPU_INTR_PING_PONG_0_DONE() instead drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c:71: warning: expecting prototype for Interface interrupt status bit definitions(). Prototype was for DPU_INTR_INTF_0_UNDERRUN() instead drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c:85: warning: expecting prototype for Pingpong Secondary interrupt status bit definitions(). Prototype was for DPU_INTR_PING_PONG_S0_AUTOREFRESH_DONE() instead drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c:94: warning: expecting prototype for Pingpong TEAR detection interrupt status bit definitions(). Prototype was for DPU_INTR_PING_PONG_0_TEAR_DETECTED() instead drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c:102: warning: expecting prototype for Pingpong TE detection interrupt status bit definitions(). Prototype was for DPU_INTR_PING_PONG_0_TE_DETECTED() instead drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c:110: warning: expecting prototype for Ctl start interrupt status bit definitions(). Prototype was for DPU_INTR_CTL_0_START() instead drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c:119: warning: expecting prototype for Concurrent WB overflow interrupt status bit definitions(). Prototype was for DPU_INTR_CWB_2_OVERFLOW() instead drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c:125: warning: expecting prototype for Histogram VIG done interrupt status bit definitions(). Prototype was for DPU_INTR_HIST_VIG_0_DONE() instead drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c:133: warning: expecting prototype for Histogram VIG reset Sequence done interrupt status bit definitions(). Prototype was for DPU_INTR_HIST_VIG_0_RSTSEQ_DONE() instead drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c:141: warning: expecting prototype for Histogram DSPP done interrupt status bit definitions(). Prototype was for DPU_INTR_HIST_DSPP_0_DONE() instead drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c:149: warning: expecting prototype for Histogram DSPP reset Sequence done interrupt status bit definitions(). Prototype was for DPU_INTR_HIST_DSPP_0_RSTSEQ_DONE() instead drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c:157: warning: expecting prototype for INTF interrupt status bit definitions(). Prototype was for DPU_INTR_VIDEO_INTO_STATIC() instead drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c:170: warning: expecting prototype for AD4 interrupt status bit definitions(). Prototype was for DPU_INTR_BACKLIGHT_UPDATED() instead
--- .../gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-)
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c +16 -16
@@ -10,7 +10,7 @@#include "dpu_hw_util.h" #include "dpu_hw_mdss.h" -/** +/* * Register offsets in MDSS register file for the interrupt registers * w.r.t. to the MDP base */
@@ -29,14 +29,14 @@#define MDP_INTF_1_OFF_REV_7xxx 0x35000#define MDP_INTF_5_OFF_REV_7xxx 0x39000 -/** +/* * WB interrupt status bit definitions */ #define DPU_INTR_WB_0_DONE BIT(0)#define DPU_INTR_WB_1_DONE BIT(1)#define DPU_INTR_WB_2_DONE BIT(4) -/** +/* * WDOG timer interrupt status bit definitions */ #define DPU_INTR_WD_TIMER_0_DONE BIT(2)
@@ -45,7 +45,7 @@#define DPU_INTR_WD_TIMER_3_DONE BIT(6)#define DPU_INTR_WD_TIMER_4_DONE BIT(7) -/** +/* * Pingpong interrupt status bit definitions */ #define DPU_INTR_PING_PONG_0_DONE BIT(8)
@@ -65,7 +65,7 @@#define DPU_INTR_PING_PONG_2_AUTOREFRESH_DONE BIT(22)#define DPU_INTR_PING_PONG_3_AUTOREFRESH_DONE BIT(23) -/** +/* * Interface interrupt status bit definitions */ #define DPU_INTR_INTF_0_UNDERRUN BIT(24)
@@ -79,7 +79,7 @@#define DPU_INTR_INTF_3_VSYNC BIT(31)#define DPU_INTR_INTF_5_VSYNC BIT(23) -/** +/* * Pingpong Secondary interrupt status bit definitions */ #define DPU_INTR_PING_PONG_S0_AUTOREFRESH_DONE BIT(0)
@@ -88,7 +88,7 @@#define DPU_INTR_PING_PONG_S0_TEAR_DETECTED BIT(22)#define DPU_INTR_PING_PONG_S0_TE_DETECTED BIT(28) -/** +/* * Pingpong TEAR detection interrupt status bit definitions */ #define DPU_INTR_PING_PONG_0_TEAR_DETECTED BIT(16)
@@ -96,7 +96,7 @@#define DPU_INTR_PING_PONG_2_TEAR_DETECTED BIT(18)#define DPU_INTR_PING_PONG_3_TEAR_DETECTED BIT(19) -/** +/* * Pingpong TE detection interrupt status bit definitions */ #define DPU_INTR_PING_PONG_0_TE_DETECTED BIT(24)
@@ -104,7 +104,7 @@#define DPU_INTR_PING_PONG_2_TE_DETECTED BIT(26)#define DPU_INTR_PING_PONG_3_TE_DETECTED BIT(27) -/** +/* * Ctl start interrupt status bit definitions */ #define DPU_INTR_CTL_0_START BIT(9)
@@ -113,13 +113,13 @@#define DPU_INTR_CTL_3_START BIT(12)#define DPU_INTR_CTL_4_START BIT(13) -/** +/* * Concurrent WB overflow interrupt status bit definitions */ #define DPU_INTR_CWB_2_OVERFLOW BIT(14)#define DPU_INTR_CWB_3_OVERFLOW BIT(15) -/** +/* * Histogram VIG done interrupt status bit definitions */ #define DPU_INTR_HIST_VIG_0_DONE BIT(0)
@@ -127,7 +127,7 @@#define DPU_INTR_HIST_VIG_2_DONE BIT(8)#define DPU_INTR_HIST_VIG_3_DONE BIT(10) -/** +/* * Histogram VIG reset Sequence done interrupt status bit definitions */ #define DPU_INTR_HIST_VIG_0_RSTSEQ_DONE BIT(1)
@@ -135,7 +135,7 @@#define DPU_INTR_HIST_VIG_2_RSTSEQ_DONE BIT(9)#define DPU_INTR_HIST_VIG_3_RSTSEQ_DONE BIT(11) -/** +/* * Histogram DSPP done interrupt status bit definitions */ #define DPU_INTR_HIST_DSPP_0_DONE BIT(12)
@@ -143,7 +143,7 @@#define DPU_INTR_HIST_DSPP_2_DONE BIT(20)#define DPU_INTR_HIST_DSPP_3_DONE BIT(22) -/** +/* * Histogram DSPP reset Sequence done interrupt status bit definitions */ #define DPU_INTR_HIST_DSPP_0_RSTSEQ_DONE BIT(13)
@@ -151,7 +151,7 @@#define DPU_INTR_HIST_DSPP_2_RSTSEQ_DONE BIT(21)#define DPU_INTR_HIST_DSPP_3_RSTSEQ_DONE BIT(23) -/** +/* * INTF interrupt status bit definitions */ #define DPU_INTR_VIDEO_INTO_STATIC BIT(0)
@@ -164,7 +164,7 @@#define DPU_INTR_DSICMD_2_OUTOF_STATIC BIT(7)#define DPU_INTR_PROG_LINE BIT(8) -/** +/* * AD4 interrupt status bit definitions */ #define DPU_INTR_BACKLIGHT_UPDATED BIT(0)
Signature · 1 line
2.31.1
PATCH 19/38 drm/radeon/cik: Fix incorrectly named function 'cik_irq_suspend()'
In reply to Lee JonesFixes the following W=1 kernel build warning(s):
drivers/gpu/drm/radeon/cik.c:7450: warning: expecting prototype for cik_irq_disable(). Prototype was for cik_irq_suspend() instead
--- drivers/gpu/drm/radeon/cik.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/radeon/cik.c +1 -1
@@ -7439,7 +7439,7 @@ static void cik_irq_disable(struct radeon_device *rdev) }/** -* cik_irq_disable - disable interrupts for suspend +* cik_irq_suspend - disable interrupts for suspend * * @rdev: radeon_device pointer *
Signature · 1 line
2.31.1
Alex Deucher
AppliedRe: [PATCH 19/38] drm/radeon/cik: Fix incorrectly named function 'cik_irq_suspend()'
Applied. Thanks!
Quoted 35 lines · Lee Jones
Fixes the following W=1 kernel build warning(s):
drivers/gpu/drm/radeon/cik.c:7450: warning: expecting prototype forcik_irq_disable(). Prototype was forcik_irq_suspend()insteadCc Alex Deucher <[email protected]>Cc "Christian König" <[email protected]>Cc David Airlie <[email protected]>Cc Daniel Vetter <[email protected]>Cc Sumit Semwal <[email protected]>Signed-off-by Lee Jones <[email protected]>--- drivers/gpu/drm/radeon/cik.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/radeon/cik.c +1
-2@@ -7439,7 +7439,7 @@ static void cik_irq_disable(struct radeon_device *rdev) }/** -* cik_irq_disable - disable interrupts for suspend +* cik_irq_suspend - disable interrupts for suspend * * @rdev: radeon_device pointer * -- 2.31.1
PATCH 20/38 drm/radeon/radeon_vm: Fix function naming disparities
In reply to Lee JonesFixes the following W=1 kernel build warning(s):
drivers/gpu/drm/radeon/radeon_vm.c:61: warning: expecting prototype for radeon_vm_num_pde(). Prototype was for radeon_vm_num_pdes() instead drivers/gpu/drm/radeon/radeon_vm.c:642: warning: expecting prototype for radeon_vm_update_pdes(). Prototype was for radeon_vm_update_page_directory() instead
--- drivers/gpu/drm/radeon/radeon_vm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/radeon/radeon_vm.c +2 -2
@@ -51,7 +51,7 @@*/ /** -* radeon_vm_num_pde - return the number of page directory entries +* radeon_vm_num_pdes - return the number of page directory entries * * @rdev: radeon_device pointer *
@@ -626,7 +626,7 @@ static uint32_t radeon_vm_page_flags(uint32_t flags) }/** -* radeon_vm_update_pdes - make sure that page directory is valid +* radeon_vm_update_page_directory - make sure that page directory is valid * * @rdev: radeon_device pointer * @vm: requested vm
Signature · 1 line
2.31.1
Re: [PATCH 20/38] drm/radeon/radeon_vm: Fix function naming disparities
Am 20.05.21 um 14:02 schrieb Lee Jones:
Quoted 5 lines
Fixes the following W=1 kernel build warning(s):
drivers/gpu/drm/radeon/radeon_vm.c:61: warning: expecting prototype forradeon_vm_num_pde(). Prototype was forradeon_vm_num_pdes()insteaddrivers/gpu/drm/radeon/radeon_vm.c:642: warning: expecting prototype forradeon_vm_update_pdes(). Prototype was forradeon_vm_update_page_directory()instead
Quoted 7 lines
Cc Alex Deucher <[email protected]>Cc "Christian König" <[email protected]>Cc David Airlie <[email protected]>Cc Daniel Vetter <[email protected]>Signed-off-by Lee Jones <[email protected]>
Quoted 18 lines
--- drivers/gpu/drm/radeon/radeon_vm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/gpu/drm/radeon/radeon_vm.c +1
-1@@ -51,7 +51,7 @@*/ /** -* radeon_vm_num_pde - return the number of page directory entries +* radeon_vm_num_pdes - return the number of page directory entries * * @rdev: radeon_device pointer *
drivers/gpu/drm/radeon/radeon_vm.c static uint32_t radeon_vm_page_flags(uint32_t flags) · line 632
Quoted 8 lines
drivers/gpu/drm/radeon/radeon_vm.c +1
-1@@ -626,7 +626,7 @@ static uint32_t radeon_vm_page_flags(uint32_t flags) }/** -* radeon_vm_update_pdes - make sure that page directory is valid +* radeon_vm_update_page_directory - make sure that page directory is valid * * @rdev: radeon_device pointer * @vm: requested vm
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Alex Deucher
AppliedRe: [PATCH 20/38] drm/radeon/radeon_vm: Fix function naming disparities
Applied. Thanks!
Quoted 37 lines · Christian König
Am 20.05.21 um 14:02 schrieb Lee Jones:
Quoted 5 lines
Fixes the following W=1 kernel build warning(s):
drivers/gpu/drm/radeon/radeon_vm.c:61: warning: expecting prototype forradeon_vm_num_pde(). Prototype was forradeon_vm_num_pdes()insteaddrivers/gpu/drm/radeon/radeon_vm.c:642: warning: expecting prototype forradeon_vm_update_pdes(). Prototype was forradeon_vm_update_page_directory()insteadQuoted 7 lines
Cc Alex Deucher <[email protected]>Cc "Christian König" <[email protected]>Cc David Airlie <[email protected]>Cc Daniel Vetter <[email protected]>Signed-off-by Lee Jones <[email protected]>Reviewed-by Christian König <[email protected]>Quoted 20 lines
--- drivers/gpu/drm/radeon/radeon_vm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/gpu/drm/radeon/radeon_vm.c +1
-1@@ -51,7 +51,7 @@*/ /** -* radeon_vm_num_pde - return the number of page directory entries +* radeon_vm_num_pdes - return the number of page directory entries * * @rdev: radeon_device pointer * @@ -626,7 +626,7 @@ static uint32_t radeon_vm_page_flags(uint32_t flags) }
Quoted 11 lines
drivers/gpu/drm/radeon/radeon_vm.c static uint32_t radeon_vm_page_flags(uint32_t flags) · line 632
Quoted 6 lines
drivers/gpu/drm/radeon/radeon_vm.c +1
-1/** -* radeon_vm_update_pdes - make sure that page directory is valid +* radeon_vm_update_page_directory - make sure that page directory is valid * * @rdev: radeon_device pointer * @vm: requested vm _______________________________________________
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
PATCH 21/38 drm/amd/include/aldebaran_ip_offset: Mark top-level IP_BASE as __maybe_unused
In reply to Lee JonesFixes the following W=1 kernel build warning(s):
drivers/gpu/drm/amd/amdgpu/../include/aldebaran_ip_offset.h:259:29: warning: ‘XGMI2_BASE’ defined but not used [-Wunused-const-variable=] drivers/gpu/drm/amd/amdgpu/../include/aldebaran_ip_offset.h:252:29: warning: ‘XGMI1_BASE’ defined but not used [-Wunused-const-variable=] drivers/gpu/drm/amd/amdgpu/../include/aldebaran_ip_offset.h:245:29: warning: ‘XGMI0_BASE’ defined but not used [-Wunused-const-variable=] drivers/gpu/drm/amd/amdgpu/../include/aldebaran_ip_offset.h:238:29: warning: ‘WAFL1_BASE’ defined but not used [-Wunused-const-variable=] drivers/gpu/drm/amd/amdgpu/../include/aldebaran_ip_offset.h:231:29: warning: ‘WAFL0_BASE’ defined but not used [-Wunused-const-variable=] drivers/gpu/drm/amd/amdgpu/../include/aldebaran_ip_offset.h:161:29: warning: ‘PCIE0_BASE’ defined but not used [-Wunused-const-variable=] drivers/gpu/drm/amd/amdgpu/../include/aldebaran_ip_offset.h:119:29: warning: ‘L2IMU0_BASE’ defined but not used [-Wunused-const-variable=] drivers/gpu/drm/amd/amdgpu/../include/aldebaran_ip_offset.h:112:29: warning: ‘L1IMUPCIE0_BASE’ defined but not used [-Wunused-const-variable=] drivers/gpu/drm/amd/amdgpu/../include/aldebaran_ip_offset.h:105:29: warning: ‘L1IMUIOAGR0_BASE’ defined but not used [-Wunused-const-variable=] drivers/gpu/drm/amd/amdgpu/../include/aldebaran_ip_offset.h:98:29: warning: ‘IOHC0_BASE’ defined but not used [-Wunused-const-variable=] drivers/gpu/drm/amd/amdgpu/../include/aldebaran_ip_offset.h:91:29: warning: ‘IOAPIC0_BASE’ defined but not used [-Wunused-const-variable=] drivers/gpu/drm/amd/amdgpu/../include/aldebaran_ip_offset.h:84:29: warning: ‘IOAGR0_BASE’ defined but not used [-Wunused-const-variable=] drivers/gpu/drm/amd/amdgpu/../include/aldebaran_ip_offset.h:63:29: warning: ‘FUSE_BASE’ defined but not used [-Wunused-const-variable=] drivers/gpu/drm/amd/amdgpu/../include/aldebaran_ip_offset.h:49:29: warning: ‘DBGU_IO0_BASE’ defined but not used [-Wunused-const-variable=] drivers/gpu/drm/amd/amdgpu/../include/aldebaran_ip_offset.h:42:29: warning: ‘CLK_BASE’ defined but not used [-Wunused-const-variable=]
--- drivers/gpu/drm/amd/include/aldebaran_ip_offset.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/include/aldebaran_ip_offset.h +1 -1
@@ -30,7 +30,7 @@ struct IP_BASE_INSTANCE {struct IP_BASE {struct IP_BASE_INSTANCE instance[MAX_INSTANCE ]; -}; +}__maybe_unused ;static const struct IP_BASE ATHUB_BASE = { { { {0x00000C20 ,0x02408C00 ,0 ,0 ,0 ,0 } }, { {0 ,0 ,0 ,0 ,0 ,0 } },
Signature · 1 line
2.31.1
Alex Deucher
AppliedRe: [PATCH 21/38] drm/amd/include/aldebaran_ip_offset: Mark top-level IP_BASE as __maybe_unused
Applied. Thanks!
Alex
Quoted 45 lines · Lee Jones
Fixes the following W=1 kernel build warning(s):
drivers/gpu/drm/amd/amdgpu/../include/aldebaran_ip_offset.h:259:29: warning: ‘XGMI2_BASE’ defined but not used [-Wunused-const-variable=]drivers/gpu/drm/amd/amdgpu/../include/aldebaran_ip_offset.h:252:29: warning: ‘XGMI1_BASE’ defined but not used [-Wunused-const-variable=]drivers/gpu/drm/amd/amdgpu/../include/aldebaran_ip_offset.h:245:29: warning: ‘XGMI0_BASE’ defined but not used [-Wunused-const-variable=]drivers/gpu/drm/amd/amdgpu/../include/aldebaran_ip_offset.h:238:29: warning: ‘WAFL1_BASE’ defined but not used [-Wunused-const-variable=]drivers/gpu/drm/amd/amdgpu/../include/aldebaran_ip_offset.h:231:29: warning: ‘WAFL0_BASE’ defined but not used [-Wunused-const-variable=]drivers/gpu/drm/amd/amdgpu/../include/aldebaran_ip_offset.h:161:29: warning: ‘PCIE0_BASE’ defined but not used [-Wunused-const-variable=]drivers/gpu/drm/amd/amdgpu/../include/aldebaran_ip_offset.h:119:29: warning: ‘L2IMU0_BASE’ defined but not used [-Wunused-const-variable=]drivers/gpu/drm/amd/amdgpu/../include/aldebaran_ip_offset.h:112:29: warning: ‘L1IMUPCIE0_BASE’ defined but not used [-Wunused-const-variable=]drivers/gpu/drm/amd/amdgpu/../include/aldebaran_ip_offset.h:105:29: warning: ‘L1IMUIOAGR0_BASE’ defined but not used [-Wunused-const-variable=]drivers/gpu/drm/amd/amdgpu/../include/aldebaran_ip_offset.h:98:29: warning: ‘IOHC0_BASE’ defined but not used [-Wunused-const-variable=]drivers/gpu/drm/amd/amdgpu/../include/aldebaran_ip_offset.h:91:29: warning: ‘IOAPIC0_BASE’ defined but not used [-Wunused-const-variable=]drivers/gpu/drm/amd/amdgpu/../include/aldebaran_ip_offset.h:84:29: warning: ‘IOAGR0_BASE’ defined but not used [-Wunused-const-variable=]drivers/gpu/drm/amd/amdgpu/../include/aldebaran_ip_offset.h:63:29: warning: ‘FUSE_BASE’ defined but not used [-Wunused-const-variable=]drivers/gpu/drm/amd/amdgpu/../include/aldebaran_ip_offset.h:49:29: warning: ‘DBGU_IO0_BASE’ defined but not used [-Wunused-const-variable=]drivers/gpu/drm/amd/amdgpu/../include/aldebaran_ip_offset.h:42:29: warning: ‘CLK_BASE’ defined but not used [-Wunused-const-variable=]Cc Alex Deucher <[email protected]>Cc "Christian König" <[email protected]>Cc David Airlie <[email protected]>Cc Daniel Vetter <[email protected]>Cc Hawking Zhang <[email protected]>Signed-off-by Lee Jones <[email protected]>--- drivers/gpu/drm/amd/include/aldebaran_ip_offset.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/amd/include/aldebaran_ip_offset.h +1
-2@@ -30,7 +30,7 @@ struct IP_BASE_INSTANCE {struct IP_BASE {struct IP_BASE_INSTANCE instance[MAX_INSTANCE ]; -}; +}__maybe_unused ;static const struct IP_BASE ATHUB_BASE = { { { {0x00000C20 ,0x02408C00 ,0 ,0 ,0 ,0 } }, { {0 ,0 ,0 ,0 ,0 ,0 } }, --
Quoted 2 lines
2.31.1
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
PATCH 22/38 drm/msm/disp/dpu1/dpu_plane: Fix a couple of naming issues
In reply to Lee JonesFixes the following W=1 kernel build warning(s):
drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c:373: warning: expecting prototype for _dpu_plane_set_panic_lut(). Prototype was for _dpu_plane_set_danger_lut() instead drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c:498: warning: expecting prototype for _dpu_plane_set_vbif_qos(). Prototype was for _dpu_plane_set_qos_remap() instead
--- drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c +2 -2
@@ -364,7 +364,7 @@ static void _dpu_plane_set_qos_lut(struct drm_plane *plane, }/** -* _dpu_plane_set_panic_lut - set danger/safe LUT of the given plane +* _dpu_plane_set_danger_lut - set danger/safe LUT of the given plane * @plane: Pointer to drm plane * @fb: Pointer to framebuffer associated with the given plane */
@@ -491,7 +491,7 @@ static void _dpu_plane_set_ot_limit(struct drm_plane *plane, }/** -* _dpu_plane_set_vbif_qos - set vbif QoS for the given plane +* _dpu_plane_set_qos_remap - set vbif QoS for the given plane * @plane: Pointer to drm plane */ static void _dpu_plane_set_qos_remap (struct drm_plane *plane)
Signature · 1 line
2.31.1
PATCH 23/38 drm/amd/amdgpu/gmc_v7_0: Fix potential copy/paste issue
In reply to Lee JonesFixes the following W=1 kernel build warning(s):
drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c:526: warning: expecting prototype for gmc_v8_0_set_fault_enable_default(). Prototype was for gmc_v7_0_set_fault_enable_default() instead
--- drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c +1 -1
@@ -516,7 +516,7 @@ static void gmc_v7_0_get_vm_pte(struct amdgpu_device *adev, }/** -* gmc_v8_0_set_fault_enable_default - update VM fault handling +* gmc_v7_0_set_fault_enable_default - update VM fault handling * * @adev: amdgpu_device pointer * @value: true redirects VM faults to the default page
Signature · 1 line
2.31.1
Alex Deucher
AppliedRe: [PATCH 23/38] drm/amd/amdgpu/gmc_v7_0: Fix potential copy/paste issue
Applied. Thanks!
Quoted 32 lines · Lee Jones
Fixes the following W=1 kernel build warning(s):
drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c:526: warning: expecting prototype forgmc_v8_0_set_fault_enable_default(). Prototype was forgmc_v7_0_set_fault_enable_default()insteadCc Alex Deucher <[email protected]>Cc "Christian König" <[email protected]>Cc David Airlie <[email protected]>Cc Daniel Vetter <[email protected]>Signed-off-by Lee Jones <[email protected]>--- drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c +1
-2@@ -516,7 +516,7 @@ static void gmc_v7_0_get_vm_pte(struct amdgpu_device *adev, }/** -* gmc_v8_0_set_fault_enable_default - update VM fault handling +* gmc_v7_0_set_fault_enable_default - update VM fault handling * * @adev: amdgpu_device pointer * @value: true redirects VM faults to the default page -- 2.31.1
PATCH 24/38 drm/amd/amdgpu/mmhub_v9_4: Fix naming disparity with 'mmhub_v9_4_set_fault_enable_default()'
In reply to Lee JonesFixes the following W=1 kernel build warning(s):
drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c:446: warning: expecting prototype for mmhub_v1_0_set_fault_enable_default(). Prototype was for mmhub_v9_4_set_fault_enable_default() instead
--- drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c +1 -1
@@ -436,7 +436,7 @@ static void mmhub_v9_4_gart_disable(struct amdgpu_device *adev) }/** -* mmhub_v1_0_set_fault_enable_default - update GART/VM fault handling +* mmhub_v9_4_set_fault_enable_default - update GART/VM fault handling * * @adev: amdgpu_device pointer * @value: true redirects VM faults to the default page
Signature · 1 line
2.31.1
Alex Deucher
AppliedRe: [PATCH 24/38] drm/amd/amdgpu/mmhub_v9_4: Fix naming disparity with 'mmhub_v9_4_set_fault_enable_default()'
Applied. Thanks!
Quoted 30 lines · Lee Jones
Fixes the following W=1 kernel build warning(s):
drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c:446: warning: expecting prototype formmhub_v1_0_set_fault_enable_default(). Prototype was formmhub_v9_4_set_fault_enable_default()insteadCc Alex Deucher <[email protected]>Cc "Christian König" <[email protected]>Cc David Airlie <[email protected]>Cc Daniel Vetter <[email protected]>Signed-off-by Lee Jones <[email protected]>--- drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c +1
-2@@ -436,7 +436,7 @@ static void mmhub_v9_4_gart_disable(struct amdgpu_device *adev) }/** -* mmhub_v1_0_set_fault_enable_default - update GART/VM fault handling +* mmhub_v9_4_set_fault_enable_default - update GART/VM fault handling * * @adev: amdgpu_device pointer * @value: true redirects VM faults to the default page --
Quoted 2 lines
2.31.1
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
PATCH 25/38 drm/msm/msm_gem: Demote kernel-doc abuses
In reply to Lee JonesFixes the following W=1 kernel build warning(s):
drivers/gpu/drm/msm/msm_gem.c:364: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/gpu/drm/msm/msm_gem.c:763: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
--- drivers/gpu/drm/msm/msm_gem.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/msm/msm_gem.c +2 -2
@@ -372,7 +372,7 @@ static void del_vma(struct msm_gem_vma *vma)kfree (vma); } -/** +/* * If close is true, this also closes the VMA (releasing the allocated * iova range) in addition to removing the iommu mapping. In the eviction * case (!close), we keep the iova allocated, but only remove the iommu
@@ -773,7 +773,7 @@ void msm_gem_purge(struct drm_gem_object *obj) 0, (loff_t)-1); } -/** +/* * Unpin the backing pages and make them available to be swapped out. */ void msm_gem_evict (struct drm_gem_object *obj)
Signature · 1 line
2.31.1
PATCH 26/38 drm/amd/amdgpu/gmc_v10_0: Fix potential copy/paste issue
In reply to Lee JonesFixes the following W=1 kernel build warning(s):
drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c:955: warning: expecting prototype for gmc_v8_0_gart_fini(). Prototype was for gmc_v10_0_gart_fini() instead
--- drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c +1 -1
@@ -947,7 +947,7 @@ static int gmc_v10_0_sw_init(void *handle) }/** -* gmc_v8_0_gart_fini - vm fini callback +* gmc_v10_0_gart_fini - vm fini callback * * @adev: amdgpu_device pointer *
Signature · 1 line
2.31.1
Alex Deucher
AppliedRe: [PATCH 26/38] drm/amd/amdgpu/gmc_v10_0: Fix potential copy/paste issue
Applied. Thanks!
Alex
Quoted 35 lines · Lee Jones
Fixes the following W=1 kernel build warning(s):
drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c:955: warning: expecting prototype forgmc_v8_0_gart_fini(). Prototype was forgmc_v10_0_gart_fini()insteadCc Alex Deucher <[email protected]>Cc "Christian König" <[email protected]>Cc David Airlie <[email protected]>Cc Daniel Vetter <[email protected]>Cc Sumit Semwal <[email protected]>Signed-off-by Lee Jones <[email protected]>--- drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c +1
-2@@ -947,7 +947,7 @@ static int gmc_v10_0_sw_init(void *handle) }/** -* gmc_v8_0_gart_fini - vm fini callback +* gmc_v10_0_gart_fini - vm fini callback * * @adev: amdgpu_device pointer * -- 2.31.1
PATCH 27/38 drm/msm/dp/dp_catalog: Correctly document param 'dp_catalog'
In reply to Lee JonesFixes the following W=1 kernel build warning(s):
drivers/gpu/drm/msm/dp/dp_catalog.c:206: warning: Function parameter or member 'dp_catalog' not described in 'dp_catalog_aux_reset' drivers/gpu/drm/msm/dp/dp_catalog.c:206: warning: Excess function parameter 'aux' description in 'dp_catalog_aux_reset'
--- drivers/gpu/drm/msm/dp/dp_catalog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/msm/dp/dp_catalog.c +1 -1
@@ -193,7 +193,7 @@ int dp_catalog_aux_clear_hw_interrupts(struct dp_catalog *dp_catalog)/** * dp_catalog_aux_reset() - reset AUX controller * -* @aux: DP catalog structure +* @dp_catalog: DP catalog structure * * return: void *
Signature · 1 line
2.31.1
Re: [PATCH 27/38] drm/msm/dp/dp_catalog: Correctly document param 'dp_catalog'
Quoting Lee Jones (2021-05-20 05:02:37)
Quoted 15 lines
Fixes the following W=1 kernel build warning(s):
drivers/gpu/drm/msm/dp/dp_catalog.c:206: warning: Function parameter or member 'dp_catalog' not described in 'dp_catalog_aux_reset'drivers/gpu/drm/msm/dp/dp_catalog.c:206: warning: Excess function parameter 'aux' description in 'dp_catalog_aux_reset'Cc Rob Clark <[email protected]>Cc Sean Paul <[email protected]>Cc David Airlie <[email protected]>Cc Daniel Vetter <[email protected]>Cc Chandan Uddaraju <[email protected]>Cc Stephen Boyd <[email protected]>Signed-off-by Lee Jones <[email protected]>
Quoted 1 line
---
PATCH 28/38 drm/msm/dp/dp_link: Fix some potential doc-rot
In reply to Lee JonesFixes the following W=1 kernel build warning(s):
drivers/gpu/drm/msm/dp/dp_link.c:374: warning: expecting prototype for dp_parse_video_pattern_params(). Prototype was for dp_link_parse_video_pattern_params() instead drivers/gpu/drm/msm/dp/dp_link.c:573: warning: expecting prototype for dp_parse_phy_test_params(). Prototype was for dp_link_parse_phy_test_params() instead drivers/gpu/drm/msm/dp/dp_link.c:975: warning: expecting prototype for dp_link_process_downstream_port_status_change(). Prototype was for dp_link_process_ds_port_status_change() instead
--- drivers/gpu/drm/msm/dp/dp_link.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/gpu/drm/msm/dp/dp_link.c +3 -3
@@ -364,7 +364,7 @@ static int dp_link_parse_timing_params3(struct dp_link_private *link, }/** -* dp_parse_video_pattern_params() - parses video pattern parameters from DPCD +* dp_link_parse_video_pattern_params() - parses video pattern parameters from DPCD * @link: Display Port Driver data * * Returns 0 if it successfully parses the video link pattern and the link
@@ -563,7 +563,7 @@ static int dp_link_parse_link_training_params(struct dp_link_private *link) }/** -* dp_parse_phy_test_params() - parses the phy link parameters +* dp_link_parse_phy_test_params() - parses the phy link parameters * @link: Display Port Driver data * * Parses the DPCD (Byte 0x248) for the DP PHY link pattern that is being
@@ -961,7 +961,7 @@ static int dp_link_process_link_status_update(struct dp_link_private *link) }/** -* dp_link_process_downstream_port_status_change() - process port status changes +* dp_link_process_ds_port_status_change() - process port status changes * @link: Display Port Driver data * * This function will handle downstream port updates that are initiated by
Signature · 1 line
2.31.1
PATCH 29/38 drm/radeon/r100: Realign doc header with function 'r100_cs_packet_parse_vline()'
In reply to Lee JonesFixes the following W=1 kernel build warning(s):
drivers/gpu/drm/radeon/r100.c:1423: warning: expecting prototype for r100_cs_packet_next_vline(). Prototype was for r100_cs_packet_parse_vline() instead
--- drivers/gpu/drm/radeon/r100.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/radeon/r100.c +1 -1
@@ -1406,7 +1406,7 @@ int r100_cs_parse_packet0(struct radeon_cs_parser *p, }/** -* r100_cs_packet_next_vline() - parse userspace VLINE packet +* r100_cs_packet_parse_vline() - parse userspace VLINE packet * @p: parser structure holding parsing context. * * Userspace sends a special sequence for VLINE waits.
Signature · 1 line
2.31.1
Alex Deucher
AppliedRe: [PATCH 29/38] drm/radeon/r100: Realign doc header with function 'r100_cs_packet_parse_vline()'
Applied. Thanks!
Quoted 33 lines · Lee Jones
Fixes the following W=1 kernel build warning(s):
drivers/gpu/drm/radeon/r100.c:1423: warning: expecting prototype forr100_cs_packet_next_vline(). Prototype was forr100_cs_packet_parse_vline()insteadCc Alex Deucher <[email protected]>Cc "Christian König" <[email protected]>Cc David Airlie <[email protected]>Cc Daniel Vetter <[email protected]>Cc Sumit Semwal <[email protected]>Signed-off-by Lee Jones <[email protected]>--- drivers/gpu/drm/radeon/r100.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/radeon/r100.c +1
-2@@ -1406,7 +1406,7 @@ int r100_cs_parse_packet0(struct radeon_cs_parser *p, }/** -* r100_cs_packet_next_vline() - parse userspace VLINE packet +* r100_cs_packet_parse_vline() - parse userspace VLINE packet * @p: parser structure holding parsing context. * * Userspace sends a special sequence for VLINE waits. --
Quoted 2 lines
2.31.1
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
PATCH 30/38 drm/amd/amdgpu/gfx_v9_4_2: Mark functions called by reference as static
In reply to Lee JonesFixes the following W=1 kernel build warning(s):
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_2.c:1008:5: warning: no previous prototype for ‘gfx_v9_4_2_query_ras_error_count’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/gfx_v9_4_2.c:1054:6: warning: no previous prototype for ‘gfx_v9_4_2_reset_ras_error_count’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/gfx_v9_4_2.c:1063:5: warning: no previous prototype for ‘gfx_v9_4_2_ras_error_inject’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/gfx_v9_4_2.c:1133:6: warning: no previous prototype for ‘gfx_v9_4_2_query_ras_error_status’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/gfx_v9_4_2.c:1143:6: warning: no previous prototype for ‘gfx_v9_4_2_reset_ras_error_status’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/gfx_v9_4_2.c:1153:6: warning: no previous prototype for ‘gfx_v9_4_2_enable_watchdog_timer’ [-Wmissing-prototypes]
--- drivers/gpu/drm/amd/amdgpu/gfx_v9_4_2.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_2.c +7 -7
@@ -1641,8 +1641,8 @@ static int gfx_v9_4_2_query_utc_edc_count(struct amdgpu_device *adev,return 0 ; } -int gfx_v9_4_2_query_ras_error_count (struct amdgpu_device *adev, -void *ras_error_status) +static int gfx_v9_4_2_query_ras_error_count (struct amdgpu_device *adev, +void *ras_error_status) {struct ras_err_data *err_data = (struct ras_err_data *)ras_error_status;uint32_t sec_count =0 , ded_count =0 ;
@@ -1690,7 +1690,7 @@ static void gfx_v9_4_2_reset_ea_err_status(struct amdgpu_device *adev)mutex_unlock (&adev->grbm_idx_mutex); } -void gfx_v9_4_2_reset_ras_error_count (struct amdgpu_device *adev) +static void gfx_v9_4_2_reset_ras_error_count (struct amdgpu_device *adev) {if (!amdgpu_ras_is_supported (adev,AMDGPU_RAS_BLOCK__GFX ))return ;
@@ -1699,7 +1699,7 @@ void gfx_v9_4_2_reset_ras_error_count(struct amdgpu_device *adev)gfx_v9_4_2_query_utc_edc_count (adev,NULL ,NULL ); } -int gfx_v9_4_2_ras_error_inject (struct amdgpu_device *adev,void *inject_if) +static int gfx_v9_4_2_ras_error_inject (struct amdgpu_device *adev,void *inject_if) {struct ras_inject_if *info = (struct ras_inject_if *)inject_if;int ret;
@@ -1772,7 +1772,7 @@ static void gfx_v9_4_2_query_utc_err_status(struct amdgpu_device *adev) } } -void gfx_v9_4_2_query_ras_error_status (struct amdgpu_device *adev) +static void gfx_v9_4_2_query_ras_error_status (struct amdgpu_device *adev) {if (!amdgpu_ras_is_supported (adev,AMDGPU_RAS_BLOCK__GFX ))return ;
@@ -1782,7 +1782,7 @@ void gfx_v9_4_2_query_ras_error_status(struct amdgpu_device *adev)gfx_v9_4_2_query_sq_timeout_status (adev); } -void gfx_v9_4_2_reset_ras_error_status (struct amdgpu_device *adev) +static void gfx_v9_4_2_reset_ras_error_status (struct amdgpu_device *adev) {if (!amdgpu_ras_is_supported (adev,AMDGPU_RAS_BLOCK__GFX ))return ;
@@ -1792,7 +1792,7 @@ void gfx_v9_4_2_reset_ras_error_status(struct amdgpu_device *adev)gfx_v9_4_2_reset_sq_timeout_status (adev); } -void gfx_v9_4_2_enable_watchdog_timer (struct amdgpu_device *adev) +static void gfx_v9_4_2_enable_watchdog_timer (struct amdgpu_device *adev) {uint32_t i;uint32_t data;
Signature · 1 line
2.31.1
Alex Deucher
AppliedRe: [PATCH 30/38] drm/amd/amdgpu/gfx_v9_4_2: Mark functions called by reference as static
Applied. Thanks!
Quoted 82 lines · Lee Jones
Fixes the following W=1 kernel build warning(s):
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_2.c:1008:5: warning: no previous prototype for ‘gfx_v9_4_2_query_ras_error_count’ [-Wmissing-prototypes]drivers/gpu/drm/amd/amdgpu/gfx_v9_4_2.c:1054:6: warning: no previous prototype for ‘gfx_v9_4_2_reset_ras_error_count’ [-Wmissing-prototypes]drivers/gpu/drm/amd/amdgpu/gfx_v9_4_2.c:1063:5: warning: no previous prototype for ‘gfx_v9_4_2_ras_error_inject’ [-Wmissing-prototypes]drivers/gpu/drm/amd/amdgpu/gfx_v9_4_2.c:1133:6: warning: no previous prototype for ‘gfx_v9_4_2_query_ras_error_status’ [-Wmissing-prototypes]drivers/gpu/drm/amd/amdgpu/gfx_v9_4_2.c:1143:6: warning: no previous prototype for ‘gfx_v9_4_2_reset_ras_error_status’ [-Wmissing-prototypes]drivers/gpu/drm/amd/amdgpu/gfx_v9_4_2.c:1153:6: warning: no previous prototype for ‘gfx_v9_4_2_enable_watchdog_timer’ [-Wmissing-prototypes]Cc Alex Deucher <[email protected]>Cc "Christian König" <[email protected]>Cc David Airlie <[email protected]>Cc Daniel Vetter <[email protected]>Signed-off-by Lee Jones <[email protected]>--- drivers/gpu/drm/amd/amdgpu/gfx_v9_4_2.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)drivers/gpu/drm/amd/amdgpu/gfx_v9_4_2.c +7
-8@@ -1641,8 +1641,8 @@ static int gfx_v9_4_2_query_utc_edc_count(struct amdgpu_device *adev,return 0 ; } -int gfx_v9_4_2_query_ras_error_count (struct amdgpu_device *adev, -void *ras_error_status) +static int gfx_v9_4_2_query_ras_error_count (struct amdgpu_device *adev, +void *ras_error_status) {struct ras_err_data *err_data = (struct ras_err_data *)ras_error_status;uint32_t sec_count =0 , ded_count =0 ;@@ -1690,7 +1690,7 @@ static void gfx_v9_4_2_reset_ea_err_status(struct amdgpu_device *adev)mutex_unlock (&adev->grbm_idx_mutex); } -void gfx_v9_4_2_reset_ras_error_count (struct amdgpu_device *adev) +static void gfx_v9_4_2_reset_ras_error_count (struct amdgpu_device *adev) {if (!amdgpu_ras_is_supported (adev,AMDGPU_RAS_BLOCK__GFX ))return ;@@ -1699,7 +1699,7 @@ void gfx_v9_4_2_reset_ras_error_count(struct amdgpu_device *adev)gfx_v9_4_2_query_utc_edc_count (adev,NULL ,NULL ); } -int gfx_v9_4_2_ras_error_inject (struct amdgpu_device *adev,void *inject_if) +static int gfx_v9_4_2_ras_error_inject (struct amdgpu_device *adev,void *inject_if) {struct ras_inject_if *info = (struct ras_inject_if *)inject_if;int ret;@@ -1772,7 +1772,7 @@ static void gfx_v9_4_2_query_utc_err_status(struct amdgpu_device *adev) } } -void gfx_v9_4_2_query_ras_error_status (struct amdgpu_device *adev) +static void gfx_v9_4_2_query_ras_error_status (struct amdgpu_device *adev) {if (!amdgpu_ras_is_supported (adev,AMDGPU_RAS_BLOCK__GFX ))return ;@@ -1782,7 +1782,7 @@ void gfx_v9_4_2_query_ras_error_status(struct amdgpu_device *adev)gfx_v9_4_2_query_sq_timeout_status (adev); } -void gfx_v9_4_2_reset_ras_error_status (struct amdgpu_device *adev) +static void gfx_v9_4_2_reset_ras_error_status (struct amdgpu_device *adev) {if (!amdgpu_ras_is_supported (adev,AMDGPU_RAS_BLOCK__GFX ))return ;@@ -1792,7 +1792,7 @@ void gfx_v9_4_2_reset_ras_error_status(struct amdgpu_device *adev)gfx_v9_4_2_reset_sq_timeout_status (adev); } -void gfx_v9_4_2_enable_watchdog_timer (struct amdgpu_device *adev) +static void gfx_v9_4_2_enable_watchdog_timer (struct amdgpu_device *adev) {uint32_t i;uint32_t data; --
Quoted 2 lines
2.31.1
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
PATCH 31/38 drm/amd/amdgpu/sdma_v2_4: Correct misnamed function 'sdma_v2_4_ring_emit_hdp_flush()'
In reply to Lee JonesFixes the following W=1 kernel build warning(s):
drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c:281: warning: expecting prototype for sdma_v2_4_hdp_flush_ring_emit(). Prototype was for sdma_v2_4_ring_emit_hdp_flush() instead
--- drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c +1 -1
@@ -271,7 +271,7 @@ static void sdma_v2_4_ring_emit_ib(struct amdgpu_ring *ring, }/** -* sdma_v2_4_hdp_flush_ring_emit - emit an hdp flush on the DMA ring +* sdma_v2_4_ring_emit_hdp_flush - emit an hdp flush on the DMA ring * * @ring: amdgpu ring pointer *
Signature · 1 line
2.31.1
Alex Deucher
AppliedRe: [PATCH 31/38] drm/amd/amdgpu/sdma_v2_4: Correct misnamed function 'sdma_v2_4_ring_emit_hdp_flush()'
Applied. Thanks!
Quoted 35 lines · Lee Jones
Fixes the following W=1 kernel build warning(s):
drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c:281: warning: expecting prototype forsdma_v2_4_hdp_flush_ring_emit(). Prototype was forsdma_v2_4_ring_emit_hdp_flush()insteadCc Alex Deucher <[email protected]>Cc "Christian König" <[email protected]>Cc David Airlie <[email protected]>Cc Daniel Vetter <[email protected]>Cc Sumit Semwal <[email protected]>Signed-off-by Lee Jones <[email protected]>--- drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c +1
-2@@ -271,7 +271,7 @@ static void sdma_v2_4_ring_emit_ib(struct amdgpu_ring *ring, }/** -* sdma_v2_4_hdp_flush_ring_emit - emit an hdp flush on the DMA ring +* sdma_v2_4_ring_emit_hdp_flush - emit an hdp flush on the DMA ring * * @ring: amdgpu ring pointer * -- 2.31.1
PATCH 32/38 drm/amd/amdgpu/sdma_v4_0: Realign functions with their headers
In reply to Lee JonesFixes the following W=1 kernel build warning(s):
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c:764: warning: expecting prototype for sdma_v4_0_page_ring_set_wptr(). Prototype was for sdma_v4_0_ring_set_wptr() instead drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c:830: warning: expecting prototype for sdma_v4_0_ring_set_wptr(). Prototype was for sdma_v4_0_page_ring_set_wptr() instead
--- drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c +2 -2
@@ -754,7 +754,7 @@ static uint64_t sdma_v4_0_ring_get_wptr(struct amdgpu_ring *ring) }/** -* sdma_v4_0_page_ring_set_wptr - commit the write pointer +* sdma_v4_0_ring_set_wptr - commit the write pointer * * @ring: amdgpu ring pointer *
@@ -820,7 +820,7 @@ static uint64_t sdma_v4_0_page_ring_get_wptr(struct amdgpu_ring *ring) }/** -* sdma_v4_0_ring_set_wptr - commit the write pointer +* sdma_v4_0_page_ring_set_wptr - commit the write pointer * * @ring: amdgpu ring pointer *
Signature · 1 line
2.31.1
Alex Deucher
AppliedRe: [PATCH 32/38] drm/amd/amdgpu/sdma_v4_0: Realign functions with their headers
Applied. Thanks!
Quoted 43 lines · Lee Jones
Fixes the following W=1 kernel build warning(s):
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c:764: warning: expecting prototype forsdma_v4_0_page_ring_set_wptr(). Prototype was forsdma_v4_0_ring_set_wptr()insteaddrivers/gpu/drm/amd/amdgpu/sdma_v4_0.c:830: warning: expecting prototype forsdma_v4_0_ring_set_wptr(). Prototype was forsdma_v4_0_page_ring_set_wptr()insteadCc Alex Deucher <[email protected]>Cc "Christian König" <[email protected]>Cc David Airlie <[email protected]>Cc Daniel Vetter <[email protected]>Cc Sumit Semwal <[email protected]>Signed-off-by Lee Jones <[email protected]>--- drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c +2
-3@@ -754,7 +754,7 @@ static uint64_t sdma_v4_0_ring_get_wptr(struct amdgpu_ring *ring) }/** -* sdma_v4_0_page_ring_set_wptr - commit the write pointer +* sdma_v4_0_ring_set_wptr - commit the write pointer * * @ring: amdgpu ring pointer * @@ -820,7 +820,7 @@ static uint64_t sdma_v4_0_page_ring_get_wptr(struct amdgpu_ring *ring) }/** -* sdma_v4_0_ring_set_wptr - commit the write pointer +* sdma_v4_0_page_ring_set_wptr - commit the write pointer * * @ring: amdgpu ring pointer * --
Quoted 2 lines
2.31.1
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
PATCH 33/38 drm/amd/amdgpu/sdma_v5_0: Fix typo in function name
In reply to Lee JonesFixes the following W=1 kernel build warning(s):
drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c:563: warning: expecting prototype for sdma_v_0_ctx_switch_enable(). Prototype was for sdma_v5_0_ctx_switch_enable() instead
--- drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c +1 -1
@@ -571,7 +571,7 @@ static void sdma_v5_0_rlc_stop(struct amdgpu_device *adev) }/** -* sdma_v_0_ctx_switch_enable - stop the async dma engines context switch +* sdma_v5_0_ctx_switch_enable - stop the async dma engines context switch * * @adev: amdgpu_device pointer * @enable: enable/disable the DMA MEs context switch.
Signature · 1 line
2.31.1
Alex Deucher
AppliedRe: [PATCH 33/38] drm/amd/amdgpu/sdma_v5_0: Fix typo in function name
Applied. Thanks!
Quoted 35 lines · Lee Jones
Fixes the following W=1 kernel build warning(s):
drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c:563: warning: expecting prototype forsdma_v_0_ctx_switch_enable(). Prototype was forsdma_v5_0_ctx_switch_enable()insteadCc Alex Deucher <[email protected]>Cc "Christian König" <[email protected]>Cc David Airlie <[email protected]>Cc Daniel Vetter <[email protected]>Cc Sumit Semwal <[email protected]>Signed-off-by Lee Jones <[email protected]>--- drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c +1
-2@@ -571,7 +571,7 @@ static void sdma_v5_0_rlc_stop(struct amdgpu_device *adev) }/** -* sdma_v_0_ctx_switch_enable - stop the async dma engines context switch +* sdma_v5_0_ctx_switch_enable - stop the async dma engines context switch * * @adev: amdgpu_device pointer * @enable: enable/disable the DMA MEs context switch. -- 2.31.1
PATCH 34/38 drm/amd/amdgpu/amdgpu_vce: Fix a few incorrectly named functions
In reply to Lee JonesFixes the following W=1 kernel build warning(s):
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c:98: warning: expecting prototype for amdgpu_vce_init(). Prototype was for amdgpu_vce_sw_init() instead drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c:214: warning: expecting prototype for amdgpu_vce_fini(). Prototype was for amdgpu_vce_sw_fini() instead drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c:590: warning: expecting prototype for amdgpu_vce_cs_validate_bo(). Prototype was for amdgpu_vce_validate_bo() instead drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c:724: warning: expecting prototype for amdgpu_vce_cs_parse(). Prototype was for amdgpu_vce_ring_parse_cs() instead drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c:960: warning: expecting prototype for amdgpu_vce_cs_parse_vm(). Prototype was for amdgpu_vce_ring_parse_cs_vm() instead
--- drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c +5 -5
@@ -87,7 +87,7 @@ static int amdgpu_vce_get_destroy_msg(struct amdgpu_ring *ring, uint32_t handle, bool direct, struct dma_fence **fence);/** -* amdgpu_vce_init - allocate memory, load vce firmware +* amdgpu_vce_sw_init - allocate memory, load vce firmware * * @adev: amdgpu_device pointer * @size: size for the new BO
@@ -204,7 +204,7 @@ int amdgpu_vce_sw_init(struct amdgpu_device *adev, unsigned long size) }/** -* amdgpu_vce_fini - free memory +* amdgpu_vce_sw_fini - free memory * * @adev: amdgpu_device pointer *
@@ -574,7 +574,7 @@ static int amdgpu_vce_get_destroy_msg(struct amdgpu_ring *ring, uint32_t handle, }/** -* amdgpu_vce_cs_validate_bo - make sure not to cross 4GB boundary +* amdgpu_vce_validate_bo - make sure not to cross 4GB boundary * * @p: parser context * @ib_idx: indirect buffer to use
@@ -715,7 +715,7 @@ static int amdgpu_vce_validate_handle(struct amdgpu_cs_parser *p, }/** -* amdgpu_vce_cs_parse - parse and validate the command stream +* amdgpu_vce_ring_parse_cs - parse and validate the command stream * * @p: parser context * @ib_idx: indirect buffer to use
@@ -951,7 +951,7 @@ int amdgpu_vce_ring_parse_cs(struct amdgpu_cs_parser *p, uint32_t ib_idx) }/** -* amdgpu_vce_cs_parse_vm - parse the command stream in VM mode +* amdgpu_vce_ring_parse_cs_vm - parse the command stream in VM mode * * @p: parser context * @ib_idx: indirect buffer to use
Signature · 1 line
2.31.1
Alex Deucher
AppliedRe: [PATCH 34/38] drm/amd/amdgpu/amdgpu_vce: Fix a few incorrectly named functions
Applied. Thanks!
Quoted 75 lines · Lee Jones
Fixes the following W=1 kernel build warning(s):
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c:98: warning: expecting prototype foramdgpu_vce_init(). Prototype was foramdgpu_vce_sw_init()insteaddrivers/gpu/drm/amd/amdgpu/amdgpu_vce.c:214: warning: expecting prototype foramdgpu_vce_fini(). Prototype was foramdgpu_vce_sw_fini()insteaddrivers/gpu/drm/amd/amdgpu/amdgpu_vce.c:590: warning: expecting prototype foramdgpu_vce_cs_validate_bo(). Prototype was foramdgpu_vce_validate_bo()insteaddrivers/gpu/drm/amd/amdgpu/amdgpu_vce.c:724: warning: expecting prototype foramdgpu_vce_cs_parse(). Prototype was foramdgpu_vce_ring_parse_cs()insteaddrivers/gpu/drm/amd/amdgpu/amdgpu_vce.c:960: warning: expecting prototype foramdgpu_vce_cs_parse_vm(). Prototype was foramdgpu_vce_ring_parse_cs_vm()insteadCc Alex Deucher <[email protected]>Cc "Christian König" <[email protected]>Cc David Airlie <[email protected]>Cc Daniel Vetter <[email protected]>Cc Sumit Semwal <[email protected]>Signed-off-by Lee Jones <[email protected]>--- drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c +5
-6@@ -87,7 +87,7 @@ static int amdgpu_vce_get_destroy_msg(struct amdgpu_ring *ring, uint32_t handle, bool direct, struct dma_fence **fence);/** -* amdgpu_vce_init - allocate memory, load vce firmware +* amdgpu_vce_sw_init - allocate memory, load vce firmware * * @adev: amdgpu_device pointer * @size: size for the new BO @@ -204,7 +204,7 @@ int amdgpu_vce_sw_init(struct amdgpu_device *adev, unsigned long size) }/** -* amdgpu_vce_fini - free memory +* amdgpu_vce_sw_fini - free memory * * @adev: amdgpu_device pointer * @@ -574,7 +574,7 @@ static int amdgpu_vce_get_destroy_msg(struct amdgpu_ring *ring, uint32_t handle, }/** -* amdgpu_vce_cs_validate_bo - make sure not to cross 4GB boundary +* amdgpu_vce_validate_bo - make sure not to cross 4GB boundary * * @p: parser context * @ib_idx: indirect buffer to use @@ -715,7 +715,7 @@ static int amdgpu_vce_validate_handle(struct amdgpu_cs_parser *p, }/** -* amdgpu_vce_cs_parse - parse and validate the command stream +* amdgpu_vce_ring_parse_cs - parse and validate the command stream * * @p: parser context * @ib_idx: indirect buffer to use @@ -951,7 +951,7 @@ int amdgpu_vce_ring_parse_cs(struct amdgpu_cs_parser *p, uint32_t ib_idx) }/** -* amdgpu_vce_cs_parse_vm - parse the command stream in VM mode +* amdgpu_vce_ring_parse_cs_vm - parse the command stream in VM mode * * @p: parser context * @ib_idx: indirect buffer to use -- 2.31.1
PATCH 35/38 drm/amd/amdgpu/sdma_v5_2: Repair typo in function name
In reply to Lee JonesFixes the following W=1 kernel build warning(s):
drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c:501: warning: expecting prototype for sdma_v_0_ctx_switch_enable(). Prototype was for sdma_v5_2_ctx_switch_enable() instead
--- drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c +1 -1
@@ -517,7 +517,7 @@ static void sdma_v5_2_rlc_stop(struct amdgpu_device *adev) }/** -* sdma_v_0_ctx_switch_enable - stop the async dma engines context switch +* sdma_v5_2_ctx_switch_enable - stop the async dma engines context switch * * @adev: amdgpu_device pointer * @enable: enable/disable the DMA MEs context switch.
Signature · 1 line
2.31.1
Alex Deucher
AppliedRe: [PATCH 35/38] drm/amd/amdgpu/sdma_v5_2: Repair typo in function name
Applied. Thanks!
Quoted 35 lines · Lee Jones
Fixes the following W=1 kernel build warning(s):
drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c:501: warning: expecting prototype forsdma_v_0_ctx_switch_enable(). Prototype was forsdma_v5_2_ctx_switch_enable()insteadCc Alex Deucher <[email protected]>Cc "Christian König" <[email protected]>Cc David Airlie <[email protected]>Cc Daniel Vetter <[email protected]>Cc Sumit Semwal <[email protected]>Signed-off-by Lee Jones <[email protected]>--- drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c +1
-2@@ -517,7 +517,7 @@ static void sdma_v5_2_rlc_stop(struct amdgpu_device *adev) }/** -* sdma_v_0_ctx_switch_enable - stop the async dma engines context switch +* sdma_v5_2_ctx_switch_enable - stop the async dma engines context switch * * @adev: amdgpu_device pointer * @enable: enable/disable the DMA MEs context switch. -- 2.31.1
PATCH 36/38 drm/amd/amdgpu/vcn_v1_0: Fix some function naming disparity
In reply to Lee JonesFixes the following W=1 kernel build warning(s):
drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c:775: warning: expecting prototype for vcn_v1_0_start(). Prototype was for vcn_v1_0_start_spg_mode() instead drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c:1111: warning: expecting prototype for vcn_v1_0_stop(). Prototype was for vcn_v1_0_stop_spg_mode() instead
--- drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c +2 -2
@@ -765,7 +765,7 @@ static void vcn_1_0_enable_static_power_gating(struct amdgpu_device *adev) }/** -* vcn_v1_0_start - start VCN block +* vcn_v1_0_start_spg_mode - start VCN block * * @adev: amdgpu_device pointer *
@@ -1101,7 +1101,7 @@ static int vcn_v1_0_start(struct amdgpu_device *adev) }/** -* vcn_v1_0_stop - stop VCN block +* vcn_v1_0_stop_spg_mode - stop VCN block * * @adev: amdgpu_device pointer *
Signature · 1 line
2.31.1
Alex Deucher
AppliedRe: [PATCH 36/38] drm/amd/amdgpu/vcn_v1_0: Fix some function naming disparity
Applied. Thanks!
Quoted 40 lines · Lee Jones
Fixes the following W=1 kernel build warning(s):
drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c:775: warning: expecting prototype forvcn_v1_0_start(). Prototype was forvcn_v1_0_start_spg_mode()insteaddrivers/gpu/drm/amd/amdgpu/vcn_v1_0.c:1111: warning: expecting prototype forvcn_v1_0_stop(). Prototype was forvcn_v1_0_stop_spg_mode()insteadCc Alex Deucher <[email protected]>Cc "Christian König" <[email protected]>Cc David Airlie <[email protected]>Cc Daniel Vetter <[email protected]>Signed-off-by Lee Jones <[email protected]>--- drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c +2
-3@@ -765,7 +765,7 @@ static void vcn_1_0_enable_static_power_gating(struct amdgpu_device *adev) }/** -* vcn_v1_0_start - start VCN block +* vcn_v1_0_start_spg_mode - start VCN block * * @adev: amdgpu_device pointer * @@ -1101,7 +1101,7 @@ static int vcn_v1_0_start(struct amdgpu_device *adev) }/** -* vcn_v1_0_stop - stop VCN block +* vcn_v1_0_stop_spg_mode - stop VCN block * * @adev: amdgpu_device pointer * --
Quoted 2 lines
2.31.1
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
PATCH 37/38 drm/amd/amdgpu/gfx_v10_0: Demote kernel-doc abuse
In reply to Lee JonesFixes the following W=1 kernel build warning(s):
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c:51: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
--- drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c +1 -1
@@ -47,7 +47,7 @@#include "gfx_v10_0.h" #include "nbio_v2_3.h" -/** +/* * Navi10 has two graphic rings to share each graphic pipe. * 1. Primary ring * 2. Async ring
Signature · 1 line
2.31.1
Alex Deucher
AppliedRe: [PATCH 37/38] drm/amd/amdgpu/gfx_v10_0: Demote kernel-doc abuse
Applied. Thanks!
Quoted 33 lines · Lee Jones
Fixes the following W=1 kernel build warning(s):
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c:51: warning: This comment starts with '/**', but isn't a kernel-doc comment. ReferDocumentation/doc-guide/kernel-doc.rstCc Alex Deucher <[email protected]>Cc "Christian König" <[email protected]>Cc David Airlie <[email protected]>Cc Daniel Vetter <[email protected]>Cc Sumit Semwal <[email protected]>Signed-off-by Lee Jones <[email protected]>--- drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c +1
-2@@ -47,7 +47,7 @@#include "gfx_v10_0.h" #include "nbio_v2_3.h" -/** +/* * Navi10 has two graphic rings to share each graphic pipe. * 1. Primary ring * 2. Async ring --
Quoted 2 lines
2.31.1
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
PATCH 38/38 drm/amd/amdgpu/smuio_v13_0: Realign 'smuio_v13_0_is_host_gpu_xgmi_supported()' header
In reply to Lee JonesFixes the following W=1 kernel build warning(s):
drivers/gpu/drm/amd/amdgpu/smuio_v13_0.c:99: warning: expecting prototype for smuio_v13_0_supports_host_gpu_xgmi(). Prototype was for smuio_v13_0_is_host_gpu_xgmi_supported() instead
--- drivers/gpu/drm/amd/amdgpu/smuio_v13_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/smuio_v13_0.c +1 -1
@@ -106,7 +106,7 @@ static u32 smuio_v13_0_get_socket_id(struct amdgpu_device *adev) }/** -* smuio_v13_0_supports_host_gpu_xgmi - detect xgmi interface between cpu and gpu/s. +* smuio_v13_0_is_host_gpu_xgmi_supported - detect xgmi interface between cpu and gpu/s. * * @adev: amdgpu device pointer *
Signature · 1 line
2.31.1
Alex Deucher
AppliedRe: [PATCH 38/38] drm/amd/amdgpu/smuio_v13_0: Realign 'smuio_v13_0_is_host_gpu_xgmi_supported()' header
Applied. Thanks!
Quoted 31 lines · Lee Jones
Fixes the following W=1 kernel build warning(s):
drivers/gpu/drm/amd/amdgpu/smuio_v13_0.c:99: warning: expecting prototype forsmuio_v13_0_supports_host_gpu_xgmi(). Prototype was forsmuio_v13_0_is_host_gpu_xgmi_supported()insteadCc Alex Deucher <[email protected]>Cc "Christian König" <[email protected]>Cc David Airlie <[email protected]>Cc Daniel Vetter <[email protected]>Cc Hawking Zhang <[email protected]>Signed-off-by Lee Jones <[email protected]>--- drivers/gpu/drm/amd/amdgpu/smuio_v13_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/amd/amdgpu/smuio_v13_0.c +1
-2@@ -106,7 +106,7 @@ static u32 smuio_v13_0_get_socket_id(struct amdgpu_device *adev) }/** -* smuio_v13_0_supports_host_gpu_xgmi - detect xgmi interface between cpu and gpu/s. +* smuio_v13_0_is_host_gpu_xgmi_supported - detect xgmi interface between cpu and gpu/s. * * @adev: amdgpu device pointer * --
Quoted 2 lines
2.31.1
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Re: [PATCH 38/38] drm/amd/amdgpu/smuio_v13_0: Realign 'smuio_v13_0_is_host_gpu_xgmi_supported()' header
Quoted 1 line · Alex Deucher
Applied. Thanks!
Thanks again Alex.
Quoted 32 lines · Lee Jones
Quoted 31 lines
Fixes the following W=1 kernel build warning(s):
drivers/gpu/drm/amd/amdgpu/smuio_v13_0.c:99: warning: expecting prototype forsmuio_v13_0_supports_host_gpu_xgmi(). Prototype was forsmuio_v13_0_is_host_gpu_xgmi_supported()insteadCc Alex Deucher <[email protected]>Cc "Christian König" <[email protected]>Cc David Airlie <[email protected]>Cc Daniel Vetter <[email protected]>Cc Hawking Zhang <[email protected]>Signed-off-by Lee Jones <[email protected]>--- drivers/gpu/drm/amd/amdgpu/smuio_v13_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/amd/amdgpu/smuio_v13_0.c +1
-1@@ -106,7 +106,7 @@ static u32 smuio_v13_0_get_socket_id(struct amdgpu_device *adev) }/** -* smuio_v13_0_supports_host_gpu_xgmi - detect xgmi interface between cpu and gpu/s. +* smuio_v13_0_is_host_gpu_xgmi_supported - detect xgmi interface between cpu and gpu/s. * * @adev: amdgpu device pointer *
Signature · 4 lines
Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog