Re: [PATCH] nouveau: fix acpi edid retrieval

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

 



Dear Maarten,


thanks for the patch.


Am Donnerstag, den 08.11.2012, 17:19 +0100 schrieb Maarten Lankhorst:
> Commit c0077061e7ea

Please paste the commit summary for people not having a Git tree at
hand.

> accidentally inverted the logic for nouveau_acpi_edid, causing it to
> only show a connector as connected when the edid could not be retrieved with acpi.
> 
> Signed-off-by: Maarten Lankhorst <maarten.lankhorst@xxxxxxxxxxxxx>
> ---
> diff --git a/drivers/gpu/drm/nouveau/nouveau_connector.c b/drivers/gpu/drm/nouveau/nouveau_connector.c
> index 9a6e2cb..d3595b2 100644
> --- a/drivers/gpu/drm/nouveau/nouveau_connector.c
> +++ b/drivers/gpu/drm/nouveau/nouveau_connector.c
> @@ -355,7 +355,7 @@ nouveau_connector_detect_lvds(struct drm_connector *connector, bool force)
>  	 * valid - it's not (rh#613284)
>  	 */
>  	if (nv_encoder->dcb->lvdsconf.use_acpi_for_edid) {
> -		if (!(nv_connector->edid = nouveau_acpi_edid(dev, connector))) {
> +		if ((nv_connector->edid = nouveau_acpi_edid(dev, connector))) {

One pair of parentheses can go now?

>  			status = connector_status_connected;
>  			goto out;
>  		}

Acked-by: Paul Menzel <paulepanter@xxxxxxxxxxxxxxxxxxxxx>


Thanks,

Paul

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux