<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lwn.git/drivers/gpu/drm/i915/i915_debugfs.c, branch v3.14.43</title>
<subtitle>Linux kernel documentation tree maintained by Jonathan Corbet</subtitle>
<id>http://mirrors.hust.edu.cn/git/lwn.git/atom?h=v3.14.43</id>
<link rel='self' href='http://mirrors.hust.edu.cn/git/lwn.git/atom?h=v3.14.43'/>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/'/>
<updated>2014-01-10T17:00:14+00:00</updated>
<entry>
<title>drm/i915/vlv: Add drpc debugfs support for valleyview</title>
<updated>2014-01-10T17:00:14+00:00</updated>
<author>
<name>Deepak S</name>
<email>deepak.s@intel.com</email>
</author>
<published>2014-01-10T09:48:26+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=669ab5aaeb3bedaae758c938d0efafe8aad07ed0'/>
<id>urn:sha1:669ab5aaeb3bedaae758c938d0efafe8aad07ed0</id>
<content type='text'>
Many of the fields from Gen6 have gone away for vlv. Strip all those
fields that are not relevent and try to update fields that we care
about. This patch give information about current RP &amp; RC status and
individual Wells.

v2: Move Render &amp; Media Well status to separate lines (Ville)

Signed-off-by: Deepak S &lt;deepak.s@intel.com&gt;
Reviewed-by: Ville Syrjälä &lt;ville.syrjala@linux.intel.com&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
</content>
</entry>
<entry>
<title>drm/i915: Drop I915_ prefix from HAS_FBC</title>
<updated>2014-01-10T09:28:28+00:00</updated>
<author>
<name>Daniel Vetter</name>
<email>daniel.vetter@ffwll.ch</email>
</author>
<published>2014-01-10T07:50:12+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=3a77c4c441d2bcc2b1e27d8aabee0c57aed66ed3'/>
<id>urn:sha1:3a77c4c441d2bcc2b1e27d8aabee0c57aed66ed3</id>
<content type='text'>
My OCD just couldn't let this slide. Spotted while reviewing Ville's
patch to only flip planes when we have FBC.

Cc: Ville Syrjälä &lt;ville.syrjala@linux.intel.com&gt;
Reviewed-by: Ville Syrjälä &lt;ville.syrjala@linux.intel.com&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
</content>
</entry>
<entry>
<title>drm/i915/bdw: don't try to check IPS state on BDW v2</title>
<updated>2014-01-08T14:48:57+00:00</updated>
<author>
<name>Jesse Barnes</name>
<email>jbarnes@virtuousgeek.org</email>
</author>
<published>2014-01-07T21:30:45+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=e59150dcf7e126ebf89afacd372602f328d4d6fc'/>
<id>urn:sha1:e59150dcf7e126ebf89afacd372602f328d4d6fc</id>
<content type='text'>
According to Art, we don't have a way to read back the state reliably at
runtime, through the control reg or the mailbox, at least not without risking
disabling it again.  So drop the readout and checking on BDW.

v2: drop TODO comment (Paulo)
    move POSTING_READ of control reg under HSW branch in disable (Paulo)
    always report IPS as enabled on BDW (Paulo)

References: https://bugs.freedesktop.org/show_bug.cgi?id=71906
Signed-off-by: Jesse Barnes &lt;jbarnes@virtuousgeek.org&gt;
Reviewed-by: Paulo Zanoni &lt;paulo.r.zanoni@intel.com&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
</content>
</entry>
<entry>
<title>drm/i915: Fix refcount leak and possible NULL pointerdereference.</title>
<updated>2014-01-06T09:56:36+00:00</updated>
<author>
<name>Tetsuo Handa</name>
<email>penguin-kernel@I-love.SAKURA.ne.jp</email>
</author>
<published>2014-01-03T11:42:18+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=3ec2f427e6f82b9b8f9b18dd2c758b864385df39'/>
<id>urn:sha1:3ec2f427e6f82b9b8f9b18dd2c758b864385df39</id>
<content type='text'>
Since get_pid_task() grabs a reference on the task_struct, we have to drop the
refcount after reading that task's comm name. Use pid_task() with RCU instead.

Also, avoid directly reading like pid_task()-&gt;comm because
pid_task() will return NULL if the task have already exit()ed.

This patch fixes both problems.

Signed-off-by: Tetsuo Handa &lt;penguin-kernel@I-love.SAKURA.ne.jp&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
</content>
</entry>
<entry>
<title>drm/i915: only build i915_debugfs.c when CONFIG_DEBUG_FS is enabled</title>
<updated>2013-12-16T15:53:32+00:00</updated>
<author>
<name>Jani Nikula</name>
<email>jani.nikula@intel.com</email>
</author>
<published>2013-12-16T11:10:36+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=a57750f210ef4dcf271cd24d9b3e2ee0d267ad03'/>
<id>urn:sha1:a57750f210ef4dcf271cd24d9b3e2ee0d267ad03</id>
<content type='text'>
The whole file is wrapped around in #if defined(CONFIG_DEBUG_FS) anyway,
so skip the file at the build level already.

Signed-off-by: Jani Nikula &lt;jani.nikula@intel.com&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
</content>
</entry>
<entry>
<title>drm/i915: fix return value check of debugfs_create_file()</title>
<updated>2013-12-16T10:04:43+00:00</updated>
<author>
<name>Wei Yongjun</name>
<email>yongjun_wei@trendmicro.com.cn</email>
</author>
<published>2013-12-16T06:13:25+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=f3c5fe979117908fb642ed130ae2cd78cb005931'/>
<id>urn:sha1:f3c5fe979117908fb642ed130ae2cd78cb005931</id>
<content type='text'>
In case of error, the function debugfs_create_file() returns NULL
pointer not ERR_PTR() if debugfs is enabled. The IS_ERR() test in
the return value check should be replaced with NULL test.

Signed-off-by: Wei Yongjun &lt;yongjun_wei@trendmicro.com.cn&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
</content>
</entry>
<entry>
<title>drm/i915: add some runtime PM get/put calls</title>
<updated>2013-12-10T21:50:17+00:00</updated>
<author>
<name>Paulo Zanoni</name>
<email>paulo.r.zanoni@intel.com</email>
</author>
<published>2013-11-27T20:21:54+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=c8c8fb33b37766acf6474784b0d5245dab9a1690'/>
<id>urn:sha1:c8c8fb33b37766acf6474784b0d5245dab9a1690</id>
<content type='text'>
These are needed when we cat the debugfs and sysfs files.

V2: - Rebase
V3: - Rebase
V4: - Rebase

Signed-off-by: Paulo Zanoni &lt;paulo.r.zanoni@intel.com&gt;
Reviewed-by: Rodrigo Vivi &lt;rodrigo.vivi@gmail.com&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
</content>
</entry>
<entry>
<title>drm/i915: Enabling DebugFS for valleyview forcewake counts</title>
<updated>2013-11-28T07:31:46+00:00</updated>
<author>
<name>Deepak S</name>
<email>deepak.s@intel.com</email>
</author>
<published>2013-11-23T09:25:44+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=43709ba0d828b3706ace6980d875b762f90ce472'/>
<id>urn:sha1:43709ba0d828b3706ace6980d875b762f90ce472</id>
<content type='text'>
Forcewake counts for valleyview are not exposed throgh DebugFS.
Exposing with this change.

Signed-off-by: Deepak S &lt;deepak.s@intel.com&gt;
Reviewed-by: Jesse Barnes &lt;jbarnes@virtuousgeek.org&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
</content>
</entry>
<entry>
<title>drm/i915: Add power well arguments to force wake routines.</title>
<updated>2013-11-28T07:31:22+00:00</updated>
<author>
<name>Deepak S</name>
<email>deepak.s@intel.com</email>
</author>
<published>2013-11-23T09:25:42+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=c8d9a5905e45d856fb21cce2e20f186ce6719560'/>
<id>urn:sha1:c8d9a5905e45d856fb21cce2e20f186ce6719560</id>
<content type='text'>
Added power well arguments to all the force wake routines
to help us individually control power well based on the
scenario.

Signed-off-by: Deepak S &lt;deepak.s@intel.com&gt;
Reviewed-by: Jesse Barnes &lt;jbarnes@virtuousgeek.org&gt;
[danvet: Resolve conflict with the removed forcewake hack and drop one
spurious hunk Jesse noticed.]
Signed-off-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
</content>
</entry>
<entry>
<title>drm/i915: add a debugfs entry for power domain info</title>
<updated>2013-11-26T19:08:29+00:00</updated>
<author>
<name>Imre Deak</name>
<email>imre.deak@intel.com</email>
</author>
<published>2013-11-25T15:15:35+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=1da51581b00b3fc3ac72156e2a69c6bab71f7794'/>
<id>urn:sha1:1da51581b00b3fc3ac72156e2a69c6bab71f7794</id>
<content type='text'>
Add a debugfs entry showing the use-count for all power domains of each
power well.

v3: address comments from Paulo:
- simplify power_domain_str() by using a switch table
- move power_well::domain_count to power_domains
- WARN_ON decrementing a 0 refcount

Signed-off-by: Imre Deak &lt;imre.deak@intel.com&gt;
Reviewed-by: Paulo Zanoni &lt;paulo.zanoni@intel.com&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
</content>
</entry>
</feed>
