Re: [PATCH] drm/vmwgfx: Fix possible null pointer derefence with invalid contexts

2024-01-11 Thread Martin Krastev
On Wed, Jan 10, 2024 at 10:03 PM Zack Rusin wrote: > > vmw_context_cotable can return either an error or a null pointer and its > usage sometimes went unchecked. Subsequent code would then try to access > either a null pointer or an error value. > > The invalid dereferences were only possible

[PATCH] drm/gma500: Clean up errors in psb_intel_sdvo.h

2024-01-11 Thread GuoHua Chen
Fix the following errors reported by checkpatch: ERROR: "foo * bar" should be "foo *bar" ERROR: "(foo*)" should be "(foo *)" Signed-off-by: GuoHua Chen --- drivers/gpu/drm/gma500/psb_intel_sdvo.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git

[PATCH] drm/vmwgfx: Clean up errors in vmwgfx_streamoutput.c

2024-01-11 Thread GuoHua Chen
Fix the following errors reported by checkpatch: ERROR: space prohibited before that close parenthesis ')' Signed-off-by: GuoHua Chen --- drivers/gpu/drm/vmwgfx/vmwgfx_streamoutput.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH] drm/amd/include/vega20_ip_offset: Clean up errors in vega20_ip_offset.h

2024-01-11 Thread chenxuebing
Fix the following errors reported by checkpatch: ERROR: open brace '{' following struct go on the same line ERROR: spaces required around that '=' (ctx:WxV) Signed-off-by: chenxuebing --- .../gpu/drm/amd/include/vega20_ip_offset.h| 78 +-- 1 file changed, 38 insertions(+),

[PATCH] drm/radeon: Clean up errors in evergreen.c

2024-01-11 Thread GuoHua Chen
Fix the following errors reported by checkpatch: ERROR: that open brace { should be on the previous line ERROR: spaces required around that '&=' (ctx:WxO) ERROR: space required before that '~' (ctx:OxV) ERROR: space prohibited before that close parenthesis ')' ERROR: space required after that ','

[PATCH] doc: admin-guide/kernel-parameters: remove useless comment

2024-01-11 Thread Vegard Nossum
This comment about DRM drivers has been there since the first git commit. It simply doesn't belong in kernel-parameters; remove it. Signed-off-by: Vegard Nossum --- Documentation/admin-guide/kernel-parameters.rst | 5 - 1 file changed, 5 deletions(-) diff --git

Re: [PATCH 1/1] drm/virtio: Implement device_attach

2024-01-11 Thread Zhang, Julia
On 2024/1/10 18:21, Daniel Vetter wrote: > On Wed, Jan 10, 2024 at 05:56:28PM +0800, Julia Zhang wrote: >> drm_gem_map_attach() requires drm_gem_object_funcs.get_sg_table to be >> implemented, or else return ENOSYS. Virtio has no get_sg_table >> implemented for vram object. To fix this, add a

Re: [PATCH V2 1/2] dt-bindings: phy: add binding for the i.MX8MP HDMI PHY

2024-01-11 Thread Benjamin Bara
Hi Adam, there is already a V3 by Lucas available here[1]. I just noticed that the new PLL config has some common registers and is therefore smaller, most likely there are other changes too. Thanks for picking this up again, regards Benjamin [1]

[PATCH] drm/amdgpu: Clean up errors in umc_v6_0.c

2024-01-11 Thread chenxuebing
Fix the following errors reported by checkpatch: ERROR: space required after that ',' (ctx:VxV) Signed-off-by: chenxuebing --- drivers/gpu/drm/amd/amdgpu/umc_v6_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/umc_v6_0.c

[PATCH] drm/radeon: Clean up errors in radeon_display.c

2024-01-11 Thread GuoHua Chen
Fix the following errors reported by checkpatch: ERROR: that open brace { should be on the previous line ERROR: space prohibited before that ',' (ctx:WxW) Signed-off-by: GuoHua Chen --- drivers/gpu/drm/radeon/radeon_display.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-)

[PATCH] drm/radeon: Clean up errors in si_dpm.c

2024-01-11 Thread GuoHua Chen
Fix the following errors reported by checkpatch: ERROR: that open brace { should be on the previous line Signed-off-by: GuoHua Chen --- drivers/gpu/drm/radeon/si_dpm.c | 132 +++- 1 file changed, 44 insertions(+), 88 deletions(-) diff --git

[PATCH] drm/radeon: Clean up errors in r600_dpm.h

2024-01-11 Thread GuoHua Chen
Fix the following errors reported by checkpatch: ERROR: open brace '{' following enum go on the same line Signed-off-by: GuoHua Chen --- drivers/gpu/drm/radeon/r600_dpm.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/radeon/r600_dpm.h

[PATCH] drm/amdgpu: Clean up errors in clearstate_gfx9.h

2024-01-11 Thread chenxuebing
Fix the following errors reported by checkpatch: ERROR: that open brace { should be on the previous line Signed-off-by: chenxuebing --- drivers/gpu/drm/amd/amdgpu/clearstate_gfx9.h | 27 +++- 1 file changed, 9 insertions(+), 18 deletions(-) diff --git

[PATCH] drm/radeon: Clean up errors in rv6xx_dpm.h

2024-01-11 Thread GuoHua Chen
Fix the following errors reported by checkpatch: ERROR: that open brace { should be on the previous line Signed-off-by: GuoHua Chen --- drivers/gpu/drm/radeon/atombios_crtc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/radeon/atombios_crtc.c

[PATCH] drm/gma500: Clean up errors in oaktrail_lvds.h

2024-01-11 Thread GuoHua Chen
Fix the following errors reported by checkpatch: ERROR: space prohibited after that open parenthesis '(' Signed-off-by: GuoHua Chen --- drivers/gpu/drm/gma500/oaktrail_lvds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/gma500/oaktrail_lvds.c

[PATCH] drm/radeon: Clean up errors in radeon_audio.h

2024-01-11 Thread GuoHua Chen
Fix the following errors reported by checkpatch: ERROR: open brace '{' following struct go on the same line Signed-off-by: GuoHua Chen --- drivers/gpu/drm/radeon/radeon_audio.h | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_audio.h

[PATCH] drm: Clean up errors in drm_dp_mst_topology.h

2024-01-11 Thread chenxuebing
Fix the following errors reported by checkpatch: ERROR: space prohibited before open square bracket '[' Signed-off-by: chenxuebing --- drivers/gpu/drm/display/drm_dp_mst_topology.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH] drm/radeon: Clean up errors in trinity_dpm.c

2024-01-11 Thread GuoHua Chen
Fix the following errors reported by checkpatch: ERROR: that open brace { should be on the previous line ERROR: space prohibited before that ',' (ctx:WxW) ERROR: need consistent spacing around '-' (ctx:WxV) Signed-off-by: GuoHua Chen --- drivers/gpu/drm/radeon/kv_dpm.c | 9 - 1 file

[PATCH] drm/amdgpu: Clean up errors in amdgpu_gmc.c

2024-01-11 Thread chenxuebing
Fix the following errors reported by checkpatch: ERROR: need consistent spacing around '-' (ctx:WxV) Signed-off-by: chenxuebing --- drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c

[PATCH] drm/gma500: Clean up errors in intel_gmbus.h

2024-01-11 Thread GuoHua Chen
Fix the following errors reported by checkpatch: ERROR: space prohibited after that '!' (ctx:BxW) Signed-off-by: GuoHua Chen --- drivers/gpu/drm/gma500/intel_gmbus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/gma500/intel_gmbus.c

[PATCH] drm/radeon/kms: Clean up errors in rv6xx_dpm.h

2024-01-11 Thread GuoHua Chen
Fix the following errors reported by checkpatch: ERROR: open brace '{' following struct go on the same line Signed-off-by: GuoHua Chen --- drivers/gpu/drm/radeon/rv6xx_dpm.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/radeon/rv6xx_dpm.h

[PATCH] drm: Clean up errors in cdv_intel_dp.h

2024-01-11 Thread GuoHua Chen
Fix the following errors reported by checkpatch: ERROR: else should follow close brace '}' Signed-off-by: GuoHua Chen --- drivers/gpu/drm/gma500/cdv_intel_dp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/gma500/cdv_intel_dp.c

[PATCH] drm/amdgpu: Clean up errors in displayobject.h

2024-01-11 Thread chenxuebing
Fix the following errors reported by checkpatch: ERROR: spaces required around that '=' (ctx:WxV) ERROR: space prohibited after that open parenthesis '(' Signed-off-by: chenxuebing --- drivers/gpu/drm/amd/include/displayobject.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH] drm/radeon: Clean up errors in rv770_smc.h

2024-01-11 Thread GuoHua Chen
Fix the following errors reported by checkpatch: ERROR: open brace '{' following struct go on the same line ERROR: open brace '{' following union go on the same line Signed-off-by: GuoHua Chen --- drivers/gpu/drm/radeon/rv770_smc.h | 27 +-- 1 file changed, 9

[PATCH] drm/radeon: Clean up errors in rs600.c

2024-01-11 Thread GuoHua Chen
Fix the following errors reported by checkpatch: ERROR: that open brace { should be on the previous line Signed-off-by: GuoHua Chen --- drivers/gpu/drm/radeon/rs600.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/radeon/rs600.c

[PATCH] drm/radeon: Clean up errors in r600.c

2024-01-11 Thread GuoHua Chen
Fix the following errors reported by checkpatch: ERROR: that open brace { should be on the previous line Signed-off-by: GuoHua Chen --- drivers/gpu/drm/radeon/r600.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/radeon/r600.c

[PATCH] drm/amdgpu: Clean up errors in dimgrey_cavefish_ip_offset.h

2024-01-11 Thread chenxuebing
Fix the following errors reported by checkpatch: ERROR: open brace '{' following struct go on the same line Signed-off-by: chenxuebing --- drivers/gpu/drm/amd/include/dimgrey_cavefish_ip_offset.h | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git

[PATCH] drm/radeon: Clean up errors in rs400.c

2024-01-11 Thread GuoHua Chen
Fix the following errors reported by checkpatch: ERROR: space required before the open parenthesis '(' Signed-off-by: GuoHua Chen --- drivers/gpu/drm/radeon/rs400.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/radeon/rs400.c

[PATCH] drm/radeon: Clean up errors in r600_dpm.c

2024-01-11 Thread GuoHua Chen
Fix the following errors reported by checkpatch: ERROR: that open brace { should be on the previous line Signed-off-by: GuoHua Chen --- drivers/gpu/drm/radeon/r600_dpm.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/radeon/r600_dpm.c

[PATCH] drm/radeon/kms: Clean up errors in smu7.h

2024-01-11 Thread GuoHua Chen
Fix the following errors reported by checkpatch: ERROR: open brace '{' following struct go on the same line Signed-off-by: GuoHua Chen --- drivers/gpu/drm/radeon/smu7.h | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/radeon/smu7.h

[PATCH] drm/radeon: Clean up errors in clearstate_ci.h

2024-01-11 Thread XueBing Chen
Fix the following errors reported by checkpatch: ERROR: that open brace { should be on the previous line Signed-off-by: XueBing Chen --- drivers/gpu/drm/radeon/clearstate_ci.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/radeon/clearstate_ci.h

[PATCH] gpu/drm/radeon: Clean up errors in evergreen.c

2024-01-11 Thread GuoHua Chen
Fix the following errors reported by checkpatch: ERROR: space prohibited after that open parenthesis '(' ERROR: space prohibited before that close parenthesis ')' Signed-off-by: GuoHua Chen --- drivers/gpu/drm/radeon/r300_reg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH] drm/radeon: Clean up errors in evergreen_reg.h

2024-01-11 Thread GuoHua Chen
Fix the following errors reported by checkpatch: ERROR: space prohibited before that close parenthesis ')' ERROR: need consistent spacing around '<<' (ctx:WxV) ERROR: need consistent spacing around '-' (ctx:WxV) Signed-off-by: GuoHua Chen --- drivers/gpu/drm/radeon/evergreen_reg.h | 10

[PATCH] drm/radeon: Clean up errors in radeon_mode.h

2024-01-11 Thread GuoHua Chen
Fix the following errors reported by checkpatch: ERROR: open brace '{' following struct go on the same line Signed-off-by: GuoHua Chen --- drivers/gpu/drm/radeon/radeon_mode.h | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_mode.h

[PATCH] drm/radeon/kms: Clean up errors in radeon_pm.c

2024-01-11 Thread XueBing Chen
Fix the following errors reported by checkpatch: ERROR: space required before the open parenthesis '(' Signed-off-by: XueBing Chen --- drivers/gpu/drm/radeon/radeon_pm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_pm.c

Re: [PATCH 1/3] selftests/bpf: Update LLVM Phabricator links

2024-01-11 Thread Yonghong Song
On 1/9/24 2:16 PM, Nathan Chancellor wrote: reviews.llvm.org was LLVM's Phabricator instances for code review. It has been abandoned in favor of GitHub pull requests. While the majority of links in the kernel sources still work because of the work Fangrui has done turning the dynamic

[PATCH] drm/vmwgfx: Clean up errors in vmwgfx_so.c

2024-01-11 Thread GuoHua Chen
Fix the following errors reported by checkpatch: ERROR: spaces required around that '=' (ctx:VxW) Signed-off-by: GuoHua Chen --- drivers/gpu/drm/vmwgfx/vmwgfx_so.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_so.c

Re: [PATCH] drm: Clean up errors in cdv_intel_dp.h

2024-01-11 Thread Patrik Jakobsson
On Thu, Jan 11, 2024 at 06:56:48AM +, GuoHua Chen wrote: Hi, Please use the correct prefix: drm/gma500 Also, the change is made in cdv_intel_dp.c and not cdv_intel_dp.h. This seems to be wrong in most of the patches you sent. Please send these fixes as a series. That makes them easier to

[PATCH] drm/amd/amdgpu: Clean up errors in amdgpu_umr.h

2024-01-11 Thread chenxuebing
Fix the following errors reported by checkpatch: spaces required around that '=' (ctx:VxV) Signed-off-by: chenxuebing --- drivers/gpu/drm/amd/amdgpu/amdgpu_umr.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_umr.h

[PATCH] drm/amdgpu: Clean up errors in clearstate_si.h

2024-01-11 Thread chenxuebing
Fix the following errors reported by checkpatch: ERROR: that open brace { should be on the previous line Signed-off-by: chenxuebing --- drivers/gpu/drm/amd/amdgpu/clearstate_si.h | 24 -- 1 file changed, 8 insertions(+), 16 deletions(-) diff --git

[PATCH] drm/amdgpu: Clean up errors in amdgpu_drv.c

2024-01-11 Thread chenxuebing
Fix the following errors reported by checkpatch: ERROR: do not initialise globals to 0 Signed-off-by: chenxuebing --- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c

[PATCH] drm/amdgpu: Clean up errors in amdgpu.h

2024-01-11 Thread chenxuebing
Fix the following errors reported by checkpatch: ERROR: open brace '{' following struct go on the same line Signed-off-by: chenxuebing --- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h

[PATCH] drm/amd/display: Clean up errors in renoir_ip_offset.h

2024-01-11 Thread chenxuebing
Fix the following errors reported by checkpatch: ERROR: open brace '{' following struct go on the same line Signed-off-by: chenxuebing --- drivers/gpu/drm/amd/include/renoir_ip_offset.h | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git

[PATCH] drm/amdgpu: Clean up errors in amdgpu_rlc.c

2024-01-11 Thread chenxuebing
Fix the following errors reported by checkpatch: ERROR: space prohibited before that '++' (ctx:WxB) Signed-off-by: chenxuebing --- drivers/gpu/drm/amd/amdgpu/amdgpu_rlc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_rlc.c

[PATCH] drm/amd/include/vangogh_ip_offset: Clean up errors in vangogh_ip_offset.h

2024-01-11 Thread chenxuebing
Fix the following errors reported by checkpatch: ERROR: open brace '{' following struct go on the same line Signed-off-by: chenxuebing --- drivers/gpu/drm/amd/include/vangogh_ip_offset.h | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git

[PATCH] drm/amdgpu: Clean up errors in jpeg_v2_5.c

2024-01-11 Thread chenxuebing
Fix the following errors reported by checkpatch: ERROR: space required before the open parenthesis '(' ERROR: that open brace { should be on the previous line Signed-off-by: chenxuebing --- drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-)

[PATCH] drm/amdgpu: Clean up errors in cgs_common.h

2024-01-11 Thread chenxuebing
Fix the following errors reported by checkpatch: ERROR: open brace '{' following struct go on the same line ERROR: space required after that ',' (ctx:VxV) Signed-off-by: chenxuebing --- drivers/gpu/drm/amd/include/cgs_common.h | 23 +++ 1 file changed, 11 insertions(+), 12

[PATCH] drm/radeon: Clean up errors in si_dpm.h

2024-01-11 Thread GuoHua Chen
Fix the following errors reported by checkpatch: ERROR: open brace '{' following struct go on the same line ERROR: open brace '{' following enum go on the same line Signed-off-by: GuoHua Chen --- drivers/gpu/drm/radeon/si_dpm.h | 21 +++-- 1 file changed, 7 insertions(+), 14

[PATCH] drm/radeon: Clean up errors in smu7_discrete.h

2024-01-11 Thread GuoHua Chen
Fix the following errors reported by checkpatch: ERROR: open brace '{' following struct go on the same line Signed-off-by: GuoHua Chen --- drivers/gpu/drm/radeon/smu7_discrete.h | 51 +- 1 file changed, 17 insertions(+), 34 deletions(-) diff --git

[PATCH] drm/radeon/trinity_dpm: Clean up errors in trinity_dpm.c

2024-01-11 Thread GuoHua Chen
Fix the following errors reported by checkpatch: ERROR: space required before the open parenthesis '(' ERROR: space prohibited before that close parenthesis ')' ERROR: that open brace { should be on the previous line Signed-off-by: GuoHua Chen --- drivers/gpu/drm/radeon/trinity_dpm.c | 22

[PATCH] drm/amdgpu: Clean up errors in amdgpu_ib.c

2024-01-11 Thread chenxuebing
Fix the following errors reported by checkpatch: ERROR: do not use assignment in if condition Signed-off-by: chenxuebing --- drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c

[PATCH] drm/radeon: Clean up errors in radeon_audio.c

2024-01-11 Thread GuoHua Chen
Fix the following errors reported by checkpatch: ERROR: "foo* bar" should be "foo *bar" ERROR: that open brace { should be on the previous line Signed-off-by: GuoHua Chen --- drivers/gpu/drm/radeon/radeon_audio.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git

[PATCH] drm/vmwgfx: Clean up errors in vmwgfx_msg.c

2024-01-11 Thread GuoHua Chen
Fix the following errors reported by checkpatch: ERROR: "foo* const bar" should be "foo * const bar" ERROR: that open brace { should be on the previous line Signed-off-by: GuoHua Chen --- drivers/gpu/drm/vmwgfx/vmwgfx_msg.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

[PATCH] drm/amdgpu: Clean up errors in atomfirmwareid.h

2024-01-11 Thread chenxuebing
Fix the following errors reported by checkpatch: ERROR: open brace '{' following enum go on the same line Signed-off-by: chenxuebing --- drivers/gpu/drm/amd/include/atomfirmwareid.h | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git

[PATCH] drm/radeon/dpm: Clean up errors in sumo_dpm.c

2024-01-11 Thread GuoHua Chen
Fix the following errors reported by checkpatch: ERROR: that open brace { should be on the previous line ERROR: space prohibited before that close parenthesis ')' ERROR: spaces required around that '?' (ctx:VxW) Signed-off-by: GuoHua Chen --- drivers/gpu/drm/radeon/sumo_dpm.c | 18

[PATCH] drm/radeon/ci_dpm: Clean up errors in ci_dpm.c

2024-01-11 Thread GuoHua Chen
Fix the following errors reported by checkpatch: ERROR: that open brace { should be on the previous line ERROR: need consistent spacing around '-' (ctx:WxV) ERROR: space required before the open parenthesis '(' ERROR: "foo* bar" should be "foo *bar" Signed-off-by: GuoHua Chen ---

[PATCH] drm/amdgpu: Clean up errors in atom-bits.h

2024-01-11 Thread chenxuebing
Fix the following errors reported by checkpatch: ERROR: space prohibited before that ',' (ctx:WxV) Signed-off-by: chenxuebing --- drivers/gpu/drm/amd/include/atom-bits.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/include/atom-bits.h

[PATCH] drm/radeon: Clean up errors in radeon_atpx_handler.c

2024-01-11 Thread GuoHua Chen
Fix the following errors reported by checkpatch: ERROR: open brace '{' following function definitions go on the next line Signed-off-by: GuoHua Chen --- drivers/gpu/drm/radeon/radeon_atpx_handler.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git

[PATCH] drm/amdgpu: Clean up errors in navi10_ih.c

2024-01-11 Thread chenxuebing
Fix the following errors reported by checkpatch: ERROR: that open brace { should be on the previous line Signed-off-by: chenxuebing --- drivers/gpu/drm/amd/amdgpu/navi10_ih.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/navi10_ih.c

[PATCH] drm/amdgpu: Clean up errors in amdgpu_atomfirmware.h

2024-01-11 Thread chenxuebing
Fix the following errors reported by checkpatch: ERROR: "foo* bar" should be "foo *bar" Signed-off-by: chenxuebing --- drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h

[PATCH] drm/gma500: Clean up errors in opregion.h

2024-01-11 Thread GuoHua Chen
Fix the following errors reported by checkpatch: ERROR: space prohibited before that close parenthesis ')' Signed-off-by: GuoHua Chen --- drivers/gpu/drm/gma500/opregion.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/gma500/opregion.c

[PATCH] gma500: Clean up errors in psb_intel_sdvo_regs.h

2024-01-11 Thread GuoHua Chen
Fix the following errors reported by checkpatch: ERROR: space required after that close brace '}' Signed-off-by: GuoHua Chen --- drivers/gpu/drm/gma500/psb_intel_sdvo_regs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/gma500/psb_intel_sdvo_regs.h

[PATCH] drm/amd/include/navi14_ip_offset: Clean up errors in navi14_ip_offset.h

2024-01-11 Thread chenxuebing
Fix the following errors reported by checkpatch: ERROR: open brace '{' following struct go on the same line Signed-off-by: chenxuebing --- drivers/gpu/drm/amd/include/navi14_ip_offset.h | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git

[PATCH] drm/amd/amdgpu: Clean up errors in beige_goby_ip_offset.h

2024-01-11 Thread chenxuebing
Fix the following errors reported by checkpatch: ERROR: open brace '{' following struct go on the same line Signed-off-by: chenxuebing --- drivers/gpu/drm/amd/include/beige_goby_ip_offset.h | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git

[PATCH] drm/amdgpu: Clean up errors in atombios.h

2024-01-11 Thread chenxuebing
Fix the following errors reported by checkpatch: ERROR: open brace '{' following struct go on the same line ERROR: space required after that close brace '}' Signed-off-by: chenxuebing --- drivers/gpu/drm/amd/include/atombios.h | 74 +++--- 1 file changed, 30 insertions(+),

[PATCH] drm/amd: Clean up errors in sdma_v2_4.c

2024-01-11 Thread chenxuebing
Fix the following errors reported by checkpatch: ERROR: that open brace { should be on the previous line ERROR: trailing statements should be on next line Signed-off-by: chenxuebing --- drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c | 15 ++- 1 file changed, 6 insertions(+), 9 deletions(-)

[PATCH] drm/radeon/ni_dpm: Clean up errors in ni_dpm.c

2024-01-11 Thread GuoHua Chen
Fix the following errors reported by checkpatch: ERROR: open brace '{' following struct go on the same line Signed-off-by: GuoHua Chen --- drivers/gpu/drm/radeon/ni_dpm.h | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/radeon/ni_dpm.h

[PATCH] drm/radeon/dpm: Clean up errors in trinity_dpm.h

2024-01-11 Thread GuoHua Chen
Fix the following errors reported by checkpatch: ERROR: open brace '{' following struct go on the same line Signed-off-by: GuoHua Chen --- drivers/gpu/drm/radeon/trinity_dpm.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/radeon/trinity_dpm.h

[PATCH] drm/amdgpu: Clean up errors in gfx_v9_4.c

2024-01-11 Thread chenxuebing
Fix the following errors reported by checkpatch: ERROR: that open brace { should be on the previous line Signed-off-by: chenxuebing --- drivers/gpu/drm/amd/amdgpu/gfx_v9_4.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_4.c

[PATCH] drm: Clean up errors in drm_dp_helper.h

2024-01-11 Thread chenxuebing
Fix the following errors reported by checkpatch: ERROR: space prohibited before open square bracket '[' Signed-off-by: chenxuebing --- drivers/gpu/drm/display/drm_dp_helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/display/drm_dp_helper.c

[PATCH] drm/amd/include/vega10_ip_offset:Clean up errors in vega10_ip_offset.h

2024-01-11 Thread chenxuebing
Fix the following errors reported by checkpatch: ERROR: open brace '{' following enum go on the same line Signed-off-by: chenxuebing --- drivers/gpu/drm/amd/include/vega10_ip_offset.h | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git

[PATCH] drm/radeon: Clean up errors in ni.c

2024-01-11 Thread GuoHua Chen
Fix the following errors reported by checkpatch: ERROR: that open brace { should be on the previous line ERROR: trailing statements should be on next line Signed-off-by: GuoHua Chen --- drivers/gpu/drm/radeon/ni.c | 21 - 1 file changed, 8 insertions(+), 13 deletions(-)

[PATCH] drm/amdgpu: Clean up errors in discovery.h

2024-01-11 Thread chenxuebing
Fix the following errors reported by checkpatch: ERROR: open brace '{' following struct go on the same line ERROR: "foo* bar" should be "foo *bar" Signed-off-by: chenxuebing --- drivers/gpu/drm/amd/include/discovery.h | 32 + 1 file changed, 11 insertions(+), 21

[PATCH] drm/radeon/r100: Clean up errors in r100.c

2024-01-11 Thread GuoHua Chen
Fix the following errors reported by checkpatch: ERROR: spaces required around that '+=' (ctx:VxV)o Signed-off-by: GuoHua Chen --- drivers/gpu/drm/radeon/r100.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/radeon/r100.c b/drivers/gpu/drm/radeon/r100.c

[PATCH] drm/radeon/rv770: Clean up errors in rv770_dpm.c

2024-01-11 Thread GuoHua Chen
Fix the following errors reported by checkpatch: ERROR: space prohibited before that close parenthesis ')' Signed-off-by: GuoHua Chen --- drivers/gpu/drm/radeon/rv770_dpm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/radeon/rv770_dpm.c

[PATCH] drm/sti: Clean up errors in sti_hda.c

2024-01-11 Thread GuoHua Chen
Fix the following errors reported by checkpatch: ERROR: space prohibited before that ',' (ctx:WxW) Signed-off-by: GuoHua Chen --- drivers/gpu/drm/sti/sti_hda.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/sti/sti_hda.c b/drivers/gpu/drm/sti/sti_hda.c

[PATCH] drm/sti: Clean up errors in sti_mixer.c

2024-01-11 Thread GuoHua Chen
Fix the following errors reported by checkpatch: ERROR: do not initialise statics to 0x00 Signed-off-by: GuoHua Chen --- drivers/gpu/drm/sti/sti_mixer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/sti/sti_mixer.c b/drivers/gpu/drm/sti/sti_mixer.c

[PATCH] drm/amd/include/sienna_cichlid_ip_offset: Clean up errors in sienna_cichlid_ip_offset.h

2024-01-11 Thread chenxuebing
Fix the following errors reported by checkpatch: ERROR: open brace '{' following struct go on the same line Signed-off-by: chenxuebing --- drivers/gpu/drm/amd/include/sienna_cichlid_ip_offset.h | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git

[PATCH] drm/amd: Clean up errors in amdgpu_vkms.c

2024-01-11 Thread chenxuebing
Fix the following errors reported by checkpatch: ERROR: that open brace { should be on the previous line Signed-off-by: chenxuebing --- drivers/gpu/drm/amd/amdgpu/amdgpu_vkms.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vkms.c

[PATCH] drm/amdgpu: Clean up errors in kgd_pp_interface.h

2024-01-11 Thread chenxuebing
Fix the following errors reported by checkpatch: ERROR: open brace '{' following enum go on the same line Signed-off-by: chenxuebing --- drivers/gpu/drm/amd/include/kgd_pp_interface.h | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git

[PATCH] drm/amdgpu: Clean up errors in displayobject.h

2024-01-11 Thread chenxuebing
Fix the following errors reported by checkpatch: ERROR: spaces required around that '=' (ctx:WxV) ERROR: space prohibited after that open parenthesis '(' Signed-off-by: chenxuebing --- drivers/gpu/drm/amd/include/displayobject.h | 72 ++--- 1 file changed, 36 insertions(+), 36

[PATCH] drm/amd/pp: Clean up errors in dm_pp_interface.h

2024-01-11 Thread chenxuebing
Fix the following errors reported by checkpatch: ERROR: open brace '{' following struct go on the same line ERROR: space prohibited before that ',' (ctx:WxE) Signed-off-by: chenxuebing --- drivers/gpu/drm/amd/include/dm_pp_interface.h | 9 - 1 file changed, 4 insertions(+), 5

[PATCH] drm/amdgpu: Clean up errors in v10_structs.h

2024-01-11 Thread chenxuebing
Fix the following errors reported by checkpatch: ERROR: open brace '{' following struct go on the same line Signed-off-by: chenxuebing --- drivers/gpu/drm/amd/include/v10_structs.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/include/v10_structs.h

[PATCH] drm/amd/include: Clean up errors in arct_ip_offset.h

2024-01-11 Thread chenxuebing
Fix the following errors reported by checkpatch: ERROR: open brace '{' following struct go on the same line Signed-off-by: chenxuebing --- drivers/gpu/drm/amd/include/arct_ip_offset.h | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git

[PATCH] drm/radeon: Clean up errors in radeon_asic.c

2024-01-11 Thread GuoHua Chen
Fix the following errors reported by checkpatch: ERROR: spaces required around that '||' (ctx:VxE) Signed-off-by: GuoHua Chen --- drivers/gpu/drm/radeon/radeon_asic.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_asic.c

[PATCH] drm/radeon/btc_dpm: Clean up errors in btc_dpm.c

2024-01-11 Thread GuoHua Chen
Fix the following errors reported by checkpatch: ERROR: that open brace { should be on the previous line ERROR: space required before the open parenthesis '(' ERROR: spaces required around that '+=' (ctx:VxV) ERROR: spaces required around that '=' (ctx:VxW) Signed-off-by: GuoHua Chen ---

[PATCH] drm/radeon: Clean up errors in uvd_v1_0.c

2024-01-11 Thread GuoHua Chen
Fix the following errors reported by checkpatch: ERROR: "(foo*)" should be "(foo *)" Signed-off-by: GuoHua Chen --- drivers/gpu/drm/radeon/uvd_v1_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/radeon/uvd_v1_0.c b/drivers/gpu/drm/radeon/uvd_v1_0.c index

[PATCH] drm/edid: Clean up errors in drm_edid.h

2024-01-11 Thread chenxuebing
Fix the following errors reported by checkpatch: ERROR: do not use assignment in if condition Signed-off-by: chenxuebing --- drivers/gpu/drm/drm_edid.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c index

[PATCH] drm/radeon: Clean up errors in ni_dpm.c

2024-01-11 Thread GuoHua Chen
Fix the following errors reported by checkpatch: ERROR: space prohibited before that ',' (ctx:WxV) ERROR: space required after that ',' (ctx:WxV) Signed-off-by: GuoHua Chen --- drivers/gpu/drm/radeon/atom-bits.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH] drm/amd: Clean up errors in vega10_ip_offset.h

2024-01-11 Thread chenxuebing
Fix the following errors reported by checkpatch: ERROR: open brace '{' following struct go on the same line Signed-off-by: chenxuebing --- drivers/gpu/drm/amd/include/cyan_skillfish_ip_offset.h | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git

[PATCH] drm/amdgpu: Clean up errors in navi12_ip_offset.h

2024-01-11 Thread chenxuebing
Fix the following errors reported by checkpatch: ERROR: open brace '{' following struct go on the same line Signed-off-by: chenxuebing --- drivers/gpu/drm/amd/include/navi12_ip_offset.h | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git

[PATCH] drm/radeon: Clean up errors in atombios.h

2024-01-11 Thread XueBing Chen
Fix the following errors reported by checkpatch: ERROR: open brace '{' following struct go on the same line ERROR: space required after that close brace '}' Signed-off-by: XueBing Chen --- drivers/gpu/drm/radeon/atombios.h | 135 -- 1 file changed, 54 insertions(+),

Re: [PATCH v5 0/8] iio: new DMABUF based API, v5

2024-01-11 Thread Paul Cercueil
Hi Andrew, Le lundi 08 janvier 2024 à 15:12 -0600, Andrew Davis a écrit : > On 12/19/23 11:50 AM, Paul Cercueil wrote: > > [V4 was: "iio: Add buffer write() support"][1] > > > > Hi Jonathan, > > > > This is a respin of the V3 of my patchset that introduced a new > > interface based on DMABUF

[PATCH] drm/radeon: Clean up errors in kv_smc.c

2024-01-11 Thread GuoHua Chen
Fix the following errors reported by checkpatch: ERROR: spaces required around that '=' (ctx:VxW) Signed-off-by: GuoHua Chen --- drivers/gpu/drm/radeon/kv_smc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/radeon/kv_smc.c b/drivers/gpu/drm/radeon/kv_smc.c

[PATCH] drm/radeon: Clean up errors in rv515.c

2024-01-11 Thread GuoHua Chen
Fix the following errors reported by checkpatch: ERROR: that open brace { should be on the previous line Signed-off-by: GuoHua Chen --- drivers/gpu/drm/radeon/rv515.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/radeon/rv515.c

[PATCH] drm/radeon/kms: Clean up errors in smu7_fusion.h

2024-01-11 Thread GuoHua Chen
Fix the following errors reported by checkpatch: ERROR: open brace '{' following struct go on the same line ERROR: space prohibited before open square bracket '[' Signed-off-by: GuoHua Chen --- drivers/gpu/drm/radeon/smu7_fusion.h | 42 +++- 1 file changed, 16

[PATCH] drm/radeon: Clean up errors in si.c

2024-01-11 Thread XueBing Chen
Fix the following errors reported by checkpatch: ERROR: that open brace { should be on the previous line ERROR: trailing statements should be on next lineo Signed-off-by: XueBing Chen --- drivers/gpu/drm/radeon/si.c | 63 + 1 file changed, 22 insertions(+),

Re: [PATCH] drm: use ATOMIC64_INIT() for atomic64_t

2024-01-11 Thread Jani Nikula
On Thu, 11 Jan 2024, Jonathan Gray wrote: > use ATOMIC64_INIT() not ATOMIC_INIT() for atomic64_t > > Fixes: 3f09a0cd4ea3 ("drm: Add common fdinfo helper") > Signed-off-by: Jonathan Gray Reviewed-by: Jani Nikula > --- > drivers/gpu/drm/drm_file.c | 2 +- > 1 file changed, 1 insertion(+), 1

Re: [PATCH] drm: Clean up errors in drm_dp_mst_topology.h

2024-01-11 Thread Jani Nikula
On Thu, 11 Jan 2024, chenxuebing wrote: > Fix the following errors reported by checkpatch: > > ERROR: space prohibited before open square bracket '[' Same here, checkpatch just isn't clever enough to realize it's within a macro. BR, Jani. > > Signed-off-by: chenxuebing > --- >

[PATCH v3 0/2] drm/imx/dcss: implement region request and devres

2024-01-11 Thread Philipp Stanner
OK, I messed up the ARM64 build. That's what you get for living on x86 for years and decades. Mea culpa. Should work now. -- Changes in v3: - Fix build errors (missing variable, forgotten remove to call of deleted function) Changes in v2: - Add the region-request to this patch-series. That

  1   2   >