From: Frank Rowand <frowand.list@gmail.com>
To: "Maarten Lankhorst" <maarten.lankhorst@linux.intel.com>,
"Maxime Ripard" <mripard@kernel.org>,
"David Airlie" <airlied@linux.ie>,
"Daniel Vetter" <daniel@ffwll.ch>,
"Ville Syrjälä" <ville.syrjala@linux.intel.com>
Subject: build error: f7655d42fcee drm/edid: Add CTA-861-G modes with VIC >= 193
Date: Tue, 11 Feb 2020 12:48:23 -0600 [thread overview]
Message-ID: <4e918a35-dbcd-b2fd-1888-a86e7d448128@gmail.com> (raw)
I am getting a kernel build error at version 5.6-rc1:
drivers/gpu/drm/drm_edid.c: In function 'cea_mode_alternate_timings':
drivers/gpu/drm/drm_edid.c:3275:2: error: call to '__compiletime_assert_3282' declared with attribute error: BUILD_BUG_ON failed: cea_mode_for_vic(8)->vtotal != 262 || cea_mode_for_vic(9)->vtotal != 262 || cea_mode_for_vic(12)->vtotal != 262 || cea_mode_for_vic(13)->vtotal != 262 || cea_mode_for_vic(23)->vtotal != 312 || cea_mode_for_vic(24)->vtotal != 312 || cea_mode_for_vic(27)->vtotal != 312 || cea_mode_for_vic(28)->vtotal != 312
make[4]: *** [drivers/gpu/drm/drm_edid.o] Error 1
Kernel configuration:
make qcom_defconfig
(arch/arm/configs/qcom_defconfig)
Compiler is arm-eabi-gcc 4.6.x
The build error goes away if I revert:
f7655d42fcee drm/edid: Add CTA-861-G modes with VIC >= 193
The build error also goes away if I comment out the two lines added to cea_mode_for_vic():
if (vic >= 193 && vic < 193 + ARRAY_SIZE(edid_cea_modes_193))
return &edid_cea_modes_193[vic - 193];
-Frank
next reply other threads:[~2020-02-11 18:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-11 18:48 Frank Rowand [this message]
2020-02-11 19:06 ` build error: f7655d42fcee drm/edid: Add CTA-861-G modes with VIC >= 193 Frank Rowand
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=4e918a35-dbcd-b2fd-1888-a86e7d448128@gmail.com \
--to=frowand.list@gmail.com \
--cc=airlied@linux.ie \
--cc=daniel@ffwll.ch \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=ville.syrjala@linux.intel.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