From: kernel test robot <lkp@intel.com> To: Maxime Ripard <maxime@cerno.tech>, Daniel Vetter <daniel.vetter@intel.com>, David Airlie <airlied@linux.ie>, Maarten Lankhorst <maarten.lankhorst@linux.intel.com>, Thomas Zimmermann <tzimmermann@suse.de>, Eric Anholt <eric@anholt.net> Cc: bcm-kernel-feedback-list@broadcom.com, kbuild-all@lists.01.org, dri-devel@lists.freedesktop.org, Tim Gover <tim.gover@raspberrypi.com>, Dave Stevenson <dave.stevenson@raspberrypi.com> Subject: Re: [PATCH 1/6] drm/atomic: Pass the full state to CRTC atomic enable/disable Date: Fri, 25 Sep 2020 21:37:32 +0800 [thread overview] Message-ID: <202009252128.TfBeiNjX%lkp@intel.com> (raw) In-Reply-To: <1bdbebd704d01ccf57eb2428e1cbe33e64c94b95.1600961400.git-series.maxime@cerno.tech> [-- Attachment #1: Type: text/plain, Size: 4072 bytes --] Hi Maxime, I love your patch! Yet something to improve: [auto build test ERROR on drm-tip/drm-tip] [cannot apply to shawnguo/for-next drm-intel/for-linux-next linus/master anholt/for-next v5.9-rc6 next-20200925] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Maxime-Ripard/drm-vc4-hdmi-Support-the-10-12-bit-output/20200925-151211 base: git://anongit.freedesktop.org/drm/drm-tip drm-tip config: arm64-allyesconfig (attached as .config) compiler: aarch64-linux-gcc (GCC) 9.3.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/0day-ci/linux/commit/1ceb933c2a3dd89451b7563e66097d05e1df8d2e git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Maxime-Ripard/drm-vc4-hdmi-Support-the-10-12-bit-output/20200925-151211 git checkout 1ceb933c2a3dd89451b7563e66097d05e1df8d2e # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com> All error/warnings (new ones prefixed by >>): drivers/gpu/drm/imx/dcss/dcss-crtc.c: In function 'dcss_crtc_atomic_enable': >> drivers/gpu/drm/imx/dcss/dcss-crtc.c:82:42: error: implicit declaration of function 'drm_atomic_get_old_crtc_state' [-Werror=implicit-function-declaration] 82 | struct drm_crtc_state *old_crtc_state = drm_atomic_get_old_crtc_state(state, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> drivers/gpu/drm/imx/dcss/dcss-crtc.c:82:42: warning: initialization of 'struct drm_crtc_state *' from 'int' makes pointer from integer without a cast [-Wint-conversion] drivers/gpu/drm/imx/dcss/dcss-crtc.c: In function 'dcss_crtc_atomic_disable': drivers/gpu/drm/imx/dcss/dcss-crtc.c:118:42: warning: initialization of 'struct drm_crtc_state *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 118 | struct drm_crtc_state *old_crtc_state = drm_atomic_get_old_crtc_state(state, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors vim +/drm_atomic_get_old_crtc_state +82 drivers/gpu/drm/imx/dcss/dcss-crtc.c 78 79 static void dcss_crtc_atomic_enable(struct drm_crtc *crtc, 80 struct drm_atomic_state *state) 81 { > 82 struct drm_crtc_state *old_crtc_state = drm_atomic_get_old_crtc_state(state, 83 crtc); 84 struct dcss_crtc *dcss_crtc = container_of(crtc, struct dcss_crtc, 85 base); 86 struct dcss_dev *dcss = dcss_crtc->base.dev->dev_private; 87 struct drm_display_mode *mode = &crtc->state->adjusted_mode; 88 struct drm_display_mode *old_mode = &old_crtc_state->adjusted_mode; 89 struct videomode vm; 90 91 drm_display_mode_to_videomode(mode, &vm); 92 93 pm_runtime_get_sync(dcss->dev); 94 95 vm.pixelclock = mode->crtc_clock * 1000; 96 97 dcss_ss_subsam_set(dcss->ss); 98 dcss_dtg_css_set(dcss->dtg); 99 100 if (!drm_mode_equal(mode, old_mode) || !old_crtc_state->active) { 101 dcss_dtg_sync_set(dcss->dtg, &vm); 102 dcss_ss_sync_set(dcss->ss, &vm, 103 mode->flags & DRM_MODE_FLAG_PHSYNC, 104 mode->flags & DRM_MODE_FLAG_PVSYNC); 105 } 106 107 dcss_enable_dtg_and_ss(dcss); 108 109 dcss_ctxld_enable(dcss->ctxld); 110 111 /* Allow CTXLD kick interrupt to be disabled when VBLANK is disabled. */ 112 dcss_crtc->disable_ctxld_kick_irq = true; 113 } 114 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org [-- Attachment #2: .config.gz --] [-- Type: application/gzip, Size: 74216 bytes --] [-- Attachment #3: Type: text/plain, Size: 160 bytes --] _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com> To: kbuild-all@lists.01.org Subject: Re: [PATCH 1/6] drm/atomic: Pass the full state to CRTC atomic enable/disable Date: Fri, 25 Sep 2020 21:37:32 +0800 [thread overview] Message-ID: <202009252128.TfBeiNjX%lkp@intel.com> (raw) In-Reply-To: <1bdbebd704d01ccf57eb2428e1cbe33e64c94b95.1600961400.git-series.maxime@cerno.tech> [-- Attachment #1: Type: text/plain, Size: 4157 bytes --] Hi Maxime, I love your patch! Yet something to improve: [auto build test ERROR on drm-tip/drm-tip] [cannot apply to shawnguo/for-next drm-intel/for-linux-next linus/master anholt/for-next v5.9-rc6 next-20200925] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Maxime-Ripard/drm-vc4-hdmi-Support-the-10-12-bit-output/20200925-151211 base: git://anongit.freedesktop.org/drm/drm-tip drm-tip config: arm64-allyesconfig (attached as .config) compiler: aarch64-linux-gcc (GCC) 9.3.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/0day-ci/linux/commit/1ceb933c2a3dd89451b7563e66097d05e1df8d2e git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Maxime-Ripard/drm-vc4-hdmi-Support-the-10-12-bit-output/20200925-151211 git checkout 1ceb933c2a3dd89451b7563e66097d05e1df8d2e # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com> All error/warnings (new ones prefixed by >>): drivers/gpu/drm/imx/dcss/dcss-crtc.c: In function 'dcss_crtc_atomic_enable': >> drivers/gpu/drm/imx/dcss/dcss-crtc.c:82:42: error: implicit declaration of function 'drm_atomic_get_old_crtc_state' [-Werror=implicit-function-declaration] 82 | struct drm_crtc_state *old_crtc_state = drm_atomic_get_old_crtc_state(state, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> drivers/gpu/drm/imx/dcss/dcss-crtc.c:82:42: warning: initialization of 'struct drm_crtc_state *' from 'int' makes pointer from integer without a cast [-Wint-conversion] drivers/gpu/drm/imx/dcss/dcss-crtc.c: In function 'dcss_crtc_atomic_disable': drivers/gpu/drm/imx/dcss/dcss-crtc.c:118:42: warning: initialization of 'struct drm_crtc_state *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 118 | struct drm_crtc_state *old_crtc_state = drm_atomic_get_old_crtc_state(state, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors vim +/drm_atomic_get_old_crtc_state +82 drivers/gpu/drm/imx/dcss/dcss-crtc.c 78 79 static void dcss_crtc_atomic_enable(struct drm_crtc *crtc, 80 struct drm_atomic_state *state) 81 { > 82 struct drm_crtc_state *old_crtc_state = drm_atomic_get_old_crtc_state(state, 83 crtc); 84 struct dcss_crtc *dcss_crtc = container_of(crtc, struct dcss_crtc, 85 base); 86 struct dcss_dev *dcss = dcss_crtc->base.dev->dev_private; 87 struct drm_display_mode *mode = &crtc->state->adjusted_mode; 88 struct drm_display_mode *old_mode = &old_crtc_state->adjusted_mode; 89 struct videomode vm; 90 91 drm_display_mode_to_videomode(mode, &vm); 92 93 pm_runtime_get_sync(dcss->dev); 94 95 vm.pixelclock = mode->crtc_clock * 1000; 96 97 dcss_ss_subsam_set(dcss->ss); 98 dcss_dtg_css_set(dcss->dtg); 99 100 if (!drm_mode_equal(mode, old_mode) || !old_crtc_state->active) { 101 dcss_dtg_sync_set(dcss->dtg, &vm); 102 dcss_ss_sync_set(dcss->ss, &vm, 103 mode->flags & DRM_MODE_FLAG_PHSYNC, 104 mode->flags & DRM_MODE_FLAG_PVSYNC); 105 } 106 107 dcss_enable_dtg_and_ss(dcss); 108 109 dcss_ctxld_enable(dcss->ctxld); 110 111 /* Allow CTXLD kick interrupt to be disabled when VBLANK is disabled. */ 112 dcss_crtc->disable_ctxld_kick_irq = true; 113 } 114 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org [-- Attachment #2: config.gz --] [-- Type: application/gzip, Size: 74216 bytes --]
next prev parent reply other threads:[~2020-09-25 13:38 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-09-24 15:30 [PATCH 0/6] drm/vc4: hdmi: Support the 10/12 bit output Maxime Ripard 2020-09-24 15:30 ` Maxime Ripard 2020-09-24 15:30 ` [PATCH 1/6] drm/atomic: Pass the full state to CRTC atomic enable/disable Maxime Ripard 2020-09-24 15:30 ` Maxime Ripard 2020-09-25 13:37 ` kernel test robot [this message] 2020-09-25 13:37 ` kernel test robot 2020-09-24 15:30 ` [PATCH 2/6] drm/vc4: hvs: Align the HVS atomic hooks to the new API Maxime Ripard 2020-09-24 15:30 ` Maxime Ripard 2020-09-24 15:30 ` [PATCH 3/6] drm/vc4: Pass the atomic state to encoder hooks Maxime Ripard 2020-09-24 15:30 ` Maxime Ripard 2020-09-24 15:30 ` [PATCH 4/6] drm/vc4: hdmi: Create a custom connector state Maxime Ripard 2020-09-24 15:30 ` Maxime Ripard 2020-09-24 15:31 ` [PATCH 5/6] drm/vc4: hdmi: Store pixel frequency in the " Maxime Ripard 2020-09-24 15:31 ` Maxime Ripard 2020-09-24 15:31 ` [PATCH 6/6] drm/vc4: hdmi: Enable 10/12 bpc output Maxime Ripard 2020-09-24 15:31 ` Maxime Ripard
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=202009252128.TfBeiNjX%lkp@intel.com \ --to=lkp@intel.com \ --cc=airlied@linux.ie \ --cc=bcm-kernel-feedback-list@broadcom.com \ --cc=daniel.vetter@intel.com \ --cc=dave.stevenson@raspberrypi.com \ --cc=dri-devel@lists.freedesktop.org \ --cc=eric@anholt.net \ --cc=kbuild-all@lists.01.org \ --cc=maarten.lankhorst@linux.intel.com \ --cc=maxime@cerno.tech \ --cc=tim.gover@raspberrypi.com \ --cc=tzimmermann@suse.de \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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.