All of lore.kernel.org
 help / color / mirror / Atom feed
* drivers/gpu/drm/i915/display/intel_cursor.c:155:6: error: implicit declaration of function 'intel_crtc_is_bigjoiner_slave'
@ 2022-02-23 18:54 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2022-02-23 18:54 UTC (permalink / raw)
  To: Ville Syrjälä
  Cc: llvm, kbuild-all, linux-kernel, 0day robot, Lee Shawn C

tree:   https://github.com/0day-ci/linux/commits/UPDATE-20220223-215130/Ville-Syrjala/drm-i915-Fix-cursor-coordinates-on-bigjoiner-slave/20220215-142435
head:   57b0973986ab3f838289ef1e4d27e8638c04b72f
commit: 57b0973986ab3f838289ef1e4d27e8638c04b72f drm/i915: Fix cursor coordinates on bigjoiner slave
date:   5 hours ago
config: i386-randconfig-a011 (https://download.01.org/0day-ci/archive/20220224/202202240216.mijx1JlB-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project d271fc04d5b97b12e6b797c6067d3c96a8d7470e)
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/0day-ci/linux/commit/57b0973986ab3f838289ef1e4d27e8638c04b72f
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review UPDATE-20220223-215130/Ville-Syrjala/drm-i915-Fix-cursor-coordinates-on-bigjoiner-slave/20220215-142435
        git checkout 57b0973986ab3f838289ef1e4d27e8638c04b72f
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/gpu/drm/i915/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/i915/display/intel_cursor.c:155:6: error: implicit declaration of function 'intel_crtc_is_bigjoiner_slave' [-Werror,-Wimplicit-function-declaration]
           if (intel_crtc_is_bigjoiner_slave(crtc_state))
               ^
   1 error generated.


vim +/intel_crtc_is_bigjoiner_slave +155 drivers/gpu/drm/i915/display/intel_cursor.c

   130	
   131	static int intel_check_cursor(struct intel_crtc_state *crtc_state,
   132				      struct intel_plane_state *plane_state)
   133	{
   134		const struct drm_framebuffer *fb = plane_state->hw.fb;
   135		struct drm_i915_private *i915 = to_i915(plane_state->uapi.plane->dev);
   136		const struct drm_rect src = plane_state->uapi.src;
   137		const struct drm_rect dst = plane_state->uapi.dst;
   138		int ret;
   139	
   140		if (fb && fb->modifier != DRM_FORMAT_MOD_LINEAR) {
   141			drm_dbg_kms(&i915->drm, "cursor cannot be tiled\n");
   142			return -EINVAL;
   143		}
   144	
   145		ret = intel_atomic_plane_check_clipping(plane_state, crtc_state,
   146							DRM_PLANE_HELPER_NO_SCALING,
   147							DRM_PLANE_HELPER_NO_SCALING,
   148							true);
   149		if (ret)
   150			return ret;
   151	
   152		/* Use the unclipped src/dst rectangles, which we program to hw */
   153		plane_state->uapi.src = src;
   154		plane_state->uapi.dst = dst;
 > 155		if (intel_crtc_is_bigjoiner_slave(crtc_state))
   156			drm_rect_translate(&plane_state->uapi.dst,
   157					   -crtc_state->pipe_src_w, 0);
   158	
   159		ret = intel_cursor_check_surface(plane_state);
   160		if (ret)
   161			return ret;
   162	
   163		if (!plane_state->uapi.visible)
   164			return 0;
   165	
   166		ret = intel_plane_check_src_coordinates(plane_state);
   167		if (ret)
   168			return ret;
   169	
   170		return 0;
   171	}
   172	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

* drivers/gpu/drm/i915/display/intel_cursor.c:155:6: error: implicit declaration of function 'intel_crtc_is_bigjoiner_slave'
@ 2022-02-23 19:05 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2022-02-23 19:05 UTC (permalink / raw)
  To: Ville Syrjälä; +Cc: kbuild-all, linux-kernel, 0day robot, Lee Shawn C

tree:   https://github.com/0day-ci/linux/commits/UPDATE-20220223-215130/Ville-Syrjala/drm-i915-Fix-cursor-coordinates-on-bigjoiner-slave/20220215-142435
head:   57b0973986ab3f838289ef1e4d27e8638c04b72f
commit: 57b0973986ab3f838289ef1e4d27e8638c04b72f drm/i915: Fix cursor coordinates on bigjoiner slave
date:   5 hours ago
config: x86_64-defconfig (https://download.01.org/0day-ci/archive/20220224/202202240237.lZSlP2iI-lkp@intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://github.com/0day-ci/linux/commit/57b0973986ab3f838289ef1e4d27e8638c04b72f
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review UPDATE-20220223-215130/Ville-Syrjala/drm-i915-Fix-cursor-coordinates-on-bigjoiner-slave/20220215-142435
        git checkout 57b0973986ab3f838289ef1e4d27e8638c04b72f
        # save the config file to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   drivers/gpu/drm/i915/display/intel_cursor.c: In function 'intel_check_cursor':
>> drivers/gpu/drm/i915/display/intel_cursor.c:155:6: error: implicit declaration of function 'intel_crtc_is_bigjoiner_slave' [-Werror=implicit-function-declaration]
     155 |  if (intel_crtc_is_bigjoiner_slave(crtc_state))
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   cc1: all warnings being treated as errors


vim +/intel_crtc_is_bigjoiner_slave +155 drivers/gpu/drm/i915/display/intel_cursor.c

   130	
   131	static int intel_check_cursor(struct intel_crtc_state *crtc_state,
   132				      struct intel_plane_state *plane_state)
   133	{
   134		const struct drm_framebuffer *fb = plane_state->hw.fb;
   135		struct drm_i915_private *i915 = to_i915(plane_state->uapi.plane->dev);
   136		const struct drm_rect src = plane_state->uapi.src;
   137		const struct drm_rect dst = plane_state->uapi.dst;
   138		int ret;
   139	
   140		if (fb && fb->modifier != DRM_FORMAT_MOD_LINEAR) {
   141			drm_dbg_kms(&i915->drm, "cursor cannot be tiled\n");
   142			return -EINVAL;
   143		}
   144	
   145		ret = intel_atomic_plane_check_clipping(plane_state, crtc_state,
   146							DRM_PLANE_HELPER_NO_SCALING,
   147							DRM_PLANE_HELPER_NO_SCALING,
   148							true);
   149		if (ret)
   150			return ret;
   151	
   152		/* Use the unclipped src/dst rectangles, which we program to hw */
   153		plane_state->uapi.src = src;
   154		plane_state->uapi.dst = dst;
 > 155		if (intel_crtc_is_bigjoiner_slave(crtc_state))
   156			drm_rect_translate(&plane_state->uapi.dst,
   157					   -crtc_state->pipe_src_w, 0);
   158	
   159		ret = intel_cursor_check_surface(plane_state);
   160		if (ret)
   161			return ret;
   162	
   163		if (!plane_state->uapi.visible)
   164			return 0;
   165	
   166		ret = intel_plane_check_src_coordinates(plane_state);
   167		if (ret)
   168			return ret;
   169	
   170		return 0;
   171	}
   172	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-02-23 19:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-23 18:54 drivers/gpu/drm/i915/display/intel_cursor.c:155:6: error: implicit declaration of function 'intel_crtc_is_bigjoiner_slave' kernel test robot
2022-02-23 19:05 kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.