public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
From: "Ser, Simon" <simon.ser@intel.com>
To: "igt-dev@lists.freedesktop.org" <igt-dev@lists.freedesktop.org>,
	"contact@emersion.fr" <contact@emersion.fr>
Subject: Re: [igt-dev] [PATCH i-g-t] lib/igt_kms: remove unused update_edid_csum
Date: Mon, 15 Jul 2019 08:25:52 +0000	[thread overview]
Message-ID: <e4ca05549332ba495885a7f711c1cfbec5968adb.camel@intel.com> (raw)
In-Reply-To: <vHfsLtT_tNxnPYhTPvFOMQN1sFBBSmlAJqA6alDJYCMTCvPCJf0fwn7eLSOt0K5f7UzmB7JMjjEA4O-vp6lh19zq_zgvQKkXgb6g48jEfYo=@emersion.fr>

cc Arek, Martin

On Thu, 2019-07-11 at 17:43 +0000, contact@emersion.fr wrote:
> From: Simon Ser <contact@emersion.fr>
> 
> I missed it when removing the old EDID generation code.
> 
> Signed-off-by: Simon Ser <contact@emersion.fr>
> ---
>  lib/igt_kms.c | 18 ------------------
>  1 file changed, 18 deletions(-)
> 
> diff --git a/lib/igt_kms.c b/lib/igt_kms.c
> index 8a76acf9e8e4..175e71c310b7 100644
> --- a/lib/igt_kms.c
> +++ b/lib/igt_kms.c
> @@ -87,24 +87,6 @@
>  static char *forced_connectors[MAX_CONNECTORS + 1];
>  static int forced_connectors_device[MAX_CONNECTORS + 1];
> 
> -static void update_edid_csum(unsigned char *edid, int cea_pos)
> -{
> -	int i, sum = 0;
> -	struct tm *tm;
> -	time_t t;
> -
> -	/* year of manufacture */
> -	t = time(NULL);
> -	tm = localtime(&t);
> -	edid[17] = tm->tm_year - 90;
> -
> -	/* calculate checksum */
> -	for (i = 0; i < 127; i++) {
> -		sum = sum + edid[cea_pos + i];
> -	}
> -	edid[cea_pos + 127] = 256 - sum;
> -}
> -
>  /**
>   * igt_kms_get_base_edid:
>   *
> --
> 2.22.0
> 
> 
> _______________________________________________
> igt-dev mailing list
> igt-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/igt-dev
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

  parent reply	other threads:[~2019-07-15  8:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-11 17:43 [igt-dev] [PATCH i-g-t] lib/igt_kms: remove unused update_edid_csum contact
2019-07-11 20:17 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2019-07-13  2:23 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2019-07-15  8:25 ` Ser, Simon [this message]
2019-07-15  8:27   ` [igt-dev] [PATCH i-g-t] " Arkadiusz Hiler

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=e4ca05549332ba495885a7f711c1cfbec5968adb.camel@intel.com \
    --to=simon.ser@intel.com \
    --cc=contact@emersion.fr \
    --cc=igt-dev@lists.freedesktop.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