Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Jani Nikula <jani.nikula@linux.intel.com>
To: Ville Syrjala <ville.syrjala@linux.intel.com>,
	igt-dev@lists.freedesktop.org
Subject: Re: [igt-dev] [PATCH i-g-t 1/5] tools/intel_vbt_decode: update vbt defs from kernel
Date: Wed, 12 Oct 2022 19:00:46 +0300	[thread overview]
Message-ID: <87fsftt4k1.fsf@intel.com> (raw)
In-Reply-To: <20220907094651.29527-1-ville.syrjala@linux.intel.com>

On Wed, 07 Sep 2022, Ville Syrjala <ville.syrjala@linux.intel.com> wrote:
> From: Ville Syrjälä <ville.syrjala@linux.intel.com>
>
> Sync up the the VBT definitions from kernel commit
> <fixme>

With that fixed, series is

Reviewed-by: Jani Nikula <jani.nikula@intel.com>


> and adjust the actual code to match.
>
> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
> ---
>  tools/intel_vbt_decode.c | 4 ++--
>  tools/intel_vbt_defs.h   | 5 +++--
>  2 files changed, 5 insertions(+), 4 deletions(-)
>
> diff --git a/tools/intel_vbt_decode.c b/tools/intel_vbt_decode.c
> index 767853b64b3d..ee3b5effee92 100644
> --- a/tools/intel_vbt_decode.c
> +++ b/tools/intel_vbt_decode.c
> @@ -1068,8 +1068,8 @@ static void dump_general_definitions(struct context *context,
>  	child_dev_num = (block->size - sizeof(*defs)) / defs->child_dev_size;
>  
>  	printf("\tCRT DDC GMBUS addr: 0x%02x\n", defs->crt_ddc_gmbus_pin);
> -	printf("\tUse ACPI DPMS CRT power states: %s\n",
> -	       YESNO(defs->dpms_acpi));
> +	printf("\tUse Non ACPI DPMS CRT power states: %s\n",
> +	       YESNO(defs->dpms_non_acpi));
>  	printf("\tSkip CRT detect at boot: %s\n",
>  	       YESNO(defs->skip_boot_crt_detect));
>  	printf("\tUse DPMS on AIM devices: %s\n", YESNO(defs->dpms_aim));
> diff --git a/tools/intel_vbt_defs.h b/tools/intel_vbt_defs.h
> index d06b35f17c6a..a9f44abfc9fc 100644
> --- a/tools/intel_vbt_defs.h
> +++ b/tools/intel_vbt_defs.h
> @@ -418,7 +418,8 @@ struct child_device_config {
>  			u8 compression_method_cps:1;		/* 198+ */
>  			u8 ganged_edp:1;			/* 202+ */
>  			u8 lttpr_non_transparent:1;		/* 235+ */
> -			u8 reserved2:3;
> +			u8 disable_compression_for_ext_disp:1;	/* 251+ */
> +			u8 reserved2:2;
>  			u8 compression_structure_index:4;	/* 198+ */
>  			u8 reserved3:4;
>  			u8 hdmi_max_frl_rate:4;			/* 237+ */
> @@ -491,7 +492,7 @@ struct bdb_general_definitions {
>  	u8 crt_ddc_gmbus_pin;
>  
>  	/* DPMS bits */
> -	u8 dpms_acpi:1;
> +	u8 dpms_non_acpi:1;
>  	u8 skip_boot_crt_detect:1;
>  	u8 dpms_aim:1;
>  	u8 rsvd1:5; /* finish byte */

-- 
Jani Nikula, Intel Open Source Graphics Center

      parent reply	other threads:[~2022-10-12 16:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-07  9:46 [igt-dev] [PATCH i-g-t 1/5] tools/intel_vbt_decode: update vbt defs from kernel Ville Syrjala
2022-09-07  9:46 ` [igt-dev] [PATCH i-g-t 2/5] tools/intel_vbt_decode: Decode the i2c speed Ville Syrjala
2022-09-07  9:46 ` [igt-dev] [PATCH i-g-t 3/5] tools/intel_vbt_decode: Resort block 2 decoding Ville Syrjala
2022-09-07  9:46 ` [igt-dev] [PATCH i-g-t 4/5] tools/intel_vbt_decode: Add version checks for a lot of child dev fields Ville Syrjala
2022-10-12 16:02   ` Jani Nikula
2022-09-07  9:46 ` [igt-dev] [PATCH i-g-t 5/5] tools/intel_vbt_decode: Decode more " Ville Syrjala
2022-09-07 11:35 ` [igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/5] tools/intel_vbt_decode: update vbt defs from kernel Patchwork
2022-09-07 16:45 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2022-10-12 16:00 ` Jani Nikula [this message]

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=87fsftt4k1.fsf@intel.com \
    --to=jani.nikula@linux.intel.com \
    --cc=igt-dev@lists.freedesktop.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