From: Aaron Sowry <aaron+nv-+1tCnOwpXBmzQB+pC5nmwQ@public.gmane.org>
To: Ben Skeggs <skeggsb-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: Re: NV50 backlight brightness
Date: Fri, 22 Oct 2010 11:57:40 +0200 [thread overview]
Message-ID: <20101022095740.GA30072@aeneby.se> (raw)
In-Reply-To: <1287657920.3245.1.camel@nisroch>
[-- Attachment #1.1.1: Type: text/plain, Size: 376 bytes --]
On Thu, Oct 21, 2010 at 08:45:20PM +1000, Ben Skeggs wrote:
> What value does 0x610084 contain on boot for you?
>
Using the attached patch (hopefully early enough on in the initialisation):
[aaron@jules ~]$ dmesg | grep NV50
[drm] nouveau 0000:01:00.0: Detected an NV50 generation card (0x0a8600a2)
NV50 0x00610084: 0xa0000000
What's the relevance of this value?
[-- Attachment #1.1.2: reg_peek.patch --]
[-- Type: text/x-diff, Size: 572 bytes --]
--- /home/aaron/rpmbuild/BUILD/kernel-2.6.35.fc14.orig/drivers/gpu/drm/nouveau/nv50_display.c 2010-09-09 23:00:38.774029000 +0200
+++ /home/aaron/rpmbuild/BUILD/kernel-2.6.35.fc14/linux-2.6.35.x86_64/drivers/gpu/drm/nouveau/nv50_display.c 2010-10-22 11:36:32.252185209 +0200
@@ -205,6 +205,8 @@ nv50_display_init(struct drm_device *dev
NV_DEBUG_KMS(dev, "\n");
+ printk("NV50 0x00610084: 0x%08x\n", nv_rd32(dev, 0x00610084));
+
nv_wr32(dev, 0x00610184, nv_rd32(dev, 0x00614004));
/*
* I think the 0x006101XX range is some kind of main control area
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 489 bytes --]
[-- Attachment #2: Type: text/plain, Size: 181 bytes --]
_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
next prev parent reply other threads:[~2010-10-22 9:57 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-19 9:10 NV50 backlight brightness Aaron Sowry
[not found] ` <20101019091030.GA28588-+1tCnOwpXBmzQB+pC5nmwQ@public.gmane.org>
2010-10-20 11:17 ` Ben Skeggs
2010-10-21 9:16 ` Aaron Sowry
[not found] ` <20101021091621.GA29567-+1tCnOwpXBmzQB+pC5nmwQ@public.gmane.org>
2010-10-21 10:45 ` Ben Skeggs
2010-10-22 9:57 ` Aaron Sowry [this message]
[not found] ` <20101022095740.GA30072-+1tCnOwpXBmzQB+pC5nmwQ@public.gmane.org>
2010-10-22 11:17 ` Ben Skeggs
[not found] ` <FC457B53-D6EF-48DC-BB56-F2FAC3D84577-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2010-10-22 11:51 ` Aaron Sowry
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=20101022095740.GA30072@aeneby.se \
--to=aaron+nv-+1tcnowpxbmzqb+pc5nmwq@public.gmane.org \
--cc=nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
--cc=skeggsb-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.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.