All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Dixit, Ashutosh" <ashutosh.dixit@intel.com>
To: Kunal Joshi <kunal1.joshi@intel.com>,
	Petri Latvala <petri.latvala@intel.com>
Cc: igt-dev@lists.freedesktop.org
Subject: Re: [igt-dev] [PATCH i-g-t 1/4] Make basic chamelium function accessible to other tests
Date: Mon, 26 Apr 2021 14:36:11 -0700	[thread overview]
Message-ID: <87czugwwxg.wl-ashutosh.dixit@intel.com> (raw)
In-Reply-To: <20210426093206.9182-2-kunal1.joshi@intel.com>

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.
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

  reply	other threads:[~2021-04-26 21:36 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 [this message]
2021-04-27  5:44     ` Petri Latvala
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=87czugwwxg.wl-ashutosh.dixit@intel.com \
    --to=ashutosh.dixit@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=kunal1.joshi@intel.com \
    --cc=petri.latvala@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.