From: kernel test robot <lkp@intel.com>
To: Arthur Grillo <arthurgrillo@riseup.net>, dri-devel@lists.freedesktop.org
Cc: hamohammed.sa@gmail.com, aleixpol@kde.org,
pekka.paalanen@collabora.com, rodrigosiqueiramelo@gmail.com,
llvm@lists.linux.dev, xaver.hugl@gmail.com,
victoria@system76.com, mwen@igalia.com, mairacanal@riseup.net,
mdaenzer@redhat.com, jadahl@redhat.com,
Arthur Grillo <arthurgrillo@riseup.net>,
oe-kbuild-all@lists.linux.dev, sebastian.wick@redhat.com,
andrealmeid@riseup.net, uma.shankar@intel.com, joshua@froggi.es
Subject: Re: [PATCH v3] drm/vkms: Add support to 1D gamma LUT
Date: Fri, 16 Jun 2023 10:49:22 +0800 [thread overview]
Message-ID: <202306161055.oBAa9NF1-lkp@intel.com> (raw)
In-Reply-To: <20230615200157.960630-1-arthurgrillo@riseup.net>
Hi Arthur,
kernel test robot noticed the following build warnings:
[auto build test WARNING on drm-misc/drm-misc-next]
[also build test WARNING on drm/drm-next drm-exynos/exynos-drm-next drm-intel/for-linux-next drm-intel/for-linux-next-fixes drm-tip/drm-tip linus/master v6.4-rc6 next-20230615]
[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#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Arthur-Grillo/drm-vkms-Add-support-to-1D-gamma-LUT/20230616-040349
base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next
patch link: https://lore.kernel.org/r/20230615200157.960630-1-arthurgrillo%40riseup.net
patch subject: [PATCH v3] drm/vkms: Add support to 1D gamma LUT
config: x86_64-randconfig-r022-20230615 (https://download.01.org/0day-ci/archive/20230616/202306161055.oBAa9NF1-lkp@intel.com/config)
compiler: clang version 15.0.7 (https://github.com/llvm/llvm-project.git 8dfdcc7b7bf66834a761bd8de445840ef68e4d1a)
reproduce (this is a W=1 build):
mkdir -p ~/bin
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git remote add drm-misc git://anongit.freedesktop.org/drm/drm-misc
git fetch drm-misc drm-misc-next
git checkout drm-misc/drm-misc-next
b4 shazam https://lore.kernel.org/r/20230615200157.960630-1-arthurgrillo@riseup.net
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang ~/bin/make.cross W=1 O=build_dir ARCH=x86_64 olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang ~/bin/make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/gpu/drm/vkms/
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202306161055.oBAa9NF1-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/gpu/drm/vkms/vkms_crtc.c:251:25: warning: variable 'gamma_lut' set but not used [-Wunused-but-set-variable]
struct vkms_color_lut *gamma_lut;
^
1 warning generated.
vim +/gamma_lut +251 drivers/gpu/drm/vkms/vkms_crtc.c
246
247 static void vkms_crtc_atomic_flush(struct drm_crtc *crtc,
248 struct drm_atomic_state *state)
249 {
250 struct vkms_output *vkms_output = drm_crtc_to_vkms_output(crtc);
> 251 struct vkms_color_lut *gamma_lut;
252
253 if (crtc->state->event) {
254 spin_lock(&crtc->dev->event_lock);
255
256 if (drm_crtc_vblank_get(crtc) != 0)
257 drm_crtc_send_vblank_event(crtc, crtc->state->event);
258 else
259 drm_crtc_arm_vblank_event(crtc, crtc->state->event);
260
261 spin_unlock(&crtc->dev->event_lock);
262
263 crtc->state->event = NULL;
264 }
265
266 vkms_output->composer_state = to_vkms_crtc_state(crtc->state);
267 gamma_lut = &vkms_output->composer_state->gamma_lut;
268
269 spin_unlock_irq(&vkms_output->lock);
270 }
271
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2023-06-16 2:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-15 20:01 [PATCH v3] drm/vkms: Add support to 1D gamma LUT Arthur Grillo
2023-06-15 21:59 ` kernel test robot
2023-06-16 2:49 ` kernel test robot [this message]
2023-06-19 7:54 ` Pekka Paalanen
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=202306161055.oBAa9NF1-lkp@intel.com \
--to=lkp@intel.com \
--cc=aleixpol@kde.org \
--cc=andrealmeid@riseup.net \
--cc=arthurgrillo@riseup.net \
--cc=dri-devel@lists.freedesktop.org \
--cc=hamohammed.sa@gmail.com \
--cc=jadahl@redhat.com \
--cc=joshua@froggi.es \
--cc=llvm@lists.linux.dev \
--cc=mairacanal@riseup.net \
--cc=mdaenzer@redhat.com \
--cc=mwen@igalia.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=pekka.paalanen@collabora.com \
--cc=rodrigosiqueiramelo@gmail.com \
--cc=sebastian.wick@redhat.com \
--cc=uma.shankar@intel.com \
--cc=victoria@system76.com \
--cc=xaver.hugl@gmail.com \
/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: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox