Re: [PATCH 02/11] video: fbdev: kconfig: Remove blank help text

2018-02-01 Thread Masahiro Yamada
emove them, IMO. FYI. I picked up this patch to kbuild because I need this to suppress warning messages introduced by 11/11. I am planning to send a PR for this series. -- Best Regards Masahiro Yamada ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PATCH 00/12] radix-tree: split out struct radix_tree_root out to

2017-10-11 Thread Masahiro Yamada
2017-10-10 21:18 GMT+09:00 Matthew Wilcox <wi...@infradead.org>: > On Mon, Oct 09, 2017 at 01:10:01AM +0900, Masahiro Yamada wrote: >> Reducing the header dependency will help for speeding the kernel >> build, suppressing unnecessary recompile of objects during >> gi

[PATCH 12/12] drm/i915: replace with

2017-10-09 Thread Masahiro Yamada
accessors are used. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- drivers/gpu/drm/i915/i915_gem.c| 1 + drivers/gpu/drm/i915/i915_gem_context.c| 1 + drivers/gpu/drm/i915/i915_gem_context.h| 2 +- drivers/gpu/drm/i915/i915_gem_execbuffer.c | 1 + drivers/g

[PATCH 00/12] radix-tree: split out struct radix_tree_root out to

2017-10-09 Thread Masahiro Yamada
. Perhaps, the first two for v4.15. Then, rest of series will be sent per-subsystem for v4.16? Or, can somebody take care of the whole series? I checked allmodconfig for x86 and arm64. I am expecting 0 day testing will check it too. Masahiro Yamada (12): radix-tree: replace with radix

Re: [PATCH 00/12] radix-tree: split out struct radix_tree_root out to

2017-10-09 Thread Masahiro Yamada
2017-10-09 3:52 GMT+09:00 Leon Romanovsky <leo...@mellanox.com>: > On Mon, Oct 09, 2017 at 01:10:01AM +0900, Masahiro Yamada wrote: > > <...> >> >> By splitting out the radix_tree_root definition, >> we can reduce the header file dependency. >>

Re: [PATCH v3 12/16] drm/stm: remove unneeded -Iinclude/drm compiler flag

2017-05-22 Thread Masahiro Yamada
Hi Daniel, 2017-05-22 16:37 GMT+09:00 Daniel Vetter <dan...@ffwll.ch>: > On Thu, May 18, 2017 at 01:29:49PM +0900, Masahiro Yamada wrote: >> With the include directives under include/drm/ fixed, this flag is >> no longer needed. >> >> Signed-off-by: Masahiro Yama

[PATCH] drm: remove NULL pointer check for clk_disable_unprepare

2017-05-21 Thread Masahiro Yamada
After long term efforts of fixing non-common clock implementations, clk_disable() is a no-op for a NULL pointer input, and this is now tree-wide consistent. All clock consumers can safely call clk_disable(_unprepare) without NULL pointer check. Signed-off-by: Masahiro Yamada <yamada.ma

Re: [PATCH] drm/stm: add COMPILE_TEST to Kconfig (fwd)

2017-05-21 Thread Masahiro Yamada
MPILE_TEST to Kconfig >> >> CC: kbuild-...@01.org >> In-Reply-To: >> <1495082711-10535-1-git-send-email-yamada.masah...@socionext.com> >> TO: Masahiro Yamada <yamada.masah...@socionext.com> >> CC: dri-devel@lists.freedesktop.org, Daniel Vetter

Re: [PATCH] drm: remove NULL pointer check for clk_disable_unprepare

2017-05-21 Thread Masahiro Yamada
2017-05-21 2:58 GMT+09:00 Masahiro Yamada <yamada.masah...@socionext.com>: > After long term efforts of fixing non-common clock implementations, > clk_disable() is a no-op for a NULL pointer input, and this is now > tree-wide consistent. > > All clock consumers can sa

Re: [PATCH v2 00/29] gpu/drm: remove -Iinclude/drm compiler flags from Makefile

2017-05-19 Thread Masahiro Yamada
Hi Daniel, 2017-05-18 14:38 GMT+09:00 Daniel Vetter <dan...@ffwll.ch>: > On Mon, Apr 24, 2017 at 01:50:18PM +0900, Masahiro Yamada wrote: >> Many Makefiles needed to add -Iinclude/drm as an include path, >> but the right thing to do is to include headers in t

[PATCH v3 05/16] drm/i810: remove unneeded -Iinclude/drm compiler flag

2017-05-18 Thread Masahiro Yamada
With the include directives under include/drm/ fixed, this flag is no longer needed. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- Changes in v3: None drivers/gpu/drm/i810/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/i810/Makefile b/d

[PATCH v3 07/16] drm/mga: remove unneeded -Iinclude/drm compiler flag

2017-05-18 Thread Masahiro Yamada
With the include directives under include/drm/ fixed, this flag is no longer needed. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- Changes in v3: None drivers/gpu/drm/mga/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/mga/Makefile b/drive

[PATCH v3 11/16] drm/sis: remove unneeded -Iinclude/drm compiler flag

2017-05-18 Thread Masahiro Yamada
With the include directives under include/drm/ fixed, this flag is no longer needed. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- Changes in v3: None drivers/gpu/drm/sis/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/sis/Makefile b/drive

[PATCH v3 00/16] gpu/drm: remove -Iinclude/drm compiler flags from Makefile

2017-05-18 Thread Masahiro Yamada
Many Makefiles needed to add -Iinclude/drm as an include path, but the right thing to do is to include headers in the form #include This series fixes the source files, then rip off -Iinclude/drm flags. V3: rebased on commit bb2af9bda33 (drm-misc-next) Masahiro Yamada (16): drm/vc4: fix

[PATCH v3 01/16] drm/vc4: fix include notation and remove -Iinclude/drm flag

2017-05-18 Thread Masahiro Yamada
Include instead of relative path from include/drm, then remove the -Iinclude/drm compiler flag. While we are here, use <...> instead of "..." for include/linux/*.h and include/sound/*.h headers too. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- Cha

Re: [PATCH v2 15/29] drm/vc4: fix include notation and remove -Iinclude/drm flag

2017-05-18 Thread Masahiro Yamada
Hi Daniel, 2017-05-17 21:40 GMT+09:00 Daniel Vetter <dan...@ffwll.ch>: > On Mon, Apr 24, 2017 at 01:50:33PM +0900, Masahiro Yamada wrote: >> Include instead of relative path from include/drm, then >> remove the -Iinclude/drm compiler flag. >> >> Whi

[PATCH v3 15/16] drm/vgem: remove unneeded -Iinclude/drm compiler flag

2017-05-18 Thread Masahiro Yamada
With the include directives under include/drm/ fixed, this flag is no longer needed. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- Changes in v3: None drivers/gpu/drm/vgem/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/vgem/Makefile b/d

[PATCH] drm/stm: add COMPILE_TEST to Kconfig

2017-05-18 Thread Masahiro Yamada
Add COMPILE_TEST for the compilation test coverage. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- drivers/gpu/drm/stm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/stm/Kconfig b/drivers/gpu/drm/stm/Kconfig index 2c4817f..7

[PATCH v3 13/16] drm/tdfx: remove unneeded -Iinclude/drm compiler flag

2017-05-18 Thread Masahiro Yamada
With the include directives under include/drm/ fixed, this flag is no longer needed. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- Changes in v3: None drivers/gpu/drm/tdfx/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/tdfx/Makefile b/d

[PATCH v3 06/16] drm/i2c: remove unneeded -Iinclude/drm compiler flag

2017-05-18 Thread Masahiro Yamada
With the include directives under include/drm/ fixed, this flag is no longer needed. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- Changes in v3: None drivers/gpu/drm/i2c/Makefile | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/i2c/Makefile b/d

[PATCH v3 09/16] drm/r128: remove unneeded -Iinclude/drm compiler flag

2017-05-18 Thread Masahiro Yamada
With the include directives under include/drm/ fixed, this flag is no longer needed. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- Changes in v3: None drivers/gpu/drm/r128/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/r128/Makefile b/d

[PATCH v3 08/16] drm/omap: remove unneeded -Iinclude/drm compiler flag

2017-05-18 Thread Masahiro Yamada
With the include directives under include/drm/ fixed, this flag is no longer needed. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- Changes in v3: None drivers/gpu/drm/omapdrm/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/omapdrm/Make

[PATCH v3 03/16] drm/vmwgfx: fix include notation and remove -Iinclude/drm flag

2017-05-18 Thread Masahiro Yamada
Include instead of relative path from include/drm, then remove the -Iinclude/drm compiler flag. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- Changes in v3: None drivers/gpu/drm/vmwgfx/Makefile | 3 --- drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c | 3 ++- drive

[PATCH v3 10/16] drm/savage: remove unneeded -Iinclude/drm compiler flag

2017-05-18 Thread Masahiro Yamada
With the include directives under include/drm/ fixed, this flag is no longer needed. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- Changes in v3: None drivers/gpu/drm/savage/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/savage/Make

[PATCH] drm/amd: include instead of "linux/delay.h"

2017-05-18 Thread Masahiro Yamada
Use <...> notation to include headers located in include/linux. While we are here, tweak the includes order a bit to sort them alphabetically. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c| 4 ++-- drivers

[PATCH v3 14/16] drm/udl: remove unneeded -Iinclude/drm compiler flag

2017-05-18 Thread Masahiro Yamada
With the include directives under include/drm/ fixed, this flag is no longer needed. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- Changes in v3: None drivers/gpu/drm/udl/Makefile | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/gpu/drm/udl/Makefile b/d

[PATCH v3 04/16] drm/gma500: remove unneeded -Iinclude/drm compiler flag

2017-05-18 Thread Masahiro Yamada
With the include directives under include/drm/ fixed, this flag is no longer needed. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- Changes in v3: None drivers/gpu/drm/gma500/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/gma500/Make

[PATCH v3 02/16] drm/virtio: fix include notation and remove -Iinclude/drm flag

2017-05-18 Thread Masahiro Yamada
Include instead of relative path from include/drm, then remove the -Iinclude/drm compiler flag. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- Changes in v3: None drivers/gpu/drm/virtio/Makefile | 2 -- drivers/gpu/drm/virtio/virtgpu_debugfs.c | 2 +- d

[PATCH v3 16/16] drm/via: remove unneeded -Iinclude/drm compiler flag

2017-05-18 Thread Masahiro Yamada
With the include directives under include/drm/ fixed, this flag is no longer needed. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- Changes in v3: None drivers/gpu/drm/via/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/via/Makefile b/drive

[PATCH v3 12/16] drm/stm: remove unneeded -Iinclude/drm compiler flag

2017-05-18 Thread Masahiro Yamada
With the include directives under include/drm/ fixed, this flag is no longer needed. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- Changes in v3: None drivers/gpu/drm/stm/Makefile | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/stm/Makefile b/d

[PATCH v2 21/29] drm/mga: remove unneeded -Iinclude/drm compiler flag

2017-04-24 Thread Masahiro Yamada
With the include directives under include/drm/ fixed, this flag is no longer needed. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- Changes in v2: None drivers/gpu/drm/mga/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/mga/Makefile b/drive

[PATCH v2 12/29] drm/qxl: fix include notation and remove -Iinclude/drm flag

2017-04-24 Thread Masahiro Yamada
Include instead of relative path from include/drm, then remove the -Iinclude/drm compiler flag. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- Changes in v2: - Sort the touched parts drivers/gpu/drm/qxl/Makefile | 2 -- drivers/gpu/drm/qxl/qxl_debugfs.

[PATCH v2 27/29] drm/udl: remove unneeded -Iinclude/drm compiler flag

2017-04-24 Thread Masahiro Yamada
With the include directives under include/drm/ fixed, this flag is no longer needed. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- Changes in v2: None drivers/gpu/drm/udl/Makefile | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/gpu/drm/udl/Makefile b/d

[PATCH v2 00/29] gpu/drm: remove -Iinclude/drm compiler flags from Makefile

2017-04-24 Thread Masahiro Yamada
Many Makefiles needed to add -Iinclude/drm as an include path, but the right thing to do is to include headers in the form #include This series fixes the source files, then rip off -Iinclude/drm flags. Masahiro Yamada (29): drm: make drm_panel.h self-contained drm/ttm: fix include

[PATCH v2 05/29] drm/bochs: fix include notation and remove -Iinclude/drm flag

2017-04-24 Thread Masahiro Yamada
Include instead of relative path from include/drm, then remove the -Iinclude/drm compiler flag. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- Changes in v2: None drivers/gpu/drm/bochs/Makefile | 1 - drivers/gpu/drm/bochs/bochs.h | 4 ++-- 2 files changed, 2 inse

[PATCH v2 28/29] drm/vgem: remove unneeded -Iinclude/drm compiler flag

2017-04-24 Thread Masahiro Yamada
With the include directives under include/drm/ fixed, this flag is no longer needed. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- Changes in v2: None drivers/gpu/drm/vgem/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/vgem/Makefile b/d

[PATCH v2 07/29] drm/cirrus: fix include notation and remove -Iinclude/drm flag

2017-04-24 Thread Masahiro Yamada
Include instead of relative path from include/drm, then remove the -Iinclude/drm compiler flag. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- Changes in v2: - Sort the touched part alphabetically drivers/gpu/drm/cirrus/Makefile | 1 - drivers/gpu/drm/

[PATCH v2 06/29] drm/bridge: fix include notation and remove -Iinclude/drm flag

2017-04-24 Thread Masahiro Yamada
Include instead of relative path from include/drm, then remove the -Iinclude/drm compiler flag. While we are here, sort the touched parts alphabetically. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> Reviewed-by: Andrzej Hajda <a.ha...@samsung.com> --- Changes in

[PATCH v2 14/29] drm/tilcdc: fix include notation and remove -Iinclude/drm flag

2017-04-24 Thread Masahiro Yamada
Include instead of relative path from include/drm, then remove the -Iinclude/drm compiler flag. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- Changes in v2: None drivers/gpu/drm/tilcdc/Makefile | 1 - drivers/gpu/drm/tilcdc/tilcdc_drv.c | 3 +-- 2 files chan

[PATCH v2 23/29] drm/r128: remove unneeded -Iinclude/drm compiler flag

2017-04-24 Thread Masahiro Yamada
With the include directives under include/drm/ fixed, this flag is no longer needed. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- Changes in v2: None drivers/gpu/drm/r128/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/r128/Makefile b/d

[PATCH v2 04/29] drm/ast: fix include notation and remove -Iinclude/drm flag

2017-04-24 Thread Masahiro Yamada
Include instead of relative path from include/drm, then remove the -Iinclude/drm compiler flag. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- Changes in v2: - Sort the touched part alphabetically drivers/gpu/drm/ast/Makefile | 2 -- drivers/gpu/drm/ast/ast_ttm

[PATCH v2 13/29] drm/radeon: fix include notation and remove -Iinclude/drm flag

2017-04-24 Thread Masahiro Yamada
Include instead of relative path from include/drm, then remove the -Iinclude/drm compiler flag. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> Reviewed-by: Michel Dänzer <michel.daen...@amd.com> --- Changes in v2: None drivers/gpu/drm/radeon/Makefile | 2 +-

[PATCH v2 17/29] drm/vmwgfx: fix include notation and remove -Iinclude/drm flag

2017-04-24 Thread Masahiro Yamada
Include instead of relative path from include/drm, then remove the -Iinclude/drm compiler flag. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- Changes in v2: None drivers/gpu/drm/vmwgfx/Makefile | 3 --- drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c | 3 ++- drive

[PATCH v2 19/29] drm/i810: remove unneeded -Iinclude/drm compiler flag

2017-04-24 Thread Masahiro Yamada
With the include directives under include/drm/ fixed, this flag is no longer needed. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- Changes in v2: None drivers/gpu/drm/i810/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/i810/Makefile b/d

[PATCH v2 20/29] drm/i2c: remove unneeded -Iinclude/drm compiler flag

2017-04-24 Thread Masahiro Yamada
With the include directives under include/drm/ fixed, this flag is no longer needed. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- Changes in v2: None drivers/gpu/drm/i2c/Makefile | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/i2c/Makefile b/d

[PATCH v2 03/29] drm/amd: fix include notation and remove -Iinclude/drm flag

2017-04-24 Thread Masahiro Yamada
Include instead of relative path from include/drm, then remove the -Iinclude/drm compiler flag. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> Reviewed-by: Michel Dänzer <michel.daen...@amd.com> --- Changes in v2: None drivers/gpu/drm/amd/amdgpu/Makefile | 2

[PATCH v2 02/29] drm/ttm: fix include notation and remove -Iinclude/drm flag

2017-04-24 Thread Masahiro Yamada
For the C file, include instead of relative path from include/drm. For headers in include/drm/ttm, simplify the with "*.h". This allows us to remove the -Iinclude/drm compiler flag from drivers/gpu/drm/ttm/Makefile (and from other drivers' Makefiles). Signed-off-by: Masah

[PATCH v2 09/29] drm/mgag200: fix include notation and remove -Iinclude/drm flag

2017-04-24 Thread Masahiro Yamada
Include instead of relative path from include/drm, then remove the -Iinclude/drm compiler flag. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- Changes in v2: - Sort the touched part alphabetically drivers/gpu/drm/mgag200/Makefile | 1 - drivers/gpu/drm/m

[PATCH v2 01/29] drm: make drm_panel.h self-contained

2017-04-24 Thread Masahiro Yamada
-ENOSYS and -EINVAL are referenced in some static inline functions. of_drm_find_pane() takes a pointer to struct device_node. Make this header self-contained to not depend on specific include order. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- Changes in v2: None i

[PATCH v2 18/29] drm/gma500: remove unneeded -Iinclude/drm compiler flag

2017-04-24 Thread Masahiro Yamada
With the include directives under include/drm/ fixed, this flag is no longer needed. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- Changes in v2: None drivers/gpu/drm/gma500/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/gma500/Make

[PATCH v2 22/29] drm/omap: remove unneeded -Iinclude/drm compiler flag

2017-04-24 Thread Masahiro Yamada
With the include directives under include/drm/ fixed, this flag is no longer needed. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- Changes in v2: None drivers/gpu/drm/omapdrm/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/omapdrm/Make

[PATCH v2 15/29] drm/vc4: fix include notation and remove -Iinclude/drm flag

2017-04-24 Thread Masahiro Yamada
Include instead of relative path from include/drm, then remove the -Iinclude/drm compiler flag. While we are here, use <...> instead of "..." for include/linux/*.h headers too. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- Changes in v2: None driver

[PATCH v2 10/29] drm/msm: fix include notation and remove -Iinclude/drm flag

2017-04-24 Thread Masahiro Yamada
Include instead of relative path from include/drm, then remove the -Iinclude/drm compiler flag. While we are here, sort the touched parts with public headers first. mdp4_kms.h must declare struct device_node to be self-contained. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.

[PATCH v2 24/29] drm/savage: remove unneeded -Iinclude/drm compiler flag

2017-04-24 Thread Masahiro Yamada
With the include directives under include/drm/ fixed, this flag is no longer needed. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- Changes in v2: None drivers/gpu/drm/savage/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/savage/Make

[PATCH v2 26/29] drm/tdfx: remove unneeded -Iinclude/drm compiler flag

2017-04-24 Thread Masahiro Yamada
With the include directives under include/drm/ fixed, this flag is no longer needed. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- Changes in v2: None drivers/gpu/drm/tdfx/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/tdfx/Makefile b/d

[PATCH v2 16/29] drm/virtio: fix include notation and remove -Iinclude/drm flag

2017-04-24 Thread Masahiro Yamada
Include instead of relative path from include/drm, then remove the -Iinclude/drm compiler flag. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- Changes in v2: None drivers/gpu/drm/virtio/Makefile | 2 -- drivers/gpu/drm/virtio/virtgpu_debugfs.c | 2 +- d

[PATCH v2 11/29] drm/nouveau: fix include notation and remove -Iinclude/drm flag

2017-04-24 Thread Masahiro Yamada
Include instead of relative path from include/drm, then remove the -Iinclude/drm compiler flag. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- Changes in v2: None drivers/gpu/drm/nouveau/Kbuild| 1 - drivers/gpu/drm/nouveau/nouveau_drm.c | 4 ++-- drivers/g

[PATCH v2 25/29] drm/sis: remove unneeded -Iinclude/drm compiler flag

2017-04-24 Thread Masahiro Yamada
With the include directives under include/drm/ fixed, this flag is no longer needed. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- Changes in v2: None drivers/gpu/drm/sis/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/sis/Makefile b/drive

[PATCH v2 29/29] drm/via: remove unneeded -Iinclude/drm compiler flag

2017-04-24 Thread Masahiro Yamada
With the include directives under include/drm/ fixed, this flag is no longer needed. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- Changes in v2: None drivers/gpu/drm/via/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/via/Makefile b/drive

[PATCH v2 08/29] drm/hisilicon: fix include notation and remove -Iinclude/drm flag

2017-04-24 Thread Masahiro Yamada
Include instead of relative path from include/drm, then remove the -Iinclude/drm compiler flag. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- Changes in v2: None drivers/gpu/drm/hisilicon/hibmc/Makefile| 1 - drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c | 2 +- 2

Re: [PATCH 05/28] drm/bridge: fix include notation and remove -Iinclude/drm flag

2017-04-22 Thread Masahiro Yamada
2017-04-21 14:51 GMT+09:00 Andrzej Hajda <a.ha...@samsung.com>: > Hi Masahiro, > > On 20.04.2017 11:56, Masahiro Yamada wrote: >> Include instead of relative path from include/drm, then >> remove the -Iinclude/drm compiler flag. >> >> Signed-off-by: Masahir

[PATCH 03/28] drm/ast: fix include notation and remove -Iinclude/drm flag

2017-04-20 Thread Masahiro Yamada
Include instead of relative path from include/drm, then remove the -Iinclude/drm compiler flag. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- drivers/gpu/drm/ast/Makefile | 2 -- drivers/gpu/drm/ast/ast_ttm.c | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-)

[PATCH 20/28] drm/mga: remove unneeded -Iinclude/drm compiler flag

2017-04-20 Thread Masahiro Yamada
With the include directives under include/drm/ fixed, this flag is no longer needed. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- drivers/gpu/drm/mga/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/mga/Makefile b/drivers/gpu/drm/mga/Ma

[PATCH 15/28] drm/virtio: fix include notation and remove -Iinclude/drm flag

2017-04-20 Thread Masahiro Yamada
Include instead of relative path from include/drm, then remove the -Iinclude/drm compiler flag. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- drivers/gpu/drm/virtio/Makefile | 2 -- drivers/gpu/drm/virtio/virtgpu_debugfs.c | 2 +- drivers/gpu/drm/

[PATCH 01/28] drm/ttm: fix include notation and remove -Iinclude/drm flag

2017-04-20 Thread Masahiro Yamada
Include instead of relative path from include/drm, then remove the -Iinclude/drm compiler flag. The fixes of include/drm/ttm/*.h will help driver Makefiles drop -Iinclude/drm flag. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- drivers/gpu/drm/ttm/Makefile

[PATCH 08/28] drm/mgag200: fix include notation and remove -Iinclude/drm flag

2017-04-20 Thread Masahiro Yamada
Include instead of relative path from include/drm, then remove the -Iinclude/drm compiler flag. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- drivers/gpu/drm/mgag200/Makefile | 1 - drivers/gpu/drm/mgag200/mgag200_ttm.c | 2 +- 2 files changed, 1 insertion

[PATCH 17/28] drm/gma500: remove unneeded -Iinclude/drm compiler flag

2017-04-20 Thread Masahiro Yamada
With the include directives under include/drm/ fixed, this flag is no longer needed. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- drivers/gpu/drm/gma500/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/gma500/Makefile b/drivers/gpu/drm/

[PATCH 18/28] drm/i810: remove unneeded -Iinclude/drm compiler flag

2017-04-20 Thread Masahiro Yamada
With the include directives under include/drm/ fixed, this flag is no longer needed. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- drivers/gpu/drm/i810/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/i810/Makefile b/drivers/gpu/drm/i810/Ma

[PATCH 13/28] drm/tilcdc: fix include notation and remove -Iinclude/drm flag

2017-04-20 Thread Masahiro Yamada
Include instead of relative path from include/drm, then remove the -Iinclude/drm compiler flag. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- drivers/gpu/drm/tilcdc/Makefile | 1 - drivers/gpu/drm/tilcdc/tilcdc_drv.c | 2 +- 2 files changed, 1 insertion(+), 2 del

[PATCH 14/28] drm/vc4: fix include notation and remove -Iinclude/drm flag

2017-04-20 Thread Masahiro Yamada
Include instead of relative path from include/drm, then remove the -Iinclude/drm compiler flag. While we are here, use <...> instead of "..." for include/linux/*.h headers too. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- drivers/gpu/drm/vc4/Makefi

[PATCH 02/28] drm/amd: fix include notation and remove -Iinclude/drm flag

2017-04-20 Thread Masahiro Yamada
Include instead of relative path from include/drm, then remove the -Iinclude/drm compiler flag. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- drivers/gpu/drm/amd/amdgpu/Makefile | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 10 +- drivers/gpu/d

[PATCH 26/28] drm/udl: remove unneeded -Iinclude/drm compiler flag

2017-04-20 Thread Masahiro Yamada
With the include directives under include/drm/ fixed, this flag is no longer needed. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- drivers/gpu/drm/udl/Makefile | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/gpu/drm/udl/Makefile b/drivers/gpu/drm/udl/Ma

[PATCH 11/28] drm/qxl: fix include notation and remove -Iinclude/drm flag

2017-04-20 Thread Masahiro Yamada
Include instead of relative path from include/drm, then remove the -Iinclude/drm compiler flag. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- drivers/gpu/drm/qxl/Makefile | 2 -- drivers/gpu/drm/qxl/qxl_debugfs.c | 2 +- drivers/gpu/drm/qxl/qxl_display.

[PATCH 00/28] gpu/drm: remove -Iinclude/drm compiler flags from Makefile

2017-04-20 Thread Masahiro Yamada
Many Makefiles needed to add -Iinclude/drm as an include path, but the right thing to do is to include headers in the form #include This series fixes the source files, then rip off -Iinclude/drm flags. Masahiro Yamada (28): drm/ttm: fix include notation and remove -Iinclude/drm flag drm

[PATCH 06/28] drm/cirrus: fix include notation and remove -Iinclude/drm flag

2017-04-20 Thread Masahiro Yamada
Include instead of relative path from include/drm, then remove the -Iinclude/drm compiler flag. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- drivers/gpu/drm/cirrus/Makefile | 1 - drivers/gpu/drm/cirrus/cirrus_ttm.c | 2 +- 2 files changed, 1 insertion(+), 2 del

[PATCH 04/28] drm/bochs: fix include notation and remove -Iinclude/drm flag

2017-04-20 Thread Masahiro Yamada
Include instead of relative path from include/drm, then remove the -Iinclude/drm compiler flag. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- drivers/gpu/drm/bochs/Makefile | 1 - drivers/gpu/drm/bochs/bochs.h | 4 ++-- 2 files changed, 2 insertions(+), 3 del

[PATCH 10/28] drm/nouveau: fix include notation and remove -Iinclude/drm flag

2017-04-20 Thread Masahiro Yamada
Include instead of relative path from include/drm, then remove the -Iinclude/drm compiler flag. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- drivers/gpu/drm/msm/msm_fbdev.c | 2 +- drivers/gpu/drm/nouveau/Kbuild| 1 - drivers/gpu/drm/nouveau/nouveau

[PATCH 16/28] drm/vmwgfx: fix include notation and remove -Iinclude/drm flag

2017-04-20 Thread Masahiro Yamada
Include instead of relative path from include/drm, then remove the -Iinclude/drm compiler flag. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- drivers/gpu/drm/vmwgfx/Makefile | 3 --- drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c | 2 +- drivers/gpu/drm/

[PATCH 07/28] drm/hisilicon: fix include notation and remove -Iinclude/drm flag

2017-04-20 Thread Masahiro Yamada
Include instead of relative path from include/drm, then remove the -Iinclude/drm compiler flag. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- drivers/gpu/drm/hisilicon/hibmc/Makefile| 1 - drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c | 2 +- 2 files changed, 1 ins

[PATCH 05/28] drm/bridge: fix include notation and remove -Iinclude/drm flag

2017-04-20 Thread Masahiro Yamada
Include instead of relative path from include/drm, then remove the -Iinclude/drm compiler flag. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- drivers/gpu/drm/bridge/Makefile| 2 -- drivers/gpu/drm/bridge/nxp-ptn3460.c | 10 +- drivers/gpu/drm/

[PATCH 12/28] drm/radeon: fix include notation and remove -Iinclude/drm flag

2017-04-20 Thread Masahiro Yamada
Include instead of relative path from include/drm, then remove the -Iinclude/drm compiler flag. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- drivers/gpu/drm/radeon/Makefile | 2 +- drivers/gpu/drm/radeon/btc_dpm.c | 2 +- drivers/gpu/drm/radeon/ci

[PATCH 22/28] drm/r128: remove unneeded -Iinclude/drm compiler flag

2017-04-20 Thread Masahiro Yamada
With the include directives under include/drm/ fixed, this flag is no longer needed. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- drivers/gpu/drm/r128/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/r128/Makefile b/drivers/gpu/drm/r128/Ma

[PATCH 19/28] drm/i2c: remove unneeded -Iinclude/drm compiler flag

2017-04-20 Thread Masahiro Yamada
With the include directives under include/drm/ fixed, this flag is no longer needed. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- drivers/gpu/drm/i2c/Makefile | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/i2c/Makefile b/drivers/gpu/drm/i2c/Ma

[PATCH 23/28] drm/savage: remove unneeded -Iinclude/drm compiler flag

2017-04-20 Thread Masahiro Yamada
With the include directives under include/drm/ fixed, this flag is no longer needed. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- drivers/gpu/drm/savage/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/savage/Makefile b/drivers/gpu/drm/

[PATCH 27/28] drm/vgem: remove unneeded -Iinclude/drm compiler flag

2017-04-20 Thread Masahiro Yamada
With the include directives under include/drm/ fixed, this flag is no longer needed. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- drivers/gpu/drm/vgem/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/vgem/Makefile b/drivers/gpu/drm/vgem/Ma

[PATCH 25/28] drm/tdfx: remove unneeded -Iinclude/drm compiler flag

2017-04-20 Thread Masahiro Yamada
With the include directives under include/drm/ fixed, this flag is no longer needed. Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> --- drivers/gpu/drm/tdfx/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/tdfx/Makefile b/drivers/gpu/drm/tdfx/Ma

[Intel-gfx] [PATCH v3 5/5] drm/i915: squash lines for simple wrapper functions

2016-09-16 Thread Masahiro Yamada
Hi Chris, 2016-09-16 15:15 GMT+09:00 Chris Wilson : > On Fri, Sep 16, 2016 at 10:40:23AM +0900, Masahiro Yamada wrote: >> Remove unneeded variables and assignments. >> >> Signed-off-by: Masahiro Yamada >> --- >> >> Changes in v3: >> - Keep the

[PATCH v2 3/5] drm/bridge: squash lines for simple wrapper functions

2016-09-16 Thread Masahiro Yamada
Hi Sean, 2016-09-15 23:46 GMT+09:00 Sean Paul : > On Thu, Sep 15, 2016 at 9:51 AM, Sean Paul wrote: >> On Wed, Sep 14, 2016 at 10:39 AM, Masahiro Yamada >> wrote: >>> Remove unneeded variables and assignments. >>> >>> Signed-off-by: Masahiro Yamada &g

[PATCH v3 5/5] drm/i915: squash lines for simple wrapper functions

2016-09-16 Thread Masahiro Yamada
Remove unneeded variables and assignments. Signed-off-by: Masahiro Yamada --- Changes in v3: - Keep the wrapper function. Cleanup of variables and assignments only. - Fix intel_engine_init_common() as well. drivers/gpu/drm/i915/i915_drv.c| 8 +--- drivers/gpu/drm/i915

[PATCH v2 5/5] drm/i915: use i915_gem_open() directly instead of i915_driver_open()

2016-09-15 Thread Masahiro Yamada
2016-09-15 18:46 GMT+09:00 Jani Nikula : > On Wed, 14 Sep 2016, Masahiro Yamada wrote: >> i915_driver_open() is equivalent to i915_gem_open(). Replace the >> i915_driver_open with the direct use of i915_gem_open(). > > Sorry I know I asked for this, but there wa

[PATCH v2 5/5] drm/i915: use i915_gem_open() directly instead of i915_driver_open()

2016-09-15 Thread Masahiro Yamada
i915_driver_open() is equivalent to i915_gem_open(). Replace the i915_driver_open with the direct use of i915_gem_open(). Signed-off-by: Masahiro Yamada --- drivers/gpu/drm/i915/i915_drv.c | 13 + 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/drivers/gpu/drm/i915

[PATCH v2 4/5] drm/qxl: squash lines for simple wrapper functions

2016-09-15 Thread Masahiro Yamada
Remove unneeded variables and assignments. Signed-off-by: Masahiro Yamada --- drivers/gpu/drm/qxl/qxl_draw.c| 7 ++- drivers/gpu/drm/qxl/qxl_release.c | 7 ++- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/drivers/gpu/drm/qxl/qxl_draw.c b/drivers/gpu/drm/qxl

[PATCH v2 3/5] drm/bridge: squash lines for simple wrapper functions

2016-09-15 Thread Masahiro Yamada
Remove unneeded variables and assignments. Signed-off-by: Masahiro Yamada --- drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c | 20 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c b/drivers/gpu/drm/bridge

[PATCH v2 2/5] drm/radeon: squash lines for simple wrapper functions

2016-09-15 Thread Masahiro Yamada
Remove unneeded variables and assignments. Signed-off-by: Masahiro Yamada --- drivers/gpu/drm/radeon/cik.c | 6 +- drivers/gpu/drm/radeon/r100.c | 6 +- drivers/gpu/drm/radeon/r600.c | 6 +- 3 files changed, 3 insertions(+), 15 deletions(-) diff --git a/drivers/gpu/drm/radeon

[PATCH v2 1/5] drm/amdgpu: squash lines for simple wrapper functions

2016-09-15 Thread Masahiro Yamada
Remove unneeded variables and assignments. Signed-off-by: Masahiro Yamada --- drivers/gpu/drm/amd/amdgpu/dce_virtual.c | 6 +- drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c | 6 +- drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c | 6 +- 3 files changed, 3 insertions(+), 15 deletions(-) diff

[PATCH v2 0/5] drm: clean up several wrapper functions

2016-09-15 Thread Masahiro Yamada
Changes in v2: - Split per-driver - Remove i915_driver_open() - Fix dce_virtual_hw_init() as well Masahiro Yamada (5): drm/amdgpu: squash lines for simple wrapper functions drm/radeon: squash lines for simple wrapper functions drm/bridge: squash lines for simple wrapper functions

[PATCH] drm/vc4: cleanup with list_first_entry_or_null()

2016-09-13 Thread Masahiro Yamada
The combo of list_empty() check and return list_first_entry() can be replaced with list_first_entry_or_null(). Signed-off-by: Masahiro Yamada --- drivers/gpu/drm/vc4/vc4_drv.h | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/vc4/vc4_drv.h b

[PATCH] drm: squash lines for simple wrapper functions

2016-09-08 Thread Masahiro Yamada
Hi Jani, 2016-09-07 17:34 GMT+09:00 Jani Nikula : > On Wed, 07 Sep 2016, Masahiro Yamada wrote: >> Remove unneeded variables and assignments. >> >> Signed-off-by: Masahiro Yamada > > ... > >> diff --git a/drivers/gpu/drm/i915/i915_drv.c >> b/driver

[PATCH] drm: squash lines for simple wrapper functions

2016-09-07 Thread Masahiro Yamada
Remove unneeded variables and assignments. Signed-off-by: Masahiro Yamada --- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 6 +- drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c| 6 +- drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c| 6 +- drivers/gpu/drm/bridge

[PATCH] drm/gma500: remove unnecessary config_enabled() guard

2016-08-24 Thread Masahiro Yamada
ning TODOs to deprecate config_enabled() macro. Refer to commit 97f2645f358b ("tree-wide: replace config_enabled() with IS_ENABLED()"). Signed-off-by: Masahiro Yamada --- drivers/gpu/drm/gma500/opregion.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/dr

<    1   2   3   >