Re: [i-g-t PATCH 1/5] intel_opregion_decode: add new ASLE fields

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I don't expect anyone to be interested, so I pushed the lot.

BR,
Jani.

On Mon, 21 Dec 2015, Jani Nikula <jani.nikula@xxxxxxxxx> wrote:
> Signed-off-by: Jani Nikula <jani.nikula@xxxxxxxxx>
> ---
>  tools/intel_opregion_decode.c | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/tools/intel_opregion_decode.c b/tools/intel_opregion_decode.c
> index b19566108ed7..c65828ae2900 100644
> --- a/tools/intel_opregion_decode.c
> +++ b/tools/intel_opregion_decode.c
> @@ -122,7 +122,9 @@ struct opregion_asle {
>  	uint8_t fdss[8];
>  	uint32_t fdsp;
>  	uint32_t stat;
> -	uint8_t rsvd[86];
> +	uint64_t rvda;		/* Physical address of raw vbt data */
> +	uint32_t rvds;		/* Size of raw vbt data */
> +	uint8_t rsvd[58];
>  } __attribute__((packed));
>  
>  /* OpRegion mailbox #4: VBT */
> @@ -308,6 +310,8 @@ static void decode_asle(const void *buffer)
>  
>  	printf("\tfdsp:\t0x%08x\n", asle->fdsp);
>  	printf("\tstat:\t0x%08x\n", asle->stat);
> +	printf("\trvda:\t0x%016lx\n", asle->rvda);
> +	printf("\trvds:\t0x%08x\n", asle->rvds);
>  
>  	printf("\n");
>  }

-- 
Jani Nikula, Intel Open Source Technology Center
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux