~tjaalton/ubuntu/+source/linux/+git/xenial:i915-bpo

Last commit made on 2016-07-09
Get this branch:
git clone -b i915-bpo https://git.launchpad.net/~tjaalton/ubuntu/+source/linux/+git/xenial
Only Timo Aaltonen can upload to this branch. If you are Timo Aaltonen please log in for upload directions.

Branch merges

Branch information

Recent commits

b3fd548... by Rodrigo Vivi

drm/i915: Removing PCI IDs that are no longer listed as Kabylake.

BugLink: http://bugs.launchpad.net/bugs/1600124

This is unusual. Usually IDs listed on early stages of platform
definition are kept there as reserved for later use.

However these IDs here are not listed anymore in any of steppings
and devices IDs tables for Kabylake on configurations overview
section of BSpec.

So it is better removing them before they become used in any
other future platform.

Signed-off-by: Rodrigo Vivi <email address hidden>
Reviewed-by: Dhinakaran Pandiyan <email address hidden>
Link: http://patchwork.freedesktop<email address hidden>
(cherry picked from drm-intel-next-queued commit a922eb8d4581c883c37ce6e12dca9ff2cb1ea723)
Signed-off-by: Timo Aaltonen <email address hidden>

a32a471... by Rodrigo Vivi

drm/i915: Add more Kabylake PCI IDs.

BugLink: http://bugs.launchpad.net/bugs/1600124

The spec has been updated adding new PCI IDs.

Signed-off-by: Rodrigo Vivi <email address hidden>
Reviewed-by: Dhinakaran Pandiyan <email address hidden>
Link: http://patchwork.freedesktop<email address hidden>
(cherry picked from drm-intel-next-queued commit 33d9391d3020e069dca98fa87a604c037beb2b9e)
Signed-off-by: Timo Aaltonen <email address hidden>

0d926b0... by Rodrigo Vivi

UBUNTU: SAUCE: i915_bpo: Introduce Kabypoint PCH for Kabylake H/DT.

BugLink: http://bugs.launchpad.net/bugs/1599109

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>
(cherry-picked from drm-intel-next-queued commit 22dea0be50b2eb0)
Signed-off-by: Timo Aaltonen <email address hidden>

80a252a... by Timo Aaltonen

UBUNTU: SAUCE: i915_bpo: Revert "drm/i915: Get panel_type from OpRegion panel details"

BugLink: http://bugs.launchpad.net/bugs/1599109

This commit has been reported to cause some flicker issues on a specific
Skylake machine

https://lists.freedesktop.org/archives/intel-gfx/2016-June/098826.html

So revert this for now until a proper fix for the issue is provided:

commit a05628195a0d9f3173dd9aa76f482aef692e46ee
Author: Ville Syrjälä <email address hidden>
Date: Mon Apr 11 10:23:51 2016 +0300

    drm/i915: Get panel_type from OpRegion panel details

Signed-off-by: Timo Aaltonen <email address hidden>

eea8704... by Timo Aaltonen

UBUNTU: SAUCE: i915_bpo: Add backported workarounds for gen9

BugLink: http://bugs.launchpad.net/bugs/1599109

This commit squashes together the following commits backported from
drm-intel-next-queued so that they apply on top of v4.7:

d1b4eefdea6d63a drm/i915/gen9: Add WaFbcHighMemBwCorruptionAvoidance
031cd8c85aefad3 drm/i195/fbc: Add WaFbcNukeOnHostModify
303d4ea522e8672 drm/i915/gen9: Add WaFbcWakeMemOn
0f78dee6f06a939 drm/i915/gen9: Add WaFbcTurnOffFbcWatermark
066d462888514af drm/i915/kbl: Add WaClearSlmSpaceAtContextSwitch
71dce58c8e90872 drm/i915/skl: Extend WaDisableChickenBitTSGBarrierAckForFFSliceCS
590e8ff04bc0182 drm/i915/gen9: Add WaEnableChickenDCPR
954337aa96a31f6 drm/i915/kbl: Add WaDisableSbeCacheDispatchPortSharing
4de5d7ccbccc88d drm/i915/kbl: Add WaDisableGafsUnitClkGating
0b2d0934edceff9 drm/i915/kbl: Add WaForGAMHang
44fff99ff25f1dd drm/i915/skl: Add WAC6entrylatency
6fc29133eafb9eb drm/i915/gen9: Add WaDisableSkipCaching
ad2bdb44b19529b drm/i915: Add WaInsertDummyPushConstP for bxt and kbl
c0b730d572ea00d drm/i915/kbl: Add WaDisableDynamicCreditSharing
8aeb7f624fbf8a6 drm/i915/kbl: Add WaDisableGamClockGating
b033bb6d5d3a0e5 drm/i915/gen9: Enable must set chicken bits in config0 reg
fe90581987cd5fa drm/i915/kbl: Add WaDisableLSQCROPERFforOCL
17e0adf079a3bf2 drm/i915/edp: Add WaKVMNotificationOnConfigChange:bdw
9498dba7b4ffe40 drm/i915/kbl: Add WaDisableSDEUnitClockGating
8401d42fd5adf70 drm/i915/kbl: Add WaDisableFenceDestinationToSLM for A0
e587f6cb0af140f drm/i915/kbl: Add WaEnableGapsTsvCreditFix
bbaefe72a00c93c drm/i915: Mimic skl with WaForceEnableNonCoherent
5b0e3659296cc4a drm/i915/gen9: Always apply WaForceContextSaveRestoreNonCohe
6e4f10c33a8bd0d drm/i915/kbl: Add WaSkipStolenMemoryFirstPage for A0
c033a37cd42c1b5 drm/i915/kbl: Add REVID macro
e5f81d65ac5a040 drm/i915/kbl: Init gen9 workarounds
eee8efb02a0f928 drm/i915/skl: Add WaDisableGafsUnitClkGating
6bb6285582e0cf9 drm/i915/gen9: Add WaVFEStateAfterPipeControlwithMediaStateClear

Signed-off-by: Timo Aaltonen <email address hidden>

b69dcf3... by Timo Aaltonen

UBUNTU: SAUCE: i915_bpo: Rebase to v4.7-rc6

BugLink: http://bugs.launchpad.net/bugs/1599109

Sync i915_bpo with v4.7-rc6. Revert a bunch of commits from it to let it build
without pulling a ton of core drm changes.

3ed605bc8a0a688d kernel.h: add u64_to_user_ptr()
2347aa7c34be284b drm: i915: Explicitly apply PWM config extracted from pwm_args
0552f7651bc233e5 drm/i915/mst: use reference counted connectors. (v3)
8863dc7f5642737e drm/i915: Correctly refcount connectors in hw state readou"
ec2dc6a0fe38de8d drm: Drop crtc argument from __drm_atomic_helper_crtc_destroy_state
80a89a5e8513c6a1 drm/i915: make i915_gem_mmap_ioctl wait for mmap_sem killable
e87666b52f00fdb3 drm/i915/shrinker: Hook up vmap allocation failure notifier
168cf367d7017a9d drm/i915/shrinker: Refactor common uninterruptible locking
eae2c43b1233f81f drm/i915/shrinker: Restrict vmap purge to objects with vmaps
1768d4550c055bfd drm/i915/shrinker: Report "unevictable" pages
1bec9b0bda3d570c drm/i915/shrinker: Only shmemfs objects are backed by swap
747a598ffa7dff49 drm/mode: introduce wrapper to read framebuffer refcount.
1d2ac403ae3bfde7 drm: Protect dev->filelist with its own mutex
cab103274352721b drm/i915: Fix missing unlock on error in i915_ppgtt_info()
a8ad0bd84f986072 drm: Remove unused drm_device from drm_gem_object_lookup()

Signed-off-by: Timo Aaltonen <email address hidden>

0123596... by Timo Aaltonen

UBUNTU: SAUCE: drm: Introduce drm_malloc_gfp()

BugLink: http://bugs.launchpad.net/bugs/1599109

Backport header bits of

commit f2a85e1975d80d1b535b4c21517ed15226b96c87
Author: Chris Wilson <email address hidden>
Date: Fri Apr 8 12:11:13 2016 +0100

    drm,i915: Introduce drm_malloc_gfp()

Signed-off-by: Timo Aaltonen <email address hidden>

dc86e33... by Liu Ying <email address hidden>

drm/dsi: Add a helper to get bits per pixel of MIPI DSI pixel format

BugLink: http://bugs.launchpad.net/bugs/1599109

Add a helper that can be used to obtain the number of bits per pixel
corresponding to a given MIPI DSI pixel format. This is useful in
bandwidth calculations, for example.

Signed-off-by: Liu Ying <email address hidden>
Acked-by: Thierry Reding <email address hidden>
Signed-off-by: Chris Zhong <email address hidden>
[<email address hidden>: add kerneldoc comment and commit message]
Signed-off-by: Thierry Reding <email address hidden>

(cherry picked from commit ec26d9e9382f432225d76b3ff1c7f72e21192f7f)
Signed-off-by: Timo Aaltonen <email address hidden>

7bedd0e... by Lionel Landwerlin <email address hidden>

drm: fix lut value extraction function

BugLink: http://bugs.launchpad.net/bugs/1599109

When extracting the value at full precision (16 bits), no need to
round the value.

This was spotted by Jani when running sparse. Unfortunately this fix
doesn't get rid of the warning.

Signed-off-by: Lionel Landwerlin <email address hidden>
Reported-by: Jani Nikula <email address hidden>
Cc: Daniel Stone <email address hidden>
Cc: Daniel Vetter <email address hidden>
Cc: Matt Roper <email address hidden>
Cc: <email address hidden>
Fixes: 5488dc16fde7 ("drm: introduce pipe color correction properties")
Reviewed-by: Emil Velikov <email address hidden>
Signed-off-by: Daniel Vetter <email address hidden>
Link: http://patchwork.freedesktop.org/patch<email address hidden>
(cherry picked from commit 644a80508f918e488aad70814b65b7007438ef4c)
Signed-off-by: Timo Aaltonen <email address hidden>

66e724f... by Lionel Landwerlin <email address hidden>

drm: atomic helper: do not unreference error pointer

BugLink: http://bugs.launchpad.net/bugs/1599109

562c5b4d8986 didn't quite fix the issue of dealing with an error
pointer. We can't free/unref an error pointer so reset it to NULL.

Many thanks to Dan Carpenter for pointing this out again.

Signed-off-by: Lionel Landwerlin <email address hidden>
Cc: Dan Carpenter <email address hidden>
Cc: Daniel Stone <email address hidden>
Cc: Daniel Vetter <email address hidden>
Cc: Matt Roper <email address hidden>
Cc: <email address hidden>
Fixes: 562c5b4d8986 ("drm: fix blob pointer check")
Signed-off-by: Daniel Vetter <email address hidden>
Link: http://patchwork.freedesktop.org/patch<email address hidden>
(cherry picked from commit c1f415c9acb5877c408d9311eb837d7d50636a68)
Signed-off-by: Timo Aaltonen <email address hidden>