[PATCH v1 07/28] video: fbdev: sis: Fix W=1 warnings about static symbols

2020-11-27 Thread Sam Ravnborg
init.h define static symbols, so should only be included once. Drop the include from sis.h as it is not needed. This fixes a lot of warnings seen with a W=1 build. Signed-off-by: Sam Ravnborg Cc: Thomas Winischhofer --- drivers/video/fbdev/sis/sis.h | 1 - 1 file changed, 1 deletion(-) diff --

[PATCH v1 12/28] video: fbdev: tdfx: Fix W=1 warnings

2020-11-27 Thread Sam Ravnborg
Fix W=1 warning about unused assignment. Fix by dropping the local variable. Signed-off-by: Sam Ravnborg Cc: "Gustavo A. R. Silva" Cc: Sam Ravnborg Cc: Jani Nikula Cc: Daniel Vetter Cc: Arnd Bergmann --- drivers/video/fbdev/tdfxfb.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)

[PATCH v1 08/28] video: fbdev: sis: Fix W=1 warning about SiS_TVDelay

2020-11-27 Thread Sam Ravnborg
Fix W=1 warning by commenting unused SiS_TVDelay* variables. The SiS_TVDelay* variables seem to contain some magic numbers so looks like data worth keeping around but not as code we build. Signed-off-by: Sam Ravnborg Cc: Thomas Winischhofer --- drivers/video/fbdev/sis/oem310.h | 2 ++ 1 file c

[PATCH v1 11/28] video: fbdev: via: Fix W=1 warnings

2020-11-27 Thread Sam Ravnborg
Fix W=1 warnings about unused assignment. Fixed by dropping the assignment and deleting the local variable. Signed-off-by: Sam Ravnborg Cc: Florian Tobias Schandinat Cc: linux-fb...@vger.kernel.org --- drivers/video/fbdev/via/lcd.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff

[PATCH v1 16/28] video: fbdev: hgafb: Fix W=1 warnings

2020-11-27 Thread Sam Ravnborg
Fix kernel-doc comments. Signed-off-by: Sam Ravnborg Cc: Ferenc Bakonyi Cc: linux-nvi...@lists.surfsouth.com --- drivers/video/fbdev/hgafb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/video/fbdev/hgafb.c b/drivers/video/fbdev/hgafb.c index a45fcff1461f..69af

[PATCH v1 13/28] video: fbdev: riva: Fix W=1 warnings

2020-11-27 Thread Sam Ravnborg
Fix W=1 warnings: - Fix kernel-doc - Drop unused variables/code Signed-off-by: Sam Ravnborg Cc: Antonino Daplas Cc: linux-fb...@vger.kernel.org --- drivers/video/fbdev/riva/fbdev.c | 9 - drivers/video/fbdev/riva/riva_hw.c | 28 2 files changed, 12 insert

[PATCH v1 18/28] video: fbdev: mx3fb: Fix W=1 warnings

2020-11-27 Thread Sam Ravnborg
Fix W=1 warnings: - Fix kernel-doc - Drop unused code/variables Signed-off-by: Sam Ravnborg Cc: Sam Ravnborg Cc: Jani Nikula Cc: Laurent Pinchart Cc: Daniel Vetter Cc: Xiaofei Tan Cc: Arnd Bergmann --- drivers/video/fbdev/mx3fb.c | 13 - 1 file changed, 8 insertions(+), 5 delet

[PATCH v1 15/28] video: fbdev: neofb: Fix W=1 warnings

2020-11-27 Thread Sam Ravnborg
Fix W=1 warnigns by removing unused code Signed-off-by: Sam Ravnborg Cc: Bartlomiej Zolnierkiewicz Cc: Sam Ravnborg Cc: Andrew Morton Cc: Evgeny Novikov Cc: Jani Nikula Cc: Mike Rapoport --- drivers/video/fbdev/neofb.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/video/fb

[PATCH v1 20/28] video: fbdev: nvidia: Fix W=1 warnings

2020-11-27 Thread Sam Ravnborg
Fix warnings by deleting unused code Signed-off-by: Sam Ravnborg Cc: Antonino Daplas Cc: linux-fb...@vger.kernel.org --- drivers/video/fbdev/nvidia/nv_setup.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/video/fbdev/nvidia/nv_setup.c b/drivers/video/fbdev/

[PATCH v1 19/28] video: fbdev: sstfb: Fix W=1 warnings

2020-11-27 Thread Sam Ravnborg
Fix W=1 warnings by introducing no_printk variants for the internal logging system for this driver. Fix a new warning that popped up now that logging was checked for correct printf format strings. A more invasive fix had been to replace all the internal logging with standard logging primitives -

[PATCH v1 17/28] video: fbdev: tgafb: Fix W=1 warnings

2020-11-27 Thread Sam Ravnborg
Fix W=1 warnings: - Fix kernel-doc - Drop unused code Signed-off-by: Sam Ravnborg Cc: Sam Ravnborg Cc: Jani Nikula Cc: Bartlomiej Zolnierkiewicz Cc: Daniel Vetter Cc: Arnd Bergmann Cc: Joe Perches --- drivers/video/fbdev/tgafb.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-)

[PATCH v1 26/28] video: fbdev: uvesafb: Fix W=1 string related warnings

2020-11-27 Thread Sam Ravnborg
Two W=1 string related warnings. - Using strncpy to copy string wihtout null-termination is not good. Use memcpy to copy only the relevant chars - Fix a potential bug with a very long string, subtract one from the length to make room for the termination null. Signed-off-by: Sam Ravnborg Cc:

[PATCH v1 14/28] video: fbdev: pm2fb: Fix W=1 warnings

2020-11-27 Thread Sam Ravnborg
Fixed a few kernel-doc issues to fix the warnings. Signed-off-by: Sam Ravnborg Cc: Sam Ravnborg Cc: "Gustavo A. R. Silva" Cc: Randy Dunlap Cc: Arnd Bergmann Cc: Bartlomiej Zolnierkiewicz Cc: Jani Nikula --- drivers/video/fbdev/pm2fb.c | 8 1 file changed, 4 insertions(+), 4 deleti

[PATCH v1 23/28] video: fbdev: omapfb: Fix W=1 warnings in hdmi*_core

2020-11-27 Thread Sam Ravnborg
Fix a few W=1 warnings about unused assignments. Drop the unused error code. Signed-off-by: Sam Ravnborg Cc: Sam Ravnborg Cc: Qilong Zhang Cc: "Alexander A. Klimov" Cc: Daniel Vetter --- drivers/video/fbdev/omap2/omapfb/dss/hdmi4_core.c | 4 ++-- drivers/video/fbdev/omap2/omapfb/dss/hdmi5_co

[PATCH v1 25/28] video: fbdev: uvesafb: Fix W=1 warning

2020-11-27 Thread Sam Ravnborg
Fix W=1 warning by deleting unused local variable. Signed-off-by: Sam Ravnborg Cc: Michal Januszewski Cc: linux-fb...@vger.kernel.org --- drivers/video/fbdev/uvesafb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/video/fbdev/uvesafb.c b/drivers/video/fbdev/uve

[PATCH v1 24/28] video: fbdev: s3c-fb: Fix W=1 warnings

2020-11-27 Thread Sam Ravnborg
Fix several W=1 warnings - Updated kernel-doc as needed - Deleted unused local variable, it was assigned but never used Signed-off-by: Sam Ravnborg Cc: Jingoo Han Cc: linux-fb...@vger.kernel.org --- drivers/video/fbdev/s3c-fb.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-)

[PATCH v1 27/28] video: fbdev: cirrusfb: Fix W=1 warnings

2020-11-27 Thread Sam Ravnborg
Fix warnings: - fix kernel-doc - delete unused code Signed-off-by: Sam Ravnborg Cc: Thomas Zimemrmann Cc: Sam Ravnborg Cc: "Gustavo A. R. Silva" Cc: Daniel Vetter Cc: Saeed Mirzamohammadi Cc: Jani Nikula Cc: Mike Rapoport --- drivers/video/fbdev/cirrusfb.c | 20 +--- 1 fil

[PATCH v1 28/28] video: fbdev: s1d13xxxfb: Fix W=1 warnings

2020-11-27 Thread Sam Ravnborg
Fix following W=1 warnings: - Fix unused variables for variables used only for logging. Fixed by introducing no_printk() to trick compiler to think variables are used - Fix kernel-doc warning by deleting an empty comment line Signed-off-by: Sam Ravnborg Cc: Kristoffer Ericson --- drivers/vi

[PATCH v1 22/28] video: fbdev: omapfb: Fix W=1 warnings in dsi

2020-11-27 Thread Sam Ravnborg
Fix several W=1 warnings. This removes a little unused code and avoids an assignment by moving the use inside the conditional block. Signed-off-by: Sam Ravnborg Cc: Aditya Pakki Cc: Sam Ravnborg Cc: Bartlomiej Zolnierkiewicz --- drivers/video/fbdev/omap2/omapfb/dss/dsi.c | 12 +++- 1

[PATCH v1 21/28] video: fbdev: tmiofb: Fix W=1 warnings

2020-11-27 Thread Sam Ravnborg
Fix W=1 warnings by avoiding local variables and use direct references. Signed-off-by: Sam Ravnborg Cc: Daniel Vetter Cc: Sam Ravnborg Cc: Jani Nikula --- drivers/video/fbdev/tmiofb.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/video/fbdev/tmiofb.c b/driv

Re: [git pull] drm fixes for 5.10-rc6

2020-11-27 Thread pr-tracker-bot
The pull request you sent on Fri, 27 Nov 2020 18:37:15 +1000: > git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2020-11-27-1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/6910b676898934c2abe9f3ff3d60f4d4bc8afda8 Thank you! -- Deet-doot-dot, I am a bot. https:/

RE: [Intel-gfx] [PATCH] drm/i915/ehl: Remove require_force_probe protection

2020-11-27 Thread Chris Wilson
Quoting Pandey, Hariom (2020-10-28 11:55:04) > Ok, I have initiated the steps to upgrade the CI machine's silicon & BIOS. The single ehl we have in CI is still failing to enter rc6, both in the selftest and runtime testing. And I note that RAPL doesn't recognise it, so it doesn't report the power

[PATCH rdma-core v3 1/6] Update kernel headers

2020-11-27 Thread Jianxin Xiong
To commit 2eef437c4669 ("RDMA/uverbs: Add uverbs command for dma-buf based MR registration"). Signed-off-by: Jianxin Xiong --- kernel-headers/rdma/ib_user_ioctl_cmds.h | 14 ++ kernel-headers/rdma/ib_user_verbs.h | 14 -- 2 files changed, 14 insertions(+), 14 deletio

[PATCH rdma-core v3 2/6] verbs: Support dma-buf based memory region

2020-11-27 Thread Jianxin Xiong
Add new API function and new provider method for registering dma-buf based memory region. Update the man page and bump the API version. Signed-off-by: Jianxin Xiong --- debian/libibverbs1.symbols | 2 ++ libibverbs/CMakeLists.txt| 2 +- libibverbs/cmd_mr.c | 38 +

[PATCH rdma-core v3 3/6] mlx5: Support dma-buf based memory region

2020-11-27 Thread Jianxin Xiong
Implement the new provider method for registering dma-buf based memory regions. Signed-off-by: Jianxin Xiong --- providers/mlx5/mlx5.c | 2 ++ providers/mlx5/mlx5.h | 3 +++ providers/mlx5/verbs.c | 22 ++ 3 files changed, 27 insertions(+) diff --git a/providers/mlx5/mlx

[PATCH rdma-core v3 0/6] Add user space dma-buf support

2020-11-27 Thread Jianxin Xiong
This is the third version of the patch series. Change log: v3: * Add parameter 'iova' to the new ibv_reg_dmabuf_mr() API * Change the way of allocating dma-buf object - use /dev/dri/renderD* instead of /dev/dri/card* and use GEM object instead of dumb buffer * Add cmake function to allow buildin

[PATCH rdma-core v3 4/6] pyverbs: Add dma-buf based MR support

2020-11-27 Thread Jianxin Xiong
Define a new sub-class of 'MR' that uses dma-buf object for the memory region. Define a new class 'DmaBuf' as a wrapper for dma-buf allocation mechanism implemented in C. Add a method to buildlib for building modules with mixed Cython and C source. Signed-off-by: Jianxin Xiong --- buildlib/pyve

[PATCH rdma-core v3 5/6] tests: Add tests for dma-buf based memory regions

2020-11-27 Thread Jianxin Xiong
Define a set of unit tests similar to regular MR tests and a set of tests for send/recv and rdma traffic using dma-buf MRs. Add a utility function to generate access flags for dma-buf based MRs because the set of supported flags is smaller. Signed-off-by: Jianxin Xiong --- tests/test_mr.py | 239

[PATCH rdma-core v3 6/6] tests: Bug fix for get_access_flags()

2020-11-27 Thread Jianxin Xiong
The filter definition is wrong and causes get_access_flags() always returning empty list. As the result the MR tests using this function are effectively skipped (but report success). Signed-off-by: Jianxin Xiong --- tests/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -

Re: [PATCH v1 02/28] video: fbcon: Use pr_debug() in fbcon

2020-11-27 Thread Joe Perches
On Fri, 2020-11-27 at 20:57 +0100, Sam Ravnborg wrote: > Replacing DPRINTK() statements with pr_debug fixes > W=1 warnings. > And moves to a more standard logging setup at the same time. [] > diff --git a/drivers/video/fbdev/core/fbcon.c > b/drivers/video/fbdev/core/fbcon.c [] > @@ -1015,9 +1007,9

Re: [REGRESSION] omapdrm/N900 display broken

2020-11-27 Thread Tomi Valkeinen
On 27/11/2020 17:37, Ivaylo Dimitrov wrote: > With 5.9.11 and the patch on top, n900 boots fine, albeit display remains > blank, could be related to > brightness, we're still investigating. Ok. A DSS regdump for a working version and the latest one would be good too. There's a omapdss debugfs d

Re: [PATCH v1 02/28] video: fbcon: Use pr_debug() in fbcon

2020-11-27 Thread Sam Ravnborg
Hi Joe. On Fri, Nov 27, 2020 at 01:16:41PM -0800, Joe Perches wrote: > On Fri, 2020-11-27 at 20:57 +0100, Sam Ravnborg wrote: > > Replacing DPRINTK() statements with pr_debug fixes > > W=1 warnings. > > And moves to a more standard logging setup at the same time. > [] > > diff --git a/drivers/vide

Re: [PATCH v2] soc / drm: mediatek: cmdq: Remove timeout handler in helper function

2020-11-27 Thread Matthias Brugger
On 27/11/2020 15:42, Chun-Kuang Hu wrote: Hi, Matthias: Matthias Brugger 於 2020年11月27日 週五 下午8:40寫道: Hi Chun-Kuang, On 20/11/2020 00:46, Chun-Kuang Hu wrote: Hi, Matthias: I've provided the example for why of this patch. How do you think about this patch? Patch looks good to me. If you

Re: [PATCH] drm/komeda: Remove useless variable assignment

2020-11-27 Thread Liviu Dudau
On Fri, Nov 27, 2020 at 11:00:27AM +, carsten.haitz...@foss.arm.com wrote: > From: Carsten Haitzler > > ret is not actually read after this (only written in one case then > returned), so this assign line is useless. This removes that assignment. > > Signed-off-by: Carsten Haitzler Acked-by

Re: [PATCH] drm/komeda: Handle NULL pointer access code path in error case

2020-11-27 Thread Liviu Dudau
On Fri, Nov 27, 2020 at 11:00:54AM +, carsten.haitz...@foss.arm.com wrote: > From: Carsten Haitzler > > komeda_component_get_old_state() technically can return a NULL > pointer. komeda_compiz_set_input() even warns when this happens, but > then proceeeds to use that NULL pointer tocompare mem

Re: [PATCH v1 05/28] video: fbdev: aty: Fix W=1 warnings in atyfb_base

2020-11-27 Thread kernel test robot
Hi Sam, I love your patch! Yet something to improve: [auto build test ERROR on next-20201127] [also build test ERROR on v5.10-rc5] [cannot apply to tegra-drm/drm/tegra/for-next soc/for-next linus/master drm/drm-next v5.10-rc5 v5.10-rc4 v5.10-rc3] [If your patch is applied to the wrong git tree

Re: [PATCH 1/4] soc / drm: mediatek: Move DDP component defines into mtk-mmsys.h

2020-11-27 Thread Matthias Brugger
On 06/10/2020 21:33, Enric Balletbo i Serra wrote: From: Yongqiang Niu MMSYS is the driver which controls the routing of these DDP components, so the definition of the mtk_ddp_comp_id enum should be placed in mtk-mmsys.h Signed-off-by: Yongqiang Niu Reviewed-by: Chun-Kuang Hu Signed-off-b

<    1   2   3   4