From: kernel test robot <lkp@intel.com>
To: Jaehyun Chung <jaehyun.chung@amd.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
Alex Deucher <alexander.deucher@amd.com>,
Krunoslav Kovac <Krunoslav.Kovac@amd.com>
Subject: drivers/gpu/drm/amd/amdgpu/../display/modules/color/color_gamma.c:1694:36: warning: implicit conversion from 'enum <anonymous>' to 'enum dc_transfer_func_predefined'
Date: Mon, 15 Nov 2021 11:25:34 +0800 [thread overview]
Message-ID: <202111151126.sicOHFsT-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2440 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: fa55b7dcdc43c1aa1ba12bca9d2dd4318c2a0dbf
commit: 9b3d76527f6ea50270f7f7ac749493b41783e8bd drm/amd/display: Revert adding degamma coefficients
date: 9 weeks ago
config: mips-randconfig-r034-20210928 (attached as .config)
compiler: mips-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://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=9b3d76527f6ea50270f7f7ac749493b41783e8bd
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 9b3d76527f6ea50270f7f7ac749493b41783e8bd
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=mips
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
drivers/gpu/drm/amd/amdgpu/../display/modules/color/color_gamma.c: In function 'apply_degamma_for_user_regamma':
>> drivers/gpu/drm/amd/amdgpu/../display/modules/color/color_gamma.c:1694:36: warning: implicit conversion from 'enum <anonymous>' to 'enum dc_transfer_func_predefined' [-Wenum-conversion]
1694 | build_coefficients(&coeff, true);
| ^~~~
vim +1694 drivers/gpu/drm/amd/amdgpu/../display/modules/color/color_gamma.c
1684
1685 static void apply_degamma_for_user_regamma(struct pwl_float_data_ex *rgb_regamma,
1686 uint32_t hw_points_num, struct calculate_buffer *cal_buffer)
1687 {
1688 uint32_t i;
1689
1690 struct gamma_coefficients coeff;
1691 struct pwl_float_data_ex *rgb = rgb_regamma;
1692 const struct hw_x_point *coord_x = coordinates_x;
1693
> 1694 build_coefficients(&coeff, true);
1695
1696 i = 0;
1697 while (i != hw_points_num + 1) {
1698 rgb->r = translate_from_linear_space_ex(
1699 coord_x->x, &coeff, 0, cal_buffer);
1700 rgb->g = rgb->r;
1701 rgb->b = rgb->r;
1702 ++coord_x;
1703 ++rgb;
1704 ++i;
1705 }
1706 }
1707
---
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: 28535 bytes --]
reply other threads:[~2021-11-15 3:26 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202111151126.sicOHFsT-lkp@intel.com \
--to=lkp@intel.com \
--cc=Krunoslav.Kovac@amd.com \
--cc=alexander.deucher@amd.com \
--cc=jaehyun.chung@amd.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®