lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <57C65822.2030301@codeaurora.org>
Date:   Wed, 31 Aug 2016 09:38:02 +0530
From:   Archit Taneja <architt@...eaurora.org>
To:     Jose Abreu <Jose.Abreu@...opsys.com>,
        dri-devel@...ts.freedesktop.org
Cc:     Carlos Palminha <CARLOS.PALMINHA@...opsys.com>,
        David Airlie <airlied@...ux.ie>,
        Russell King <rmk+kernel@....linux.org.uk>,
        Daniel Vetter <daniel.vetter@...ll.ch>,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH RESEND] drm: bridge/dw-hdmi: Fix colorspace and scan
 information registers values

Hi,

On 08/29/2016 03:00 PM, Jose Abreu wrote:
> Colorspace and scan information values were being written in wrong
> offsets. This patch corrects this and writes the values at the
> offsets specified in the databook.

queued to drm-misc after cleaning up some checkpatch
errors.

Thanks,
Archit

>
> Signed-off-by: Jose Abreu <joabreu@...opsys.com>
> Acked-by: Russell King <rmk+kernel@...linux.org.uk>
> Cc: Carlos Palminha <palminha@...opsys.com>
> Cc: Archit Taneja <architt@...eaurora.org>
> Cc: David Airlie <airlied@...ux.ie>
> Cc: Russell King <rmk+kernel@....linux.org.uk>
> Cc: Daniel Vetter <daniel.vetter@...ll.ch>
> Cc: dri-devel@...ts.freedesktop.org
> Cc: linux-kernel@...r.kernel.org
> ---
>   drivers/gpu/drm/bridge/dw-hdmi.c | 7 ++++---
>   1 file changed, 4 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/gpu/drm/bridge/dw-hdmi.c b/drivers/gpu/drm/bridge/dw-hdmi.c
> index 77ab473..cdf39aa 100644
> --- a/drivers/gpu/drm/bridge/dw-hdmi.c
> +++ b/drivers/gpu/drm/bridge/dw-hdmi.c
> @@ -940,10 +940,11 @@ static void hdmi_config_AVI(struct dw_hdmi *hdmi, struct drm_display_mode *mode)
>   	 */
>
>   	/*
> -	 * AVI data byte 1 differences: Colorspace in bits 4,5 rather than 5,6,
> -	 * active aspect present in bit 6 rather than 4.
> +	 * AVI data byte 1 differences: Colorspace in bits 0,1 rather than 5,6,
> +	 * scan info in bits 4,5 rather than 0,1 and active aspect present in
> +	 * bit 6 rather than 4.
>   	 */
> -	val = (frame.colorspace & 3) << 4 | (frame.scan_mode & 0x3);
> +	val = (frame.scan_mode & 3) << 4 | (frame.colorspace & 3);
>   	if (frame.active_aspect & 15)
>   		val |= HDMI_FC_AVICONF0_ACTIVE_FMT_INFO_PRESENT;
>   	if (frame.top_bar || frame.bottom_bar)
>

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ