mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alex Deucher <alexdeucher@gmail.com>
To: Roel Kluin <roel.kluin@gmail.com>
Cc: David Airlie <airlied@linux.ie>,
	dri-devel@lists.sourceforge.net,
	Andrew Morton <akpm@linux-foundation.org>,
	LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] drm/radeon/kms: crtc_ omitted in display assignments in  radeon_atom_mode_fixup()?
Date: Fri, 15 Jan 2010 09:27:12 -0500	[thread overview]
Message-ID: <a728f9f91001150627t654e837fo3e5fbfcebb90929b@mail.gmail.com> (raw)
In-Reply-To: <4B50778F.2010405@gmail.com>

On Fri, Jan 15, 2010 at 9:11 AM, Roel Kluin <roel.kluin@gmail.com> wrote:
> The crtc_ prefix was omitted in h/vdisplay assignments
>
> Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
> ---
> Not sure, but maybe the change below is needed? please ack/nack.

NAK.  the code is correct as is.

>
> diff --git a/drivers/gpu/drm/radeon/radeon_encoders.c b/drivers/gpu/drm/radeon/radeon_encoders.c
> index 82eb551..a9dc073 100644
> --- a/drivers/gpu/drm/radeon/radeon_encoders.c
> +++ b/drivers/gpu/drm/radeon/radeon_encoders.c
> @@ -233,8 +233,8 @@ static bool radeon_atom_mode_fixup(struct drm_encoder *encoder,
>                if (!ASIC_IS_AVIVO(rdev)) {
>                        adjusted_mode->hdisplay = mode->hdisplay;
>                        adjusted_mode->vdisplay = mode->vdisplay;
> -                       adjusted_mode->crtc_hdisplay = mode->hdisplay;
> -                       adjusted_mode->crtc_vdisplay = mode->vdisplay;
> +                       adjusted_mode->crtc_hdisplay = mode->crtc_hdisplay;
> +                       adjusted_mode->crtc_vdisplay = mode->crtc_vdisplay;
>                }
>                adjusted_mode->base.id = mode_id;
>        }
>
> ------------------------------------------------------------------------------
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for Conference
> attendees to learn about information security's most important issues through
> interactions with peers, luminaries and emerging and established companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> --
> _______________________________________________
> Dri-devel mailing list
> Dri-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dri-devel
>

      reply	other threads:[~2010-01-15 14:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-15 14:11 Roel Kluin
2010-01-15 14:27 ` Alex Deucher [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=a728f9f91001150627t654e837fo3e5fbfcebb90929b@mail.gmail.com \
    --to=alexdeucher@gmail.com \
    --cc=airlied@linux.ie \
    --cc=akpm@linux-foundation.org \
    --cc=dri-devel@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=roel.kluin@gmail.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

all inboxes | Powered by JetHome®