<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/gpu/drm/i915/intel_runtime_pm.c, branch linux-5.4.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.4.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.4.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2019-08-07T09:43:14Z</updated>
<entry>
<title>drm/i915: avoid including intel_drv.h via i915_drv.h-&gt;i915_trace.h</title>
<updated>2019-08-07T09:43:14Z</updated>
<author>
<name>Jani Nikula</name>
</author>
<published>2019-08-06T10:07:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a09d9a8002368e1b8754c8621ad06d3d7bade6f4'/>
<id>urn:sha1:a09d9a8002368e1b8754c8621ad06d3d7bade6f4</id>
<content type='text'>
Disentangle i915_drv.h from intel_drv.h, which gets included via
i915_trace.h. This necessitates including i915_trace.h wherever it's
needed.

Reviewed-by: Chris Wilson &lt;chris@chris-wilson.co.uk&gt;
Signed-off-by: Jani Nikula &lt;jani.nikula@intel.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/ed82bf259d3b725a1a1a3c3e9d6fb5c08bc4d489.1565085691.git.jani.nikula@intel.com
</content>
</entry>
<entry>
<title>drm/i915: Propagate "_release" function name suffix down</title>
<updated>2019-07-12T12:05:05Z</updated>
<author>
<name>Janusz Krzysztofik</name>
</author>
<published>2019-07-12T11:24:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3b58a94551368924d8a49baa349bc7694fbd7ddd'/>
<id>urn:sha1:3b58a94551368924d8a49baa349bc7694fbd7ddd</id>
<content type='text'>
Replace mixed "_fini"/"_cleanup"/"_cleanup_hw" suffixes found in names
of functions called from i915_driver_release() with "_release" suffix
consistently.  This provides better code readability, especially
helpful when trying to work out which phase the code is in.

Functions names starting with "i915_driver_", i.e., those defined in
drivers/gpu/dri/i915/i915_drv.c, just have their "cleanup" or "fini"
parts of their names replaced with the "_release" suffix, while names
of functions coming from other source files have been suffixed with
"_driver_release" to avoid ambiguity with other possible .release entry
points.

v2: early_probe pairs better with late_release (Chris)
v3: fix typo in commit message (Joonas)

Suggested-by: Chris Wilson &lt;chris@chris-wilson.co.uk&gt;
Signed-off-by: Janusz Krzysztofik &lt;janusz.krzysztofik@linux.intel.com&gt;
Reviewed-by: Chris Wilson &lt;chris@chris-wilson.co.uk&gt;
Reviewed-by: Joonas Lahtinen &lt;joonas.lahtinen@linux.intel.com&gt;
Signed-off-by: Chris Wilson &lt;chris@chris-wilson.co.uk&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20190712112429.740-5-janusz.krzysztofik@linux.intel.com
</content>
</entry>
<entry>
<title>drm/i915: Fix memleak in runtime wakeref tracking</title>
<updated>2019-07-02T15:00:20Z</updated>
<author>
<name>Mika Kuoppala</name>
</author>
<published>2019-07-01T10:44:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c5f846eed2a1856b78e988eeef08215c70598ecd'/>
<id>urn:sha1:c5f846eed2a1856b78e988eeef08215c70598ecd</id>
<content type='text'>
If we untrack wakerefs, the actual count may reach zero.
However the krealloced owners array is still there and
needs to be taken care of. Free the owners unconditionally
to fix the leak.

Fixes: bd780f37a361 ("drm/i915: Track all held rpm wakerefs")
Reported-by: Juha-Pekka Heikkila &lt;juhapekka.heikkila@gmail.com&gt;
Cc: Juha-Pekka Heikkila &lt;juhapekka.heikkila@gmail.com&gt;
Cc: Chris Wilson &lt;chris@chris-wilson.co.uk&gt;
Signed-off-by: Mika Kuoppala &lt;mika.kuoppala@linux.intel.com&gt;
Reviewed-by: Chris Wilson &lt;chris@chris-wilson.co.uk&gt;
Signed-off-by: Chris Wilson &lt;chris@chris-wilson.co.uk&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20190701104442.9319-1-mika.kuoppala@linux.intel.com
</content>
</entry>
<entry>
<title>drm/i915: update rpm_get/put to use the rpm structure</title>
<updated>2019-06-14T14:58:33Z</updated>
<author>
<name>Daniele Ceraolo Spurio</name>
</author>
<published>2019-06-13T23:21:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d858d5695f3897d55df68452066a90d7560cb845'/>
<id>urn:sha1:d858d5695f3897d55df68452066a90d7560cb845</id>
<content type='text'>
The functions where internally already only using the structure, so we
need to just flip the interface.

v2: rebase

Signed-off-by: Daniele Ceraolo Spurio &lt;daniele.ceraolospurio@intel.com&gt;
Cc: Imre Deak &lt;imre.deak@intel.com&gt;
Reviewed-by: Chris Wilson &lt;chris@chris-wilson.co.uk&gt;
Acked-by: Imre Deak &lt;imre.deak@intel.com&gt;
Signed-off-by: Chris Wilson &lt;chris@chris-wilson.co.uk&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20190613232156.34940-7-daniele.ceraolospurio@intel.com
</content>
</entry>
<entry>
<title>drm/i915: move a few more functions to accept the rpm structure</title>
<updated>2019-06-14T14:58:33Z</updated>
<author>
<name>Daniele Ceraolo Spurio</name>
</author>
<published>2019-06-13T23:21:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=69c663554452e6589144046331d08e597e7f5823'/>
<id>urn:sha1:69c663554452e6589144046331d08e597e7f5823</id>
<content type='text'>
Focusing on the functions called in few places.

Signed-off-by: Daniele Ceraolo Spurio &lt;daniele.ceraolospurio@intel.com&gt;
Cc: Imre Deak &lt;imre.deak@intel.com&gt;
Reviewed-by: Chris Wilson &lt;chris@chris-wilson.co.uk&gt;
Acked-by: Imre Deak &lt;imre.deak@intel.com&gt;
Signed-off-by: Chris Wilson &lt;chris@chris-wilson.co.uk&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20190613232156.34940-6-daniele.ceraolospurio@intel.com
</content>
</entry>
<entry>
<title>drm/i915: move and rename i915_runtime_pm</title>
<updated>2019-06-14T14:58:33Z</updated>
<author>
<name>Daniele Ceraolo Spurio</name>
</author>
<published>2019-06-13T23:21:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1bf676cc2dbaeec7a52ea93e71660f746123c2fe'/>
<id>urn:sha1:1bf676cc2dbaeec7a52ea93e71660f746123c2fe</id>
<content type='text'>
Asserts aside, all the code working on this structure is in
intel_runtime_pm.c and uses the intel_ prefix, so move the
structure to intel_runtime_pm.h and adopt the same prefix.

Since all the asserts are now working on the runtime_pm structure,
bring them across as well.

v2: drop unneeded include (Chris), don't rename debugfs, rebase

Signed-off-by: Daniele Ceraolo Spurio &lt;daniele.ceraolospurio@intel.com&gt;
Cc: Chris Wilson &lt;chris@chris-wilson.co.uk&gt;
Cc: Imre Deak &lt;imre.deak@intel.com&gt;
Reviewed-by: Chris Wilson &lt;chris@chris-wilson.co.uk&gt;
Acked-by: Imre Deak &lt;imre.deak@intel.com&gt;
Signed-off-by: Chris Wilson &lt;chris@chris-wilson.co.uk&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20190613232156.34940-5-daniele.ceraolospurio@intel.com
</content>
</entry>
<entry>
<title>drm/i915: Remove rpm asserts that use i915</title>
<updated>2019-06-14T14:58:33Z</updated>
<author>
<name>Daniele Ceraolo Spurio</name>
</author>
<published>2019-06-13T23:21:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=87b391b9518497ecdda7958c723ccd868afb9630'/>
<id>urn:sha1:87b391b9518497ecdda7958c723ccd868afb9630</id>
<content type='text'>
Quite a few of the call points have already switched to the version
working directly on the runtime_pm structure, so let's switch over the
rest and kill the i915-based asserts.

v2: rebase

Signed-off-by: Daniele Ceraolo Spurio &lt;daniele.ceraolospurio@intel.com&gt;
Cc: Imre Deak &lt;imre.deak@intel.com&gt;
Reviewed-by: Chris Wilson &lt;chris@chris-wilson.co.uk&gt;
Acked-by: Imre Deak &lt;imre.deak@intel.com&gt;
Signed-off-by: Chris Wilson &lt;chris@chris-wilson.co.uk&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20190613232156.34940-3-daniele.ceraolospurio@intel.com
</content>
</entry>
<entry>
<title>drm/i915: prefer i915_runtime_pm in intel_runtime function</title>
<updated>2019-06-14T14:58:33Z</updated>
<author>
<name>Daniele Ceraolo Spurio</name>
</author>
<published>2019-06-13T23:21:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d5b6c275d04aacffc06b5bad837a6805091fb7c6'/>
<id>urn:sha1:d5b6c275d04aacffc06b5bad837a6805091fb7c6</id>
<content type='text'>
As a first step towards updating the code to work on the runtime_pm
structure instead of i915, rework all the internals to use and pass
around that.

v2: add comment for kdev (Jani), move rpm init after pdev init for
mock_device

Signed-off-by: Daniele Ceraolo Spurio &lt;daniele.ceraolospurio@intel.com&gt;
Cc: Jani Nikula &lt;jani.nikula@linux.intel.com&gt;
Cc: Imre Deak &lt;imre.deak@intel.com&gt;
Reviewed-by: Chris Wilson &lt;chris@chris-wilson.co.uk&gt;
Acked-by: Imre Deak &lt;imre.deak@intel.com&gt;
Signed-off-by: Chris Wilson &lt;chris@chris-wilson.co.uk&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20190613232156.34940-2-daniele.ceraolospurio@intel.com
</content>
</entry>
<entry>
<title>drm/i915: fix documentation build warnings</title>
<updated>2019-06-06T08:13:20Z</updated>
<author>
<name>Jani Nikula</name>
</author>
<published>2019-06-05T09:56:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=affa22b5f0f7e9caf61887671abe38819737bf16'/>
<id>urn:sha1:affa22b5f0f7e9caf61887671abe38819737bf16</id>
<content type='text'>
Just a straightforward bag of fixes for a clean htmldocs build.

Reviewed-by: Mika Kuoppala &lt;mika.kuoppala@linux.intel.com&gt;
Signed-off-by: Jani Nikula &lt;jani.nikula@intel.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20190605095657.23601-2-jani.nikula@intel.com
</content>
</entry>
<entry>
<title>drm/i915: extract intel_display_power.h/c from intel_runtime_pm.h/c</title>
<updated>2019-06-04T07:32:48Z</updated>
<author>
<name>Daniele Ceraolo Spurio</name>
</author>
<published>2019-05-31T22:24:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7645b19d9bdd13ef3e32ab3a040b017f9d71f911'/>
<id>urn:sha1:7645b19d9bdd13ef3e32ab3a040b017f9d71f911</id>
<content type='text'>
Keep all the device-level PM management in intel_runtime_pm.h/c and move
all the display specific bits into their own file. Also add the new
header to Makefile.header-test.

Apart from the giant code move, the only difference is with the
intel_runtime_&lt;get/put&gt;_raw() functions, which are now exposed in the
header. The _put() version is also not conditionally compiled anymore
since it is ok to always pass the wakeref taken from the _get() to
__intel_runtime_pm_put (it is -1 if tracking is disabled).

Suggested-by: Chris Wilson &lt;chris@chris-wilson.co.uk&gt;
Signed-off-by: Daniele Ceraolo Spurio &lt;daniele.ceraolospurio@intel.com&gt;
Cc: Chris Wilson &lt;chris@chris-wilson.co.uk&gt;
Cc: Imre Deak &lt;imre.deak@intel.com&gt;
Cc: Ville Syrjälä &lt;ville.syrjala@linux.intel.com&gt;
Cc: Jani Nikula &lt;jani.nikula@intel.com&gt;
Reviewed-by: Chris Wilson &lt;chris@chris-wilson.co.uk&gt;
Signed-off-by: Chris Wilson &lt;chris@chris-wilson.co.uk&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20190531222409.9177-2-daniele.ceraolospurio@intel.com
</content>
</entry>
</feed>
