<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/gpu/drm/i915, branch linux-3.13.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.13.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.13.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2014-04-03T19:02:36Z</updated>
<entry>
<title>drm/i915: Undo gtt scratch pte unmapping again</title>
<updated>2014-04-03T19:02:36Z</updated>
<author>
<name>Daniel Vetter</name>
</author>
<published>2014-03-26T19:10:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=120ecfe57c8fb2d53c1f77bedca199536545628b'/>
<id>urn:sha1:120ecfe57c8fb2d53c1f77bedca199536545628b</id>
<content type='text'>
commit 8ee661b505613ef2747b350ca2871a31b3781bee upstream.

It apparently blows up on some machines. This functionally reverts

commit 828c79087cec61eaf4c76bb32c222fbe35ac3930
Author: Ben Widawsky &lt;benjamin.widawsky@intel.com&gt;
Date:   Wed Oct 16 09:21:30 2013 -0700

    drm/i915: Disable GGTT PTEs on GEN6+ suspend

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=64841
Reported-and-Tested-by: Brad  Jackson &lt;bjackson0971@gmail.com&gt;
Cc: Takashi Iwai &lt;tiwai@suse.de&gt;
Cc: Paulo Zanoni &lt;paulo.r.zanoni@intel.com&gt;
Cc: Todd Previte &lt;tprevite@gmail.com&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>drm/i915: Disable stolen memory when DMAR is active</title>
<updated>2014-03-31T17:05:13Z</updated>
<author>
<name>Chris Wilson</name>
</author>
<published>2014-03-18T12:50:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2d111d8a6b8fe07955069b41d73a627549853614'/>
<id>urn:sha1:2d111d8a6b8fe07955069b41d73a627549853614</id>
<content type='text'>
commit 0f4706d2740f2a221cd502922b22e522009041d9 upstream.

We have reports of heavy screen corruption if we try to use the stolen
memory reserved by the BIOS whilst the DMA-Remapper is active. This
quirk may be only specific to a few machines or BIOSes, but first lets
apply the big hammer and always disable use of stolen memory when DMAR
is active.

v2 by Jani: Rebase on -fixes, only look at intel_iommu_gfx_mapped.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=68535
Signed-off-by: Chris Wilson &lt;chris@chris-wilson.co.uk&gt;
Reviewed-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Signed-off-by: Jani Nikula &lt;jani.nikula@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>drm/i915: Don't enable display error interrupts from the start</title>
<updated>2014-03-31T17:05:13Z</updated>
<author>
<name>Daniel Vetter</name>
</author>
<published>2014-03-07T19:34:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b52bcddf0634fc1c70f5c3668f2ab2557f3fce11'/>
<id>urn:sha1:b52bcddf0634fc1c70f5c3668f2ab2557f3fce11</id>
<content type='text'>
commit 5c673b60a9b3b23486f4eda75c72e91d31d26a2b upstream.

We need to enable interrupt processing before all the modeset
state is set up. But that means we can fall over when we get a pipe
underrun. This shouldn't happen as long as the bios works correctly
but as usual this turns out to be wishful thinking.

So disable error interrupts at irq install time and rely on the
re-enabling code in the modeset functions to take care of this.

Note that due to the SDE interrupt handling race we must
uncondtionally enable all interrupt sources in SDEIER, hence no need
to enable the SERR bit specifically.

On gmch platforms we don't have an explicit enable/mask bit for fifo
underruns. Fixing this up would require a bit of software tracking,
hence is material for a separate patch. To make this possible we need
to switch all gmch platforms to the new pipestat interrupt handling
scheme Imre implemented for vlv, and then also add a safe form of sw
state checking to __cpu_fifo_underrun_reporting_enabled a bit.

v2: Also handle the ilk/snb cpu fifo underrun bits accordingly.
Spotted by Ville.

v3: Also handle the south interrupt underrun bits on ibx. Again
spotted by Ville.

Reported-by: Rob Clark &lt;robdclark@gmail.com&gt;
Cc: Rob Clark &lt;robdclark@gmail.com&gt;
Cc: Ville Syrjälä &lt;ville.syrjala@linux.intel.com&gt;
Tested-by: 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;
Signed-off-by: Jani Nikula &lt;jani.nikula@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>drm/i915: Fix PSR programming</title>
<updated>2014-03-31T17:05:13Z</updated>
<author>
<name>Ben Widawsky</name>
</author>
<published>2014-03-05T06:38:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bab00f228fc1d09d88e9d1feb74abe327a696b12'/>
<id>urn:sha1:bab00f228fc1d09d88e9d1feb74abe327a696b12</id>
<content type='text'>
commit 24bd9bf54d45d28089251cdf62bf14323d1aa827 upstream.

| has a higher precedence than ?. Therefore, the calculation doesn't do
at all what you would expect. Thanks to Ken for convincing me that this
was indeed the issue. Send me back to C programmer school, please.

I'm sort of surprised PSR was continuing to work for people. It should
be broken IMO (and it was broken for me, but I had assumed it never
worked).

Regression from:
commit ed8546ac1f99b850879f07b1e9b06b42fb0a36d9
Author: Ben Widawsky &lt;benjamin.widawsky@intel.com&gt;
Date:   Mon Nov 4 22:45:05 2013 -0800

    drm/i915/bdw: Support eDP PSR

Cc: Rodrigo Vivi &lt;rodrigo.vivi@gmail.com&gt;
Cc: Kenneth Graunke &lt;kenneth.w.graunke@intel.com&gt;
Cc: Art Runyan &lt;arthur.j.runyan@intel.com&gt;
Reported-by: "Kumar, Kiran S" &lt;kiran.s.kumar@intel.com&gt;
Signed-off-by: Ben Widawsky &lt;ben@bwidawsk.net&gt;
Signed-off-by: Jani Nikula &lt;jani.nikula@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>drm/i915: Reject &gt;165MHz modes w/ DVI monitors</title>
<updated>2014-03-24T04:44:14Z</updated>
<author>
<name>Ville Syrjälä</name>
</author>
<published>2014-03-03T09:33:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e3ea8fa6beaf55fee64bf816f3b8a80ad733b2c2'/>
<id>urn:sha1:e3ea8fa6beaf55fee64bf816f3b8a80ad733b2c2</id>
<content type='text'>
commit 6375b768a9850b6154478993e5fb566fa4614a9c upstream.

Single-link DVI max dotclock is 165MHz. Filter out modes with higher
dotclock when the monitor doesn't support HDMI.

Modes higher than 165 MHz were allowed in

commit 7d148ef51a657fd04036c3ed7803da600dd0d451
Author: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Date:   Mon Jul 22 18:02:39 2013 +0200

    drm/i915: fix hdmi portclock limits

Also don't attempt to use 12bpc mode with DVI monitors.

Cc: Adam Nielsen &lt;a.nielsen@shikadi.net&gt;
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=75345
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=70331
Tested-by: Ralf Jung &lt;post+kernel@ralfj.de&gt;
Signed-off-by: Ville Syrjälä &lt;ville.syrjala@linux.intel.com&gt;
Signed-off-by: Jani Nikula &lt;jani.nikula@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>drm/i915: fix pch pci device enumeration</title>
<updated>2014-03-24T04:44:14Z</updated>
<author>
<name>Imre Deak</name>
</author>
<published>2014-02-14T18:23:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6dffe0c3f7f100a14dff8e3ecd489ca8769e21f8'/>
<id>urn:sha1:6dffe0c3f7f100a14dff8e3ecd489ca8769e21f8</id>
<content type='text'>
commit bcdb72ac7c00d2b56359fc82bcc8fe50454717d5 upstream.

pci_get_class(class, from) drops the refcount for 'from', so the
extra pci_dev_put we do on it will result in a use after free bug
starting with the WARN below.

Regression introduced in

commit 6a9c4b35e6696a63805b6da5e4889c6986e9ee1b
Author: Rui Guo &lt;firemeteor@users.sourceforge.net&gt;
Date:   Wed Jun 19 21:10:23 2013 +0800

    drm/i915: Fix PCH detect with multiple ISA bridges in VM

[  164.338460] WARNING: CPU: 1 PID: 2094 at include/linux/kref.h:47 klist_next+0xae/0x110()
[  164.347731] CPU: 1 PID: 2094 Comm: modprobe Tainted: G           O 3.13.0-imre+ #354
[  164.356468] Hardware name: Intel Corp. VALLEYVIEW B0 PLATFORM/NOTEBOOK, BIOS BYTICRB1.X64.0062.R70.1310112051 10/11/2013
[  164.368796] Call Trace:
[  164.371609]  [&lt;ffffffff816a32a6&gt;] dump_stack+0x4e/0x7a
[  164.377447]  [&lt;ffffffff8104f75d&gt;] warn_slowpath_common+0x7d/0xa0
[  164.384238]  [&lt;ffffffff8104f83a&gt;] warn_slowpath_null+0x1a/0x20
[  164.390851]  [&lt;ffffffff8169aeae&gt;] klist_next+0xae/0x110
[  164.396777]  [&lt;ffffffff8130a110&gt;] ? pci_do_find_bus+0x70/0x70
[  164.403286]  [&lt;ffffffff813cb4a9&gt;] bus_find_device+0x89/0xc0
[  164.409719]  [&lt;ffffffff8130a373&gt;] pci_get_dev_by_id+0x63/0xa0
[  164.416238]  [&lt;ffffffff8130a4e4&gt;] pci_get_class+0x44/0x50
[  164.422433]  [&lt;ffffffffa034821f&gt;] intel_dsm_detect+0x16f/0x1f0 [i915]
[  164.429801]  [&lt;ffffffffa03482ae&gt;] intel_register_dsm_handler+0xe/0x10 [i915]
[  164.437831]  [&lt;ffffffffa02d30fe&gt;] i915_driver_load+0xafe/0xf30 [i915]
[  164.445126]  [&lt;ffffffff8158a150&gt;] ? intel_alloc_coherent+0x110/0x110
[  164.452340]  [&lt;ffffffffa0148c07&gt;] drm_dev_register+0xc7/0x150 [drm]
[  164.459462]  [&lt;ffffffffa014b23f&gt;] drm_get_pci_dev+0x11f/0x1f0 [drm]
[  164.466554]  [&lt;ffffffff816abb81&gt;] ? _raw_spin_unlock_irqrestore+0x51/0x70
[  164.474287]  [&lt;ffffffffa02cf7a6&gt;] i915_pci_probe+0x56/0x60 [i915]
[  164.481185]  [&lt;ffffffff8130a028&gt;] pci_device_probe+0x78/0xf0
[  164.487603]  [&lt;ffffffff813cd495&gt;] driver_probe_device+0x155/0x350
[  164.494505]  [&lt;ffffffff813cd74e&gt;] __driver_attach+0x6e/0xa0
[  164.500826]  [&lt;ffffffff813cd6e0&gt;] ? __device_attach+0x50/0x50
[  164.507333]  [&lt;ffffffff813cb2be&gt;] bus_for_each_dev+0x6e/0xc0
[  164.513752]  [&lt;ffffffff813ccefe&gt;] driver_attach+0x1e/0x20
[  164.519870]  [&lt;ffffffff813cc958&gt;] bus_add_driver+0x138/0x260
[  164.526289]  [&lt;ffffffffa0188000&gt;] ? 0xffffffffa0187fff
[  164.532116]  [&lt;ffffffff813cde78&gt;] driver_register+0x98/0xe0
[  164.538558]  [&lt;ffffffffa0188000&gt;] ? 0xffffffffa0187fff
[  164.544389]  [&lt;ffffffff813087b0&gt;] __pci_register_driver+0x60/0x70
[  164.551336]  [&lt;ffffffffa014b37d&gt;] drm_pci_init+0x6d/0x120 [drm]
[  164.558040]  [&lt;ffffffffa0188000&gt;] ? 0xffffffffa0187fff
[  164.563928]  [&lt;ffffffffa018806a&gt;] i915_init+0x6a/0x6c [i915]
[  164.570363]  [&lt;ffffffff810002da&gt;] do_one_initcall+0xaa/0x160
[  164.576783]  [&lt;ffffffff8103b140&gt;] ? set_memory_nx+0x40/0x50
[  164.583100]  [&lt;ffffffff810ce7f5&gt;] load_module+0x1fb5/0x2550
[  164.589410]  [&lt;ffffffff810caab0&gt;] ? store_uevent+0x40/0x40
[  164.595628]  [&lt;ffffffff810cee7d&gt;] SyS_init_module+0xed/0x100
[  164.602048]  [&lt;ffffffff816b3c52&gt;] system_call_fastpath+0x16/0x1b

v2: simplify the loop further (Chris)

Signed-off-by: Imre Deak &lt;imre.deak@intel.com&gt;
Cc: Jesse Barnes &lt;jbarnes@virtuousgeek.org&gt;
Reported-by: Jesse Barnes &lt;jbarnes@virtuousgeek.org&gt;
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=65652
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=74161
Reviewed-by: Chris Wilson &lt;chris@chris-wilson.co.uk&gt;
Signed-off-by: Jani Nikula &lt;jani.nikula@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>drm/i915/dp: add native aux defer retry limit</title>
<updated>2014-03-07T06:06:31Z</updated>
<author>
<name>Jani Nikula</name>
</author>
<published>2014-02-11T09:52:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=87c3c227f580e2965feceae5f8973e9a38644963'/>
<id>urn:sha1:87c3c227f580e2965feceae5f8973e9a38644963</id>
<content type='text'>
commit f51a44b9a6c4982cc25bfb3727de9bb893621ebc upstream.

Retrying indefinitely places too much trust on the aux implementation of
the sink devices.

Reported-by: Daniel Martin &lt;consume.noise@gmail.com&gt;
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=71267
Signed-off-by: Jani Nikula &lt;jani.nikula@intel.com&gt;
Tested-by: Theodore Ts'o &lt;tytso@mit.edu&gt;
Tested-by: Sree Harsha Totakura &lt;freedesktop@h.totakura.in&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>drm/i915/dp: increase native aux defer retry timeout</title>
<updated>2014-03-07T06:06:31Z</updated>
<author>
<name>Jani Nikula</name>
</author>
<published>2014-02-11T09:52:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=af42ee9f6b2028c6d77c1173fcf24fe0c4480b1f'/>
<id>urn:sha1:af42ee9f6b2028c6d77c1173fcf24fe0c4480b1f</id>
<content type='text'>
commit 04eada25d1f72efdecd32d702706594f81de65d5 upstream.

Give more slack to sink devices before retrying on native aux
defer. AFAICT the 100 us timeout was not based on the DP spec.

Signed-off-by: Jani Nikula &lt;jani.nikula@intel.com&gt;
Cc: stable@vger.kernel.org (on Jani's request)
Signed-off-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>drm/i915: Prevent MI_DISPLAY_FLIP straddling two cachelines on IVB</title>
<updated>2014-03-07T06:06:06Z</updated>
<author>
<name>Ville Syrjälä</name>
</author>
<published>2014-02-11T17:52:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=05524f5b61c3c15859477a2165cff81e3d682743'/>
<id>urn:sha1:05524f5b61c3c15859477a2165cff81e3d682743</id>
<content type='text'>
commit f66fab8e1cd6b3127ba4c5c0d11539fbe1de1e36 upstream.

According to BSpec the entire MI_DISPLAY_FLIP packet must be contained
in a single cacheline. Make sure that happens.

v2: Use intel_ring_begin_cacheline_safe()
v3: Use intel_ring_cacheline_align() (Chris)

Cc: Bjoern C &lt;lkml@call-home.ch&gt;
Cc: Alexandru DAMIAN &lt;alexandru.damian@intel.com&gt;
Cc: Enrico Tagliavini &lt;enrico.tagliavini@gmail.com&gt;
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=74053
Signed-off-by: Ville Syrjälä &lt;ville.syrjala@linux.intel.com&gt;
Cc: stable@vger.kernel.org
Signed-off-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>drm/i915: Add intel_ring_cachline_align()</title>
<updated>2014-03-07T06:06:06Z</updated>
<author>
<name>Ville Syrjälä</name>
</author>
<published>2014-02-11T17:52:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=12b96a3843431abcb29fe8f2cd04f17e32366de0'/>
<id>urn:sha1:12b96a3843431abcb29fe8f2cd04f17e32366de0</id>
<content type='text'>
commit 753b1ad4a281b0663329409d410243e91825c323 upstream.

intel_ring_cachline_align() emits MI_NOOPs until the ring tail is
aligned to a cacheline boundary.

Cc: Bjoern C &lt;lkml@call-home.ch&gt;
Cc: Alexandru DAMIAN &lt;alexandru.damian@intel.com&gt;
Cc: Enrico Tagliavini &lt;enrico.tagliavini@gmail.com&gt;
Suggested-by: Chris Wilson &lt;chris@chris-wilson.co.uk&gt;
Signed-off-by: Ville Syrjälä &lt;ville.syrjala@linux.intel.com&gt;
Reviewed-by: Chris Wilson &lt;chris@chris-wilson.co.uk&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
</feed>
