All of lore.kernel.org
 help / color / mirror / Atom feed
From: Petri Latvala <petri.latvala@intel.com>
To: "Dixit, Ashutosh" <ashutosh.dixit@intel.com>
Cc: igt-dev@lists.freedesktop.org, Kunal Joshi <kunal1.joshi@intel.com>
Subject: Re: [igt-dev] [PATCH i-g-t 1/4] Make basic chamelium function accessible to other tests
Date: Tue, 27 Apr 2021 08:44:16 +0300	[thread overview]
Message-ID: <YIeksMD1OOJpeWTe@platvala-desk.ger.corp.intel.com> (raw)
In-Reply-To: <87czugwwxg.wl-ashutosh.dixit@intel.com>

On Mon, Apr 26, 2021 at 02:36:11PM -0700, Dixit, Ashutosh wrote:
> On Mon, 26 Apr 2021 02:32:03 -0700, Kunal Joshi wrote:
> >
> > diff --git a/lib/igt_chamelium.h b/lib/igt_chamelium.h
> > index bfcb7bb4..a4ace397 100644
> > --- a/lib/igt_chamelium.h
> > +++ b/lib/igt_chamelium.h
> > @@ -32,6 +32,7 @@
> >  #include <xf86drmMode.h>
> >
> >  #include "igt_debugfs.h"
> > +#include "igt_kms.h"
> >
> >  struct igt_fb;
> >  struct edid;
> > @@ -81,6 +82,11 @@ struct chamelium_infoframe {
> >
> >  struct chamelium_edid;
> >
> > +/* Set of Video Identification Codes advertised in the EDID */
> > +static const uint8_t edid_ar_svds[] = {
> > +	16, /* 1080p @ 60Hz, 16:9 */
> > +};
> > +
> 
> Because lib/igt_kms.c includes igt_chamelium.h only if HAVE_CHAMELIUM is
> #ifdef'd, this breaks the build on systems on which HAVE_CHAMELIUM is not
> defined:
> 
> ../lib/igt_kms.c: In function ‘igt_kms_get_aspect_ratio_edid’:
> ../lib/igt_kms.c:521:54: error: ‘edid_ar_svds’ undeclared (first use in this function);>
>   521 |  cea_data_size += edid_cea_data_block_set_svd(block, edid_ar_svds,
>       |                                                      ^~~~~~~~~~~~
>       |                                                      edid_4k_svds
> ../lib/igt_kms.c:521:54: note: each undeclared identifier is reported only once for eac>
> [13/837] Compiling C object lib/libi915_perf.so.1.p/meson-generated_.._i915_perf_metric>
> 
> So IGT build is now broken.


Fix patch sent. Should have seen this in review, and we would have
caught it with gitlab CI if only the reporting relay wasn't broken at
the right moment. I restarted it and now we should be getting this
error reported for this series.


-- 
Petri Latvala
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

  reply	other threads:[~2021-04-27  5:43 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-26  9:32 [igt-dev] [PATCH i-g-t 0/4] Test tiled display with aid of chamelium.] Kunal Joshi
2021-04-26  9:32 ` [igt-dev] [PATCH i-g-t 1/4] Make basic chamelium function accessible to other tests Kunal Joshi
2021-04-26 21:36   ` Dixit, Ashutosh
2021-04-27  5:44     ` Petri Latvala [this message]
2021-04-26  9:32 ` [igt-dev] [PATCH i-g-t 2/4] Added structures and functions to generate tiled edids Kunal Joshi
2021-04-26  9:32 ` [igt-dev] [PATCH i-g-t 3/4] Added a subtest where chamelium acts as a tiled panel Kunal Joshi
2021-04-26  9:32 ` [igt-dev] [PATCH i-g-t 4/4] HAX: Run in BAT Kunal Joshi
2021-04-26 11:13 ` [igt-dev] ✓ Fi.CI.BAT: success for Test tiled display with aid of chamelium.] Patchwork
2021-04-26 13:37 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2021-04-27  5:38 ` [igt-dev] ✗ GitLab.Pipeline: warning " Patchwork
  -- strict thread matches above, loose matches on Subject: below --
2021-04-26  8:12 [igt-dev] [PATCH i-g-t 0/4] Test tiled display with aid of chamelium Kunal Joshi
2021-04-26  8:12 ` [igt-dev] [PATCH i-g-t 1/4] Make basic chamelium function accessible to other tests Kunal Joshi

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=YIeksMD1OOJpeWTe@platvala-desk.ger.corp.intel.com \
    --to=petri.latvala@intel.com \
    --cc=ashutosh.dixit@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=kunal1.joshi@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 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.