[i915_bpo] Rebase driver to v4.7-rc6 + gen9 workarounds + KBP PCH support

Bug #1599109 reported by Timo Aaltonen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Undecided
Unassigned
Xenial
Fix Released
High
Timo Aaltonen

Bug Description

i915_bpo driver should sync with v4.7-rc6 to better support SKL/KBL/BXT:

- KBL enabled upstream, meaning v4.7 is first release they add fixes to
- display power well support on BXT
- fixes issues on certain machines not resuming properly from S3

in addition to that, backport gen9 workarounds from drm-intel-next-queued:

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 WaDisableChickenBitTSGBarrierAckFor
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 WaVFEStateAfterPipeControlwithMediaStateCl

and another fix to support Kabypoint PCH (fixes blank screen issues on such hw):

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

We should also revert a commit that causes flickering on at least one Skylake laptop model, until it's properly fixed:

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

Timo Aaltonen (tjaalton)
Changed in linux (Ubuntu Xenial):
assignee: nobody → Timo Aaltonen (tjaalton)
importance: Undecided → High
status: New → In Progress
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1599109

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Timo Aaltonen (tjaalton)
summary: - [i915_bpo] Rebase driver to v4.7-rc6
+ [i915_bpo] Rebase driver to v4.7-rc6 + workarounds
summary: - [i915_bpo] Rebase driver to v4.7-rc6 + workarounds
+ [i915_bpo] Rebase driver to v4.7-rc6 + gen9 workarounds
Timo Aaltonen (tjaalton)
description: updated
Timo Aaltonen (tjaalton)
Changed in linux (Ubuntu):
status: Incomplete → In Progress
Timo Aaltonen (tjaalton)
description: updated
summary: - [i915_bpo] Rebase driver to v4.7-rc6 + gen9 workarounds
+ [i915_bpo] Rebase driver to v4.7-rc6 + gen9 workarounds + KBP PCH
+ support
Timo Aaltonen (tjaalton)
description: updated
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

kernel build (without the revert) available at

https://launchpad.net/~canonical-hwe-team/+archive/ubuntu/ppa

+bpo4 will have all

Timo Aaltonen (tjaalton)
description: updated
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Scratch that, dropped a late-addition WA for BXT from it that would've required another commit to build.

+bpo5 will be good

Changed in linux (Ubuntu Xenial):
status: In Progress → Fix Committed
Revision history for this message
Yung Shen (kaxing) wrote :

For the record that I had kernel tested on three systems:

Intel - 8086:1916
https://certification.canonical.com/hardware/201603-20843/submission/111744/
https://certification.canonical.com/hardware/201508-19149/submission/111756/

Intel - 8086:191b
I'm not able to finish testing on this one, this system had nvidia graphic(10de:139b) and having some issues with lspci, udevadm, filed a separate bug here: LP #1603862

Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (14.6 KiB)

This bug was fixed in the package linux - 4.4.0-33.52

---------------
linux (4.4.0-33.52) xenial; urgency=low

  [ Seth Forshee ]

  * Release Tracking Bug
    - LP: #1605709

  * [regression] NFS client: access problems after updating to kernel
    4.4.0-31-generic (LP: #1603719)
    - SAUCE: (namespace) Bypass sget() capability check for nfs

linux (4.4.0-32.51) xenial; urgency=low

  [ Seth Forshee ]

  * Release Tracking Bug
    - LP: #1604443

  * thinkpad yoga 260 wacom touchscreen not working (LP: #1603975)
    - HID: wacom: break out parsing of device and registering of input
    - HID: wacom: Initialize hid_data.inputmode to -1
    - HID: wacom: Support switching from vendor-defined device mode on G9 and G11

  * changelog: add CVEs as first class citizens (LP: #1604344)
    - use CVE numbers in changelog

  * [Xenial] Include Huawei PCIe SSD hio kernel driver (LP: #1603483)
    - SAUCE: import Huawei ES3000_V2 (2.1.0.23)
    - SAUCE: hio: bio_endio() no longer takes errors arg
    - SAUCE: hio: blk_queue make_request_fn now returns a blk_qc_t
    - SAUCE: hio: use alloc_cpumask_var to avoid -Wframe-larger-than
    - SAUCE: hio: fix mask maybe-uninitialized warning
    - [config] enable CONFIG_HIO (Huawei ES3000_V2 PCIe SSD driver)
    - SAUCE: hio: Makefile and Kconfig

  * CVE-2016-5243 (LP: #1589036)
    - tipc: fix an infoleak in tipc_nl_compat_link_dump
    - tipc: fix nl compat regression for link statistics

  * CVE-2016-4470
    - KEYS: potential uninitialized variable

  * integer overflow in xt_alloc_table_info (LP: #1555353)
    - netfilter: x_tables: check for size overflow

  * CVE-2016-3135:
    - Revert "UBUNTU: SAUCE: (noup) netfilter: x_tables: check for size overflow"

  * CVE-2016-4440 (LP: #1584192)
    - kvm:vmx: more complete state update on APICv on/off

  * the system hangs in the dma driver when reboot or shutdown on a baytrail-m
    laptop (LP: #1602579)
    - dmaengine: dw: platform: power on device on shutdown
    - ACPI / LPSS: override power state for LPSS DMA device

  * Add proper palm detection support for MS Precision Touchpad (LP: #1593124)
    - Revert "HID: multitouch: enable palm rejection if device implements
      confidence usage"
    - HID: multitouch: enable palm rejection for Windows Precision Touchpad

  * Add support for Intel 8265 Bluetooth ([8087:0A2B]) (LP: #1599068)
    - Bluetooth: Add support for Intel Bluetooth device 8265 [8087:0a2b]

  * CVE-2016-4794 (LP: #1581871)
    - percpu: fix synchronization between chunk->map_extend_work and chunk
      destruction
    - percpu: fix synchronization between synchronous map extension and chunk
      destruction

  * Xenial update to v4.4.15 stable release (LP: #1601952)
    - net_sched: fix pfifo_head_drop behavior vs backlog
    - net: Don't forget pr_fmt on net_dbg_ratelimited for CONFIG_DYNAMIC_DEBUG
    - sit: correct IP protocol used in ipip6_err
    - esp: Fix ESN generation under UDP encapsulation
    - netem: fix a use after free
    - ipmr/ip6mr: Initialize the last assert time of mfc entries.
    - Bridge: Fix ipv6 mc snooping if bridge has no ipv6 address
    - sock_diag: do not broadcast raw socket destruction
    - bpf, perf...

Changed in linux (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Seth Forshee (sforshee) wrote :

This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-xenial' to 'verification-done-xenial'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-xenial
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

tagging verified, it's working fine on xenial

tags: added: verification-done-xenial
removed: verification-needed-xenial
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (15.0 KiB)

This bug was fixed in the package linux - 4.4.0-34.53

---------------
linux (4.4.0-34.53) xenial; urgency=low

  [ Seth Forshee ]

  * Release Tracking Bug
    - LP: #1606960

  * [APL][SAUCE] Slow system response time due to a monitor bug (LP: #1606147)
    - x86/cpu/intel: Introduce macros for Intel family numbers
    - SAUCE: x86/cpu: Add workaround for MONITOR instruction erratum on Goldmont
      based CPUs

linux (4.4.0-33.52) xenial; urgency=low

  [ Seth Forshee ]

  * Release Tracking Bug
    - LP: #1605709

  * [regression] NFS client: access problems after updating to kernel
    4.4.0-31-generic (LP: #1603719)
    - SAUCE: (namespace) Bypass sget() capability check for nfs

linux (4.4.0-32.51) xenial; urgency=low

  [ Seth Forshee ]

  * Release Tracking Bug
    - LP: #1604443

  * thinkpad yoga 260 wacom touchscreen not working (LP: #1603975)
    - HID: wacom: break out parsing of device and registering of input
    - HID: wacom: Initialize hid_data.inputmode to -1
    - HID: wacom: Support switching from vendor-defined device mode on G9 and G11

  * changelog: add CVEs as first class citizens (LP: #1604344)
    - use CVE numbers in changelog

  * [Xenial] Include Huawei PCIe SSD hio kernel driver (LP: #1603483)
    - SAUCE: import Huawei ES3000_V2 (2.1.0.23)
    - SAUCE: hio: bio_endio() no longer takes errors arg
    - SAUCE: hio: blk_queue make_request_fn now returns a blk_qc_t
    - SAUCE: hio: use alloc_cpumask_var to avoid -Wframe-larger-than
    - SAUCE: hio: fix mask maybe-uninitialized warning
    - [config] enable CONFIG_HIO (Huawei ES3000_V2 PCIe SSD driver)
    - SAUCE: hio: Makefile and Kconfig

  * CVE-2016-5243 (LP: #1589036)
    - tipc: fix an infoleak in tipc_nl_compat_link_dump
    - tipc: fix nl compat regression for link statistics

  * CVE-2016-4470
    - KEYS: potential uninitialized variable

  * integer overflow in xt_alloc_table_info (LP: #1555353)
    - netfilter: x_tables: check for size overflow

  * CVE-2016-3135:
    - Revert "UBUNTU: SAUCE: (noup) netfilter: x_tables: check for size overflow"

  * CVE-2016-4440 (LP: #1584192)
    - kvm:vmx: more complete state update on APICv on/off

  * the system hangs in the dma driver when reboot or shutdown on a baytrail-m
    laptop (LP: #1602579)
    - dmaengine: dw: platform: power on device on shutdown
    - ACPI / LPSS: override power state for LPSS DMA device

  * Add proper palm detection support for MS Precision Touchpad (LP: #1593124)
    - Revert "HID: multitouch: enable palm rejection if device implements
      confidence usage"
    - HID: multitouch: enable palm rejection for Windows Precision Touchpad

  * Add support for Intel 8265 Bluetooth ([8087:0A2B]) (LP: #1599068)
    - Bluetooth: Add support for Intel Bluetooth device 8265 [8087:0a2b]

  * CVE-2016-4794 (LP: #1581871)
    - percpu: fix synchronization between chunk->map_extend_work and chunk
      destruction
    - percpu: fix synchronization between synchronous map extension and chunk
      destruction

  * Xenial update to v4.4.15 stable release (LP: #1601952)
    - net_sched: fix pfifo_head_drop behavior vs backlog
    - net: Don't forget pr_fmt on net_dbg_ratelimited for CONFIG_DYNAMIC...

Changed in linux (Ubuntu Xenial):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.