All of lore.kernel.org
 help / color / mirror / Atom feed
From: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
To: linux-fbdev@vger.kernel.org
Subject: Re: [PATCH] viafb: correct sync polarity for OLPC DCON
Date: Wed, 23 Nov 2011 06:53:42 +0000	[thread overview]
Message-ID: <4ECC9876.3030701@gmx.de> (raw)
In-Reply-To: <20111121150557.9EB9D9D401E@zog.reactivated.net>

On 11/21/2011 03:05 PM, Daniel Drake wrote:
> While the OLPC display appears to be able to handle either positive
> or negative sync, the Display Controller only recognises positive sync.
> 
> This brings viafb (for XO-1.5) in line with lxfb (for XO-1) and
> fixes a recent regression where the XO-1.5 DCON could no longer be
> frozen. Thanks to Florian Tobias Schandinat for helping identify
> the fix.
> 
> Test case: from a vt,
> 	echo 1 > /sys/devices/platform/dcon/freeze
> should cause the current screen contents to freeze, rather than garbage being
> displayed.
> 
> Signed-off-by: Daniel Drake <dsd@laptop.org>

Applied.


Thanks,

Florian Tobias Schandinat

> ---
>  drivers/video/via/share.h |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/video/via/share.h b/drivers/video/via/share.h
> index 69d882c..c01c1c1 100644
> --- a/drivers/video/via/share.h
> +++ b/drivers/video/via/share.h
> @@ -559,8 +559,8 @@
>  #define M1200X720_R60_VSP       POSITIVE
>  
>  /* 1200x900@60 Sync Polarity (DCON) */
> -#define M1200X900_R60_HSP       NEGATIVE
> -#define M1200X900_R60_VSP       NEGATIVE
> +#define M1200X900_R60_HSP       POSITIVE
> +#define M1200X900_R60_VSP       POSITIVE
>  
>  /* 1280x600@60 Sync Polarity (GTF Mode) */
>  #define M1280x600_R60_HSP       NEGATIVE


      reply	other threads:[~2011-11-23  6:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-21 15:05 [PATCH] viafb: correct sync polarity for OLPC DCON Daniel Drake
2011-11-23  6:53 ` Florian Tobias Schandinat [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=4ECC9876.3030701@gmx.de \
    --to=florianschandinat@gmx.de \
    --cc=linux-fbdev@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.