~ubuntu-kernel-test/ubuntu/+source/linux/+git/mirror-drm-intel:topic/kbl-4.7-fixes

Last commit made on 2016-07-18
Get this branch:
git clone -b topic/kbl-4.7-fixes https://git.launchpad.net/~ubuntu-kernel-test/ubuntu/+source/linux/+git/mirror-drm-intel
Members of Ubuntu Kernel Test can upload to this branch. Log in for directions.

Branch merges

Branch information

Recent commits

a4a027a... by Rodrigo Vivi

drm/i915/kbl: Introduce the first official DMC for Kabylake.

Version 1.01.

This firmware is made for Kabylake platform so it doesn't
need the stepping workaround that we had before.

v2: Rebased on top of latest nightly with min version
    required change.
v3: With right CSR_VERSION (Patrik).

Cc: Christophe Prigent <email address hidden>
Cc: Patrik Jakobsson <email address hidden>
Reviewed-by: Ben Widawsky <email address hidden> (v1)
Signed-off-by: Rodrigo Vivi <email address hidden>
Reviewed-by: Patrik Jakobsson <email address hidden>
Link: http://patchwork.freedesktop<email address hidden>
(cherry picked from commit 4922d4919596219864686be1e70dcd92c685ec9f)
Signed-off-by: Daniel Vetter <email address hidden>

bc7135b... by Rodrigo Vivi

drm/i915: Introduce Kabypoint PCH for Kabylake H/DT.

Some Kabylake SKUs are going to use Kabypoint PCH.
It is mainly for Halo and DT ones.

>From our specs it doesn't seem that KBP brings
any change on the display south engine. So let's consider
this as a continuation of SunrisePoint, i.e., SPT+.

Since it is easy to get confused by a letter change:
KBL = Kabylake - CPU/GPU codename.
KBP = Kabypoint - PCH codename.

Signed-off-by: Rodrigo Vivi <email address hidden>
Reviewed-by: Ander Conselvan de Oliveira <email address hidden>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=96826
Link: http://patchwork.freedesktop<email address hidden>
Signed-off-by: Rodrigo Vivi <email address hidden>
(cherry picked from commit 22dea0be50b2eb0bafd3c82e1fb080113e0c889e)
Signed-off-by: Mika Kuoppala <email address hidden>

12be73a... by Tim Gore <email address hidden>

drm/i915/gen9: implement WaConextSwitchWithConcurrentTLBInvalidate

This patch enables a workaround for a mid thread preemption
issue where a hardware timing problem can prevent the
context restore from happening, leading to a hang.

v2: move to gen9_init_workarounds (Arun)
v3: move to start of gen9_init_workarounds (Arun)

Signed-off-by: Tim Gore <email address hidden>
Reviewed-by: Arun Siluvery <email address hidden>
Signed-off-by: Tvrtko Ursulin <email address hidden>
Link: http://patchwork.freedesktop<email address hidden>
(cherry picked from commit a8ab5ed5e1bf856eceaab5579236de6f92822b9f)
Signed-off-by: Mika Kuoppala <email address hidden>

a89bd7b... by Mika Kuoppala <email address hidden>

drm/i915/gen9: Add WaFbcHighMemBwCorruptionAvoidance

Add this fbc related workaround for all gen9

Cc: Ville Syrjälä <email address hidden>
Signed-off-by: Mika Kuoppala <email address hidden>
Reviewed-by: Ville Syrjälä <email address hidden>
Link: http://patchwork.freedesktop.<email address hidden>
(cherry picked from commit d1b4eefdea6d63aa15321f539feec298d8aefdc1)
Signed-off-by: Mika Kuoppala <email address hidden>

c584e2d... by Mika Kuoppala <email address hidden>

drm/i195/fbc: Add WaFbcNukeOnHostModify

Bspec states that we need to set nuke on modify all to prevent
screen corruption with fbc on skl and kbl.

v2: proper workaround name

References: HSD#2227109, HSDES#1404569388
Cc: Ville Syrjälä <email address hidden>
Signed-off-by: Mika Kuoppala <email address hidden>
Reviewed-by: Ville Syrjälä <email address hidden>
Link: http://patchwork.freedesktop.<email address hidden>
(cherry picked from commit 031cd8c85aefad31e7af91eba7bc4735a6dfcc79)
Signed-off-by: Mika Kuoppala <email address hidden>

5b88989... by Mika Kuoppala <email address hidden>

drm/i915/gen9: Add WaFbcWakeMemOn

Set bit 8 in 0x43224 to prevent screen corruption and system
hangs on high memory bandwidth conditions. The same wa also suggest
setting bit 31 on ARB_CTL. According to another workaround we gain
better idle power savings when FBC is enabled.

v2: use correct workaround name
v3: split out overlapping wa for corruption avoidance (Ville)

References: HSD#2137218, HSD#2227171, HSD#2136579, BSID#883
Cc: Paulo Zanoni <email address hidden>
Cc: Ville Syrjälä <email address hidden>
Signed-off-by: Mika Kuoppala <email address hidden>
Reviewed-by: Ville Syrjälä <email address hidden>
Link: http://patchwork.freedesktop.<email address hidden>
(cherry picked from commit 303d4ea522e8672a1b62d968a5b6764929adc292)
Signed-off-by: Mika Kuoppala <email address hidden>

f20b1ba... by Mika Kuoppala <email address hidden>

drm/i915/gen9: Add WaFbcTurnOffFbcWatermark

According to bspec this prevents screen corruption when fbc is
used.

v2: This workaround has a name, use it (Ville)
v3: remove bogus gen check on ilk/vlv wm path (Ville)

References: HSD#2135555, HSD#2137270, BSID#562
Cc: Paulo Zanoni <email address hidden>
Cc: Ville Syrjälä <email address hidden>
Signed-off-by: Mika Kuoppala <email address hidden>
Reviewed-by: Ville Syrjälä <email address hidden>
Link: http://patchwork.freedesktop.<email address hidden>
(cherry picked from commit 0f78dee6f06a9399d4bdf79575094cc761b872ac)
Signed-off-by: Mika Kuoppala <email address hidden>

703d128... by Mika Kuoppala <email address hidden>

drm/i915/kbl: Add WaClearSlmSpaceAtContextSwitch

This workaround for bdw and chv, is also needed for kbl A0.

References: HSD#1911519, BSID#569
Signed-off-by: Mika Kuoppala <email address hidden>
Reviewed-by: Matthew Auld <email address hidden>
Link: http://patchwork.freedesktop.<email address hidden>
(cherry picked from commit 066d462888514af727008a450f4078b1a23d5cbe)
Signed-off-by: Mika Kuoppala <email address hidden>

0e51c0b... by Mika Kuoppala <email address hidden>

drm/i915/gen9: Add WaEnableChickenDCPR

Workaround for display underrun issues with Y & Yf Tiling.
Set this on all gen9 as stated by bspec.

v2: proper workaround name

References: HSD#2136383, BSID#857
Signed-off-by: Mika Kuoppala <email address hidden>
Reviewed-by: Matthew Auld <email address hidden>
Link: http://patchwork.freedesktop.<email address hidden>
(cherry picked from commit 590e8ff04bc0182dce97228e5e352d6413d80456)
Signed-off-by: Mika Kuoppala <email address hidden>

0a3e3f0... by Mika Kuoppala <email address hidden>

drm/i915/kbl: Add WaDisableSbeCacheDispatchPortSharing

This is needed for all kbl revision.

v2: Don't add revid checks to generic gen9 init (Arun)

References: HSD#2135593
Signed-off-by: Mika Kuoppala <email address hidden>
Reviewed-by: Matthew Auld <email address hidden>
Link: http://patchwork.freedesktop.<email address hidden>
(cherry picked from commit 954337aa96a31f6d4baf1e40ac219fbb1b1d92f4)
Signed-off-by: Mika Kuoppala <email address hidden>