<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lwn.git/drivers/gpu/drm/i915/intel_bios.c, branch v4.3.2</title>
<subtitle>Linux kernel documentation tree maintained by Jonathan Corbet</subtitle>
<id>http://mirrors.hust.edu.cn/git/lwn.git/atom?h=v4.3.2</id>
<link rel='self' href='http://mirrors.hust.edu.cn/git/lwn.git/atom?h=v4.3.2'/>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/'/>
<updated>2015-09-23T13:59:37+00:00</updated>
<entry>
<title>drm/i915/bios: handle MIPI Sequence Block v3+ gracefully</title>
<updated>2015-09-23T13:59:37+00:00</updated>
<author>
<name>Jani Nikula</name>
<email>jani.nikula@intel.com</email>
</author>
<published>2015-09-17T13:42:07+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=cd67d226ebd909d239d2c6e5a6abd6e2a338d1cd'/>
<id>urn:sha1:cd67d226ebd909d239d2c6e5a6abd6e2a338d1cd</id>
<content type='text'>
The VBT MIPI Sequence Block version 3 has forward incompatible changes:

First, the block size in the header has been specified reserved, and the
actual size is a separate 32-bit value within the block. The current
find_section() function to will only look at the size in the block
header, and, depending on what's in that now reserved size field,
continue looking for other sections in the wrong place.

Fix this by taking the new block size field into account. This will
ensure that the lookups for other sections will work properly, as long
as the new 32-bit size does not go beyond the opregion VBT mailbox size.

Second, the contents of the block have been completely
changed. Gracefully refuse parsing the yet unknown data version.

Cc: Deepak M &lt;m.deepak@intel.com&gt;
Cc: stable@vger.kernel.org
Reviewed-by: Deepak M &lt;m.deepak@intel.com&gt;
Signed-off-by: Jani Nikula &lt;jani.nikula@intel.com&gt;
</content>
</entry>
<entry>
<title>drm/i915/skl: Enable DDI-E</title>
<updated>2015-08-31T15:28:09+00:00</updated>
<author>
<name>Rodrigo Vivi</name>
<email>rodrigo.vivi@intel.com</email>
</author>
<published>2015-08-08T00:35:21+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=2800e4c228b8961c4da1a4925cc20c16e623851b'/>
<id>urn:sha1:2800e4c228b8961c4da1a4925cc20c16e623851b</id>
<content type='text'>
There are OEMs using DDI-E out there,
so let's enable it.

Unfortunately there is no detection bit for DDI-E
So we need to rely on VBT for that.

I also need to give credits to Xiong since before seing
his approach to check info-&gt;support_* I was creating an ugly
vbt-&gt;ddie_sfuse_strap in order to propagate the ddi presence info

v2: Rebased as last patch in the series. since all other patches
in this series are needed for anything working propperly on DDI-E.

Credits-to: "Zhang, Xiong Y" &lt;xiong.y.zhang@intel.com&gt;
Cc: "Zhang, Xiong Y" &lt;xiong.y.zhang@intel.com&gt;
Reviewed-by: Xiong Zhang &lt;xiong.y.zhang@intel.com&gt;
Signed-off-by: Rodrigo Vivi &lt;rodrigo.vivi@intel.com&gt;
Signed-off-by: Jani Nikula &lt;jani.nikula@intel.com&gt;
</content>
</entry>
<entry>
<title>drm/i915: Enable HDMI on DDI-E</title>
<updated>2015-08-31T15:27:02+00:00</updated>
<author>
<name>Xiong Zhang</name>
<email>xiong.y.zhang@intel.com</email>
</author>
<published>2015-08-17T08:04:04+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=11c1b657c42f65c43f866b611956ef0a10bedafc'/>
<id>urn:sha1:11c1b657c42f65c43f866b611956ef0a10bedafc</id>
<content type='text'>
DDI-E doesn't have the correspondent GMBUS pin.

We rely on VBT to tell us which one it being used instead.

The DVI/HDMI on shared port couldn't exist.

This patch isn't tested without hardware wchich has HDMI
on DDI-E.

v2: fix trailing whitespace
v3: MISSING_CASE take place of BUG()

Signed-off-by: Xiong Zhang &lt;xiong.y.zhang@intel.com&gt;
Reviewed-by: Rodrigo Vivi &lt;rodrigo.vivi@intel.com&gt;
Signed-off-by: Jani Nikula &lt;jani.nikula@intel.com&gt;
</content>
</entry>
<entry>
<title>drm/i915: Allow parsing of variable size child device entries from VBT</title>
<updated>2015-08-24T07:34:09+00:00</updated>
<author>
<name>David Weinehall</name>
<email>david.weinehall@linux.intel.com</email>
</author>
<published>2015-08-21T13:52:01+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=e2d6cf7f3696c87546f7fefe9bac79ee09db4bef'/>
<id>urn:sha1:e2d6cf7f3696c87546f7fefe9bac79ee09db4bef</id>
<content type='text'>
VBT version 196 increased the size of common_child_dev_config. The
parser code assumed that the size of this structure would not change.

The modified code now copies the amount needed based on the VBT version,
and emits a debug message if the VBT version is unknown (too new); since
the struct config block won't shrink in newer versions it should be
harmless to copy the maximum known size in such cases, so that's what we
do, but emitting the warning is probably sensible anyway.

In the longer run it might make sense to modify the parser code to use a
version/feature mapping, rather than hardcoding things like this, but
for now the variants are fairly manageable.

This fixes a regression introduced in

commit 75067ddecf21271631bc018d2fb23ddd09b66aae
Author: Antti Koskipaa &lt;antti.koskipaa@linux.intel.com&gt;
Date:   Fri Jul 10 14:10:55 2015 +0300

    drm/i915: Per-DDI I_boost override

since that commit changed the child device config size without updating
the checks and memcpy.

v2: Stricter size checks

v3 by Jani:
- Keep the checks strict, and warnigns verbose, but keep going anyway.
- Take care to copy the max amount of child device config we can.
- Fix the messages.

Signed-off-by: David Weinehall &lt;david.weinehall@linux.intel.com&gt;
Reviewed-by: Ville Syrjälä &lt;ville.syrjala@linux.intel.com&gt;
Signed-off-by: Jani Nikula &lt;jani.nikula@intel.com&gt;
</content>
</entry>
<entry>
<title>drm/i915: fix VBT parsing for SDVO child device mapping</title>
<updated>2015-08-24T06:56:41+00:00</updated>
<author>
<name>Jani Nikula</name>
<email>jani.nikula@intel.com</email>
</author>
<published>2015-08-18T11:28:55+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=6cc38acaaa995ad229447d87a3c5a181ba0cc161'/>
<id>urn:sha1:6cc38acaaa995ad229447d87a3c5a181ba0cc161</id>
<content type='text'>
commit 75067ddecf21271631bc018d2fb23ddd09b66aae
Author: Antti Koskipaa &lt;antti.koskipaa@linux.intel.com&gt;
Date:   Fri Jul 10 14:10:55 2015 +0300

    drm/i915: Per-DDI I_boost override

increased size of union child_device_config without taking into account
the size check in parse_sdvo_device_mapping(). Switch the function over
to using the legacy struct only.

Fixes: 75067ddecf21 ("drm/i915: Per-DDI I_boost override")
Cc: Antti Koskipaa &lt;antti.koskipaa@linux.intel.com&gt;
Cc: David Weinehall &lt;david.weinehall@linux.intel.com&gt;
Reviewed-by: Ville Syrjälä &lt;ville.syrjala@linux.intel.com&gt;
Tested-by: Ville Syrjälä &lt;ville.syrjala@linux.intel.com&gt;
Signed-off-by: Jani Nikula &lt;jani.nikula@intel.com&gt;
</content>
</entry>
<entry>
<title>Merge tag 'v4.2-rc8' into drm-next</title>
<updated>2015-08-24T06:36:42+00:00</updated>
<author>
<name>Dave Airlie</name>
<email>airlied@redhat.com</email>
</author>
<published>2015-08-24T06:36:42+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=3732ce72b45a2a145803558758821bf198751276'/>
<id>urn:sha1:3732ce72b45a2a145803558758821bf198751276</id>
<content type='text'>
Linux 4.2-rc8

Backmerge required for Intel so they can fix their -next tree up properly.
</content>
</entry>
<entry>
<title>Revert "drm/i915: Allow parsing of variable size child device entries from VBT"</title>
<updated>2015-08-19T06:33:17+00:00</updated>
<author>
<name>Jani Nikula</name>
<email>jani.nikula@intel.com</email>
</author>
<published>2015-08-18T09:33:36+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=bf1a5fd2eccf20b19941b8461ce9c90899054bd5'/>
<id>urn:sha1:bf1a5fd2eccf20b19941b8461ce9c90899054bd5</id>
<content type='text'>
This reverts

commit 047fe6e6db9161e69271f56daaafdaf2add023b1
Author: David Weinehall &lt;david.weinehall@linux.intel.com&gt;
Date:   Tue Aug 4 16:55:52 2015 +0300

    drm/i915: Allow parsing of variable size child device entries from VBT

That commit is not valid for v4.2, however it will be valid for v4.3. It
was simply queued too early.

The referenced regressing commit is just fine until the size of struct
common_child_dev_config changes, and that won't happen until
v4.3. Indeed, the expected size checks here rely on the increased size
of the struct, breaking new platforms.

Fixes: 047fe6e6db91 ("drm/i915: Allow parsing of variable size child device entries from VBT")
Cc: Daniel Vetter &lt;daniel@ffwll.ch&gt;
Cc: David Weinehall &lt;david.weinehall@linux.intel.com&gt;
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: Jani Nikula &lt;jani.nikula@intel.com&gt;
</content>
</entry>
<entry>
<title>drm/i915: Per-DDI I_boost override</title>
<updated>2015-08-14T16:13:09+00:00</updated>
<author>
<name>Antti Koskipaa</name>
<email>antti.koskipaa@linux.intel.com</email>
</author>
<published>2015-07-10T11:10:55+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=75067ddecf21271631bc018d2fb23ddd09b66aae'/>
<id>urn:sha1:75067ddecf21271631bc018d2fb23ddd09b66aae</id>
<content type='text'>
An OEM may request increased I_boost beyond the recommended values
by specifying an I_boost value to be applied to all swing entries for
a port. These override values are specified in VBT.

v2: rebase and remove unused iboost_bit variable

Issue: VIZ-5676
Signed-off-by: Antti Koskipaa &lt;antti.koskipaa@linux.intel.com&gt;
Reviewed-by: David Weinehall &lt;david.weinehall@linux.intel.com&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
</content>
</entry>
<entry>
<title>Merge tag 'drm-intel-fixes-2015-08-14' into drm-intel-next-fixes</title>
<updated>2015-08-14T16:11:30+00:00</updated>
<author>
<name>Daniel Vetter</name>
<email>daniel.vetter@ffwll.ch</email>
</author>
<published>2015-08-14T16:10:35+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=622147fdad5425f6f572f84ce709303e5e0500b7'/>
<id>urn:sha1:622147fdad5425f6f572f84ce709303e5e0500b7</id>
<content type='text'>
Backmerge drm-intel-fixes because a bunch of atomic patch backporting
we had to do lead to horrible conflicts.

Conflicts:
	drivers/gpu/drm/drm_crtc.c
Just a bit of context conflict between -next and -fixes.
	drivers/gpu/drm/i915/intel_atomic.c
	drivers/gpu/drm/i915/intel_display.c
Atomic conflicts, always pick the code from -next.

Signed-off-by: Daniel Vetter &lt;daniel.vetter@intel.com&gt;
</content>
</entry>
<entry>
<title>drm/i915: Set alternate aux for DDI-E</title>
<updated>2015-08-14T15:50:39+00:00</updated>
<author>
<name>Rodrigo Vivi</name>
<email>rodrigo.vivi@intel.com</email>
</author>
<published>2015-08-08T00:01:16+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=500ea70d503ed9ba448611049a4a718c2761a5f2'/>
<id>urn:sha1:500ea70d503ed9ba448611049a4a718c2761a5f2</id>
<content type='text'>
There is no correspondent Aux channel for DDI-E.

So we need to rely on VBT to let us know witch one
is being used instead.

v2: Removing some trailing spaces and giving proper
credit to Xiong that added a nice way to avoid port
conflicts by setting supports_dp = 0 when using
equivalent aux for DDI-E.

Credits-to: Xiong Zhang &lt;xiong.y.zhang@intel.com&gt;
Signed-off-by: Rodrigo Vivi &lt;rodrigo.vivi@intel.com&gt;
Reviewed-by: Xiong Zhang &lt;xiong.y.zhang@intel.com&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
</content>
</entry>
</feed>
