public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: 유재용 <jaeyong.yoo@samsung.com>
To: intel-gfx@lists.freedesktop.org
Subject: Question regarding forcewake in i915
Date: Mon, 22 Dec 2014 12:26:24 +0000 (GMT)	[thread overview]
Message-ID: <507709752.66831419251184872.JavaMail.weblogic@epmlwas06a> (raw)

Hello intel-gfx,
I'm reading i915 gpu drivers and find myself quite hard to understand about forcewake concepts.
I understand that it is something with the energy efficiency so related to ACPI. And it looks like forcewake is working as a pair (get and put).
In the "get" part, what it first does it waiting on FORCEWAKE_ACK_HSW register (in case of haswell).
And then, it writes something to FORCEWAKE_MT register, read from ECOBUS.
And again, it waits on FORCEWAKE_ACK_HSW again!
It becomes more confusing when it comes to put.
In the "put" part, what it does it writing to FORCEWAKE_MT register and read from ECOBUS.

I tried to find some good reading materials about this forcewake, but what I found was a series of patches in this mailing list. (which are quite hard to follow from the begining)
Could you explain about the concept of FORCEWAKE and possibly the magic tricks on these get and put?


Thanks,
Jaeyong



_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

             reply	other threads:[~2014-12-22 12:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-22 12:26 유재용 [this message]
2015-01-06 15:19 ` Question regarding forcewake in i915 Dave Gordon
2015-01-07  8:13   ` Jaeyong Yoo
2015-01-12 17:47     ` Dave Gordon
2015-01-15  7:38       ` Debugging registers (INSTPS, CSCMDOP, CSCMDVLD, ...) Jaeyong Yoo
2015-01-19 12:52         ` Dave Gordon
2015-01-19 13:31         ` Dave Gordon

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=507709752.66831419251184872.JavaMail.weblogic@epmlwas06a \
    --to=jaeyong.yoo@samsung.com \
    --cc=intel-gfx@lists.freedesktop.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