tree:
https://github.com/jimc/linux.git dyn-drm-trc
head: a78f403dcd7765c2691998346cffdd311310e1d0
commit: 13e0bac0f355292a71358b9a61022e9f4b1bcc43 [20/21] drm_print: add struct _ddebug
desc to drm_*dbg
config: sparc-randconfig-r024-20220208
(
https://download.01.org/0day-ci/archive/20220208/202202082206.mFEwNlN3-lk...)
compiler: sparc64-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
#
https://github.com/jimc/linux/commit/13e0bac0f355292a71358b9a61022e9f4b1b...
git remote add jimc
https://github.com/jimc/linux.git
git fetch --no-tags jimc dyn-drm-trc
git checkout 13e0bac0f355292a71358b9a61022e9f4b1bcc43
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir
ARCH=sparc SHELL=/bin/bash drivers/gpu/drm/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All error/warnings (new ones prefixed by >>):
In file included from include/drm/drm_mm.h:51,
from include/drm/drm_vma_manager.h:26,
from include/drm/drm_gem.h:40,
from include/drm/drm_gem_cma_helper.h:7,
from drivers/gpu/drm/drm_gem_cma_helper.c:23:
drivers/gpu/drm/drm_gem_cma_helper.c: In function
'drm_gem_cma_prime_import_sg_table':
include/drm/drm_print.h:584:19: warning: passing argument 1 of '___drm_dbg'
makes pointer from integer without a cast [-Wint-conversion]
584 | __drm_dbg(DRM_UT_PRIME, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
| |
| int
include/drm/drm_print.h:530:52: note: in definition of macro '__drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...) ___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~
drivers/gpu/drm/drm_gem_cma_helper.c:463:9: note: in expansion of macro
'DRM_DEBUG_PRIME'
463 | DRM_DEBUG_PRIME("dma_addr = %pad, size = %zu\n",
&cma_obj->paddr, attach->dmabuf->size);
| ^~~~~~~~~~~~~~~
include/drm/drm_print.h:525:33: note: expected 'struct _ddebug *' but argument
is of type 'int'
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
| ~~~~~~~~~~~~~~~~^~~~
> drivers/gpu/drm/drm_gem_cma_helper.c:463:25: error: incompatible
type for argument 2 of '___drm_dbg'
463 |
DRM_DEBUG_PRIME("dma_addr = %pad, size = %zu\n", &cma_obj->paddr,
attach->dmabuf->size);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| char *
include/drm/drm_print.h:530:57: note: in definition of macro '__drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...) ___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~
drivers/gpu/drm/drm_gem_cma_helper.c:463:9: note: in expansion of macro
'DRM_DEBUG_PRIME'
463 | DRM_DEBUG_PRIME("dma_addr = %pad, size = %zu\n",
&cma_obj->paddr, attach->dmabuf->size);
| ^~~~~~~~~~~~~~~
include/drm/drm_print.h:525:63: note: expected 'enum drm_debug_category' but
argument is of type 'char *'
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
> drivers/gpu/drm/drm_gem_cma_helper.c:463:58: error: passing
argument 3 of '___drm_dbg' from incompatible pointer type
[-Werror=incompatible-pointer-types]
463 |
DRM_DEBUG_PRIME("dma_addr = %pad, size = %zu\n", &cma_obj->paddr,
attach->dmabuf->size);
| ^~~~~~~~~~~~~~~
| |
| dma_addr_t * {aka long
long unsigned int *}
include/drm/drm_print.h:530:64: note: in definition of macro '__drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...) ___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~
drivers/gpu/drm/drm_gem_cma_helper.c:463:9: note: in expansion of macro
'DRM_DEBUG_PRIME'
463 | DRM_DEBUG_PRIME("dma_addr = %pad, size = %zu\n",
&cma_obj->paddr, attach->dmabuf->size);
| ^~~~~~~~~~~~~~~
include/drm/drm_print.h:525:85: note: expected 'const char *' but argument is
of type 'dma_addr_t *' {aka 'long long unsigned int *'}
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
|
~~~~~~~~~~~~^~~~~~
cc1: some warnings being treated as errors
--
In file included from include/drm/drm_mm.h:51,
from include/drm/drm_vma_manager.h:26,
from include/drm/drm_gem.h:40,
from include/drm/drm_gem_shmem_helper.h:11,
from drivers/gpu/drm/drm_gem_shmem_helper.c:22:
drivers/gpu/drm/drm_gem_shmem_helper.c: In function
'drm_gem_shmem_get_pages_locked':
include/drm/drm_print.h:580:19: warning: passing argument 1 of '___drm_dbg'
makes pointer from integer without a cast [-Wint-conversion]
580 | __drm_dbg(DRM_UT_KMS, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~
| |
| int
include/drm/drm_print.h:530:52: note: in definition of macro '__drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...) ___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~
drivers/gpu/drm/drm_gem_shmem_helper.c:175:17: note: in expansion of macro
'DRM_DEBUG_KMS'
175 | DRM_DEBUG_KMS("Failed to get pages (%ld)\n",
PTR_ERR(pages));
| ^~~~~~~~~~~~~
include/drm/drm_print.h:525:33: note: expected 'struct _ddebug *' but argument
is of type 'int'
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
| ~~~~~~~~~~~~~~~~^~~~
> drivers/gpu/drm/drm_gem_shmem_helper.c:175:31: error:
incompatible type for argument 2 of '___drm_dbg'
175 |
DRM_DEBUG_KMS("Failed to get pages (%ld)\n", PTR_ERR(pages));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| char *
include/drm/drm_print.h:530:57: note: in definition of macro '__drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...) ___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~
drivers/gpu/drm/drm_gem_shmem_helper.c:175:17: note: in expansion of macro
'DRM_DEBUG_KMS'
175 | DRM_DEBUG_KMS("Failed to get pages (%ld)\n",
PTR_ERR(pages));
| ^~~~~~~~~~~~~
include/drm/drm_print.h:525:63: note: expected 'enum drm_debug_category' but
argument is of type 'char *'
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
> drivers/gpu/drm/drm_gem_shmem_helper.c:175:62: warning: passing
argument 3 of '___drm_dbg' makes pointer from integer without a cast
[-Wint-conversion]
175 | DRM_DEBUG_KMS("Failed to get
pages (%ld)\n", PTR_ERR(pages));
| ^~~~~~~~~~~~~~
| |
| long int
include/drm/drm_print.h:530:64: note: in definition of macro '__drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...) ___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~
drivers/gpu/drm/drm_gem_shmem_helper.c:175:17: note: in expansion of macro
'DRM_DEBUG_KMS'
175 | DRM_DEBUG_KMS("Failed to get pages (%ld)\n",
PTR_ERR(pages));
| ^~~~~~~~~~~~~
include/drm/drm_print.h:525:85: note: expected 'const char *' but argument is
of type 'long int'
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
|
~~~~~~~~~~~~^~~~~~
drivers/gpu/drm/drm_gem_shmem_helper.c: In function
'drm_gem_shmem_vmap_locked':
include/drm/drm_print.h:580:19: warning: passing argument 1 of '___drm_dbg'
makes pointer from integer without a cast [-Wint-conversion]
580 | __drm_dbg(DRM_UT_KMS, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~
| |
| int
include/drm/drm_print.h:530:52: note: in definition of macro '__drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...) ___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~
drivers/gpu/drm/drm_gem_shmem_helper.c:326:17: note: in expansion of macro
'DRM_DEBUG_KMS'
326 | DRM_DEBUG_KMS("Failed to vmap pages, error %d\n",
ret);
| ^~~~~~~~~~~~~
include/drm/drm_print.h:525:33: note: expected 'struct _ddebug *' but argument
is of type 'int'
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
| ~~~~~~~~~~~~~~~~^~~~
drivers/gpu/drm/drm_gem_shmem_helper.c:326:31: error: incompatible type for argument 2
of '___drm_dbg'
326 | DRM_DEBUG_KMS("Failed to vmap pages, error %d\n",
ret);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| char *
include/drm/drm_print.h:530:57: note: in definition of macro '__drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...) ___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~
drivers/gpu/drm/drm_gem_shmem_helper.c:326:17: note: in expansion of macro
'DRM_DEBUG_KMS'
326 | DRM_DEBUG_KMS("Failed to vmap pages, error %d\n",
ret);
| ^~~~~~~~~~~~~
include/drm/drm_print.h:525:63: note: expected 'enum drm_debug_category' but
argument is of type 'char *'
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
drivers/gpu/drm/drm_gem_shmem_helper.c:326:67: warning: passing argument 3 of
'___drm_dbg' makes pointer from integer without a cast [-Wint-conversion]
326 | DRM_DEBUG_KMS("Failed to vmap pages, error %d\n",
ret);
| ^~~
| |
| int
include/drm/drm_print.h:530:64: note: in definition of macro '__drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...) ___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~
drivers/gpu/drm/drm_gem_shmem_helper.c:326:17: note: in expansion of macro
'DRM_DEBUG_KMS'
326 | DRM_DEBUG_KMS("Failed to vmap pages, error %d\n",
ret);
| ^~~~~~~~~~~~~
include/drm/drm_print.h:525:85: note: expected 'const char *' but argument is
of type 'int'
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
|
~~~~~~~~~~~~^~~~~~
drivers/gpu/drm/drm_gem_shmem_helper.c: In function
'drm_gem_shmem_prime_import_sg_table':
include/drm/drm_print.h:584:19: warning: passing argument 1 of '___drm_dbg'
makes pointer from integer without a cast [-Wint-conversion]
584 | __drm_dbg(DRM_UT_PRIME, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~
| |
| int
include/drm/drm_print.h:530:52: note: in definition of macro '__drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...) ___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~
drivers/gpu/drm/drm_gem_shmem_helper.c:756:9: note: in expansion of macro
'DRM_DEBUG_PRIME'
756 | DRM_DEBUG_PRIME("size = %zu\n", size);
| ^~~~~~~~~~~~~~~
include/drm/drm_print.h:525:33: note: expected 'struct _ddebug *' but argument
is of type 'int'
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
| ~~~~~~~~~~~~~~~~^~~~
drivers/gpu/drm/drm_gem_shmem_helper.c:756:25: error: incompatible type for argument 2
of '___drm_dbg'
756 | DRM_DEBUG_PRIME("size = %zu\n", size);
| ^~~~~~~~~~~~~~
| |
| char *
include/drm/drm_print.h:530:57: note: in definition of macro '__drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...) ___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~
drivers/gpu/drm/drm_gem_shmem_helper.c:756:9: note: in expansion of macro
'DRM_DEBUG_PRIME'
756 | DRM_DEBUG_PRIME("size = %zu\n", size);
| ^~~~~~~~~~~~~~~
include/drm/drm_print.h:525:63: note: expected 'enum drm_debug_category' but
argument is of type 'char *'
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
drivers/gpu/drm/drm_gem_shmem_helper.c:756:41: warning: passing argument 3 of
'___drm_dbg' makes pointer from integer without a cast [-Wint-conversion]
756 | DRM_DEBUG_PRIME("size = %zu\n", size);
| ^~~~
| |
| size_t {aka long unsigned int}
include/drm/drm_print.h:530:64: note: in definition of macro '__drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...) ___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~
drivers/gpu/drm/drm_gem_shmem_helper.c:756:9: note: in expansion of macro
'DRM_DEBUG_PRIME'
756 | DRM_DEBUG_PRIME("size = %zu\n", size);
| ^~~~~~~~~~~~~~~
include/drm/drm_print.h:525:85: note: expected 'const char *' but argument is
of type 'size_t' {aka 'long unsigned int'}
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
|
~~~~~~~~~~~~^~~~~~
--
In file included from drivers/gpu/drm/drm_crtc_helper.c:48:
drivers/gpu/drm/drm_crtc_helper.c: In function 'drm_crtc_helper_set_mode':
include/drm/drm_print.h:580:19: warning: passing argument 1 of '___drm_dbg'
makes pointer from integer without a cast [-Wint-conversion]
580 | __drm_dbg(DRM_UT_KMS, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~
| |
| int
include/drm/drm_print.h:530:52: note: in definition of macro '__drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...) ___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~
drivers/gpu/drm/drm_crtc_helper.c:329:33: note: in expansion of macro
'DRM_DEBUG_KMS'
329 | DRM_DEBUG_KMS("Encoder fixup
failed\n");
| ^~~~~~~~~~~~~
include/drm/drm_print.h:525:33: note: expected 'struct _ddebug *' but argument
is of type 'int'
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
| ~~~~~~~~~~~~~~~~^~~~
> drivers/gpu/drm/drm_crtc_helper.c:329:47: error: incompatible
type for argument 2 of '___drm_dbg'
329 |
DRM_DEBUG_KMS("Encoder fixup failed\n");
| ^~~~~~~~~~~~~~~~~~~~~~~~
| |
| char *
include/drm/drm_print.h:530:57: note: in definition of macro '__drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...) ___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~
drivers/gpu/drm/drm_crtc_helper.c:329:33: note: in expansion of macro
'DRM_DEBUG_KMS'
329 | DRM_DEBUG_KMS("Encoder fixup
failed\n");
| ^~~~~~~~~~~~~
include/drm/drm_print.h:525:63: note: expected 'enum drm_debug_category' but
argument is of type 'char *'
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
> include/drm/drm_print.h:530:41: error: too few arguments to
function '___drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...)
___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~
include/drm/drm_print.h:580:9: note: in expansion of macro '__drm_dbg'
580 | __drm_dbg(DRM_UT_KMS, fmt, ##__VA_ARGS__)
| ^~~~~~~~~
drivers/gpu/drm/drm_crtc_helper.c:329:33: note: in expansion of macro
'DRM_DEBUG_KMS'
329 | DRM_DEBUG_KMS("Encoder fixup
failed\n");
| ^~~~~~~~~~~~~
include/drm/drm_print.h:525:6: note: declared here
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
| ^~~~~~~~~~
include/drm/drm_print.h:580:19: warning: passing argument 1 of '___drm_dbg'
makes pointer from integer without a cast [-Wint-conversion]
580 | __drm_dbg(DRM_UT_KMS, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~
| |
| int
include/drm/drm_print.h:530:52: note: in definition of macro '__drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...) ___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~
drivers/gpu/drm/drm_crtc_helper.c:338:25: note: in expansion of macro
'DRM_DEBUG_KMS'
338 | DRM_DEBUG_KMS("CRTC fixup failed\n");
| ^~~~~~~~~~~~~
include/drm/drm_print.h:525:33: note: expected 'struct _ddebug *' but argument
is of type 'int'
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
| ~~~~~~~~~~~~~~~~^~~~
drivers/gpu/drm/drm_crtc_helper.c:338:39: error: incompatible type for argument 2 of
'___drm_dbg'
338 | DRM_DEBUG_KMS("CRTC fixup failed\n");
| ^~~~~~~~~~~~~~~~~~~~~
| |
| char *
include/drm/drm_print.h:530:57: note: in definition of macro '__drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...) ___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~
drivers/gpu/drm/drm_crtc_helper.c:338:25: note: in expansion of macro
'DRM_DEBUG_KMS'
338 | DRM_DEBUG_KMS("CRTC fixup failed\n");
| ^~~~~~~~~~~~~
include/drm/drm_print.h:525:63: note: expected 'enum drm_debug_category' but
argument is of type 'char *'
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
> include/drm/drm_print.h:530:41: error: too few arguments to
function '___drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...)
___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~
include/drm/drm_print.h:580:9: note: in expansion of macro '__drm_dbg'
580 | __drm_dbg(DRM_UT_KMS, fmt, ##__VA_ARGS__)
| ^~~~~~~~~
drivers/gpu/drm/drm_crtc_helper.c:338:25: note: in expansion of macro
'DRM_DEBUG_KMS'
338 | DRM_DEBUG_KMS("CRTC fixup failed\n");
| ^~~~~~~~~~~~~
include/drm/drm_print.h:525:6: note: declared here
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
| ^~~~~~~~~~
include/drm/drm_print.h:580:19: warning: passing argument 1 of '___drm_dbg'
makes pointer from integer without a cast [-Wint-conversion]
580 | __drm_dbg(DRM_UT_KMS, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~
| |
| int
include/drm/drm_print.h:530:52: note: in definition of macro '__drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...) ___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~
drivers/gpu/drm/drm_crtc_helper.c:342:9: note: in expansion of macro
'DRM_DEBUG_KMS'
342 | DRM_DEBUG_KMS("[CRTC:%d:%s]\n", crtc->base.id,
crtc->name);
| ^~~~~~~~~~~~~
include/drm/drm_print.h:525:33: note: expected 'struct _ddebug *' but argument
is of type 'int'
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
| ~~~~~~~~~~~~~~~~^~~~
drivers/gpu/drm/drm_crtc_helper.c:342:23: error: incompatible type for argument 2 of
'___drm_dbg'
342 | DRM_DEBUG_KMS("[CRTC:%d:%s]\n", crtc->base.id,
crtc->name);
| ^~~~~~~~~~~~~~~~
| |
| char *
include/drm/drm_print.h:530:57: note: in definition of macro '__drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...) ___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~
drivers/gpu/drm/drm_crtc_helper.c:342:9: note: in expansion of macro
'DRM_DEBUG_KMS'
342 | DRM_DEBUG_KMS("[CRTC:%d:%s]\n", crtc->base.id,
crtc->name);
| ^~~~~~~~~~~~~
include/drm/drm_print.h:525:63: note: expected 'enum drm_debug_category' but
argument is of type 'char *'
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
> drivers/gpu/drm/drm_crtc_helper.c:342:51: warning: passing
argument 3 of '___drm_dbg' makes pointer from integer without a cast
[-Wint-conversion]
342 | DRM_DEBUG_KMS("[CRTC:%d:%s]\n",
crtc->base.id, crtc->name);
| ~~~~~~~~~~^~~
| |
| uint32_t {aka unsigned int}
include/drm/drm_print.h:530:64: note: in definition of macro '__drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...) ___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~
drivers/gpu/drm/drm_crtc_helper.c:342:9: note: in expansion of macro
'DRM_DEBUG_KMS'
342 | DRM_DEBUG_KMS("[CRTC:%d:%s]\n", crtc->base.id,
crtc->name);
| ^~~~~~~~~~~~~
include/drm/drm_print.h:525:85: note: expected 'const char *' but argument is
of type 'uint32_t' {aka 'unsigned int'}
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
|
~~~~~~~~~~~~^~~~~~
include/drm/drm_print.h:580:19: warning: passing argument 1 of '___drm_dbg'
makes pointer from integer without a cast [-Wint-conversion]
580 | __drm_dbg(DRM_UT_KMS, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~
| |
| int
include/drm/drm_print.h:530:52: note: in definition of macro '__drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...) ___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~
drivers/gpu/drm/drm_crtc_helper.c:381:17: note: in expansion of macro
'DRM_DEBUG_KMS'
381 | DRM_DEBUG_KMS("[ENCODER:%d:%s] set [MODE:%s]\n",
| ^~~~~~~~~~~~~
include/drm/drm_print.h:525:33: note: expected 'struct _ddebug *' but argument
is of type 'int'
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
| ~~~~~~~~~~~~~~~~^~~~
drivers/gpu/drm/drm_crtc_helper.c:381:31: error: incompatible type for argument 2 of
'___drm_dbg'
381 | DRM_DEBUG_KMS("[ENCODER:%d:%s] set [MODE:%s]\n",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| char *
include/drm/drm_print.h:530:57: note: in definition of macro '__drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...) ___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~
drivers/gpu/drm/drm_crtc_helper.c:381:17: note: in expansion of macro
'DRM_DEBUG_KMS'
381 | DRM_DEBUG_KMS("[ENCODER:%d:%s] set [MODE:%s]\n",
| ^~~~~~~~~~~~~
include/drm/drm_print.h:525:63: note: expected 'enum drm_debug_category' but
argument is of type 'char *'
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
drivers/gpu/drm/drm_crtc_helper.c:382:38: warning: passing argument 3 of
'___drm_dbg' makes pointer from integer without a cast [-Wint-conversion]
382 | encoder->base.id, encoder->name, mode->name);
| ~~~~~~~~~~~~~^~~
| |
| uint32_t {aka unsigned int}
include/drm/drm_print.h:530:64: note: in definition of macro '__drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...) ___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~
drivers/gpu/drm/drm_crtc_helper.c:381:17: note: in expansion of macro
'DRM_DEBUG_KMS'
381 | DRM_DEBUG_KMS("[ENCODER:%d:%s] set [MODE:%s]\n",
| ^~~~~~~~~~~~~
include/drm/drm_print.h:525:85: note: expected 'const char *' but argument is
of type 'uint32_t' {aka 'unsigned int'}
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
|
~~~~~~~~~~~~^~~~~~
drivers/gpu/drm/drm_crtc_helper.c: In function 'drm_crtc_helper_set_config':
include/drm/drm_print.h:580:19: warning: passing argument 1 of '___drm_dbg'
makes pointer from integer without a cast [-Wint-conversion]
580 | __drm_dbg(DRM_UT_KMS, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~
| |
| int
include/drm/drm_print.h:530:52: note: in definition of macro '__drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...) ___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~
drivers/gpu/drm/drm_crtc_helper.c:532:9: note: in expansion of macro
'DRM_DEBUG_KMS'
532 | DRM_DEBUG_KMS("\n");
| ^~~~~~~~~~~~~
include/drm/drm_print.h:525:33: note: expected 'struct _ddebug *' but argument
is of type 'int'
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
| ~~~~~~~~~~~~~~~~^~~~
drivers/gpu/drm/drm_crtc_helper.c:532:23: error: incompatible type for argument 2 of
'___drm_dbg'
532 | DRM_DEBUG_KMS("\n");
| ^~~~
| |
| char *
include/drm/drm_print.h:530:57: note: in definition of macro '__drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...) ___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~
drivers/gpu/drm/drm_crtc_helper.c:532:9: note: in expansion of macro
'DRM_DEBUG_KMS'
532 | DRM_DEBUG_KMS("\n");
| ^~~~~~~~~~~~~
include/drm/drm_print.h:525:63: note: expected 'enum drm_debug_category' but
argument is of type 'char *'
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
> include/drm/drm_print.h:530:41: error: too few arguments to
function '___drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...)
___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~
include/drm/drm_print.h:580:9: note: in expansion of macro '__drm_dbg'
580 | __drm_dbg(DRM_UT_KMS, fmt, ##__VA_ARGS__)
| ^~~~~~~~~
drivers/gpu/drm/drm_crtc_helper.c:532:9: note: in expansion of macro
'DRM_DEBUG_KMS'
532 | DRM_DEBUG_KMS("\n");
| ^~~~~~~~~~~~~
include/drm/drm_print.h:525:6: note: declared here
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
| ^~~~~~~~~~
include/drm/drm_print.h:580:19: warning: passing argument 1 of '___drm_dbg'
makes pointer from integer without a cast [-Wint-conversion]
580 | __drm_dbg(DRM_UT_KMS, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~
| |
| int
include/drm/drm_print.h:530:52: note: in definition of macro '__drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...) ___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~
drivers/gpu/drm/drm_crtc_helper.c:551:17: note: in expansion of macro
'DRM_DEBUG_KMS'
551 | DRM_DEBUG_KMS("[CRTC:%d:%s] [FB:%d] #connectors=%d (x y)
(%i %i)\n",
| ^~~~~~~~~~~~~
include/drm/drm_print.h:525:33: note: expected 'struct _ddebug *' but argument
is of type 'int'
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
| ~~~~~~~~~~~~~~~~^~~~
drivers/gpu/drm/drm_crtc_helper.c:551:31: error: incompatible type for argument 2 of
'___drm_dbg'
551 | DRM_DEBUG_KMS("[CRTC:%d:%s] [FB:%d] #connectors=%d (x y)
(%i %i)\n",
|
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| char *
include/drm/drm_print.h:530:57: note: in definition of macro '__drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...) ___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~
drivers/gpu/drm/drm_crtc_helper.c:551:17: note: in expansion of macro
'DRM_DEBUG_KMS'
551 | DRM_DEBUG_KMS("[CRTC:%d:%s] [FB:%d] #connectors=%d (x y)
(%i %i)\n",
| ^~~~~~~~~~~~~
include/drm/drm_print.h:525:63: note: expected 'enum drm_debug_category' but
argument is of type 'char *'
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
drivers/gpu/drm/drm_crtc_helper.c:552:46: warning: passing argument 3 of
'___drm_dbg' makes pointer from integer without a cast [-Wint-conversion]
552 | set->crtc->base.id, set->crtc->name,
| ~~~~~~~~~~~~~~~^~~
| |
| uint32_t {aka unsigned int}
include/drm/drm_print.h:530:64: note: in definition of macro '__drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...) ___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~
drivers/gpu/drm/drm_crtc_helper.c:551:17: note: in expansion of macro
'DRM_DEBUG_KMS'
551 | DRM_DEBUG_KMS("[CRTC:%d:%s] [FB:%d] #connectors=%d (x y)
(%i %i)\n",
| ^~~~~~~~~~~~~
include/drm/drm_print.h:525:85: note: expected 'const char *' but argument is
of type 'uint32_t' {aka 'unsigned int'}
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
|
~~~~~~~~~~~~^~~~~~
include/drm/drm_print.h:580:19: warning: passing argument 1 of '___drm_dbg'
makes pointer from integer without a cast [-Wint-conversion]
580 | __drm_dbg(DRM_UT_KMS, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~
| |
| int
include/drm/drm_print.h:530:52: note: in definition of macro '__drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...) ___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~
drivers/gpu/drm/drm_crtc_helper.c:556:17: note: in expansion of macro
'DRM_DEBUG_KMS'
556 | DRM_DEBUG_KMS("[CRTC:%d:%s] [NOFB]\n",
| ^~~~~~~~~~~~~
include/drm/drm_print.h:525:33: note: expected 'struct _ddebug *' but argument
is of type 'int'
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
| ~~~~~~~~~~~~~~~~^~~~
drivers/gpu/drm/drm_crtc_helper.c:556:31: error: incompatible type for argument 2 of
'___drm_dbg'
556 | DRM_DEBUG_KMS("[CRTC:%d:%s] [NOFB]\n",
| ^~~~~~~~~~~~~~~~~~~~~~~
| |
| char *
include/drm/drm_print.h:530:57: note: in definition of macro '__drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...) ___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~
drivers/gpu/drm/drm_crtc_helper.c:556:17: note: in expansion of macro
'DRM_DEBUG_KMS'
556 | DRM_DEBUG_KMS("[CRTC:%d:%s] [NOFB]\n",
| ^~~~~~~~~~~~~
include/drm/drm_print.h:525:63: note: expected 'enum drm_debug_category' but
argument is of type 'char *'
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
drivers/gpu/drm/drm_crtc_helper.c:557:46: warning: passing argument 3 of
'___drm_dbg' makes pointer from integer without a cast [-Wint-conversion]
557 | set->crtc->base.id,
set->crtc->name);
| ~~~~~~~~~~~~~~~^~~
| |
| uint32_t {aka unsigned int}
include/drm/drm_print.h:530:64: note: in definition of macro '__drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...) ___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~
drivers/gpu/drm/drm_crtc_helper.c:556:17: note: in expansion of macro
'DRM_DEBUG_KMS'
556 | DRM_DEBUG_KMS("[CRTC:%d:%s] [NOFB]\n",
| ^~~~~~~~~~~~~
include/drm/drm_print.h:525:85: note: expected 'const char *' but argument is
of type 'uint32_t' {aka 'unsigned int'}
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
|
~~~~~~~~~~~~^~~~~~
include/drm/drm_print.h:580:19: warning: passing argument 1 of '___drm_dbg'
makes pointer from integer without a cast [-Wint-conversion]
580 | __drm_dbg(DRM_UT_KMS, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~
| |
| int
include/drm/drm_print.h:530:52: note: in definition of macro '__drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...) ___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~
drivers/gpu/drm/drm_crtc_helper.c:607:25: note: in expansion of macro
'DRM_DEBUG_KMS'
607 | DRM_DEBUG_KMS("crtc has no fb, full mode
set\n");
| ^~~~~~~~~~~~~
include/drm/drm_print.h:525:33: note: expected 'struct _ddebug *' but argument
is of type 'int'
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
| ~~~~~~~~~~~~~~~~^~~~
drivers/gpu/drm/drm_crtc_helper.c:607:39: error: incompatible type for argument 2 of
'___drm_dbg'
607 | DRM_DEBUG_KMS("crtc has no fb, full mode
set\n");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| char *
include/drm/drm_print.h:530:57: note: in definition of macro '__drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...) ___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~
drivers/gpu/drm/drm_crtc_helper.c:607:25: note: in expansion of macro
'DRM_DEBUG_KMS'
607 | DRM_DEBUG_KMS("crtc has no fb, full mode
set\n");
| ^~~~~~~~~~~~~
include/drm/drm_print.h:525:63: note: expected 'enum drm_debug_category' but
argument is of type 'char *'
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
> include/drm/drm_print.h:530:41: error: too few arguments to
function '___drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...)
___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~
include/drm/drm_print.h:580:9: note: in expansion of macro '__drm_dbg'
580 | __drm_dbg(DRM_UT_KMS, fmt, ##__VA_ARGS__)
| ^~~~~~~~~
drivers/gpu/drm/drm_crtc_helper.c:607:25: note: in expansion of macro
'DRM_DEBUG_KMS'
607 | DRM_DEBUG_KMS("crtc has no fb, full mode
set\n");
| ^~~~~~~~~~~~~
include/drm/drm_print.h:525:6: note: declared here
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
| ^~~~~~~~~~
include/drm/drm_print.h:580:19: warning: passing argument 1 of '___drm_dbg'
makes pointer from integer without a cast [-Wint-conversion]
580 | __drm_dbg(DRM_UT_KMS, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~
| |
| int
include/drm/drm_print.h:530:52: note: in definition of macro '__drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...) ___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~
drivers/gpu/drm/drm_crtc_helper.c:619:17: note: in expansion of macro
'DRM_DEBUG_KMS'
619 | DRM_DEBUG_KMS("modes are different, full mode
set\n");
| ^~~~~~~~~~~~~
include/drm/drm_print.h:525:33: note: expected 'struct _ddebug *' but argument
is of type 'int'
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
| ~~~~~~~~~~~~~~~~^~~~
drivers/gpu/drm/drm_crtc_helper.c:619:31: error: incompatible type for argument 2 of
'___drm_dbg'
619 | DRM_DEBUG_KMS("modes are different, full mode
set\n");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| char *
include/drm/drm_print.h:530:57: note: in definition of macro '__drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...) ___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~
drivers/gpu/drm/drm_crtc_helper.c:619:17: note: in expansion of macro
'DRM_DEBUG_KMS'
619 | DRM_DEBUG_KMS("modes are different, full mode
set\n");
| ^~~~~~~~~~~~~
include/drm/drm_print.h:525:63: note: expected 'enum drm_debug_category' but
argument is of type 'char *'
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
> include/drm/drm_print.h:530:41: error: too few arguments to
function '___drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...)
___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~
include/drm/drm_print.h:580:9: note: in expansion of macro '__drm_dbg'
580 | __drm_dbg(DRM_UT_KMS, fmt, ##__VA_ARGS__)
| ^~~~~~~~~
drivers/gpu/drm/drm_crtc_helper.c:619:17: note: in expansion of macro
'DRM_DEBUG_KMS'
619 | DRM_DEBUG_KMS("modes are different, full mode
set\n");
| ^~~~~~~~~~~~~
include/drm/drm_print.h:525:6: note: declared here
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
| ^~~~~~~~~~
include/drm/drm_print.h:580:19: warning: passing argument 1 of '___drm_dbg'
makes pointer from integer without a cast [-Wint-conversion]
580 | __drm_dbg(DRM_UT_KMS, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~
| |
| int
include/drm/drm_print.h:530:52: note: in definition of macro '__drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...) ___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~
drivers/gpu/drm/drm_crtc_helper.c:655:41: note: in expansion of macro
'DRM_DEBUG_KMS'
655 | DRM_DEBUG_KMS("connector dpms not
on, full mode switch\n");
| ^~~~~~~~~~~~~
include/drm/drm_print.h:525:33: note: expected 'struct _ddebug *' but argument
is of type 'int'
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
| ~~~~~~~~~~~~~~~~^~~~
drivers/gpu/drm/drm_crtc_helper.c:655:55: error: incompatible type for argument 2 of
'___drm_dbg'
655 | DRM_DEBUG_KMS("connector dpms not
on, full mode switch\n");
|
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| char *
include/drm/drm_print.h:530:57: note: in definition of macro '__drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...) ___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~
drivers/gpu/drm/drm_crtc_helper.c:655:41: note: in expansion of macro
'DRM_DEBUG_KMS'
655 | DRM_DEBUG_KMS("connector dpms not
on, full mode switch\n");
| ^~~~~~~~~~~~~
include/drm/drm_print.h:525:63: note: expected 'enum drm_debug_category' but
argument is of type 'char *'
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
> include/drm/drm_print.h:530:41: error: too few arguments to
function '___drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...)
___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~
include/drm/drm_print.h:580:9: note: in expansion of macro '__drm_dbg'
580 | __drm_dbg(DRM_UT_KMS, fmt, ##__VA_ARGS__)
| ^~~~~~~~~
drivers/gpu/drm/drm_crtc_helper.c:655:41: note: in expansion of macro
'DRM_DEBUG_KMS'
655 | DRM_DEBUG_KMS("connector dpms not
on, full mode switch\n");
| ^~~~~~~~~~~~~
include/drm/drm_print.h:525:6: note: declared here
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
| ^~~~~~~~~~
include/drm/drm_print.h:580:19: warning: passing argument 1 of '___drm_dbg'
makes pointer from integer without a cast [-Wint-conversion]
580 | __drm_dbg(DRM_UT_KMS, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~
| |
| int
include/drm/drm_print.h:530:52: note: in definition of macro '__drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...) ___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~
drivers/gpu/drm/drm_crtc_helper.c:664:25: note: in expansion of macro
'DRM_DEBUG_KMS'
664 | DRM_DEBUG_KMS("encoder changed, full mode
switch\n");
| ^~~~~~~~~~~~~
include/drm/drm_print.h:525:33: note: expected 'struct _ddebug *' but argument
is of type 'int'
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
| ~~~~~~~~~~~~~~~~^~~~
drivers/gpu/drm/drm_crtc_helper.c:664:39: error: incompatible type for argument 2 of
'___drm_dbg'
664 | DRM_DEBUG_KMS("encoder changed, full mode
switch\n");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| char *
include/drm/drm_print.h:530:57: note: in definition of macro '__drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...) ___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~
drivers/gpu/drm/drm_crtc_helper.c:664:25: note: in expansion of macro
'DRM_DEBUG_KMS'
664 | DRM_DEBUG_KMS("encoder changed, full mode
switch\n");
| ^~~~~~~~~~~~~
include/drm/drm_print.h:525:63: note: expected 'enum drm_debug_category' but
argument is of type 'char *'
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
> include/drm/drm_print.h:530:41: error: too few arguments to
function '___drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...)
___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~
include/drm/drm_print.h:580:9: note: in expansion of macro '__drm_dbg'
580 | __drm_dbg(DRM_UT_KMS, fmt, ##__VA_ARGS__)
| ^~~~~~~~~
drivers/gpu/drm/drm_crtc_helper.c:664:25: note: in expansion of macro
'DRM_DEBUG_KMS'
664 | DRM_DEBUG_KMS("encoder changed, full mode
switch\n");
| ^~~~~~~~~~~~~
include/drm/drm_print.h:525:6: note: declared here
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
| ^~~~~~~~~~
include/drm/drm_print.h:580:19: warning: passing argument 1 of '___drm_dbg'
makes pointer from integer without a cast [-Wint-conversion]
580 | __drm_dbg(DRM_UT_KMS, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~
| |
| int
include/drm/drm_print.h:530:52: note: in definition of macro '__drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...) ___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~
drivers/gpu/drm/drm_crtc_helper.c:705:25: note: in expansion of macro
'DRM_DEBUG_KMS'
705 | DRM_DEBUG_KMS("crtc changed, full mode
switch\n");
| ^~~~~~~~~~~~~
include/drm/drm_print.h:525:33: note: expected 'struct _ddebug *' but argument
is of type 'int'
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
| ~~~~~~~~~~~~~~~~^~~~
drivers/gpu/drm/drm_crtc_helper.c:705:39: error: incompatible type for argument 2 of
'___drm_dbg'
705 | DRM_DEBUG_KMS("crtc changed, full mode
switch\n");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| char *
include/drm/drm_print.h:530:57: note: in definition of macro '__drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...) ___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~
drivers/gpu/drm/drm_crtc_helper.c:705:25: note: in expansion of macro
'DRM_DEBUG_KMS'
705 | DRM_DEBUG_KMS("crtc changed, full mode
switch\n");
| ^~~~~~~~~~~~~
include/drm/drm_print.h:525:63: note: expected 'enum drm_debug_category' but
argument is of type 'char *'
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
> include/drm/drm_print.h:530:41: error: too few arguments to
function '___drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...)
___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~
include/drm/drm_print.h:580:9: note: in expansion of macro '__drm_dbg'
580 | __drm_dbg(DRM_UT_KMS, fmt, ##__VA_ARGS__)
| ^~~~~~~~~
drivers/gpu/drm/drm_crtc_helper.c:705:25: note: in expansion of macro
'DRM_DEBUG_KMS'
705 | DRM_DEBUG_KMS("crtc changed, full mode
switch\n");
| ^~~~~~~~~~~~~
include/drm/drm_print.h:525:6: note: declared here
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
| ^~~~~~~~~~
include/drm/drm_print.h:580:19: warning: passing argument 1 of '___drm_dbg'
makes pointer from integer without a cast [-Wint-conversion]
580 | __drm_dbg(DRM_UT_KMS, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~
| |
| int
include/drm/drm_print.h:530:52: note: in definition of macro '__drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...) ___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~
drivers/gpu/drm/drm_crtc_helper.c:710:25: note: in expansion of macro
'DRM_DEBUG_KMS'
710 | DRM_DEBUG_KMS("[CONNECTOR:%d:%s] to
[CRTC:%d:%s]\n",
| ^~~~~~~~~~~~~
include/drm/drm_print.h:525:33: note: expected 'struct _ddebug *' but argument
is of type 'int'
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
| ~~~~~~~~~~~~~~~~^~~~
drivers/gpu/drm/drm_crtc_helper.c:710:39: error: incompatible type for argument 2 of
'___drm_dbg'
710 | DRM_DEBUG_KMS("[CONNECTOR:%d:%s] to
[CRTC:%d:%s]\n",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| char *
include/drm/drm_print.h:530:57: note: in definition of macro '__drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...) ___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~
drivers/gpu/drm/drm_crtc_helper.c:710:25: note: in expansion of macro
'DRM_DEBUG_KMS'
710 | DRM_DEBUG_KMS("[CONNECTOR:%d:%s] to
[CRTC:%d:%s]\n",
| ^~~~~~~~~~~~~
include/drm/drm_print.h:525:63: note: expected 'enum drm_debug_category' but
argument is of type 'char *'
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
drivers/gpu/drm/drm_crtc_helper.c:711:54: warning: passing argument 3 of
'___drm_dbg' makes pointer from integer without a cast [-Wint-conversion]
711 | connector->base.id,
connector->name,
| ~~~~~~~~~~~~~~~^~~
| |
| uint32_t {aka unsigned
int}
include/drm/drm_print.h:530:64: note: in definition of macro '__drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...) ___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~
drivers/gpu/drm/drm_crtc_helper.c:710:25: note: in expansion of macro
'DRM_DEBUG_KMS'
710 | DRM_DEBUG_KMS("[CONNECTOR:%d:%s] to
[CRTC:%d:%s]\n",
| ^~~~~~~~~~~~~
include/drm/drm_print.h:525:85: note: expected 'const char *' but argument is
of type 'uint32_t' {aka 'unsigned int'}
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
|
~~~~~~~~~~~~^~~~~~
include/drm/drm_print.h:580:19: warning: passing argument 1 of '___drm_dbg'
makes pointer from integer without a cast [-Wint-conversion]
580 | __drm_dbg(DRM_UT_KMS, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~
| |
| int
include/drm/drm_print.h:530:52: note: in definition of macro '__drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...) ___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~
drivers/gpu/drm/drm_crtc_helper.c:714:25: note: in expansion of macro
'DRM_DEBUG_KMS'
714 | DRM_DEBUG_KMS("[CONNECTOR:%d:%s] to
[NOCRTC]\n",
| ^~~~~~~~~~~~~
include/drm/drm_print.h:525:33: note: expected 'struct _ddebug *' but argument
is of type 'int'
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
| ~~~~~~~~~~~~~~~~^~~~
drivers/gpu/drm/drm_crtc_helper.c:714:39: error: incompatible type for argument 2 of
'___drm_dbg'
714 | DRM_DEBUG_KMS("[CONNECTOR:%d:%s] to
[NOCRTC]\n",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| char *
include/drm/drm_print.h:530:57: note: in definition of macro '__drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...) ___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~
drivers/gpu/drm/drm_crtc_helper.c:714:25: note: in expansion of macro
'DRM_DEBUG_KMS'
714 | DRM_DEBUG_KMS("[CONNECTOR:%d:%s] to
[NOCRTC]\n",
| ^~~~~~~~~~~~~
include/drm/drm_print.h:525:63: note: expected 'enum drm_debug_category' but
argument is of type 'char *'
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
drivers/gpu/drm/drm_crtc_helper.c:715:54: warning: passing argument 3 of
'___drm_dbg' makes pointer from integer without a cast [-Wint-conversion]
715 | connector->base.id,
connector->name);
| ~~~~~~~~~~~~~~~^~~
| |
| uint32_t {aka unsigned
int}
include/drm/drm_print.h:530:64: note: in definition of macro '__drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...) ___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~
drivers/gpu/drm/drm_crtc_helper.c:714:25: note: in expansion of macro
'DRM_DEBUG_KMS'
714 | DRM_DEBUG_KMS("[CONNECTOR:%d:%s] to
[NOCRTC]\n",
| ^~~~~~~~~~~~~
include/drm/drm_print.h:525:85: note: expected 'const char *' but argument is
of type 'uint32_t' {aka 'unsigned int'}
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
|
~~~~~~~~~~~~^~~~~~
include/drm/drm_print.h:580:19: warning: passing argument 1 of '___drm_dbg'
makes pointer from integer without a cast [-Wint-conversion]
580 | __drm_dbg(DRM_UT_KMS, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~
| |
| int
include/drm/drm_print.h:530:52: note: in definition of macro '__drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...) ___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~
drivers/gpu/drm/drm_crtc_helper.c:726:25: note: in expansion of macro
'DRM_DEBUG_KMS'
726 | DRM_DEBUG_KMS("attempting to set mode from"
| ^~~~~~~~~~~~~
include/drm/drm_print.h:525:33: note: expected 'struct _ddebug *' but argument
is of type 'int'
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
| ~~~~~~~~~~~~~~~~^~~~
drivers/gpu/drm/drm_crtc_helper.c:726:39: error: incompatible type for argument 2 of
'___drm_dbg'
726 | DRM_DEBUG_KMS("attempting to set mode from"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| char *
include/drm/drm_print.h:530:57: note: in definition of macro '__drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...) ___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~
drivers/gpu/drm/drm_crtc_helper.c:726:25: note: in expansion of macro
'DRM_DEBUG_KMS'
726 | DRM_DEBUG_KMS("attempting to set mode from"
| ^~~~~~~~~~~~~
include/drm/drm_print.h:525:63: note: expected 'enum drm_debug_category' but
argument is of type 'char *'
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
> include/drm/drm_print.h:530:41: error: too few arguments to
function '___drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...)
___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~
include/drm/drm_print.h:580:9: note: in expansion of macro '__drm_dbg'
580 | __drm_dbg(DRM_UT_KMS, fmt, ##__VA_ARGS__)
| ^~~~~~~~~
drivers/gpu/drm/drm_crtc_helper.c:726:25: note: in expansion of macro
'DRM_DEBUG_KMS'
726 | DRM_DEBUG_KMS("attempting to set mode from"
| ^~~~~~~~~~~~~
include/drm/drm_print.h:525:6: note: declared here
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
| ^~~~~~~~~~
include/drm/drm_print.h:580:19: warning: passing argument 1 of '___drm_dbg'
makes pointer from integer without a cast [-Wint-conversion]
580 | __drm_dbg(DRM_UT_KMS, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~
| |
| int
include/drm/drm_print.h:530:52: note: in definition of macro '__drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...) ___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~
drivers/gpu/drm/drm_crtc_helper.c:739:25: note: in expansion of macro
'DRM_DEBUG_KMS'
739 | DRM_DEBUG_KMS("Setting connector DPMS state to
on\n");
| ^~~~~~~~~~~~~
include/drm/drm_print.h:525:33: note: expected 'struct _ddebug *' but argument
is of type 'int'
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
| ~~~~~~~~~~~~~~~~^~~~
drivers/gpu/drm/drm_crtc_helper.c:739:39: error: incompatible type for argument 2 of
'___drm_dbg'
739 | DRM_DEBUG_KMS("Setting connector DPMS state to
on\n");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| char *
include/drm/drm_print.h:530:57: note: in definition of macro '__drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...) ___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~
drivers/gpu/drm/drm_crtc_helper.c:739:25: note: in expansion of macro
'DRM_DEBUG_KMS'
739 | DRM_DEBUG_KMS("Setting connector DPMS state to
on\n");
| ^~~~~~~~~~~~~
include/drm/drm_print.h:525:63: note: expected 'enum drm_debug_category' but
argument is of type 'char *'
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
> include/drm/drm_print.h:530:41: error: too few arguments to
function '___drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...)
___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~
include/drm/drm_print.h:580:9: note: in expansion of macro '__drm_dbg'
580 | __drm_dbg(DRM_UT_KMS, fmt, ##__VA_ARGS__)
| ^~~~~~~~~
drivers/gpu/drm/drm_crtc_helper.c:739:25: note: in expansion of macro
'DRM_DEBUG_KMS'
739 | DRM_DEBUG_KMS("Setting connector DPMS state to
on\n");
| ^~~~~~~~~~~~~
include/drm/drm_print.h:525:6: note: declared here
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
| ^~~~~~~~~~
include/drm/drm_print.h:580:19: warning: passing argument 1 of '___drm_dbg'
makes pointer from integer without a cast [-Wint-conversion]
580 | __drm_dbg(DRM_UT_KMS, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~
| |
| int
include/drm/drm_print.h:530:52: note: in definition of macro '__drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...) ___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~
drivers/gpu/drm/drm_crtc_helper.c:741:33: note: in expansion of macro
'DRM_DEBUG_KMS'
741 | DRM_DEBUG_KMS("\t[CONNECTOR:%d:%s] set
DPMS on\n", set->connectors[i]->base.id,
| ^~~~~~~~~~~~~
include/drm/drm_print.h:525:33: note: expected 'struct _ddebug *' but argument
is of type 'int'
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
| ~~~~~~~~~~~~~~~~^~~~
drivers/gpu/drm/drm_crtc_helper.c:741:47: error: incompatible type for argument 2 of
'___drm_dbg'
741 | DRM_DEBUG_KMS("\t[CONNECTOR:%d:%s] set
DPMS on\n", set->connectors[i]->base.id,
|
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| char *
include/drm/drm_print.h:530:57: note: in definition of macro '__drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...) ___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~
drivers/gpu/drm/drm_crtc_helper.c:741:33: note: in expansion of macro
'DRM_DEBUG_KMS'
741 | DRM_DEBUG_KMS("\t[CONNECTOR:%d:%s] set
DPMS on\n", set->connectors[i]->base.id,
| ^~~~~~~~~~~~~
include/drm/drm_print.h:525:63: note: expected 'enum drm_debug_category' but
argument is of type 'char *'
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
drivers/gpu/drm/drm_crtc_helper.c:741:108: warning: passing argument 3 of
'___drm_dbg' makes pointer from integer without a cast [-Wint-conversion]
741 | DRM_DEBUG_KMS("\t[CONNECTOR:%d:%s] set
DPMS on\n", set->connectors[i]->base.id,
|
~~~~~~~~~~~~~~~~~~~~~~~~^~~
|
|
|
uint32_t {aka unsigned int}
include/drm/drm_print.h:530:64: note: in definition of macro '__drm_dbg'
530 | #define __drm_dbg(cat, fmt, ...) ___drm_dbg(cat, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~
drivers/gpu/drm/drm_crtc_helper.c:741:33: note: in expansion of macro
'DRM_DEBUG_KMS'
741 | DRM_DEBUG_KMS("\t[CONNECTOR:%d:%s] set
DPMS on\n", set->connectors[i]->base.id,
| ^~~~~~~~~~~~~
include/drm/drm_print.h:525:85: note: expected 'const char *' but argument is
of type 'uint32_t' {aka 'unsigned int'}
525 | void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const
char *format, ...);
|
~~~~~~~~~~~~^~~~~~
..
vim +/___drm_dbg +463 drivers/gpu/drm/drm_gem_cma_helper.c
78467dc5f70fb9 Joonyoung Shim 2013-06-28 426
d7883f8759ab64 Thierry Reding 2014-11-03 427 /**
d7883f8759ab64 Thierry Reding 2014-11-03 428 * drm_gem_cma_prime_import_sg_table -
produce a CMA GEM object from another
d7883f8759ab64 Thierry Reding 2014-11-03 429 * driver's scatter/gather table
of pinned pages
d7883f8759ab64 Thierry Reding 2014-11-03 430 * @dev: device to import into
d7883f8759ab64 Thierry Reding 2014-11-03 431 * @attach: DMA-BUF attachment
d7883f8759ab64 Thierry Reding 2014-11-03 432 * @sgt: scatter/gather table of pinned
pages
d7883f8759ab64 Thierry Reding 2014-11-03 433 *
d7883f8759ab64 Thierry Reding 2014-11-03 434 * This function imports a
scatter/gather table exported via DMA-BUF by
d7883f8759ab64 Thierry Reding 2014-11-03 435 * another driver. Imported buffers must
be physically contiguous in memory
d7883f8759ab64 Thierry Reding 2014-11-03 436 * (i.e. the scatter/gather table must
contain a single entry). Drivers that
421242aab39ebf Daniel Vetter 2016-12-29 437 * use the CMA helpers should set this
as their
421242aab39ebf Daniel Vetter 2016-12-29 438 *
&drm_driver.gem_prime_import_sg_table callback.
d7883f8759ab64 Thierry Reding 2014-11-03 439 *
d7883f8759ab64 Thierry Reding 2014-11-03 440 * Returns:
d7883f8759ab64 Thierry Reding 2014-11-03 441 * A pointer to a newly created GEM
object or an ERR_PTR-encoded negative
d7883f8759ab64 Thierry Reding 2014-11-03 442 * error code on failure.
d7883f8759ab64 Thierry Reding 2014-11-03 443 */
78467dc5f70fb9 Joonyoung Shim 2013-06-28 444 struct drm_gem_object *
b5e9c1a25fcf8a Maarten Lankhorst 2014-01-09 445 drm_gem_cma_prime_import_sg_table(struct
drm_device *dev,
b5e9c1a25fcf8a Maarten Lankhorst 2014-01-09 446 struct dma_buf_attachment
*attach,
78467dc5f70fb9 Joonyoung Shim 2013-06-28 447 struct sg_table *sgt)
78467dc5f70fb9 Joonyoung Shim 2013-06-28 448 {
78467dc5f70fb9 Joonyoung Shim 2013-06-28 449 struct drm_gem_cma_object *cma_obj;
78467dc5f70fb9 Joonyoung Shim 2013-06-28 450
998fb1a0f478b8 Liviu Dudau 2017-11-10 451 /* check if the entries in the sg_table
are contiguous */
d46e7ae24b8153 Marek Szyprowski 2020-05-08 452 if (drm_prime_get_contiguous_size(sgt)
< attach->dmabuf->size)
78467dc5f70fb9 Joonyoung Shim 2013-06-28 453 return ERR_PTR(-EINVAL);
78467dc5f70fb9 Joonyoung Shim 2013-06-28 454
78467dc5f70fb9 Joonyoung Shim 2013-06-28 455 /* Create a CMA GEM buffer. */
cf8ccbc72d6109 Paul Cercueil 2021-05-23 456 cma_obj = __drm_gem_cma_create(dev,
attach->dmabuf->size, true);
78467dc5f70fb9 Joonyoung Shim 2013-06-28 457 if (IS_ERR(cma_obj))
e7c36347130fc3 Sachin Kamat 2014-07-03 458 return ERR_CAST(cma_obj);
78467dc5f70fb9 Joonyoung Shim 2013-06-28 459
78467dc5f70fb9 Joonyoung Shim 2013-06-28 460 cma_obj->paddr =
sg_dma_address(sgt->sgl);
78467dc5f70fb9 Joonyoung Shim 2013-06-28 461 cma_obj->sgt = sgt;
78467dc5f70fb9 Joonyoung Shim 2013-06-28 462
b5e9c1a25fcf8a Maarten Lankhorst 2014-01-09 @463 DRM_DEBUG_PRIME("dma_addr = %pad,
size = %zu\n", &cma_obj->paddr, attach->dmabuf->size);
78467dc5f70fb9 Joonyoung Shim 2013-06-28 464
78467dc5f70fb9 Joonyoung Shim 2013-06-28 465 return &cma_obj->base;
78467dc5f70fb9 Joonyoung Shim 2013-06-28 466 }
78467dc5f70fb9 Joonyoung Shim 2013-06-28 467
EXPORT_SYMBOL_GPL(drm_gem_cma_prime_import_sg_table);
78467dc5f70fb9 Joonyoung Shim 2013-06-28 468
:::::: The code at line 463 was first introduced by commit
:::::: b5e9c1a25fcf8a0d664606251a53b5caa6a19d08 drm: Pass dma-buf as argument to
gem_prime_import_sg_table
:::::: TO: Maarten Lankhorst <maarten.lankhorst(a)canonical.com>
:::::: CC: Maarten Lankhorst <maarten.lankhorst(a)canonical.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org