From: unobe@cpan.org
To: 9front@9front.org
Subject: Re: [9front] MB Pro early-2011 support status
Date: Tue, 20 Apr 2021 08:59:52 -0700 [thread overview]
Message-ID: <17CFECB7536A5F4595061DCEA7F4E4AE@smtp.pobox.com> (raw)
In-Reply-To: <CAH_zEu5w-5Wxe7AZoq2D1gXwFMJGwGF=eA=_tt5dnWrNQhFq5A@mail.gmail.com>
Quoth Nick Owens <mischief@offblast.org>:
> i added blanking for some cards in this commit:
>
> changeset: 6686:2f61fba90cd1
> user: mischief <mischief@offblast.org>
> date: Tue Aug 21 11:31:45 2018 -0700
> summary: igfx: support blanking by turning off panel power and backlight
> ...
> you can also see the value of PP_CONTROL in the aux/vga -p output in
> your sysinfo. maybe double check the programming manual for the
> PP_CONTROL register location and value to see if those bits are
> correct.
>
> IIRC this code worked for me and others on thinkpads, but it's
> possible that this register isn't hooked up in this hardware.
Thanks, mischief! I had seen that bit of code so thought it should
have worked as well.
https://01.org/sites/default/files/documentation/snb_ihd_os_vol3_part3_0.pdf
on pages 49-51 explain PP_CONTROL, and it would be odd, I would think,
for it not to work on a macbook that does do screen blanking when
running OS X (unless there's another mechanism for it). A couple
lines down from the ppcontrol in 'aux/vga -p' there's a line about
lvds and vgacntrl:
igfx lvds [000e1180] = 80300302
igfx vgacntrl [00041000] = 8024298e
Do you know if that means vga commands for blanking could then be
supported, something like what's tried in
/sys/src/9/pc/vga.c:/^vgablank ?
next prev parent reply other threads:[~2021-04-20 16:05 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-19 5:36 unobe
2021-04-19 10:40 ` [9front] " Anthony Martin
2021-04-19 16:14 ` unobe
2021-04-19 19:00 ` [9front] " Nick Owens
2021-04-20 15:59 ` unobe [this message]
2021-04-20 19:20 ` unobe
2021-04-21 4:29 ` unobe
2021-04-21 15:01 ` cinap_lenrek
2021-04-22 17:50 ` unobe
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=17CFECB7536A5F4595061DCEA7F4E4AE@smtp.pobox.com \
--to=unobe@cpan.org \
--cc=9front@9front.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).