Fix to return a negative error code from the error handling case
instead of 0 in function dpu_mdss_init(), as done elsewhere in this
function.
Fixes: 070e64dc1bbc ("drm/msm/dpu: Convert to a chained irq chip")
Reported-by: Hulk Robot
Signed-off-by: Chen Zhou
---
drivers/gpu/drm/msm
Remove duplicate header which is included twice.
Signed-off-by: Chen Zhou
---
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_hwseq.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/display/dc/dcn30/dcn30_hwseq.c
b/drivers/gpu/drm/amd/display/dc/dcn30/dcn30_hwseq.c
index
Remove duplicate headers which are included twice.
Signed-off-by: Chen Zhou
---
drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c
b/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c
index
There is a spelling mistake in comment, fix it.
Signed-off-by: Chen Zhou
---
drivers/gpu/drm/i915/gt/intel_engine_pm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/gt/intel_engine_pm.c
b/drivers/gpu/drm/i915/gt/intel_engine_pm.c
index b6cf284
The conversion to bool is not needed, remove it.
Signed-off-by: Chen Zhou
---
drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c
b/drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c
index 0995378..20f10a5 100644
This silences the following coccinelle warning:
"WARNING: sum of probable bitmasks, consider |"
Signed-off-by: Chen Zhou
---
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/power
Fixes coccicheck warnings:
./drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c:2198:40-45: WARNING:
conversion to bool not needed here
./drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:2884:68-73: WARNING:
conversion to bool not needed here
Signed-off-by: Chen Zhou
---
drivers/gpu/drm/amd
Fixes coccicheck warning:
./drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c:2180:40-45: WARNING
conversion to bool not needed here
and many more similar messages.
Signed-off-by: Chen Zhou
---
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions
Fixes coccicheck warning:
./drivers/gpu/drm/amd/amdgpu/vega10_ih.c:720:40-45: WARNING:
conversion to bool not needed here
Signed-off-by: Chen Zhou
---
drivers/gpu/drm/amd/amdgpu/vega10_ih.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu
ode.
Fixes: 775d2ffb4af6 ("backlight: qcom-wled: Restructure the driver for WLED3")
Signed-off-by: Chen Zhou
Reviewed-by: Bjorn Andersson
---
changes in v2:
- fix commit message description.
---
drivers/video/backlight/qcom-wled.c | 4 ++--
1 file changed, 2 insertions(+), 2 delet
Fixes coccicheck warning:
./drivers/gpu/drm/amd/amdgpu/nv.c:953:40-45: WARNING:
conversion to bool not needed here
and many more similar messages.
Signed-off-by: Chen Zhou
---
drivers/gpu/drm/amd/amdgpu/nv.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a
Fixes coccicheck warning:
./drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c:4737:43-48: WARNING:
conversion to bool not needed here
Signed-off-by: Chen Zhou
---
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd
Fixes coccicheck warning:
./drivers/gpu/drm/amd/amdgpu/soc15.c:1474:40-45: WARNING:
conversion to bool not needed here
and many more similar messages.
Signed-off-by: Chen Zhou
---
drivers/gpu/drm/amd/amdgpu/soc15.c | 28 ++--
1 file changed, 14 insertions
Fixes coccicheck warning:
./drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c:1528:40-45: WARNING:
conversion to bool not needed here
./drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c:1530:40-45: WARNING:
conversion to bool not needed here
Signed-off-by: Chen Zhou
---
drivers/gpu/drm/amd/amdgpu
Fixes coccicheck warning:
./drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c:530:51-56: WARNING:
conversion to bool not needed here
Signed-off-by: Chen Zhou
---
drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu
Fixes coccicheck warning:
./drivers/gpu/drm/amd/amdgpu/athub_v1_0.c:77:40-45: WARNING:
conversion to bool not needed here
./drivers/gpu/drm/amd/amdgpu/athub_v1_0.c:79:40-45: WARNING:
conversion to bool not needed here
Signed-off-by: Chen Zhou
---
drivers/gpu/drm/amd/amdgpu
Fixes coccicheck warning:
./drivers/gpu/drm/amd/amdgpu/athub_v2_0.c:80:40-45: WARNING:
conversion to bool not needed here
./drivers/gpu/drm/amd/amdgpu/athub_v2_0.c:82:40-45: WARNING:
conversion to bool not needed here
Signed-off-by: Chen Zhou
---
drivers/gpu/drm/amd/amdgpu
This patch series remove unnecessary conversion to bool in dir
drivers/gpu/drm/amd/amdgpu/, which is detected by coccicheck.
Chen Zhou (14):
drm/amdgpu: remove unnecessary conversion to bool in mmhub_v1_0.c
drm/amdgpu: remove unnecessary conversion to bool in vega10_ih.c
drm/amdgpu: remove
Hi Bjorn,
On 2020/1/22 8:39, Bjorn Andersson wrote:
> On Mon 20 Jan 05:01 PST 2020, Chen Zhou wrote:
>
>> Fixes coccicheck warning:
>> ./drivers/video/backlight/qcom-wled.c:1104:5-15:
>> WARNING: Unsigned expression compared with zero: string_len > 0
>>
&g
Fixes coccicheck warning:
./drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c:628:40-45: WARNING:
conversion to bool not needed here
./drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c:630:40-45: WARNING:
conversion to bool not needed here
Signed-off-by: Chen Zhou
---
drivers/gpu/drm/amd/amdgpu
Fixes coccicheck warning:
./drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:2883:68-73: WARNING:
conversion to bool not needed here
and many more similar messages.
Signed-off-by: Chen Zhou
---
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 8 +++-
1 file changed, 3 insertions(+), 5
Fixes coccicheck warning:
./drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c:526:40-45: WARNING:
conversion to bool not needed here
./drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c:528:40-45: WARNING:
conversion to bool not needed here
Signed-off-by: Chen Zhou
---
drivers/gpu/drm/amd/amdgpu
Fixes coccicheck warning:
./drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c:4259:43-48: WARNING:
conversion to bool not needed here
and many more similar messages.
Signed-off-by: Chen Zhou
---
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 4 ++--
drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c | 4 ++--
2
Fixes coccicheck warning:
./drivers/gpu/drm/amd/amdgpu/navi10_ih.c:429:40-45: WARNING:
conversion to bool not needed here
Signed-off-by: Chen Zhou
---
drivers/gpu/drm/amd/amdgpu/navi10_ih.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu
xes: 775d2ffb4af6 ("backlight: qcom-wled: Restructure the driver for WLED3")
Signed-off-by: Chen Zhou
---
drivers/video/backlight/qcom-wled.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/video/backlight/qcom-wled.c
b/drivers/video/backlight/qcom-wled.c
index d46
The conversion to bool is not needed, remove it.
Signed-off-by: Chen Zhou
---
drivers/gpu/drm/nouveau/nouveau_ttm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/nouveau/nouveau_ttm.c
b/drivers/gpu/drm/nouveau/nouveau_ttm.c
index 7ca0a24..0cbcbe1 100644
struct
iommu_fwspec has no member named ids
u32 sid = spec->ids[0] & 0x;
Seletc IOMMU_API under config DRM_NOUVEAU to fix this.
Reported-by: Hulk Robot
Signed-off-by: Chen Zhou
---
drivers/gpu/drm/nouveau/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/nouveau/Kcon
u/drm/i915/display/intel_panel.o: In function
`intel_backlight_device_unregister':
intel_panel.c:(.text+0x4e96): undefined reference to
`backlight_device_unregister'
This patch select BACKLIGHT_CLASS_DEVICE directly.
Reported-by: Hulk Robot
Signed-off-by: Chen Zhou
---
drivers/gpu/
On 2020/1/8 21:44, Jani Nikula wrote:
> On Wed, 08 Jan 2020, Chen Zhou wrote:
>> Fix build error:
>> lib/crypto/chacha.c: In function chacha_permute:
>> lib/crypto/chacha.c:65:1: warning: the frame size of 3384 bytes is larger
>> than 2048 bytes [-Wframe-larger-than=]
();
^~
wrmsr_on_cpus
Reported-by: Hulk Robot
Signed-off-by: Chen Zhou
---
changes in v2:
- correct build error messages.
---
drivers/gpu/drm/i915/gt/intel_ggtt.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/i915/gt/intel_ggtt.c
b/drivers/gpu
Fix build error:
lib/crypto/chacha.c: In function chacha_permute:
lib/crypto/chacha.c:65:1: warning: the frame size of 3384 bytes is larger than
2048 bytes [-Wframe-larger-than=]
}
^
Reported-by: Hulk Robot
Signed-off-by: Chen Zhou
---
drivers/gpu/drm/i915/gt/intel_ggtt.c | 1 +
1 file
Fixes gcc '-Wunused-but-set-variable' warning:
drivers/gpu/drm/gma500/psb_irq.c: In function psb_irq_turn_off_dpst:
drivers/gpu/drm/gma500/psb_irq.c:473:6:
warning: variable hist_reg set but not used [-Wunused-but-set-variable]
Reported-by: Hulk Robot
Signed-off-by:
amd/amdgpu/../display/dc/dce110/dce110_resource.c:768:6:
warning: symbol 'dce110_clock_source_destroy' was not declared. Should
it be static?
Reported-by: Hulk Robot
Signed-off-by: Chen Zhou
---
drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c | 10 +-
1 file changed
aiting for unfinished jobs
make: *** [drivers] Error 2
Fixes: 6529007522de (drm: of: Add drm_of_lvds_get_dual_link_pixel_order)
Reported-by: Hulk Robot
Signed-off-by: Chen Zhou
---
include/drm/drm_of.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/drm/drm_of.h b/i
ng: symbol 'restore_border_left_from_dst' was not declared. Should
it be static?
Fixes: 89d07b662f5e (drm/amd/display: fix 270 degree rotation for mixed-SLS
mode)
Reported-by: Hulk Robot
Signed-off-by: Chen Zhou
---
drivers/gpu/drm/amd/display/dc/core/dc_resource.c | 4 ++--
1 file changed, 2 insertions(+),
35 matches
Mail list logo