[PULL] drm-intel-next-fixes

2026-01-22 Thread Joonas Lahtinen
Hi Dave & Sima,

Here's drm-intel-next-fixes PR towards 6.19-rc7.

Just one display PSR related fix.

Regards, Joonas

***

drm-intel-next-fixes-2026-01-22:

- Don't enable Panel Replay on sink if globally disabled

The following changes since commit 95adee9a04fa1eaa352e960e9d3387055fa03bb3:

  Merge tag 'drm-intel-gt-next-2026-01-16' of 
https://gitlab.freedesktop.org/drm/i915/kernel into drm-next (2026-01-19 
13:51:10 +1000)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/i915/kernel.git 
tags/drm-intel-next-fixes-2026-01-22

for you to fetch changes up to 69f83f167463bad26104af7fbc114ce1f80366b0:

  drm/i915/psr: Don't enable Panel Replay on sink if globally disabled 
(2026-01-19 11:55:31 +0200)


- Don't enable Panel Replay on sink if globally disabled


Jouni Högander (1):
  drm/i915/psr: Don't enable Panel Replay on sink if globally disabled

 drivers/gpu/drm/i915/display/intel_psr.c | 7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)


[PULL] drm-intel-next-fixes for v6.19-rc1

2025-12-12 Thread Jani Nikula


Hi Dave & Sima -

drm-intel-next-fixes-2025-12-12:
drm/i915 fixes for v6.19-rc1:
- Fix format string truncation warning
- FIx runtime PM reference during fbdev BO creation

BR,
Jani.

The following changes since commit c7685d11108acb387e44e3d81194d0d8959eaa44:

  Merge tag 'topic/drm-intel-plane-color-pipeline-2025-12-04' of 
https://gitlab.freedesktop.org/drm/i915/kernel into drm-next (2025-12-05 
10:27:57 +1000)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/i915/kernel.git 
tags/drm-intel-next-fixes-2025-12-12

for you to fetch changes up to 1c7f9e528f8f488b060b786bfb90b40540854db3:

  drm/i915: Fix format string truncation warning (2025-12-09 15:53:12 +0200)


drm/i915 fixes for v6.19-rc1:
- Fix format string truncation warning
- FIx runtime PM reference during fbdev BO creation


Ard Biesheuvel (1):
  drm/i915: Fix format string truncation warning

Dibin Moolakadan Subrahmanian (1):
  drm/i915/fbdev: Hold runtime PM ref during fbdev BO creation

 drivers/gpu/drm/i915/display/intel_fbdev.c | 11 +++
 drivers/gpu/drm/i915/intel_memory_region.h |  2 +-
 2 files changed, 8 insertions(+), 5 deletions(-)

-- 
Jani Nikula, Intel


[PULL] drm-intel-next-fixes

2025-08-05 Thread Jani Nikula


Hi Dave & Sima -

Some fixes for the merge window.

drm-intel-next-fixes-2025-08-05:
drm/i915 fixes for v6.17-rc1:
- Fixes around DP LFPS (Low-Frequency Periodic Signaling)

BR,
Jani.

The following changes since commit ba0f4c4c0f9d0f90300578fc8d081f43be281a71:

  Merge tag 'nova-next-v6.17-2025-07-18' of 
https://gitlab.freedesktop.org/drm/nova into drm-next (2025-07-21 12:56:39 
+1000)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/i915/kernel.git 
tags/drm-intel-next-fixes-2025-08-05

for you to fetch changes up to 5a569ef4d4ab184a481dd8ecb58f464a89b44d2f:

  drm/i915/display: Set C10_VDR_CTRL_MSGBUS_ACCESS before phy reg read 
(2025-07-29 10:20:33 +0100)


drm/i915 fixes for v6.17-rc1:
- Fixes around DP LFPS (Low-Frequency Periodic Signaling)


Jouni Högander (4):
  drm/i915/display: Write PHY_CMN1_CONTROL only when using AUXLess ALPM
  drm/i915/display: Avoid unnecessarily calling 
intel_cx0_get_owned_lane_mask
  drm/i915/display: Ensure phy is accessible on lfps configuration
  drm/i915/display: Set C10_VDR_CTRL_MSGBUS_ACCESS before phy reg read

 drivers/gpu/drm/i915/display/intel_cx0_phy.c | 21 +++--
 1 file changed, 15 insertions(+), 6 deletions(-)

-- 
Jani Nikula, Intel


[PULL] drm-intel-next-fixes

2025-06-05 Thread Joonas Lahtinen
Hi Dave & Sima,

Here goes the final drm-intel-next-fixes PR towards 6.16-rc1.

One fix for PSR ALPM reg definitions and three integer under/overflow fixes.

Regards, Joonas

***

drm-intel-next-fixes-2025-06-05:

- Fix PSR register definitions for ALPM
- Fix u32 overflow in SNPS PHY HDMI PLL setup
- Fix GuC pending message underflow when submit fails
- Fix GuC wakeref underflow race during reset

The following changes since commit ed5915cfce2abb9a553c3737badebd4a11d6c9c7:

  Revert "drm/i915/gem: Allow EXEC_CAPTURE on recoverable contexts on DG1" 
(2025-05-27 16:40:55 +0300)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/i915/kernel.git 
tags/drm-intel-next-fixes-2025-06-05

for you to fetch changes up to 791d76005de0ab556b590473eb4cbfede727fce0:

  drm/i915/display: Fix u32 overflow in SNPS PHY HDMI PLL setup (2025-06-04 
17:30:53 +0300)


- Fix PSR register definitions for ALPM
- Fix u32 overflow in SNPS PHY HDMI PLL setup
- Fix GuC pending message underflow when submit fails
- Fix GuC wakeref underflow race during reset


Dibin Moolakadan Subrahmanian (1):
  drm/i915/display: Fix u32 overflow in SNPS PHY HDMI PLL setup

Jesus Narvaez (2):
  drm/i915/guc: Check if expecting reply before decrementing 
outstanding_submission_g2h
  drm/i915/guc: Handle race condition where wakeref count drops below 0

Jouni Högander (1):
  drm/i915/psr: Fix using wrong mask in REG_FIELD_PREP

 drivers/gpu/drm/i915/display/intel_psr_regs.h  |  4 ++--
 drivers/gpu/drm/i915/display/intel_snps_hdmi_pll.c | 16 
 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c  | 19 +++
 3 files changed, 25 insertions(+), 14 deletions(-)


[PULL] drm-intel-next-fixes

2025-05-28 Thread Joonas Lahtinen
Hi Dave & Sima,

Here's this week's drm-intel-next-fixes towards 6.16-rc1.

Just one DP audio fix.

Regards, Joonas

PS. There is also one Cc: stable patch and revert for it.

***

drm-intel-next-fixes-2025-05-28:

- Fix the enabling/disabling of DP audio SDP splitting

The following changes since commit f4c7baa0699b69edb6887a992283b389761e0e81:

  drm/i915/display: Add check for alloc_ordered_workqueue() and 
alloc_workqueue() (2025-05-22 09:25:57 +0300)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/i915/kernel.git 
tags/drm-intel-next-fixes-2025-05-28

for you to fetch changes up to ed5915cfce2abb9a553c3737badebd4a11d6c9c7:

  Revert "drm/i915/gem: Allow EXEC_CAPTURE on recoverable contexts on DG1" 
(2025-05-27 16:40:55 +0300)


- Fix the enabling/disabling of DP audio SDP splitting


Imre Deak (1):
  drm/i915/dp: Fix the enabling/disabling of audio SDP splitting

Joonas Lahtinen (1):
  Revert "drm/i915/gem: Allow EXEC_CAPTURE on recoverable contexts on DG1"

Ville Syrjälä (1):
  drm/i915/gem: Allow EXEC_CAPTURE on recoverable contexts on DG1

 drivers/gpu/drm/i915/display/intel_audio.c  | 27 +--
 drivers/gpu/drm/i915/display/intel_audio.h  |  1 -
 drivers/gpu/drm/i915/display/intel_ddi.c|  3 ---
 drivers/gpu/drm/i915/display/intel_dp_mst.c |  2 --
 4 files changed, 17 insertions(+), 16 deletions(-)


[PULL] drm-intel-next-fixes

2025-05-21 Thread Joonas Lahtinen
Hi Dave & Sima,

Here goes another drm-intel-next-fixes PR towards 6.16-rc1.

Thunderbolt disconnect fix for MTL/ARL/LNL, DDI port clock fix for PTL+ and WQ
allocation error check for display init code.

Regards, Joonas

PS. CI results were for one patch more, which I reverted during review
of the automation picked patches, but results should still be valid.

***

drm-intel-next-fixes-2025-05-22:

- Fix for Thunderbolt sink disconnect on MTL/ARL/LNL
- Fix for DDI port clock select mask on PTL+
- Add error checks for alloc_ordered_workqueue() and alloc_workqueue() in 
display

The following changes since commit c4f8ac095fc91084108ec21117eb9c1fff64725d:

  Merge tag 'nova-next-v6.16-2025-05-20' of 
https://gitlab.freedesktop.org/drm/nova into drm-next (2025-05-21 05:49:31 
+1000)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/i915/kernel.git 
tags/drm-intel-next-fixes-2025-05-22

for you to fetch changes up to f4c7baa0699b69edb6887a992283b389761e0e81:

  drm/i915/display: Add check for alloc_ordered_workqueue() and 
alloc_workqueue() (2025-05-22 09:25:57 +0300)


- Fix for Thunderbolt sink disconnect on MTL/ARL/LNL
- Fix for DDI port clock select mask on PTL+
- Add error checks for alloc_ordered_workqueue() and alloc_workqueue() in 
display


Haoxiang Li (1):
  drm/i915/display: Add check for alloc_ordered_workqueue() and 
alloc_workqueue()

Imre Deak (2):
  drm/i915/ptl: Use everywhere the correct DDI port clock select mask
  drm/i915/dp_mst: Work around Thunderbolt sink disconnect after 
SINK_COUNT_ESI read

 drivers/gpu/drm/i915/display/intel_cx0_phy.c   | 27 ---
 drivers/gpu/drm/i915/display/intel_cx0_phy_regs.h  | 15 ---
 .../gpu/drm/i915/display/intel_display_driver.c| 30 ++
 drivers/gpu/drm/i915/display/intel_dp.c| 17 
 4 files changed, 63 insertions(+), 26 deletions(-)


[PULL] drm-intel-next-fixes

2025-05-15 Thread Joonas Lahtinen
Hi Dave & Sima,

Here goes the drm-intel-next-fixes PR for this week.

Just one MST fix and one PSR fix this round.

The CI results for drm-intel-next-fixes are bit all over the place after -rc1,
before further rc backmerges.

Regards, Joonas

***

drm-intel-next-fixes-2025-05-15:

- Stop writing ALPM registers when PSR is enabled
- Use the correct connector while computing the link BPP limit on MST

The following changes since commit 1faeeb315fdbd005bbc1bc74214e39087971dda9:

  Merge tag 'amd-drm-next-6.16-2025-05-09' of 
https://gitlab.freedesktop.org/agd5f/linux into drm-next (2025-05-12 07:14:34 
+1000)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/i915/kernel.git 
tags/drm-intel-next-fixes-2025-05-15

for you to fetch changes up to eff82fb0d266eeaea26f99780c5d8987974df2e9:

  drm/i915/alpm: Stop writing ALPM registers when PSR is enabled (2025-05-14 
15:22:23 +0300)


- Stop writing ALPM registers when PSR is enabled
- Use the correct connector while computing the link BPP limit on MST


Imre Deak (1):
  drm/i915/dp_mst: Use the correct connector while computing the link BPP 
limit on MST

Jouni Högander (2):
  drm/i915/alpm: Make intel_alpm_enable_sink available for PSR
  drm/i915/alpm: Stop writing ALPM registers when PSR is enabled

 drivers/gpu/drm/i915/display/intel_alpm.c   |  8 
 drivers/gpu/drm/i915/display/intel_alpm.h   |  2 ++
 drivers/gpu/drm/i915/display/intel_dp.c |  7 ---
 drivers/gpu/drm/i915/display/intel_dp.h |  1 +
 drivers/gpu/drm/i915/display/intel_dp_mst.c |  5 +++--
 drivers/gpu/drm/i915/display/intel_psr.c| 13 ++---
 6 files changed, 24 insertions(+), 12 deletions(-)


[PULL] drm-intel-next-fixes

2025-03-25 Thread Jani Nikula


Hi Dave & Sima -

drm-intel-next-fixes-2025-03-25:
drm/i915 fixes for v6.15 merge window:
- Bounds check for scalers in DSC prefill latency computation
- Fix build by adding a missing include

BR,
Jani.

The following changes since commit 5da39dce1fa3c81dc6552a16a9f748ba2980d630:

  Merge tag 'drm-xe-next-fixes-2025-03-12' of 
https://gitlab.freedesktop.org/drm/xe/kernel into drm-next (2025-03-14 17:02:11 
+1000)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/i915/kernel.git 
tags/drm-intel-next-fixes-2025-03-25

for you to fetch changes up to af9ec6e4682c089028d763b0b77c04fa2ddae268:

  drm/i915/display: Fix build error without DRM_FBDEV_EMULATION (2025-03-20 
18:27:21 +0200)


drm/i915 fixes for v6.15 merge window:
- Bounds check for scalers in DSC prefill latency computation
- Fix build by adding a missing include


Ankit Nautiyal (1):
  drm/i915/watermark: Check bounds for scaler_users for dsc prefill latency

Yue Haibing (1):
  drm/i915/display: Fix build error without DRM_FBDEV_EMULATION

 drivers/gpu/drm/i915/display/intel_fbdev.h   | 2 ++
 drivers/gpu/drm/i915/display/skl_watermark.c | 5 -
 2 files changed, 6 insertions(+), 1 deletion(-)

-- 
Jani Nikula, Intel


[PULL] drm-intel-next-fixes

2024-11-21 Thread Tvrtko Ursulin


Hi Dave, Sima,

Just one fix for the merge window this week - fixing the HDCP flows on
HDMI connectors.

Regards,

Tvrtko

drm-intel-next-fixes-2024-11-21:
- Fix when the first read and write are retried [hdcp] (Suraj Kandpal)
The following changes since commit a163b895077861598be48c1cf7f4a88413c28b22:

  Merge tag 'drm-xe-next-fixes-2024-11-15' of 
https://gitlab.freedesktop.org/drm/xe/kernel into drm-next (2024-11-18 13:38:46 
+1000)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/i915/kernel.git 
tags/drm-intel-next-fixes-2024-11-21

for you to fetch changes up to 376a33c4a0d8344bb575e1a6eeb748ee4d4675d3:

  drm/i915/hdcp: Fix when the first read and write are retried (2024-11-19 
08:11:11 +)


- Fix when the first read and write are retried [hdcp] (Suraj Kandpal)


Suraj Kandpal (1):
  drm/i915/hdcp: Fix when the first read and write are retried

 drivers/gpu/drm/i915/display/intel_hdcp.c | 32 +++
 1 file changed, 20 insertions(+), 12 deletions(-)


[PULL] drm-intel-next-fixes

2024-09-26 Thread Joonas Lahtinen
Hi Dave & Sima,

Here goes final drm-intel-next-fixes towards v6.12.

Just one fix for DP colorimetry detection.

Regards, Joonas

***

drm-intel-next-fixes-2024-09-26:

- Fix colorimetry detection for DP

The following changes since commit d7126c0cfc137a580eba92bd82b6d288bd43961d:

  Merge tag 'drm-xe-next-fixes-2024-09-19' of 
https://gitlab.freedesktop.org/drm/xe/kernel into drm-next (2024-09-25 12:11:10 
+1000)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/i915/kernel.git 
tags/drm-intel-next-fixes-2024-09-26

for you to fetch changes up to e860513f56d8428fcb2bd0282ac8ab691a53fc6c:

  drm/i915/dp: Fix colorimetry detection (2024-09-25 11:56:23 +0300)


- Fix colorimetry detection for DP


Ville Syrjälä (1):
  drm/i915/dp: Fix colorimetry detection

 drivers/gpu/drm/i915/display/intel_dp.c | 9 ++---
 1 file changed, 6 insertions(+), 3 deletions(-)


[PULL] drm-intel-next-fixes

2024-09-19 Thread Joonas Lahtinen
Hi Dave & Sima,

Here goes drm-intel-next-fixes PR towards 6.12.

Three display fixes; One to limit BMG to UHBR13.5 and two PSR ones.

Regards, Joonas

***

drm-intel-next-fixes-2024-09-19:

- Fix BMG support to UHBR13.5
- Two PSR fixes

The following changes since commit bf05aeac230e390a5aee4bd3dc978b0c4d7e745f:

  Merge tag 'drm-intel-next-fixes-2024-09-12' of 
https://gitlab.freedesktop.org/drm/i915/kernel into drm-next (2024-09-13 
16:26:05 +1000)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/i915/kernel.git 
tags/drm-intel-next-fixes-2024-09-19

for you to fetch changes up to ec2231b8dd2dc515912ff7816c420153b4a95e92:

  drm/i915/dp: Fix AUX IO power enabling for eDP PSR (2024-09-16 09:11:48 +0300)


- Fix BMG support to UHBR13.5
- Two PSR fixes


Arun R Murthy (1):
  drm/i915/display: BMG supports UHBR13.5

Imre Deak (1):
  drm/i915/dp: Fix AUX IO power enabling for eDP PSR

Jouni Högander (1):
  drm/i915/psr: Do not wait for PSR being idle on on Panel Replay

 drivers/gpu/drm/i915/display/intel_ddi.c |  2 +-
 drivers/gpu/drm/i915/display/intel_dp.c  | 13 +++--
 drivers/gpu/drm/i915/display/intel_psr.c | 32 +---
 drivers/gpu/drm/i915/display/intel_psr.h |  2 ++
 4 files changed, 35 insertions(+), 14 deletions(-)


[PULL] drm-intel-next-fixes

2024-09-12 Thread Joonas Lahtinen
Hi Dave & Sima,

Just two fixes this week in drm-intel-next-fixes towards v6.12-rc1.

CI baseline is bit upset afted drm-next, but not getting worse with the
two patches at least.

Regards, Joonas

***

drm-intel-next-fixes-2024-09-12:

- Add missing I915_FORMAT_MOD_4_TILED_BMG_CCS modifier for BMG
- Printk formatting fix

The following changes since commit 741d73f587d5cc86db5e65cc107e031263302616:

  Merge tag 'amd-drm-next-6.12-2024-09-06' of 
https://gitlab.freedesktop.org/agd5f/linux into drm-next (2024-09-11 11:22:47 
+1000)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/i915/kernel.git 
tags/drm-intel-next-fixes-2024-09-12

for you to fetch changes up to 0289507609dcb7690e45e79fbcc3680d9298ec77:

  drm/i915/bios: fix printk format width (2024-09-11 11:01:00 +0300)


- Add missing I915_FORMAT_MOD_4_TILED_BMG_CCS modifier for BMG
- Printk formatting fix


Jani Nikula (1):
  drm/i915/bios: fix printk format width

Juha-Pekka Heikkila (1):
  drm/i915/display: Fix BMG CCS modifiers

 drivers/gpu/drm/i915/display/intel_bios.c  | 2 +-
 drivers/gpu/drm/i915/display/skl_universal_plane.c | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)


[PULL] drm-intel-next-fixes

2024-07-25 Thread Tvrtko Ursulin


Hi Dave, Sima,

Two fixes for the merge window - turning off preemption on Gen8 since it
apparently just doesn't work reliably enough and a fix for potential NULL
pointer dereference when stolen memory probing failed.

Regards,

Tvrtko

drm-intel-next-fixes-2024-07-25:
- Do not consider preemption during execlists_dequeue for gen8 [gt] (Nitin Gote)
- Allow NULL memory region (Jonathan Cavitt)
The following changes since commit 509580fad7323b6a5da27e8365cd488f3b57210e:

  drm/i915/dp: Don't switch the LTTPR mode on an active link (2024-07-16 
08:14:29 +)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/i915/kernel.git 
tags/drm-intel-next-fixes-2024-07-25

for you to fetch changes up to 26720dd2b5a1d088bff8f7e6355fca021c83718f:

  drm/i915: Allow NULL memory region (2024-07-23 09:34:13 +)


- Do not consider preemption during execlists_dequeue for gen8 [gt] (Nitin Gote)
- Allow NULL memory region (Jonathan Cavitt)


Jonathan Cavitt (1):
  drm/i915: Allow NULL memory region

Nitin Gote (1):
  drm/i915/gt: Do not consider preemption during execlists_dequeue for gen8

 drivers/gpu/drm/i915/gt/intel_execlists_submission.c | 6 +-
 drivers/gpu/drm/i915/intel_memory_region.c   | 6 --
 2 files changed, 5 insertions(+), 7 deletions(-)


[PULL] drm-intel-next-fixes

2024-07-18 Thread Tvrtko Ursulin


Hi Dave, Sima,

One display fix for the merge window relating to DisplayPort LTTPR. It
fixes at least Dell UD22 dock when used on Intel N100 systems.

Regards,

Tvrtko

drm-intel-next-fixes-2024-07-18:
- Reset intel_dp->link_trained before retraining the link [dp] (Imre Deak)
- Don't switch the LTTPR mode on an active link [dp] (Imre Deak)
The following changes since commit c58c39163a7e2c4c8885c57e4e74931c7b482e53:

  drm/omap: Restrict compile testing to PAGE_SIZE less than 64KB (2024-07-12 
13:13:15 +1000)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/i915/kernel.git 
tags/drm-intel-next-fixes-2024-07-18

for you to fetch changes up to 509580fad7323b6a5da27e8365cd488f3b57210e:

  drm/i915/dp: Don't switch the LTTPR mode on an active link (2024-07-16 
08:14:29 +)


- Reset intel_dp->link_trained before retraining the link [dp] (Imre Deak)
- Don't switch the LTTPR mode on an active link [dp] (Imre Deak)


Imre Deak (2):
  drm/i915/dp: Reset intel_dp->link_trained before retraining the link
  drm/i915/dp: Don't switch the LTTPR mode on an active link

 drivers/gpu/drm/i915/display/intel_dp.c|  2 +
 .../gpu/drm/i915/display/intel_dp_link_training.c  | 55 +++---
 2 files changed, 50 insertions(+), 7 deletions(-)


[PULL] drm-intel-next-fixes

2024-01-19 Thread Joonas Lahtinen
Hi Dave & Sima,

Here goes drm-intel-next-fixes for v6.8.

Build warning fix for GCC11, fix for #10071 and DP test pattern fix, one
OA fix for XeHP+.

Regards, Joonas

***

drm-intel-next-fixes-2024-01-19:

- DSI sequence revert to fix GitLab #10071 and DP test-pattern fix
- Drop -Wstringop-overflow (broken on GCC11)
- OA fix on XeHP+

The following changes since commit d505a16e00c35919fd9fe5735894645e0f70a415:

  drm/i915/perf: reconcile Excess struct member kernel-doc warnings (2024-01-10 
11:56:58 +0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2024-01-19

for you to fetch changes up to 84b5ece64477df4394d362d494a2496bf0878985:

  drm/i915: Drop -Wstringop-overflow (2024-01-18 13:04:36 +0200)


- DSI sequence revert to fix GitLab #10071 and DP test-pattern fix
- Drop -Wstringop-overflow (broken on GCC11)
- OA fix on XeHP+


Khaled Almahallawy (1):
  drm/i915/dp: Fix passing the correct DPCD_REV for 
drm_dp_set_phy_test_pattern

Lucas De Marchi (1):
  drm/i915: Drop -Wstringop-overflow

Umesh Nerlige Ramappa (1):
  drm/i915/perf: Update handling of MMIO triggered reports

Ville Syrjälä (1):
  Revert "drm/i915/dsi: Do display on sequence later on icl+"

 drivers/gpu/drm/i915/Makefile   |  1 -
 drivers/gpu/drm/i915/display/icl_dsi.c  |  3 +--
 drivers/gpu/drm/i915/display/intel_dp.c |  2 +-
 drivers/gpu/drm/i915/i915_perf.c| 39 -
 4 files changed, 36 insertions(+), 9 deletions(-)


[PULL] drm-intel-next-fixes

2024-01-11 Thread Joonas Lahtinen
Hi Dave & Sima,

Here goes drm-intel-next-fixes towards 6.8 merge window now that
drm-intel-gt-next is also merged.

Most importantly fixes for linux-next added build warnings and then a
couple display fixes.

CI results for drm-next seem to have regressed with regards to the shard
runs somewhere in the past, so bit limited to assess for regressions but
BAT looks reasonable.

Best Regards, Joonas

***

drm-intel-next-fixes-2024-01-11:

- Fixes for kernel-doc warnings enforced in linux-next
- Another build warning fix for string formatting of intel_wakeref_t
- Display fixes for DP DSC BPC and C20 PLL state verification

The following changes since commit b76c01f1d950425924ee1c1377760de3c024ef78:

  Merge tag 'drm-intel-gt-next-2023-12-15' of 
git://anongit.freedesktop.org/drm/drm-intel into drm-next (2024-01-10 11:36:47 
+1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2024-01-11

for you to fetch changes up to d505a16e00c35919fd9fe5735894645e0f70a415:

  drm/i915/perf: reconcile Excess struct member kernel-doc warnings (2024-01-10 
11:56:58 +0200)


- Fixes for kernel-doc warnings enforced in linux-next
- Another build warning fix for string formatting of intel_wakeref_t
- Display fixes for DP DSC BPC and C20 PLL state verification


Ankit Nautiyal (1):
  drm/i915/dp: Fix the max DSC bpc supported by source

Imre Deak (1):
  drm/i915/dp: Fix the PSR debugfs entries wrt. MST connectors

Jani Nikula (1):
  drm/i915: don't make assumptions about intel_wakeref_t type

Mika Kahola (1):
  drm/i915/display: Fix C20 pll selection for state verification

Randy Dunlap (4):
  drm/i915/gem: reconcile Excess struct member kernel-doc warnings
  drm/i915/gt: reconcile Excess struct member kernel-doc warnings
  drm/i915/guc: reconcile Excess struct member kernel-doc warnings
  drm/i915/perf: reconcile Excess struct member kernel-doc warnings

 drivers/gpu/drm/i915/display/intel_cx0_phy.c   | 25 +---
 drivers/gpu/drm/i915/display/intel_display_power.c |  4 +-
 drivers/gpu/drm/i915/display/intel_dp.c|  2 +-
 drivers/gpu/drm/i915/display/intel_psr.c   | 10 +--
 drivers/gpu/drm/i915/gem/i915_gem_context_types.h  |  4 +-
 drivers/gpu/drm/i915/gt/intel_gsc.h|  7 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc.h | 75 --
 drivers/gpu/drm/i915/i915_perf_types.h |  9 ++-
 8 files changed, 78 insertions(+), 58 deletions(-)


Re: [PULL] drm-intel-next-fixes

2023-11-10 Thread Daniel Vetter
On Wed, Nov 08, 2023 at 04:04:14PM +0200, Jani Nikula wrote:
> 
> Hi Dave & Daniel -
> 
> I see Dave already sent the pull request for v6.7-rc1 fixes, but here's
> some more.
> 
> drm-intel-next-fixes-2023-11-08:
> drm/i915 fixes for v6.7-rc1:
> - Fix null dereference when perf interface is not available
> - Fix a -Wstringop-overflow warning
> - Fix a -Wformat-truncation warning in intel_tc_port_init
> - Flush WC GGTT only on required platforms
> - Fix MTL HBR3 rate support on C10 phy and eDP
> - Fix MTL notify_guc for multi-GT
> - Bump GLK CDCLK frequency when driving multiple pipes
> - Fix potential spectre vulnerability
> 
> BR,
> Jani.
> 
> The following changes since commit 5258dfd4a6adb5f45f046b0dd2e73c680f880d9d:
> 
>   usb: typec: altmodes/displayport: fixup drm internal api change vs new 
> user. (2023-10-27 07:55:41 +1000)
> 
> are available in the Git repository at:
> 
>   git://anongit.freedesktop.org/drm/drm-intel 
> tags/drm-intel-next-fixes-2023-11-08

Pulled into drm-next, thanks.
-Sima

> 
> for you to fetch changes up to 9506fba463fcbdf8c8b7af3ec9ee34360df843fe:
> 
>   drm/i915/tc: Fix -Wformat-truncation in intel_tc_port_init (2023-11-06 
> 14:42:58 +0200)
> 
> 
> drm/i915 fixes for v6.7-rc1:
> - Fix null dereference when perf interface is not available
> - Fix a -Wstringop-overflow warning
> - Fix a -Wformat-truncation warning in intel_tc_port_init
> - Flush WC GGTT only on required platforms
> - Fix MTL HBR3 rate support on C10 phy and eDP
> - Fix MTL notify_guc for multi-GT
> - Bump GLK CDCLK frequency when driving multiple pipes
> - Fix potential spectre vulnerability
> 
> 
> Arnd Bergmann (1):
>   drm/i915/mtl: avoid stringop-overflow warning
> 
> Chaitanya Kumar Borah (1):
>   drm/i915/mtl: Support HBR3 rate with C10 phy and eDP in MTL
> 
> Harshit Mogalapalli (1):
>   i915/perf: Fix NULL deref bugs with drm_dbg() calls
> 
> Kunwu Chan (1):
>   drm/i915: Fix potential spectre vulnerability
> 
> Nirmoy Das (3):
>   drm/i915: Flush WC GGTT only on required platforms
>   drm/i915/mtl: Apply notify_guc to all GTs
>   drm/i915/tc: Fix -Wformat-truncation in intel_tc_port_init
> 
> Ville Syrjälä (1):
>   drm/i915: Bump GLK CDCLK frequency when driving multiple pipes
> 
>  drivers/gpu/drm/i915/display/intel_cdclk.c  | 12 ++
>  drivers/gpu/drm/i915/display/intel_dp.c |  2 +-
>  drivers/gpu/drm/i915/display/intel_tc.c | 11 ++---
>  drivers/gpu/drm/i915/gem/i915_gem_context.c |  1 +
>  drivers/gpu/drm/i915/gt/intel_ggtt.c| 35 
> -
>  drivers/gpu/drm/i915/gt/intel_rc6.c | 16 -
>  drivers/gpu/drm/i915/i915_debugfs_params.c  |  9 +---
>  drivers/gpu/drm/i915/i915_perf.c| 15 +++--
>  8 files changed, 65 insertions(+), 36 deletions(-)
> 
> -- 
> Jani Nikula, Intel

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


[PULL] drm-intel-next-fixes

2023-11-08 Thread Jani Nikula


Hi Dave & Daniel -

I see Dave already sent the pull request for v6.7-rc1 fixes, but here's
some more.

drm-intel-next-fixes-2023-11-08:
drm/i915 fixes for v6.7-rc1:
- Fix null dereference when perf interface is not available
- Fix a -Wstringop-overflow warning
- Fix a -Wformat-truncation warning in intel_tc_port_init
- Flush WC GGTT only on required platforms
- Fix MTL HBR3 rate support on C10 phy and eDP
- Fix MTL notify_guc for multi-GT
- Bump GLK CDCLK frequency when driving multiple pipes
- Fix potential spectre vulnerability

BR,
Jani.

The following changes since commit 5258dfd4a6adb5f45f046b0dd2e73c680f880d9d:

  usb: typec: altmodes/displayport: fixup drm internal api change vs new user. 
(2023-10-27 07:55:41 +1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2023-11-08

for you to fetch changes up to 9506fba463fcbdf8c8b7af3ec9ee34360df843fe:

  drm/i915/tc: Fix -Wformat-truncation in intel_tc_port_init (2023-11-06 
14:42:58 +0200)


drm/i915 fixes for v6.7-rc1:
- Fix null dereference when perf interface is not available
- Fix a -Wstringop-overflow warning
- Fix a -Wformat-truncation warning in intel_tc_port_init
- Flush WC GGTT only on required platforms
- Fix MTL HBR3 rate support on C10 phy and eDP
- Fix MTL notify_guc for multi-GT
- Bump GLK CDCLK frequency when driving multiple pipes
- Fix potential spectre vulnerability


Arnd Bergmann (1):
  drm/i915/mtl: avoid stringop-overflow warning

Chaitanya Kumar Borah (1):
  drm/i915/mtl: Support HBR3 rate with C10 phy and eDP in MTL

Harshit Mogalapalli (1):
  i915/perf: Fix NULL deref bugs with drm_dbg() calls

Kunwu Chan (1):
  drm/i915: Fix potential spectre vulnerability

Nirmoy Das (3):
  drm/i915: Flush WC GGTT only on required platforms
  drm/i915/mtl: Apply notify_guc to all GTs
  drm/i915/tc: Fix -Wformat-truncation in intel_tc_port_init

Ville Syrjälä (1):
  drm/i915: Bump GLK CDCLK frequency when driving multiple pipes

 drivers/gpu/drm/i915/display/intel_cdclk.c  | 12 ++
 drivers/gpu/drm/i915/display/intel_dp.c |  2 +-
 drivers/gpu/drm/i915/display/intel_tc.c | 11 ++---
 drivers/gpu/drm/i915/gem/i915_gem_context.c |  1 +
 drivers/gpu/drm/i915/gt/intel_ggtt.c| 35 -
 drivers/gpu/drm/i915/gt/intel_rc6.c | 16 -
 drivers/gpu/drm/i915/i915_debugfs_params.c  |  9 +---
 drivers/gpu/drm/i915/i915_perf.c| 15 +++--
 8 files changed, 65 insertions(+), 36 deletions(-)

-- 
Jani Nikula, Intel


[PULL] drm-intel-next-fixes

2023-08-31 Thread Rodrigo Vivi
Hi Dave and Daniel,

Only a single patch towards -rc1.
I noticed that you already sent this week's PR, but sending
this just in case. Otherwise I believe it could wait for the
regular fixes cycle.

Here goes drm-intel-next-fixes-2023-08-31:

- Mark requests for GuC virtual engines to avoid use-after-free (Andrzej).

Thanks,
Rodrigo.

The following changes since commit 3698a75f5a98d0a6599e2878ab25d30a82dd836a:

  Merge tag 'drm-intel-next-fixes-2023-08-24' of 
git://anongit.freedesktop.org/drm/drm-intel into drm-next (2023-08-25 12:55:55 
+1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2023-08-31

for you to fetch changes up to 5eefc5307c983b59344a4cb89009819f580c84fa:

  drm/i915: mark requests for GuC virtual engines to avoid use-after-free 
(2023-08-30 11:32:48 -0400)


- Mark requests for GuC virtual engines to avoid use-after-free (Andrzej).


Andrzej Hajda (1):
  drm/i915: mark requests for GuC virtual engines to avoid use-after-free

 drivers/gpu/drm/i915/gt/intel_engine_types.h  | 1 +
 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c | 3 +++
 drivers/gpu/drm/i915/i915_request.c   | 7 ++-
 3 files changed, 6 insertions(+), 5 deletions(-)


[PULL] drm-intel-next-fixes

2023-08-24 Thread Rodrigo Vivi
Hi Dave and Daniel,

Here goes our next-fixes targeting 6.6-rc1.

Please notice that we have 2 drm level patches there,
one to fix the display HPD polling and one dependency
introducing a helper to reschedule the poll work.

drm-intel-next-fixes-2023-08-24:

- Fix TLB invalidation (Alan)
- Fix Display HPD polling (Imre)

Thanks,
Rodrigo.

The following changes since commit cacaeb27ade4b793c456179bb6eda4592d206cd8:

  Merge tag 'amd-drm-next-6.6-2023-08-18' of 
https://gitlab.freedesktop.org/agd5f/linux into drm-next (2023-08-21 12:32:16 
+1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2023-08-24

for you to fetch changes up to cfd48ad8c4a9137b0fde7f0ecf463d44b01875dc:

  drm/i915: Fix HPD polling, reenabling the output poll work as needed 
(2023-08-23 17:15:41 -0400)


- Fix TLB invalidation (Alan)
- Fix Display HPD polling (Imre)


Alan Previn (1):
  drm/i915: Fix TLB-Invalidation seqno store

Imre Deak (2):
  drm: Add an HPD poll helper to reschedule the poll work
  drm/i915: Fix HPD polling, reenabling the output poll work as needed

 drivers/gpu/drm/drm_probe_helper.c   | 68 +++-
 drivers/gpu/drm/i915/display/intel_hotplug.c |  4 +-
 drivers/gpu/drm/i915/i915_vma.c  |  2 +-
 include/drm/drm_probe_helper.h   |  1 +
 4 files changed, 50 insertions(+), 25 deletions(-)


[PULL] drm-intel-next-fixes

2023-07-06 Thread Tvrtko Ursulin
Hi Dave, Daniel,

A weekly collection of fixes for the drm-next/6.5 merge window.

Mostly small display fixups, one for GuC/SLPC and one header file tidy.

I see last week did not get pulled so this week contains those ones plus
two more fixups - one code tidy actually and one fixup.

Regards,

Tvrtko

drm-intel-next-fixes-2023-06-29:
- Allow DC states along with PW2 only for PWB functionality [adlp+] (Imre Deak)
- Fix SSC selection for MPLLA [mtl] (Radhakrishna Sripada)
- Use hw.adjusted mode when calculating io/fast wake times [psr] (Jouni 
Högander)
- Apply min softlimit correctly [guc/slpc] (Vinay Belgaumkar)
- Assign correct hdcp content type [hdcp] (Suraj Kandpal)
- Add missing forward declarations/includes to display power headers (Imre Deak)

drm-intel-next-fixes-2023-07-06:
- Fix BDW PSR AUX CH data register offsets [psr] (Ville Syrjälä)
- Use mock device info for creating mock device (Jani Nikula)
The following changes since commit 274d4b96b12f78cef4f72a97a4967032233f6cae:

  drm/i915: Fix a NULL vs IS_ERR() bug (2023-06-20 08:54:47 +0100)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2023-07-06

for you to fetch changes up to f6cf3883df471abbcf1553127681dc244c8ff8dd:

  drm/i915: use mock device info for creating mock device (2023-07-04 10:40:29 
+0100)


drm-intel-next-fixes-2023-06-29:
- Allow DC states along with PW2 only for PWB functionality [adlp+] (Imre Deak)
- Fix SSC selection for MPLLA [mtl] (Radhakrishna Sripada)
- Use hw.adjusted mode when calculating io/fast wake times [psr] (Jouni 
Högander)
- Apply min softlimit correctly [guc/slpc] (Vinay Belgaumkar)
- Assign correct hdcp content type [hdcp] (Suraj Kandpal)
- Add missing forward declarations/includes to display power headers (Imre Deak)

drm-intel-next-fixes-2023-07-06:
- Fix BDW PSR AUX CH data register offsets [psr] (Ville Syrjälä)
- Use mock device info for creating mock device (Jani Nikula)


Imre Deak (2):
  drm/i915/adlp+: Allow DC states along with PW2 only for PWB functionality
  drm/i915: Add missing forward declarations/includes to display power 
headers

Jani Nikula (1):
  drm/i915: use mock device info for creating mock device

Jouni Högander (1):
  drm/i915/psr: Use hw.adjusted mode when calculating io/fast wake times

Radhakrishna Sripada (1):
  drm/i915/mtl: Fix SSC selection for MPLLA

Suraj Kandpal (1):
  drm/i915/hdcp: Assign correct hdcp content type

Ville Syrjälä (1):
  drm/i915/psr: Fix BDW PSR AUX CH data register offsets

Vinay Belgaumkar (1):
  drm/i915/guc/slpc: Apply min softlimit correctly

 drivers/gpu/drm/i915/display/intel_cx0_phy.c   |  3 +-
 drivers/gpu/drm/i915/display/intel_display_power.h |  4 ++
 .../gpu/drm/i915/display/intel_display_power_map.c | 16 
 .../drm/i915/display/intel_display_power_well.h|  2 +
 drivers/gpu/drm/i915/display/intel_hdcp.c  |  2 +-
 drivers/gpu/drm/i915/display/intel_psr.c   |  4 +-
 drivers/gpu/drm/i915/display/intel_psr_regs.h  |  2 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.c|  2 +-
 drivers/gpu/drm/i915/selftests/mock_gem_device.c   | 45 --
 9 files changed, 45 insertions(+), 35 deletions(-)


[PULL] drm-intel-next-fixes

2023-06-29 Thread Tvrtko Ursulin
Hi Dave, Daniel,

A weekly collection of fixes for the drm-next/6.5 merge window.

Mostly small display fixups, one for GuC/SLPC and one header file tidy.

Regards,

Tvrtko

drm-intel-next-fixes-2023-06-29:
- Allow DC states along with PW2 only for PWB functionality [adlp+] (Imre Deak)
- Fix SSC selection for MPLLA [mtl] (Radhakrishna Sripada)
- Use hw.adjusted mode when calculating io/fast wake times [psr] (Jouni 
Högander)
- Apply min softlimit correctly [guc/slpc] (Vinay Belgaumkar)
- Assign correct hdcp content type [hdcp] (Suraj Kandpal)
- Add missing forward declarations/includes to display power headers (Imre Deak)
The following changes since commit 274d4b96b12f78cef4f72a97a4967032233f6cae:

  drm/i915: Fix a NULL vs IS_ERR() bug (2023-06-20 08:54:47 +0100)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2023-06-29

for you to fetch changes up to 5b7826355e5b9f48eea29275215fc55165cd17c3:

  drm/i915: Add missing forward declarations/includes to display power headers 
(2023-06-27 09:48:17 +0100)


- Allow DC states along with PW2 only for PWB functionality [adlp+] (Imre Deak)
- Fix SSC selection for MPLLA [mtl] (Radhakrishna Sripada)
- Use hw.adjusted mode when calculating io/fast wake times [psr] (Jouni 
Högander)
- Apply min softlimit correctly [guc/slpc] (Vinay Belgaumkar)
- Assign correct hdcp content type [hdcp] (Suraj Kandpal)
- Add missing forward declarations/includes to display power headers (Imre Deak)


Imre Deak (2):
  drm/i915/adlp+: Allow DC states along with PW2 only for PWB functionality
  drm/i915: Add missing forward declarations/includes to display power 
headers

Jouni Högander (1):
  drm/i915/psr: Use hw.adjusted mode when calculating io/fast wake times

Radhakrishna Sripada (1):
  drm/i915/mtl: Fix SSC selection for MPLLA

Suraj Kandpal (1):
  drm/i915/hdcp: Assign correct hdcp content type

Vinay Belgaumkar (1):
  drm/i915/guc/slpc: Apply min softlimit correctly

 drivers/gpu/drm/i915/display/intel_cx0_phy.c|  3 ++-
 drivers/gpu/drm/i915/display/intel_display_power.h  |  4 
 drivers/gpu/drm/i915/display/intel_display_power_map.c  | 16 
 drivers/gpu/drm/i915/display/intel_display_power_well.h |  2 ++
 drivers/gpu/drm/i915/display/intel_hdcp.c   |  2 +-
 drivers/gpu/drm/i915/display/intel_psr.c|  4 ++--
 drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.c |  2 +-
 7 files changed, 20 insertions(+), 13 deletions(-)


[PULL] drm-intel-next-fixes

2023-06-21 Thread Tvrtko Ursulin
Hi Dave, Daniel,

A weekly collection of fixes for the drm-next/6.5 merge window:

One fix for incorrect error handling in the frame buffer mmap callback,
HuC init error handling fix, missing wakeref during GSC init and a build
fix when !CONFIG_PROC_FS.

Regards,

Tvrtko

drm-intel-next-fixes-2023-06-21:
One fix for incorrect error handling in the frame buffer mmap callback,
HuC init error handling fix, missing wakeref during GSC init and a build
fix when !CONFIG_PROC_FS.
The following changes since commit dcb0775d36de28992f56455ab3967b30d380:

  Merge tag 'drm-msm-next-2023-06-18' of https://gitlab.freedesktop.org/drm/msm 
into drm-next (2023-06-19 16:01:46 +1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2023-06-21

for you to fetch changes up to 274d4b96b12f78cef4f72a97a4967032233f6cae:

  drm/i915: Fix a NULL vs IS_ERR() bug (2023-06-20 08:54:47 +0100)


One fix for incorrect error handling in the frame buffer mmap callback,
HuC init error handling fix, missing wakeref during GSC init and a build
fix when !CONFIG_PROC_FS.


Alan Previn (1):
  drm/i915/gsc: take a wakeref for the proxy-init-completion check

Arnd Bergmann (1):
  drm/i915: make i915_drm_client_fdinfo() reference conditional again

Dan Carpenter (1):
  drm/i915: Fix a NULL vs IS_ERR() bug

Harshit Mogalapalli (1):
  drm/i915/huc: Fix missing error code in intel_huc_init()

 drivers/gpu/drm/i915/gem/i915_gem_mman.c  |  4 ++--
 drivers/gpu/drm/i915/gt/uc/intel_gsc_fw.c | 22 ++
 drivers/gpu/drm/i915/gt/uc/intel_huc.c|  1 +
 drivers/gpu/drm/i915/i915_driver.c|  2 +-
 drivers/gpu/drm/i915/i915_drm_client.h|  2 --
 5 files changed, 18 insertions(+), 13 deletions(-)


[PULL] drm-intel-next-fixes

2023-05-04 Thread Joonas Lahtinen
Hi Dave & Daniel,

One Cc stable DSI sequence fix and missing CPU transcoders for MTL plus
a smaller GuC cornern case fix.

Best Regards, Joonas

***

drm-intel-next-fixes-2023-05-04-1:

Add missing GPU transcoder masks for MTL and fix DSI power on sequence
for Nextbook Ares 8A. Fix GuC version corner case.

The following changes since commit 2c69679626d5daa680d71c77ad58af0088db537f:

  drm/i915/dp_mst: Fix active port PLL selection for secondary MST streams 
(2023-04-19 17:25:29 +0300)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2023-05-04-1

for you to fetch changes up to c8c2969bfcba5fcba3a5b078315c1b586d927d9f:

  drm/i915/dsi: Use unconditional msleep() instead of intel_dsi_msleep() 
(2023-05-03 08:31:24 +0300)


Add missing GPU transcoder masks for MTL and fix DSI power on sequence
for Nextbook Ares 8A. Fix GuC version corner case.


Hans de Goede (1):
  drm/i915/dsi: Use unconditional msleep() instead of intel_dsi_msleep()

John Harrison (1):
  drm/i915/guc: Actually return an error if GuC version range check fails

Radhakrishna Sripada (1):
  drm/i915/mtl: Add the missing CPU transcoder mask in intel_device_info

Ville Syrjälä (1):
  drm/i915: Check pipe source size when using skl+ scalers

 drivers/gpu/drm/i915/display/icl_dsi.c   |  2 +-
 drivers/gpu/drm/i915/display/intel_dsi_vbt.c | 11 ---
 drivers/gpu/drm/i915/display/intel_dsi_vbt.h |  1 -
 drivers/gpu/drm/i915/display/skl_scaler.c| 17 +
 drivers/gpu/drm/i915/display/vlv_dsi.c   | 22 +-
 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c | 20 
 drivers/gpu/drm/i915/i915_pci.c  |  2 ++
 7 files changed, 37 insertions(+), 38 deletions(-)


[PULL] drm-intel-next-fixes

2023-04-27 Thread Joonas Lahtinen
Hi Dave & Daniel,

Just one Cc stable SKL+ pipe source size fix for #8357: CML-U: external
5120x2160 monitor can't play video.

Best Regards, Joonas

***

drm-intel-next-fixes-2023-04-27:

One cc stable for pipe source size check on SKL+

The following changes since commit 2c69679626d5daa680d71c77ad58af0088db537f:

  drm/i915/dp_mst: Fix active port PLL selection for secondary MST streams 
(2023-04-19 17:25:29 +0300)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2023-04-27

for you to fetch changes up to d944eafed618a8507270b324ad9d5405bb7f0b3e:

  drm/i915: Check pipe source size when using skl+ scalers (2023-04-24 14:48:42 
+0300)


One cc stable for pipe source size check on SKL+


Ville Syrjälä (1):
  drm/i915: Check pipe source size when using skl+ scalers

 drivers/gpu/drm/i915/display/skl_scaler.c | 17 +
 1 file changed, 17 insertions(+)


[PULL] drm-intel-next-fixes

2023-04-20 Thread Joonas Lahtinen
Hi Dave & Daniel,

Here's another drm-intel-next-fixes pull request.

One Cc stable CSC plane index fix, then MST PLL fix and smaller
null/oob/leak fixes.

Regards, Joonas

***

drm-intel-next-fixes-2023-04-20-1:

Active port PLL MST fix for second stream, CSC plane index fix,
null and oob array deref fixes and selftest memory leak fix.

The following changes since commit 81900e3a37750d8c6ad705045310e002f6dd0356:

  drm/i915: disable sampler indirect state in bindless heap (2023-04-12 
11:36:09 +0300)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2023-04-20-1

for you to fetch changes up to 2c69679626d5daa680d71c77ad58af0088db537f:

  drm/i915/dp_mst: Fix active port PLL selection for secondary MST streams 
(2023-04-19 17:25:29 +0300)


Active port PLL MST fix for second stream, CSC plane index fix,
null and oob array deref fixes and selftest memory leak fix.


Chaitanya Kumar Borah (1):
  drm/i915/color: Fix typo for Plane CSC indexes

Cong Liu (1):
  drm/i915: Fix memory leaks in i915 selftests

Imre Deak (1):
  drm/i915/dp_mst: Fix active port PLL selection for secondary MST streams

Lucas De Marchi (1):
  drm/i915/gt: Avoid out-of-bounds access when loading HuC

Ville Syrjälä (1):
  drm/i915: Make intel_get_crtc_new_encoder() less oopsy

 drivers/gpu/drm/i915/display/intel_ddi.c  | 27 ---
 drivers/gpu/drm/i915/display/intel_ddi.h  |  3 +++
 drivers/gpu/drm/i915/display/intel_display.c  |  2 +-
 drivers/gpu/drm/i915/display/intel_dp_mst.c   |  7 +++
 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c  | 21 +
 drivers/gpu/drm/i915/i915_reg.h   |  4 ++--
 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c |  4 +++-
 7 files changed, 53 insertions(+), 15 deletions(-)


Re: [PULL] drm-intel-next-fixes

2023-04-13 Thread Daniel Vetter
On Thu, Apr 13, 2023 at 03:12:19PM +0300, Joonas Lahtinen wrote:
> Hi Dave & Daniel,
> 
> Just one Cc:stable fix for indirect sampler state this week on
> drm-intel-next-fixes.
> 
> Regards, Joonas
> 
> ***
> 
> drm-intel-next-fixes-2023-04-13:
> 
> Short summary of fixes pull (less than what git shortlog provides):
> 
> Just one Cc:stable fix for sampler indirect state in bindless heap.
> 
> The following changes since commit 55bf14961db9da61220e6f04bc9919c94b1a6585:
> 
>   Merge tag 'mediatek-drm-next-6.4' of 
> https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux into 
> drm-next (2023-04-11 12:28:10 +0200)
> 
> are available in the Git repository at:
> 
>   git://anongit.freedesktop.org/drm/drm-intel 
> tags/drm-intel-next-fixes-2023-04-13

Pulled, thanks.

> 
> for you to fetch changes up to 81900e3a37750d8c6ad705045310e002f6dd0356:
> 
>   drm/i915: disable sampler indirect state in bindless heap (2023-04-12 
> 11:36:09 +0300)
> 
> 
> Short summary of fixes pull (less than what git shortlog provides):
> 
> Just one Cc:stable fix for sampler indirect state in bindless heap.
> 
> 
> Lionel Landwerlin (1):
>   drm/i915: disable sampler indirect state in bindless heap
> 
>  drivers/gpu/drm/i915/gt/intel_gt_regs.h |  1 +
>  drivers/gpu/drm/i915/gt/intel_workarounds.c | 19 +++
>  2 files changed, 20 insertions(+)

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


[PULL] drm-intel-next-fixes

2023-04-13 Thread Joonas Lahtinen
Hi Dave & Daniel,

Just one Cc:stable fix for indirect sampler state this week on
drm-intel-next-fixes.

Regards, Joonas

***

drm-intel-next-fixes-2023-04-13:

Short summary of fixes pull (less than what git shortlog provides):

Just one Cc:stable fix for sampler indirect state in bindless heap.

The following changes since commit 55bf14961db9da61220e6f04bc9919c94b1a6585:

  Merge tag 'mediatek-drm-next-6.4' of 
https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux into 
drm-next (2023-04-11 12:28:10 +0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2023-04-13

for you to fetch changes up to 81900e3a37750d8c6ad705045310e002f6dd0356:

  drm/i915: disable sampler indirect state in bindless heap (2023-04-12 
11:36:09 +0300)


Short summary of fixes pull (less than what git shortlog provides):

Just one Cc:stable fix for sampler indirect state in bindless heap.


Lionel Landwerlin (1):
  drm/i915: disable sampler indirect state in bindless heap

 drivers/gpu/drm/i915/gt/intel_gt_regs.h |  1 +
 drivers/gpu/drm/i915/gt/intel_workarounds.c | 19 +++
 2 files changed, 20 insertions(+)


[PULL] drm-intel-next-fixes

2023-02-27 Thread Jani Nikula


Hi Dave & Daniel -

Some more fixes for v6.3-rc1.

drm-intel-next-fixes-2023-02-27:
drm/i915 fixes for v6.3-rc1:
- Don't use stolen memory or BAR mappings for ring buffers with LLC
- Add inverted backlight quirk for HP 14-r206nv
- Fix GSI offset for MCR lookups
- GVT fixes (memleak, debugfs attributes, kconfig, typos)

BR,
Jani.

The following changes since commit 8038510b1fe443ffbc0e356db5f47cbb8678a594:

  drm/i915: Fix system suspend without fbdev being initialized (2023-02-15 
17:33:07 +0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2023-02-27

for you to fetch changes up to 5d2fdb255c52989e95704b5556dbf0ad833bddd2:

  Merge tag 'gvt-next-fixes-2023-02-23' of https://github.com/intel/gvt-linux 
into drm-intel-next-fixes (2023-02-23 14:05:43 +0200)


drm/i915 fixes for v6.3-rc1:
- Don't use stolen memory or BAR mappings for ring buffers with LLC
- Add inverted backlight quirk for HP 14-r206nv
- Fix GSI offset for MCR lookups
- GVT fixes (memleak, debugfs attributes, kconfig, typos)


Colin Ian King (1):
  i915/gvt: Fix spelling mistake "vender" -> "vendor"

Deepak R Varma (2):
  drm/i915/gvt: Avoid full proxy f_ops for debugfs attributes
  drm/i915/gvt: Remove extra semicolon

Greg Kroah-Hartman (1):
  i915: fix memory leak with using debugfs_lookup()

Jani Nikula (1):
  Merge tag 'gvt-next-fixes-2023-02-23' of 
https://github.com/intel/gvt-linux into drm-intel-next-fixes

John Harrison (2):
  drm/i915: Don't use stolen memory for ring buffers with LLC
  drm/i915: Don't use BAR mappings for ring buffers with LLC

Matt Roper (1):
  drm/i915/xelpmp: Consider GSI offset when doing MCR lookups

Mavroudis Chatzilaridis (1):
  drm/i915/quirks: Add inverted backlight quirk for HP 14-r206nv

Randy Dunlap (1):
  drm/i915: move a Kconfig symbol to unbreak the menu presentation

 drivers/gpu/drm/i915/Kconfig|  6 +++---
 drivers/gpu/drm/i915/display/intel_quirks.c |  2 ++
 drivers/gpu/drm/i915/gt/intel_gt_mcr.c  |  5 -
 drivers/gpu/drm/i915/gt/intel_ring.c|  6 +++---
 drivers/gpu/drm/i915/gvt/debugfs.c  | 16 
 drivers/gpu/drm/i915/gvt/firmware.c |  2 +-
 drivers/gpu/drm/i915/gvt/kvmgt.c|  2 +-
 drivers/gpu/drm/i915/gvt/vgpu.c |  2 +-
 8 files changed, 23 insertions(+), 18 deletions(-)

-- 
Jani Nikula, Intel Open Source Graphics Center


[PULL] drm-intel-next-fixes

2023-02-17 Thread Jani Nikula


Hi Dave & Daniel -

Fixes for drm-next and the upcoming merge window.

drm-intel-next-fixes-2023-02-17:
drm/i915 fixes for the v6.3 merge window:
- Fix eDP+DSI dual panel systems
- Fix system suspend when fbdev isn't initialized
- Fix memory leaks in scatterlist
- Fix some MCR register annotations
- Fix documentation build warnings

BR,
Jani.

The following changes since commit 48075a66fca613477ac1969b576a93ef5db0164f:

  Merge branch 'etnaviv/next' of https://git.pengutronix.de/git/lst/linux into 
drm-next (2023-02-09 16:16:44 +1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2023-02-17

for you to fetch changes up to 8038510b1fe443ffbc0e356db5f47cbb8678a594:

  drm/i915: Fix system suspend without fbdev being initialized (2023-02-15 
17:33:07 +0200)


drm/i915 fixes for the v6.3 merge window:
- Fix eDP+DSI dual panel systems
- Fix system suspend when fbdev isn't initialized
- Fix memory leaks in scatterlist
- Fix some MCR register annotations
- Fix documentation build warnings


Bagas Sanjaya (1):
  drm/i915/doc: Escape wildcard in method names

Imre Deak (1):
  drm/i915: Fix system suspend without fbdev being initialized

Jani Nikula (1):
  drm/i915/bios: set default backlight controller index

Lucas De Marchi (1):
  drm/i915: Fix GEN8_MISCCPCTL

Matt Atwood (1):
  drm/i915: Fix memory leaks in scatterlist

Matt Roper (1):
  drm/i915/pvc: Annotate two more workaround/tuning registers as MCR

Ville Syrjälä (3):
  drm/i915: Fix VBT DSI DVO port handling
  drm/i915: Populate encoder->devdata for DSI on icl+
  drm/i915: Pick the backlight controller based on VBT on ICP+

 drivers/gpu/drm/i915/display/icl_dsi.c |  3 +-
 drivers/gpu/drm/i915/display/intel_backlight.c | 34 --
 drivers/gpu/drm/i915/display/intel_bios.c  | 49 +++---
 drivers/gpu/drm/i915/display/intel_fbdev.c |  8 -
 drivers/gpu/drm/i915/gt/intel_gt_regs.h|  9 ++---
 drivers/gpu/drm/i915/gt/intel_workarounds.c| 24 -
 drivers/gpu/drm/i915/gt/uc/intel_guc_fw.c  |  5 ++-
 drivers/gpu/drm/i915/i915_scatterlist.c|  8 +++--
 drivers/gpu/drm/i915/intel_pm.c| 10 +++---
 9 files changed, 107 insertions(+), 43 deletions(-)

-- 
Jani Nikula, Intel Open Source Graphics Center


[PULL] drm-intel-next-fixes

2022-12-15 Thread Rodrigo Vivi
Hi Dave and Daniel,

In case you end up sending more stuff towards 6.2-rc1,
please consider sending these fixes below.

The migrate related fixes seems to be the most important
ones, but also I don't believe it looks so critical that
it couldn't wait for the -rc2.

Here goes drm-intel-next-fixes-2022-12-15:
- Documentation fixe (Matt, Miaoqian)
- OA-perf related fix (Umesh)
- VLV/CHV HDMI/DP audio fix (Ville)
- Display DDI/Transcoder fix (Khaled)
- Migrate fixes (Chris, Matt)

Thanks,
Rodrigo.

The following changes since commit 66efff515a6500d4b4976fbab3bee8b92a1137fb:

  Merge tag 'amd-drm-next-6.2-2022-12-07' of 
https://gitlab.freedesktop.org/agd5f/linux into drm-next (2022-12-09 12:08:33 
+1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2022-12-15

for you to fetch changes up to ad0fca2dceeab8fdd8e1135f4b4ef2dc46c2ead9:

  drm/i915/ttm: consider CCS for backup objects (2022-12-14 12:56:58 -0500)


- Documentation fixe (Matt, Miaoqian)
- OA-perf related fix (Umesh)
- VLV/CHV HDMI/DP audio fix (Ville)
- Display DDI/Transcoder fix (Khaled)
- Migrate fixes (Chris, Matt)


Chris Wilson (1):
  drm/i915/migrate: Account for the reserved_space

Khaled Almahallawy (1):
  drm/i915/display: Don't disable DDI/Transcoder when setting phy test 
pattern

Matt Roper (1):
  drm/i915/gt: Correct kerneldoc for intel_gt_mcr_wait_for_reg()

Matthew Auld (2):
  drm/i915/migrate: fix corner case in CCS aux copying
  drm/i915/ttm: consider CCS for backup objects

Miaoqian Lin (1):
  drm/i915: Fix documentation for intel_uncore_forcewake_put__locked

Umesh Nerlige Ramappa (1):
  drm/i915/perf: Do not parse context image for HSW

Ville Syrjälä (1):
  drm/i915: Fix VLV/CHV HDMI/DP audio enable

 drivers/gpu/drm/i915/display/g4x_dp.c|  4 +-
 drivers/gpu/drm/i915/display/g4x_hdmi.c  | 25 +++---
 drivers/gpu/drm/i915/display/intel_dp.c  | 59 
 drivers/gpu/drm/i915/gem/i915_gem_object.c   |  3 ++
 drivers/gpu/drm/i915/gem/i915_gem_object_types.h | 10 ++--
 drivers/gpu/drm/i915/gem/i915_gem_ttm_pm.c   | 18 +++-
 drivers/gpu/drm/i915/gt/intel_gt_mcr.c   |  2 +-
 drivers/gpu/drm/i915/gt/intel_migrate.c  | 53 -
 drivers/gpu/drm/i915/i915_perf.c |  6 ++-
 drivers/gpu/drm/i915/intel_uncore.c  |  4 +-
 10 files changed, 96 insertions(+), 88 deletions(-)


[PULL] drm-intel-next-fixes

2022-12-01 Thread Rodrigo Vivi
Hi Dave and Daniel,

Here goes our next-fixes targeting 6.2-rc1.

Please notice that DG2 DMC had a minor bump version in order
to fix the remaining issues related to PCI warns at DC state
transition. I didn't request the team to provide the fallback
to the previous version because we are moving this fix to the
6.2 along with the force_probe removal. But I warned them if
any minor bump is needed after that that all the new rules
need to be respected. Besides, I have also requested them to
make changes to comply with the new rules. Or to remove the
minor version from the fw like GuC did or remove the version
entirely like HuC did, since the there's no direct ABI involved
that needs version. I expect this work to be done for the next
platforms.

Still about the DG2, the other MEI patches to fix the potential
huc loading failure where already picked up by Greg. So we shall
have them into 6.2 as well. Meanwhile we are keeping them in
our topic/core-for-CI.

Other than that, small fixes and couple targeting stable below.

drm-intel-next-fixes-2022-12-01:

- Multi-cast register fix (Matt)
- Fix workarounds on gen2-3 (Tvrtko)
- Bigjoiner fix (Ville)
- Make Guc default_list a const data (Jani)
- Acquire forcewake before uncore read (Umesh)
- Selftest fix (Umesh)
- HuC related fixes (Daniele)
- Fix some incorrect return values (Janusz)
- Fix a memory leak in bios related code (Xia)
- Fix VBT send packet port selection (Mikko)
- DG2's DMC fix bump for Register noclaims and few restore (Gustavo)

Thanks,
Rodrigo.

The following changes since commit 3d335a523b938a445a674be24d1dd5c7a4c86fb6:

  Merge tag 'drm-intel-next-2022-11-18' of 
git://anongit.freedesktop.org/drm/drm-intel into drm-next (2022-11-23 09:15:44 
+1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2022-12-01

for you to fetch changes up to 7d579eff3e55a256fdd71624543747ed4d7fa38b:

  drm/i915/dmc: Update DG2 DMC version to v2.08 (2022-11-30 09:07:14 -0500)


- Multi-cast register fix (Matt)
- Fix workarounds on gen2-3 (Tvrtko)
- Bigjoiner fix (Ville)
- Make Guc default_list a const data (Jani)
- Acquire forcewake before uncore read (Umesh)
- Selftest fix (Umesh)
- HuC related fixes (Daniele)
- Fix some incorrect return values (Janusz)
- Fix a memory leak in bios related code (Xia)
- Fix VBT send packet port selection (Mikko)
- DG2's DMC fix bump for Register noclaims and few restore (Gustavo)


Daniele Ceraolo Spurio (2):
  drm/i915/huc: fix leak of debug object in huc load fence on driver unload
  drm/i915/huc: always init the delayed load fence

Gustavo Sousa (1):
  drm/i915/dmc: Update DG2 DMC version to v2.08

Jani Nikula (1):
  drm/i915/guc: make default_lists const data

Janusz Krzysztofik (2):
  drm/i915: Fix negative value passed as remaining time
  drm/i915: Never return 0 if not all requests retired

Matt Roper (1):
  drm/i915/gt: Manage uncore->lock while waiting on MCR register

Mikko Kovanen (1):
  drm/i915/dsi: fix VBT send packet port selection for dual link DSI

Tvrtko Ursulin (1):
  drm/i915: Fix workarounds on Gen2-3

Umesh Nerlige Ramappa (2):
  i915/uncore: Acquire fw before loop in intel_uncore_read64_2x32
  drm/i915/selftest: Bump up sample period for busy stats selftest

Ville Syrjälä (1):
  drm/i915: Remove non-existent pipes from bigjoiner pipe mask

Xia Fukun (1):
  drm/i915/bios: fix a memory leak in generate_lfp_data_ptrs

 drivers/gpu/drm/i915/display/intel_bios.c  |  2 +-
 drivers/gpu/drm/i915/display/intel_display.c   | 10 +++--
 drivers/gpu/drm/i915/display/intel_dmc.c   |  4 +-
 drivers/gpu/drm/i915/display/intel_dsi_vbt.c   |  4 +-
 drivers/gpu/drm/i915/gt/intel_gt.c | 15 ---
 drivers/gpu/drm/i915/gt/intel_gt_mcr.c | 18 
 drivers/gpu/drm/i915/gt/intel_gt_mcr.h | 12 +++---
 drivers/gpu/drm/i915/gt/intel_gt_requests.c|  2 +-
 drivers/gpu/drm/i915/gt/intel_workarounds.c|  5 +--
 drivers/gpu/drm/i915/gt/selftest_engine_pm.c   |  2 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_capture.c |  2 +-
 drivers/gpu/drm/i915/gt/uc/intel_huc.c | 57 ++
 drivers/gpu/drm/i915/gt/uc/intel_uc.c  |  1 +
 drivers/gpu/drm/i915/intel_uncore.h| 44 +---
 14 files changed, 113 insertions(+), 65 deletions(-)


[PULL] drm-intel-next-fixes

2022-10-13 Thread Tvrtko Ursulin
Hi Dave, Daniel,

Not sure if there is time for one more pull during the merge window, but
in case there is here it is. Only one which affects platforms outside
force_probe and that is the fix for DPT PTE corruption after resume. The
rest are all DG2 specific.

Regards,

Tvrtko

drm-intel-next-fixes-2022-10-13:
- Fix revocation of non-persistent contexts (Tvrtko Ursulin)
- Handle migration for dpt (Matthew Auld)
- Fix display problems after resume (Thomas Hellström)
- Allow control over the flags when migrating (Matthew Auld)
- Consider DG2_RC_CCS_CC when migrating buffers (Matthew Auld)
The following changes since commit cdf6428dd518435a05739abf7659589de30970f4:

  drm/i915: Reject excessive dotclocks early (2022-10-03 17:55:32 +0100)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2022-10-13

for you to fetch changes up to ea19684afb545605bbcb690c49a91ce2c8e596dd:

  drm/i915/display: consider DG2_RC_CCS_CC when migrating buffers (2022-10-11 
17:29:05 +0100)


- Fix revocation of non-persistent contexts (Tvrtko Ursulin)
- Handle migration for dpt (Matthew Auld)
- Fix display problems after resume (Thomas Hellström)
- Allow control over the flags when migrating (Matthew Auld)
- Consider DG2_RC_CCS_CC when migrating buffers (Matthew Auld)


Matthew Auld (3):
  drm/i915/display: handle migration for dpt
  drm/i915: allow control over the flags when migrating
  drm/i915/display: consider DG2_RC_CCS_CC when migrating buffers

Thomas Hellström (1):
  drm/i915: Fix display problems after resume

Tvrtko Ursulin (1):
  drm/i915/guc: Fix revocation of non-persistent contexts

 drivers/gpu/drm/i915/display/intel_fb_pin.c   | 62 ---
 drivers/gpu/drm/i915/gem/i915_gem_context.c   |  8 +--
 drivers/gpu/drm/i915/gem/i915_gem_object.c| 37 +-
 drivers/gpu/drm/i915/gem/i915_gem_object.h|  4 ++
 drivers/gpu/drm/i915/gem/i915_gem_object_types.h  |  3 +-
 drivers/gpu/drm/i915/gem/i915_gem_ttm.c   |  5 +-
 drivers/gpu/drm/i915/gt/intel_context.c   |  5 +-
 drivers/gpu/drm/i915/gt/intel_context.h   |  3 +-
 drivers/gpu/drm/i915/gt/intel_ggtt.c  |  8 ++-
 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c | 26 +-
 10 files changed, 113 insertions(+), 48 deletions(-)


[PULL] drm-intel-next-fixes

2022-10-06 Thread Tvrtko Ursulin
Hi Dave, Daniel,

Some fixes for the merge window - one EHL MOCS table fix and the rest is
in the display area around modifier handling and PSR on Gen12+, one fixup
for g4x+ and one fixing recent fastset refactoring.

Regards,

Tvrtko

drm-intel-next-fixes-2022-10-06-1:
- Round to closest in g4x+ HDMI clock readout (Ville Syrjälä)
- Update MOCS table for EHL (Tejas Upadhyay)
- Fix PSR_IMR/IIR field handling (Jouni Högander)
- Fix watermark calculations for gen12+ RC CCS modifier (Ville Syrjälä)
- Fix watermark calculations for gen12+ MC CCS modifier (Ville Syrjälä)
- Fix watermark calculations for gen12+ CCS+CC modifier (Ville Syrjälä)
- Fix watermark calculations for DG2 CCS modifiers (Ville Syrjälä)
- Fix watermark calculations for DG2 CCS+CC modifier (Ville Syrjälä)
- Reject excessive dotclocks early (Ville Syrjälä)
The following changes since commit 20e377e7b2e7c327039f10db80ba5bcc1f6c882d:

  drm/i915/gt: Use i915_vm_put on ppgtt_create error paths (2022-09-27 11:05:33 
+0100)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2022-10-06-1

for you to fetch changes up to cdf6428dd518435a05739abf7659589de30970f4:

  drm/i915: Reject excessive dotclocks early (2022-10-03 17:55:32 +0100)


- Round to closest in g4x+ HDMI clock readout (Ville Syrjälä)
- Update MOCS table for EHL (Tejas Upadhyay)
- Fix PSR_IMR/IIR field handling (Jouni Högander)
- Fix watermark calculations for gen12+ RC CCS modifier (Ville Syrjälä)
- Fix watermark calculations for gen12+ MC CCS modifier (Ville Syrjälä)
- Fix watermark calculations for gen12+ CCS+CC modifier (Ville Syrjälä)
- Fix watermark calculations for DG2 CCS modifiers (Ville Syrjälä)
- Fix watermark calculations for DG2 CCS+CC modifier (Ville Syrjälä)
- Reject excessive dotclocks early (Ville Syrjälä)


Jouni Högander (1):
  drm/i915/psr: Fix PSR_IMR/IIR field handling

Tejas Upadhyay (1):
  drm/i915/ehl: Update MOCS table for EHL

Ville Syrjälä (7):
  drm/i915: Round to closest in g4x+ HDMI clock readout
  drm/i915: Fix watermark calculations for gen12+ RC CCS modifier
  drm/i915: Fix watermark calculations for gen12+ MC CCS modifier
  drm/i915: Fix watermark calculations for gen12+ CCS+CC modifier
  drm/i915: Fix watermark calculations for DG2 CCS modifiers
  drm/i915: Fix watermark calculations for DG2 CCS+CC modifier
  drm/i915: Reject excessive dotclocks early

 drivers/gpu/drm/i915/display/g4x_hdmi.c  |  2 +-
 drivers/gpu/drm/i915/display/intel_display.c | 18 +++
 drivers/gpu/drm/i915/display/intel_psr.c | 78 +---
 drivers/gpu/drm/i915/display/skl_watermark.c | 16 +-
 drivers/gpu/drm/i915/gt/intel_mocs.c |  8 +++
 drivers/gpu/drm/i915/i915_reg.h  | 16 --
 6 files changed, 100 insertions(+), 38 deletions(-)


[PULL] drm-intel-next-fixes

2022-09-29 Thread Tvrtko Ursulin
Hi Dave, Daniel,

A few fixes for the upcoming merge window. Not many but most are pretty
important.

Another rather important one is missing due being too conflicty, but will
arrive via drm-intel-fixes (7738be973fc4 ("drm/i915/gt: Perf_limit_reasons
are only available for Gen11+")).

Regards,

Tvrtko

drm-intel-next-fixes-2022-09-29:
- Fix release build bug in 'remove GuC log size module parameters' (John 
Harrison)
- Remove ipc_enabled from struct drm_i915_private (Jani Nikula)
- Do not cleanup obj with NULL bo->resource (Nirmoy Das)
- Fix device info for devices without display (Jani Nikula)
- Force DPLL calculation for TC ports after readout (Ville Syrjälä)
- Use i915_vm_put on ppgtt_create error paths (Chris Wilson)
The following changes since commit 320305923c88258ce50c75bf721e9bf2e420ab27:

  Merge tag 'du-next-20220907' of git://linuxtv.org/pinchartl/media into 
drm-next (2022-09-23 03:52:08 +1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2022-09-29

for you to fetch changes up to 20e377e7b2e7c327039f10db80ba5bcc1f6c882d:

  drm/i915/gt: Use i915_vm_put on ppgtt_create error paths (2022-09-27 11:05:33 
+0100)


- Fix release build bug in 'remove GuC log size module parameters' (John 
Harrison)
- Remove ipc_enabled from struct drm_i915_private (Jani Nikula)
- Do not cleanup obj with NULL bo->resource (Nirmoy Das)
- Fix device info for devices without display (Jani Nikula)
- Force DPLL calculation for TC ports after readout (Ville Syrjälä)
- Use i915_vm_put on ppgtt_create error paths (Chris Wilson)


Chris Wilson (1):
  drm/i915/gt: Use i915_vm_put on ppgtt_create error paths

Jani Nikula (2):
  drm/i915/display: remove ipc_enabled from struct drm_i915_private
  drm/i915: fix device info for devices without display

John Harrison (1):
  drm/i915/guc: Fix release build bug in 'remove log size module parameters'

Nirmoy Das (1):
  drm/i915: Do not cleanup obj with NULL bo->resource

Ville Syrjälä (1):
  drm/i915: Force DPLL calculation for TC ports after readout

 drivers/gpu/drm/i915/display/intel_ddi.c   | 18 --
 drivers/gpu/drm/i915/gem/i915_gem_ttm.c|  2 +-
 drivers/gpu/drm/i915/gt/gen6_ppgtt.c   | 16 -
 drivers/gpu/drm/i915/gt/gen8_ppgtt.c   | 58 +++---
 drivers/gpu/drm/i915/gt/intel_gtt.c|  3 ++
 drivers/gpu/drm/i915/gt/uc/intel_guc_log.c | 25 +
 drivers/gpu/drm/i915/i915_drv.h|  2 --
 drivers/gpu/drm/i915/i915_pci.c| 11 +++---
 drivers/gpu/drm/i915/intel_device_info.c   |  6 
 9 files changed, 70 insertions(+), 71 deletions(-)


[PULL] drm-intel-next-fixes

2022-08-11 Thread Rodrigo Vivi
Hi Dave and Daniel,

And here is the right one. And now including all the
fixes.

Here goes drm-intel-next-fixes-2022-08-11:

- disable pci resize on 32-bit systems (Nirmoy)
- don't leak the ccs state (Matt)
- TLB invalidation fixes (Chris)
[now with all fixes of fixes]

Thanks,
Rodrigo.

The following changes since commit 5493ee1919eae4f49d62276cf5986b7f7c7aa8f6:

  Merge tag 'amd-drm-next-5.20-2022-07-29' of 
https://gitlab.freedesktop.org/agd5f/linux into drm-next (2022-08-03 14:00:19 
+1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2022-08-11

for you to fetch changes up to 9d50bff40e3e366886ec37299fc317edf84be0c9:

  drm/i915: pass a pointer for tlb seqno at vma_invalidate_tlb() (2022-08-08 
14:54:20 -0400)


- disable pci resize on 32-bit systems (Nirmoy)
- don't leak the ccs state (Matt)
- TLB invalidation fixes (Chris)
[now with all fixes of fixes]


Chris Wilson (5):
  drm/i915/gt: Ignore TLB invalidations on idle engines
  drm/i915/gt: Invalidate TLB of the OA unit at TLB invalidations
  drm/i915/gt: Skip TLB invalidations once wedged
  drm/i915/gt: Batch TLB invalidations
  drm/i915/gem: Remove shared locking on freeing objects

Matthew Auld (1):
  drm/i915/ttm: don't leak the ccs state

Mauro Carvalho Chehab (1):
  drm/i915: pass a pointer for tlb seqno at vma_invalidate_tlb()

Nirmoy Das (1):
  drm/i915: disable pci resize on 32-bit machine

 drivers/gpu/drm/i915/gem/i915_gem_object.c   | 16 ++---
 drivers/gpu/drm/i915/gem/i915_gem_object_types.h |  3 +-
 drivers/gpu/drm/i915/gem/i915_gem_pages.c| 25 +---
 drivers/gpu/drm/i915/gt/intel_gt.c   | 77 ++--
 drivers/gpu/drm/i915/gt/intel_gt.h   | 12 +++-
 drivers/gpu/drm/i915/gt/intel_gt_pm.h|  3 +
 drivers/gpu/drm/i915/gt/intel_gt_types.h | 18 +-
 drivers/gpu/drm/i915/gt/intel_migrate.c  | 23 ++-
 drivers/gpu/drm/i915/gt/intel_ppgtt.c|  8 ++-
 drivers/gpu/drm/i915/gt/intel_region_lmem.c  |  4 ++
 drivers/gpu/drm/i915/i915_drv.h  |  4 +-
 drivers/gpu/drm/i915/i915_vma.c  | 33 +++---
 drivers/gpu/drm/i915/i915_vma.h  |  1 +
 drivers/gpu/drm/i915/i915_vma_resource.c |  5 +-
 drivers/gpu/drm/i915/i915_vma_resource.h |  6 +-
 15 files changed, 183 insertions(+), 55 deletions(-)


Re: [Intel-gfx] [PULL] drm-intel-next-fixes

2022-08-05 Thread Rodrigo Vivi
On Fri, Aug 05, 2022 at 05:25:43PM +0200, Mauro Carvalho Chehab wrote:
> On Fri, 5 Aug 2022 10:39:44 -0400
> Rodrigo Vivi  wrote:
> 
> > On Fri, Aug 05, 2022 at 10:46:57AM +0200, Mauro Carvalho Chehab wrote:
> > > Hi Rodrigo,
> > > 
> > > On Thu, 4 Aug 2022 13:33:06 -0400
> > > Rodrigo Vivi  wrote:
> > >   
> > > > Hi Dave and Daniel,
> > > > 
> > > > Here goes drm-intel-next-fixes-2022-08-04:
> > > > 
> > > > - disable pci resize on 32-bit systems (Nirmoy)
> > > > - don't leak the ccs state (Matt)
> > > > - TLB invalidation fixes (Chris)
> > > > 
> > > > Thanks,
> > > > Rodrigo.
> > > > 
> > > > The following changes since commit 
> > > > 2bc7ea71a73747a77e7f83bc085b0d2393235410:
> > > > 
> > > >   Merge tag 'topic/nouveau-misc-2022-07-27' of 
> > > > git://anongit.freedesktop.org/drm/drm into drm-next (2022-07-27 
> > > > 11:34:07 +1000)
> > > > 
> > > > are available in the Git repository at:
> > > > 
> > > >   git://anongit.freedesktop.org/drm/drm-intel 
> > > > tags/drm-intel-next-fixes-2022-08-04
> > > > 
> > > > for you to fetch changes up to e57b9369e0c6f60155027e120fafd4b57e385b71:
> > > > 
> > > >   drm/i915/gt: Batch TLB invalidations (2022-08-01 09:48:06 -0400)
> > > > 
> > > > 
> > > > - disable pci resize on 32-bit systems (Nirmoy)
> > > > - don't leak the ccs state (Matt)
> > > > - TLB invalidation fixes (Chris)
> > > > 
> > > > 
> > > > Chris Wilson (4):
> > > >   drm/i915/gt: Ignore TLB invalidations on idle engines
> > > >   drm/i915/gt: Invalidate TLB of the OA unit at TLB invalidations
> > > >   drm/i915/gt: Skip TLB invalidations once wedged  
> > >   
> > > >   drm/i915/gt: Batch TLB invalidations  
> > > This patch actually adds a regression due to a silly mistake. 
> > > The fix is here:
> > > 
> > >   https://patchwork.freedesktop.org/patch/496249/?series=106805&rev=4
> > >  
> > 
> > Thank you for the heads up.
> > 
> > Since that patch is not merged yet, what are your recommendations here?
> > Should I remove this from drm-intel-next-fixes now?
> 
> Those patches are OK to merge:
> 
>drm/i915/gt: Ignore TLB invalidations on idle engines
>drm/i915/gt: Invalidate TLB of the OA unit at TLB invalidations
>drm/i915/gt: Skip TLB invalidations once wedged  
> 
> And helps reduce performance regressions due to TLB cache invalidation.
> So, I would keep them.
> 
> With regards to the 4th patch, please don't merge:
> 
>   drm/i915/gt: Batch TLB invalidations
> 
> or merge it together with:
> 
>   drm/i915: pass a pointer for tlb seqno at vma_invalidate_tlb()

Since this one has not landed yet I won't rush it in. I'm removing the
Batch TLB invalidations and sending a new pull request without that
patch.

Thank you for the info and great work there.

> 
> > Which regression is worst?
> 
> The regression caused by the batch patch is a lot worse, as it
> effectively disables TLB cache invalidation. The fix was meant to
> be merged at the patch, but somehow between several rebases and 3
> machines involved on tests, internal development and upstream, the
> branch actually sent upstream was not the right one. It got only
> noticed after reviewing a newer patch. Yeah, that sucks.
> 
> > Also dim has trouble with fixes for fixes in the same round.
> > Please ping me when you get that patch merged so I can pull that.
> 
> OK.
> 
> Regards,
> Mauro


Re: [Intel-gfx] [PULL] drm-intel-next-fixes

2022-08-05 Thread Mauro Carvalho Chehab
On Fri, 5 Aug 2022 10:39:44 -0400
Rodrigo Vivi  wrote:

> On Fri, Aug 05, 2022 at 10:46:57AM +0200, Mauro Carvalho Chehab wrote:
> > Hi Rodrigo,
> > 
> > On Thu, 4 Aug 2022 13:33:06 -0400
> > Rodrigo Vivi  wrote:
> >   
> > > Hi Dave and Daniel,
> > > 
> > > Here goes drm-intel-next-fixes-2022-08-04:
> > > 
> > > - disable pci resize on 32-bit systems (Nirmoy)
> > > - don't leak the ccs state (Matt)
> > > - TLB invalidation fixes (Chris)
> > > 
> > > Thanks,
> > > Rodrigo.
> > > 
> > > The following changes since commit 
> > > 2bc7ea71a73747a77e7f83bc085b0d2393235410:
> > > 
> > >   Merge tag 'topic/nouveau-misc-2022-07-27' of 
> > > git://anongit.freedesktop.org/drm/drm into drm-next (2022-07-27 11:34:07 
> > > +1000)
> > > 
> > > are available in the Git repository at:
> > > 
> > >   git://anongit.freedesktop.org/drm/drm-intel 
> > > tags/drm-intel-next-fixes-2022-08-04
> > > 
> > > for you to fetch changes up to e57b9369e0c6f60155027e120fafd4b57e385b71:
> > > 
> > >   drm/i915/gt: Batch TLB invalidations (2022-08-01 09:48:06 -0400)
> > > 
> > > 
> > > - disable pci resize on 32-bit systems (Nirmoy)
> > > - don't leak the ccs state (Matt)
> > > - TLB invalidation fixes (Chris)
> > > 
> > > 
> > > Chris Wilson (4):
> > >   drm/i915/gt: Ignore TLB invalidations on idle engines
> > >   drm/i915/gt: Invalidate TLB of the OA unit at TLB invalidations
> > >   drm/i915/gt: Skip TLB invalidations once wedged  
> >   
> > >   drm/i915/gt: Batch TLB invalidations  
> > This patch actually adds a regression due to a silly mistake. 
> > The fix is here:
> > 
> > https://patchwork.freedesktop.org/patch/496249/?series=106805&rev=4
> >  
> 
> Thank you for the heads up.
> 
> Since that patch is not merged yet, what are your recommendations here?
> Should I remove this from drm-intel-next-fixes now?

Those patches are OK to merge:

   drm/i915/gt: Ignore TLB invalidations on idle engines
   drm/i915/gt: Invalidate TLB of the OA unit at TLB invalidations
   drm/i915/gt: Skip TLB invalidations once wedged  

And helps reduce performance regressions due to TLB cache invalidation.
So, I would keep them.

With regards to the 4th patch, please don't merge:

drm/i915/gt: Batch TLB invalidations

or merge it together with:

drm/i915: pass a pointer for tlb seqno at vma_invalidate_tlb()

> Which regression is worst?

The regression caused by the batch patch is a lot worse, as it
effectively disables TLB cache invalidation. The fix was meant to
be merged at the patch, but somehow between several rebases and 3
machines involved on tests, internal development and upstream, the
branch actually sent upstream was not the right one. It got only
noticed after reviewing a newer patch. Yeah, that sucks.

> Also dim has trouble with fixes for fixes in the same round.
> Please ping me when you get that patch merged so I can pull that.

OK.

Regards,
Mauro


Re: [Intel-gfx] [PULL] drm-intel-next-fixes

2022-08-05 Thread Rodrigo Vivi
On Fri, Aug 05, 2022 at 10:46:57AM +0200, Mauro Carvalho Chehab wrote:
> Hi Rodrigo,
> 
> On Thu, 4 Aug 2022 13:33:06 -0400
> Rodrigo Vivi  wrote:
> 
> > Hi Dave and Daniel,
> > 
> > Here goes drm-intel-next-fixes-2022-08-04:
> > 
> > - disable pci resize on 32-bit systems (Nirmoy)
> > - don't leak the ccs state (Matt)
> > - TLB invalidation fixes (Chris)
> > 
> > Thanks,
> > Rodrigo.
> > 
> > The following changes since commit 2bc7ea71a73747a77e7f83bc085b0d2393235410:
> > 
> >   Merge tag 'topic/nouveau-misc-2022-07-27' of 
> > git://anongit.freedesktop.org/drm/drm into drm-next (2022-07-27 11:34:07 
> > +1000)
> > 
> > are available in the Git repository at:
> > 
> >   git://anongit.freedesktop.org/drm/drm-intel 
> > tags/drm-intel-next-fixes-2022-08-04
> > 
> > for you to fetch changes up to e57b9369e0c6f60155027e120fafd4b57e385b71:
> > 
> >   drm/i915/gt: Batch TLB invalidations (2022-08-01 09:48:06 -0400)
> > 
> > 
> > - disable pci resize on 32-bit systems (Nirmoy)
> > - don't leak the ccs state (Matt)
> > - TLB invalidation fixes (Chris)
> > 
> > 
> > Chris Wilson (4):
> >   drm/i915/gt: Ignore TLB invalidations on idle engines
> >   drm/i915/gt: Invalidate TLB of the OA unit at TLB invalidations
> >   drm/i915/gt: Skip TLB invalidations once wedged
> 
> >   drm/i915/gt: Batch TLB invalidations
> This patch actually adds a regression due to a silly mistake. 
> The fix is here:
> 
>   https://patchwork.freedesktop.org/patch/496249/?series=106805&rev=4
>

Thank you for the heads up.

Since that patch is not merged yet, what are your recommendations here?
Should I remove this from drm-intel-next-fixes now? Which regression is worst?

Also dim has trouble with fixes for fixes in the same round.
Please ping me when you get that patch merged so I can pull that.

Thanks,
Rodrigo.

> Regards,
> Mauro


Re: [Intel-gfx] [PULL] drm-intel-next-fixes

2022-08-05 Thread Mauro Carvalho Chehab
Hi Rodrigo,

On Thu, 4 Aug 2022 13:33:06 -0400
Rodrigo Vivi  wrote:

> Hi Dave and Daniel,
> 
> Here goes drm-intel-next-fixes-2022-08-04:
> 
> - disable pci resize on 32-bit systems (Nirmoy)
> - don't leak the ccs state (Matt)
> - TLB invalidation fixes (Chris)
> 
> Thanks,
> Rodrigo.
> 
> The following changes since commit 2bc7ea71a73747a77e7f83bc085b0d2393235410:
> 
>   Merge tag 'topic/nouveau-misc-2022-07-27' of 
> git://anongit.freedesktop.org/drm/drm into drm-next (2022-07-27 11:34:07 
> +1000)
> 
> are available in the Git repository at:
> 
>   git://anongit.freedesktop.org/drm/drm-intel 
> tags/drm-intel-next-fixes-2022-08-04
> 
> for you to fetch changes up to e57b9369e0c6f60155027e120fafd4b57e385b71:
> 
>   drm/i915/gt: Batch TLB invalidations (2022-08-01 09:48:06 -0400)
> 
> 
> - disable pci resize on 32-bit systems (Nirmoy)
> - don't leak the ccs state (Matt)
> - TLB invalidation fixes (Chris)
> 
> 
> Chris Wilson (4):
>   drm/i915/gt: Ignore TLB invalidations on idle engines
>   drm/i915/gt: Invalidate TLB of the OA unit at TLB invalidations
>   drm/i915/gt: Skip TLB invalidations once wedged

>   drm/i915/gt: Batch TLB invalidations
This patch actually adds a regression due to a silly mistake. 
The fix is here:

https://patchwork.freedesktop.org/patch/496249/?series=106805&rev=4

Regards,
Mauro


[PULL] drm-intel-next-fixes

2022-08-04 Thread Rodrigo Vivi
Hi Dave and Daniel,

Here goes drm-intel-next-fixes-2022-08-04:

- disable pci resize on 32-bit systems (Nirmoy)
- don't leak the ccs state (Matt)
- TLB invalidation fixes (Chris)

Thanks,
Rodrigo.

The following changes since commit 2bc7ea71a73747a77e7f83bc085b0d2393235410:

  Merge tag 'topic/nouveau-misc-2022-07-27' of 
git://anongit.freedesktop.org/drm/drm into drm-next (2022-07-27 11:34:07 +1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2022-08-04

for you to fetch changes up to e57b9369e0c6f60155027e120fafd4b57e385b71:

  drm/i915/gt: Batch TLB invalidations (2022-08-01 09:48:06 -0400)


- disable pci resize on 32-bit systems (Nirmoy)
- don't leak the ccs state (Matt)
- TLB invalidation fixes (Chris)


Chris Wilson (4):
  drm/i915/gt: Ignore TLB invalidations on idle engines
  drm/i915/gt: Invalidate TLB of the OA unit at TLB invalidations
  drm/i915/gt: Skip TLB invalidations once wedged
  drm/i915/gt: Batch TLB invalidations

Matthew Auld (1):
  drm/i915/ttm: don't leak the ccs state

Nirmoy Das (1):
  drm/i915: disable pci resize on 32-bit machine

 drivers/gpu/drm/i915/gem/i915_gem_object_types.h |  3 +-
 drivers/gpu/drm/i915/gem/i915_gem_pages.c| 25 +---
 drivers/gpu/drm/i915/gt/intel_gt.c   | 77 ++--
 drivers/gpu/drm/i915/gt/intel_gt.h   | 12 +++-
 drivers/gpu/drm/i915/gt/intel_gt_pm.h|  3 +
 drivers/gpu/drm/i915/gt/intel_gt_types.h | 18 +-
 drivers/gpu/drm/i915/gt/intel_migrate.c  | 23 ++-
 drivers/gpu/drm/i915/gt/intel_ppgtt.c|  8 ++-
 drivers/gpu/drm/i915/gt/intel_region_lmem.c  |  4 ++
 drivers/gpu/drm/i915/i915_vma.c  | 33 +++---
 drivers/gpu/drm/i915/i915_vma.h  |  1 +
 drivers/gpu/drm/i915/i915_vma_resource.c |  5 +-
 drivers/gpu/drm/i915/i915_vma_resource.h |  6 +-
 13 files changed, 177 insertions(+), 41 deletions(-)


[PULL] drm-intel-next-fixes

2022-05-24 Thread Jani Nikula


Hi Dave & Daniel -

Some i915 fixes for v5.19 merge window.

drm-intel-next-fixes-2022-05-24:
drm/i915 fixes for v5.19 merge window:
- Build, sparse, UB, and CFI fixes
- Variable scope fix
- Audio pipe logging fix
- ICL+ DSI NULL dereference fix

BR,
Jani.

The following changes since commit f83493f7d34da258310ecd3d07f0cc78f884c954:

  Merge tag 'drm-msm-next-2022-05-09' of https://gitlab.freedesktop.org/drm/msm 
into drm-next (2022-05-11 12:40:47 +1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2022-05-24

for you to fetch changes up to 0ea917819d12fed41ea4662cc26ffa0060a5c354:

  drm/i915/dsi: fix VBT send packet port selection for ICL+ (2022-05-23 
12:08:58 +0300)


drm/i915 fixes for v5.19 merge window:
- Build, sparse, UB, and CFI fixes
- Variable scope fix
- Audio pipe logging fix
- ICL+ DSI NULL dereference fix


Andi Shyti (1):
  drm/i915/gt: Fix use of static in macro mismatch

Borislav Petkov (1):
  drm/i915/uc: Fix undefined behavior due to shift overflowing the constant

Imre Deak (1):
  drm/i915: Fix 'mixing different enum types' warnings in 
intel_display_power.c

Jani Nikula (3):
  drm/i915/audio: fix audio code enable/disable pipe logging
  drm/i915/reg: fix undefined behavior due to shift overflowing the constant
  drm/i915/dsi: fix VBT send packet port selection for ICL+

Nathan Chancellor (1):
  drm/i915: Fix CFI violation with show_dynamic_id()

YueHaibing (1):
  drm/i915/gt: Fix build error without CONFIG_PM

 drivers/gpu/drm/i915/display/intel_audio.c |  4 +--
 drivers/gpu/drm/i915/display/intel_display_power.c |  8 +++---
 drivers/gpu/drm/i915/display/intel_dsi_vbt.c   | 33 ++
 drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c| 23 +++
 drivers/gpu/drm/i915/gt/uc/abi/guc_actions_abi.h   |  2 +-
 .../drm/i915/gt/uc/abi/guc_communication_ctb_abi.h |  2 +-
 drivers/gpu/drm/i915/gt/uc/abi/guc_messages_abi.h  |  2 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_reg.h |  2 +-
 drivers/gpu/drm/i915/i915_perf.c   |  4 +--
 drivers/gpu/drm/i915/i915_perf_types.h |  2 +-
 drivers/gpu/drm/i915/i915_reg.h| 32 ++---
 11 files changed, 63 insertions(+), 51 deletions(-)

-- 
Jani Nikula, Intel Open Source Graphics Center


[PULL] drm-intel-next-fixes

2022-03-24 Thread Tvrtko Ursulin


Hi Dave, Daniel,

A few fixes for the merge window.

Apart from a uninteresting rename of a field in an unused macro, the rest
are display fixes - two for SAGV and one for TDMS rate calculation on
Icelake and above.

Regards,

Tvrtko

drm-intel-next-fixes-2022-03-24:
- Reject unsupported TMDS rates on ICL+ (Ville Syrjälä)
- Treat SAGV block time 0 as SAGV disabled (Ville Syrjälä)
- Fix PSF GV point mask when SAGV is not possible (Ville Syrjälä)
- Fix renamed INTEL_INFO->media.arch/ver field (Lucas De Marchi)
The following changes since commit 278da06c03655c2bb9bc36ebdf45b90a079b3bfd:

  drm/i915/display: Do not re-enable PSR after it was marked as not reliable 
(2022-03-16 08:17:40 +0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2022-03-24

for you to fetch changes up to 00f4150d27d2c01eaeffe1091fc311a7c0872c69:

  drm/i915: Fix renamed struct field (2022-03-21 11:48:00 +)


- Reject unsupported TMDS rates on ICL+ (Ville Syrjälä)
- Treat SAGV block time 0 as SAGV disabled (Ville Syrjälä)
- Fix PSF GV point mask when SAGV is not possible (Ville Syrjälä)
- Fix renamed INTEL_INFO->media.arch/ver field (Lucas De Marchi)


Lucas De Marchi (1):
  drm/i915: Fix renamed struct field

Ville Syrjälä (3):
  drm/i915: Reject unsupported TMDS rates on ICL+
  drm/i915: Treat SAGV block time 0 as SAGV disabled
  drm/i915: Fix PSF GV point mask when SAGV is not possible

 drivers/gpu/drm/i915/display/intel_bw.c   |  3 ++-
 drivers/gpu/drm/i915/display/intel_hdmi.c |  9 +
 drivers/gpu/drm/i915/i915_drv.h   |  2 +-
 drivers/gpu/drm/i915/intel_pm.c   | 10 ++
 4 files changed, 18 insertions(+), 6 deletions(-)


[PULL] drm-intel-next-fixes

2022-03-17 Thread Joonas Lahtinen
Hi Dave & Daniel,

Fix for vm_access() out-of-bounds access and PSR not staying disabled
during fastset once determined not reliable.

Then a naming fix to avoid conflicts for potential future fixes.

Regards, Joonas

***

drm-intel-next-fixes-2022-03-17:

- Do not re-enable PSR after it was marked as not reliable (Jose)
- Add missing boundary check in vm_access to avoid out-of-bounds access (Mastan)
- Naming fix for HPD short pulse handling for eDP (Jose)

The following changes since commit 5e7f44b5c2c035fe2e5458193c2bbee56db6a090:

  drm/i915/gtt: reduce overzealous alignment constraints for GGTT (2022-03-09 
08:34:55 +0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2022-03-17

for you to fetch changes up to 278da06c03655c2bb9bc36ebdf45b90a079b3bfd:

  drm/i915/display: Do not re-enable PSR after it was marked as not reliable 
(2022-03-16 08:17:40 +0200)


- Do not re-enable PSR after it was marked as not reliable (Jose)
- Add missing boundary check in vm_access to avoid out-of-bounds access (Mastan)
- Naming fix for HPD short pulse handling for eDP (Jose)


José Roberto de Souza (2):
  drm/i915/display: Fix HPD short pulse handling for eDP
  drm/i915/display: Do not re-enable PSR after it was marked as not reliable

Mastan Katragadda (1):
  drm/i915/gem: add missing boundary check in vm_access

 drivers/gpu/drm/i915/display/intel_dp.c  | 2 +-
 drivers/gpu/drm/i915/display/intel_pps.c | 6 +++---
 drivers/gpu/drm/i915/display/intel_pps.h | 2 +-
 drivers/gpu/drm/i915/display/intel_psr.c | 4 
 drivers/gpu/drm/i915/gem/i915_gem_mman.c | 2 +-
 5 files changed, 10 insertions(+), 6 deletions(-)


[PULL] drm-intel-next-fixes

2022-03-09 Thread Joonas Lahtinen
Hi Dave & Daniel,

Here's a batch of -next-fixes from drm-intel-next/drm-intel-gt-next.

On GT side just a fix to relax GGTT alignment down 64K from 2M.
Addition of missing "name" attribute for GVT mdev device.
On display side async flip fixes and a static checker fix.

CI results had some display errors on TGL, the display has been
rebooted to fix those so should cause no worries.

Regards, Joonas

***

drm-intel-next-fixes-2022-03-10:

- Reduce overzealous alignment constraints for GGTT
- Add missing mdev attribute "name" for GVT
- Async flip fixes (Ville)
- Static checker fix (Ville)

The following changes since commit 6de7e4f02640fba2ffa6ac04e2be13785d614175:

  Merge tag 'drm-msm-next-2022-03-01' of https://gitlab.freedesktop.org/drm/msm 
into drm-next (2022-03-04 14:39:00 +1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2022-03-10

for you to fetch changes up to 5e7f44b5c2c035fe2e5458193c2bbee56db6a090:

  drm/i915/gtt: reduce overzealous alignment constraints for GGTT (2022-03-09 
08:34:55 +0200)


- Reduce overzealous alignment constraints for GGTT
- Add missing mdev attribute "name" for GVT
- Async flip fixes (Ville)
- Static checker fix (Ville)


Joonas Lahtinen (1):
  Merge tag 'gvt-next-2022-03-07' of https://github.com/intel/gvt-linux 
into drm-intel-next-fixes

Matthew Auld (1):
  drm/i915/gtt: reduce overzealous alignment constraints for GGTT

Ville Syrjälä (4):
  drm/i915: Avoid negative shift due to bigjoiner_pipes==0
  drm/i915: Don't skip ddb allocation if data_rate==0
  drm/i915: Check async flip capability early on
  drm/i915: Fix the async flip wm0/ddb optimization

Zhi Wang (1):
  drm/i915/gvt: add the missing mdev attribute "name"

 drivers/gpu/drm/i915/display/intel_atomic.c|   1 +
 drivers/gpu/drm/i915/display/intel_atomic_plane.c  |   7 +-
 drivers/gpu/drm/i915/display/intel_crtc.c  |   4 +-
 drivers/gpu/drm/i915/display/intel_display.c   | 122 +
 drivers/gpu/drm/i915/display/intel_display_types.h |   6 +-
 drivers/gpu/drm/i915/gt/intel_gtt.c|   3 +-
 drivers/gpu/drm/i915/gvt/kvmgt.c   |  15 +++
 drivers/gpu/drm/i915/intel_pm.c|  30 ++---
 8 files changed, 136 insertions(+), 52 deletions(-)


[PULL] drm-intel-next-fixes

2022-01-20 Thread Tvrtko Ursulin


Hi Dave and Daniel,

A couple display fixes for the merge window. One for EHL and one for ADL-P,
and both in the are of voltage swing programming.

Regards,

Tvrtko

---

drm-intel-next-fixes-2022-01-20:
- Latest updates for the EHL display voltage swing table (José Roberto de Souza)
- Additional step is required when programming the ADL-P display TC voltage 
swing (José Roberto de Souza)
The following changes since commit 6ef295e34297433c78ea02dfcf1c649a769050bb:

  drm/i915/ttm: ensure we unmap when purging (2022-01-10 14:00:47 +)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2022-01-20

for you to fetch changes up to e26602be4869c74dd8a0f66f718b8a0ce120edb4:

  drm/i915/display/adlp: Implement new step in the TC voltage swing prog 
sequence (2022-01-17 10:19:41 +)


- Latest updates for the EHL display voltage swing table (José Roberto de Souza)
- Additional step is required when programming the ADL-P display TC voltage 
swing (José Roberto de Souza)


José Roberto de Souza (2):
  drm/i915/display/ehl: Update voltage swing table
  drm/i915/display/adlp: Implement new step in the TC voltage swing prog 
sequence

 drivers/gpu/drm/i915/display/intel_ddi.c   | 22 ++
 drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c | 10 +-
 drivers/gpu/drm/i915/i915_reg.h|  8 ++--
 3 files changed, 33 insertions(+), 7 deletions(-)


Re: [PULL] drm-intel-next-fixes

2022-01-14 Thread Daniel Vetter
On Thu, Jan 13, 2022 at 09:33:03AM +, Tvrtko Ursulin wrote:
> 
> Hi Dave and Daniel,
> 
> A few fixes for the merge window.
> 
> One dealing with runtime PM handling on the PXP unbind path and a few
> regarding the newly added TTM backend support.
> 
> Regards,
> 
> Tvrtko
> 
> ---
> 
> drm-intel-next-fixes-2022-01-13:
> - Hold runtime PM wakelock during PXP unbind (Juston Li)
> - Three fixes for the TTM backend fault handling (Matthew Auld)
> - Make sure to unmap when purging in the TTM backend (Matthew Auld)
> The following changes since commit c65fe9cbbfd61dbc12868f9ed4940c80fcb249e8:
> 
>   drm/i915/fbc: Remember to update FBC state even when not reallocating CFB 
> (2021-12-27 11:46:48 +0200)
> 
> are available in the Git repository at:
> 
>   git://anongit.freedesktop.org/drm/drm-intel 
> tags/drm-intel-next-fixes-2022-01-13

Pulled, thanks.
-Daniel

> 
> for you to fetch changes up to 6ef295e34297433c78ea02dfcf1c649a769050bb:
> 
>   drm/i915/ttm: ensure we unmap when purging (2022-01-10 14:00:47 +)
> 
> 
> - Hold runtime PM wakelock during PXP unbind (Juston Li)
> - Three fixes for the TTM backend fault handling (Matthew Auld)
> - Make sure to unmap when purging in the TTM backend (Matthew Auld)
> 
> 
> Juston Li (1):
>   drm/i915/pxp: Hold RPM wakelock during PXP unbind
> 
> Matthew Auld (4):
>   drm/i915: don't call free_mmap_offset when purging
>   drm/i915/ttm: only fault WILLNEED objects
>   drm/i915/ttm: add unmap_virtual callback
>   drm/i915/ttm: ensure we unmap when purging
> 
>  drivers/gpu/drm/i915/gem/i915_gem_mman.c   |  3 +++
>  drivers/gpu/drm/i915/gem/i915_gem_object_types.h   |  1 +
>  drivers/gpu/drm/i915/gem/i915_gem_pages.c  |  1 -
>  drivers/gpu/drm/i915/gem/i915_gem_ttm.c| 27 
> +-
>  drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c | 18 ---
>  drivers/gpu/drm/i915/pxp/intel_pxp_tee.c   |  5 +++-
>  6 files changed, 38 insertions(+), 17 deletions(-)

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


[PULL] drm-intel-next-fixes

2022-01-13 Thread Tvrtko Ursulin


Hi Dave and Daniel,

A few fixes for the merge window.

One dealing with runtime PM handling on the PXP unbind path and a few
regarding the newly added TTM backend support.

Regards,

Tvrtko

---

drm-intel-next-fixes-2022-01-13:
- Hold runtime PM wakelock during PXP unbind (Juston Li)
- Three fixes for the TTM backend fault handling (Matthew Auld)
- Make sure to unmap when purging in the TTM backend (Matthew Auld)
The following changes since commit c65fe9cbbfd61dbc12868f9ed4940c80fcb249e8:

  drm/i915/fbc: Remember to update FBC state even when not reallocating CFB 
(2021-12-27 11:46:48 +0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2022-01-13

for you to fetch changes up to 6ef295e34297433c78ea02dfcf1c649a769050bb:

  drm/i915/ttm: ensure we unmap when purging (2022-01-10 14:00:47 +)


- Hold runtime PM wakelock during PXP unbind (Juston Li)
- Three fixes for the TTM backend fault handling (Matthew Auld)
- Make sure to unmap when purging in the TTM backend (Matthew Auld)


Juston Li (1):
  drm/i915/pxp: Hold RPM wakelock during PXP unbind

Matthew Auld (4):
  drm/i915: don't call free_mmap_offset when purging
  drm/i915/ttm: only fault WILLNEED objects
  drm/i915/ttm: add unmap_virtual callback
  drm/i915/ttm: ensure we unmap when purging

 drivers/gpu/drm/i915/gem/i915_gem_mman.c   |  3 +++
 drivers/gpu/drm/i915/gem/i915_gem_object_types.h   |  1 +
 drivers/gpu/drm/i915/gem/i915_gem_pages.c  |  1 -
 drivers/gpu/drm/i915/gem/i915_gem_ttm.c| 27 +-
 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c | 18 ---
 drivers/gpu/drm/i915/pxp/intel_pxp_tee.c   |  5 +++-
 6 files changed, 38 insertions(+), 17 deletions(-)


[PULL] drm-intel-next-fixes for v5.17-rc1

2021-12-29 Thread Jani Nikula


Hi Dave & Daniel -

A lone FBC fix for drm-next for the merge window.

BR,
Jani.

The following changes since commit 040bf2a9446f6ba267225d34dc4a9b14d11e5092:

  Merge tag 'drm-misc-next-fixes-2021-12-23' of 
git://anongit.freedesktop.org/drm/drm-misc into drm-next (2021-12-24 06:24:06 
+1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2021-12-29

for you to fetch changes up to c65fe9cbbfd61dbc12868f9ed4940c80fcb249e8:

  drm/i915/fbc: Remember to update FBC state even when not reallocating CFB 
(2021-12-27 11:46:48 +0200)


drm/i915 fixes for the v5.17-rc1:
- Update FBC state even when not reallocating CFB


Ville Syrjälä (1):
  drm/i915/fbc: Remember to update FBC state even when not reallocating CFB

 drivers/gpu/drm/i915/display/intel_fbc.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

-- 
Jani Nikula, Intel Open Source Graphics Center


[PULL] drm-intel-next-fixes

2021-11-09 Thread Rodrigo Vivi
Hi Dave and Daniel,

Here goes drm-intel-next-fixes-2021-11-09:

Couple Reverts, build fix, couple virtualization fixes,
blank screen and other display rates fixes, and more.

Four patches targeting stable in here.

Display Fixes:
- DP rates related fixes (Imre, Jani)
- A Revert on disaling dual eDP that was causing state readout problems (Jani)
- put the cdclk vtables in const data (Jani)
- Fix DVO port type for moder platforms (Ville)
- Fix blankscreen by turning DP++ TMDS output buffers on encoder->shutdown 
(Ville)
- CCS FBs related fixes (Imre)

GT fixes:
- Fix recursive lock in GuC submission (Matt Brost)
- Revert guc_id from i915_request tracepoint (Joonas)
- Build fix around dmabuf (Matt Auld)

Thanks,
Rodrigo.

The following changes since commit 367fe8dc299c968eabdae890536d55d80ea55e01:

  Merge tag 'amd-drm-next-5.16-2021-10-22' of 
https://gitlab.freedesktop.org/agd5f/linux into drm-next (2021-10-27 10:38:41 
+1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2021-11-09

for you to fetch changes up to ade4a1fc5741a36b559dfbd4557dc3da1a4394af:

  drm/i915/adlp/fb: Prevent the mapping of redundant trailing padding NULL 
pages (2021-11-09 10:02:48 -0500)


Couple Reverts, build fix, couple virtualization fixes,
blank screen and other display rates fixes, and more.

Four patches targeting stable in here.

Display Fixes:
- DP rates related fixes (Imre, Jani)
- A Revert on disaling dual eDP that was causing state readout problems (Jani)
- put the cdclk vtables in const data (Jani)
- Fix DVO port type for moder platforms (Ville)
- Fix blankscreen by turning DP++ TMDS output buffers on encoder->shutdown 
(Ville)
- CCS FBs related fixes (Imre)

GT fixes:
- Fix recursive lock in GuC submission (Matt Brost)
- Revert guc_id from i915_request tracepoint (Joonas)
- Build fix around dmabuf (Matt Auld)


Imre Deak (4):
  drm/i915/dp: Ensure sink rate values are always valid
  drm/i915/dp: Ensure max link params are always valid
  drm/i915/fb: Fix rounding error in subsampled plane size calculation
  drm/i915/adlp/fb: Prevent the mapping of redundant trailing padding NULL 
pages

Jani Nikula (3):
  Revert "drm/i915/bios: gracefully disable dual eDP for now"
  drm/i915/cdclk: put the cdclk vtables in const data
  drm/i915/dp: fix integer overflow in 128b/132b data rate calculation

Joonas Lahtinen (1):
  drm/i915: Revert 'guc_id' from i915_request tracepoint

Matthew Auld (1):
  drm/i915/dmabuf: fix broken build

Matthew Brost (1):
  drm/i915/guc: Fix recursive lock in GuC submission

Ville Syrjälä (3):
  drm/i915: Extend the async flip VT-d w/a to skl/bxt
  drm/i915: Fix type1 DVI DP dual mode adapter heuristic for modern 
platforms
  drm/i915/hdmi: Turn DP++ TMDS output buffers back on in 
encoder->shutdown()

Zhi A Wang (1):
  drm/i915/gvt: fix the usage of ww lock in gvt scheduler.

 drivers/gpu/drm/i915/display/g4x_hdmi.c   |   1 +
 drivers/gpu/drm/i915/display/intel_bios.c | 132 +++---
 drivers/gpu/drm/i915/display/intel_cdclk.c|  44 
 drivers/gpu/drm/i915/display/intel_ddi.c  |   1 +
 drivers/gpu/drm/i915/display/intel_display.c  |   9 +-
 drivers/gpu/drm/i915/display/intel_dp.c   |  31 +++--
 drivers/gpu/drm/i915/display/intel_fb.c   |   4 +-
 drivers/gpu/drm/i915/display/intel_hdmi.c |  16 ++-
 drivers/gpu/drm/i915/display/intel_hdmi.h |   1 +
 drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c|   7 ++
 drivers/gpu/drm/i915/gt/intel_ggtt.c  |   3 +
 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c |   3 +-
 drivers/gpu/drm/i915/gvt/scheduler.c  |   4 +-
 drivers/gpu/drm/i915/i915_trace.h |   7 +-
 drivers/gpu/drm/i915/intel_pm.c   |  12 ++
 15 files changed, 162 insertions(+), 113 deletions(-)


[PULL] drm-intel-next-fixes

2021-08-26 Thread Jani Nikula


Hi Dave & Daniel -

Some pretty straightforward fixes for the merge window.

drm-intel-next-fixes-2021-08-26:
drm/i915 fixes for v5.15-rc1:
- Disable underrun recovery with eDP MSO panels on ADL-P
- Use designated initializers for init/exit table
- Fix some error pointer usages

BR,
Jani.

The following changes since commit 397ab98e2d69cede8a28eab77a171983d14e:

  Merge tag 'drm-msm-next-2021-08-12' of https://gitlab.freedesktop.org/drm/msm 
into drm-next (2021-08-17 10:53:52 +1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2021-08-26

for you to fetch changes up to fb43ebc83e069625cfeeb2490efc3ffa0013bfa4:

  drm/i915/selftest: Fix use of err in igt_reset_{fail, nop}_engine() 
(2021-08-24 17:23:10 +0300)


drm/i915 fixes for v5.15-rc1:
- Disable underrun recovery with eDP MSO panels on ADL-P
- Use designated initializers for init/exit table
- Fix some error pointer usages


Dan Carpenter (1):
  drm/i915/gt: Potential error pointer dereference in pinned_context()

Kees Cook (1):
  drm/i915: Use designated initializers for init/exit table

Matt Roper (1):
  drm/i915/adl_p: Also disable underrun recovery with MSO

Nathan Chancellor (1):
  drm/i915/selftest: Fix use of err in igt_reset_{fail, nop}_engine()

 drivers/gpu/drm/i915/display/intel_display.c |  3 +++
 drivers/gpu/drm/i915/gt/intel_migrate.c  |  2 +-
 drivers/gpu/drm/i915/gt/selftest_hangcheck.c |  4 +--
 drivers/gpu/drm/i915/i915_module.c   | 37 ++--
 4 files changed, 30 insertions(+), 16 deletions(-)

-- 
Jani Nikula, Intel Open Source Graphics Center


[PULL] drm-intel-next-fixes

2021-07-07 Thread Rodrigo Vivi
Hi Dave and Daniel,

Here goes drm-intel-next-fixes-2021-07-07:

One fix targeting stable for display DP VSC, plus DG1 display fix and
a bug fix of IRQs usages and cleanup references to the DRM IRQ midlayer.

Thanks,
Rodrigo.

The following changes since commit 8a02ea42bc1d4c448caf1bab0e05899dad503f74:

  Merge tag 'drm-intel-next-fixes-2021-06-29' of 
git://anongit.freedesktop.org/drm/drm-intel into drm-next (2021-06-30 15:42:05 
+1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2021-07-07

for you to fetch changes up to 3dd6c11b60d2f1e4082221a8831f91093c4494aa:

  drm/i915: Drop all references to DRM IRQ midlayer (2021-07-06 15:10:58 -0400)


One fix targeting stable for display DP VSC, plus DG1 display fix and
a bug fix of IRQs usages and cleanup references to the DRM IRQ midlayer.


José Roberto de Souza (1):
  drm/i915/display/dg1: Correctly map DPLLs during state readout

Kees Cook (1):
  drm/i915/display: Do not zero past infoframes.vsc

Thomas Zimmermann (2):
  drm/i915: Use the correct IRQ during resume
  drm/i915: Drop all references to DRM IRQ midlayer

 drivers/gpu/drm/i915/display/intel_ddi.c| 19 ---
 drivers/gpu/drm/i915/display/intel_dp.c |  2 +-
 drivers/gpu/drm/i915/gt/intel_engine_cs.c   |  2 +-
 drivers/gpu/drm/i915/gt/intel_ring_submission.c |  7 +--
 drivers/gpu/drm/i915/i915_drv.c |  1 -
 drivers/gpu/drm/i915/i915_irq.c | 10 +-
 drivers/gpu/drm/i915/i915_irq.h |  1 +
 drivers/gpu/drm/i915/i915_reg.h |  3 ---
 8 files changed, 29 insertions(+), 16 deletions(-)


Re: [Intel-gfx] [PULL] drm-intel-next-fixes

2021-07-01 Thread Rodrigo Vivi
On Thu, Jul 01, 2021 at 11:57:53AM +0300, Jani Nikula wrote:
> On Wed, 30 Jun 2021, Rodrigo Vivi  wrote:
> > On Wed, Jun 30, 2021 at 01:05:35PM +0300, Jani Nikula wrote:
> >> On Tue, 29 Jun 2021, Rodrigo Vivi  wrote:
> >> > Hi Dave and Daniel,
> >> >
> >> > Here goes drm-intel-next-fixes-2021-06-29:
> >> >
> >> > The biggest fix is the restoration of mmap ioctl for gen12 integrated 
> >> > parts
> >> > which lack was breaking ADL-P with media stack.
> >> > Besides that a small selftest fix and a theoretical overflow on
> >> > i915->pipe_to_crtc_mapping.
> >> 
> >> My last fixes pull for v5.13 fell between the cracks [1]. There was one
> >> stable worthy fix, but since it was still in drm-intel-fixes when you
> >> ran dim cherry-pick-next-fixes, it was skipped for drm-intel-next-fixes.
> >> 
> >> I've now dropped the commit and pushed v5.13 to drm-intel-fixes, as
> >> we're past that point. Subsequent dim cherry-pick-next-fixes should pick
> >> it up now.
> >
> > it didn't, probably because the Fixes hash not being part of the drm-next 
> > yet?!
> 
> Odd, should be.

indeed...

> 
> > I can cherry-pick that directly. Please let me know the commit id.
> 
> c88e2647c5bb ("drm/i915/display: Do not zero past infoframes.vsc")

pushed to drm-intel-next-queue... will wait for CI results and send another PR.
I hope there's still time, otherwise it can wait for the -fixes flow

> 
> Thanks,
> Jani.
> 
> 
> >
> > Thanks,
> > Rodrigo.
> >
> >> 
> >> Please do another next fixes pull request with that. (It's okay to pull
> >> this one already though, doesn't make a difference.)
> >> 
> >> 
> >> BR,
> >> Jani.
> >> 
> >> 
> >> [1] https://lore.kernel.org/r/[email protected]
> >> 
> >> 
> >> 
> >> >
> >> > Thanks,
> >> > Rodrigo.
> >> >
> >> > The following changes since commit 
> >> > 1bd8a7dc28c1c410f1ceefae1f2a97c06d1a67c2:
> >> >
> >> >   Merge tag 'exynos-drm-next-for-v5.14' of 
> >> > git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos into 
> >> > drm-next (2021-06-11 14:19:12 +1000)
> >> >
> >> > are available in the Git repository at:
> >> >
> >> >   git://anongit.freedesktop.org/drm/drm-intel 
> >> > tags/drm-intel-next-fixes-2021-06-29
> >> >
> >> > for you to fetch changes up to c90c4c6574f3feaf2203b5671db1907a1e15c653:
> >> >
> >> >   drm/i915: Reinstate the mmap ioctl for some platforms (2021-06-28 
> >> > 07:43:56 -0400)
> >> >
> >> > 
> >> > The biggest fix is the restoration of mmap ioctl for gen12 integrated 
> >> > parts
> >> > which lack was breaking ADL-P with media stack.
> >> > Besides that a small selftest fix and a theoretical overflow on
> >> > i915->pipe_to_crtc_mapping.
> >> >
> >> > 
> >> > Chris Wilson (1):
> >> >   drm/i915/selftests: Reorder tasklet_disable vs local_bh_disable
> >> >
> >> > Jani Nikula (1):
> >> >   drm/i915/dsc: abstract helpers to get bigjoiner primary/secondary 
> >> > crtc
> >> >
> >> > Thomas Hellström (1):
> >> >   drm/i915: Reinstate the mmap ioctl for some platforms
> >> >
> >> >  drivers/gpu/drm/i915/display/intel_display.c   |  7 ++-
> >> >  drivers/gpu/drm/i915/display/intel_display_types.h |  8 
> >> >  drivers/gpu/drm/i915/display/intel_vdsc.c  | 40 +++-
> >> >  drivers/gpu/drm/i915/display/intel_vdsc.h  |  1 +
> >> >  drivers/gpu/drm/i915/gem/i915_gem_mman.c   |  7 +--
> >> >  drivers/gpu/drm/i915/gt/selftest_execlists.c   | 55 
> >> > +-
> >> >  6 files changed, 76 insertions(+), 42 deletions(-)
> >> 
> >> -- 
> >> Jani Nikula, Intel Open Source Graphics Center
> 
> -- 
> Jani Nikula, Intel Open Source Graphics Center
> ___
> Intel-gfx mailing list
> [email protected]
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [PULL] drm-intel-next-fixes

2021-07-01 Thread Jani Nikula
On Wed, 30 Jun 2021, Rodrigo Vivi  wrote:
> On Wed, Jun 30, 2021 at 01:05:35PM +0300, Jani Nikula wrote:
>> On Tue, 29 Jun 2021, Rodrigo Vivi  wrote:
>> > Hi Dave and Daniel,
>> >
>> > Here goes drm-intel-next-fixes-2021-06-29:
>> >
>> > The biggest fix is the restoration of mmap ioctl for gen12 integrated parts
>> > which lack was breaking ADL-P with media stack.
>> > Besides that a small selftest fix and a theoretical overflow on
>> > i915->pipe_to_crtc_mapping.
>> 
>> My last fixes pull for v5.13 fell between the cracks [1]. There was one
>> stable worthy fix, but since it was still in drm-intel-fixes when you
>> ran dim cherry-pick-next-fixes, it was skipped for drm-intel-next-fixes.
>> 
>> I've now dropped the commit and pushed v5.13 to drm-intel-fixes, as
>> we're past that point. Subsequent dim cherry-pick-next-fixes should pick
>> it up now.
>
> it didn't, probably because the Fixes hash not being part of the drm-next 
> yet?!

Odd, should be.

> I can cherry-pick that directly. Please let me know the commit id.

c88e2647c5bb ("drm/i915/display: Do not zero past infoframes.vsc")

Thanks,
Jani.


>
> Thanks,
> Rodrigo.
>
>> 
>> Please do another next fixes pull request with that. (It's okay to pull
>> this one already though, doesn't make a difference.)
>> 
>> 
>> BR,
>> Jani.
>> 
>> 
>> [1] https://lore.kernel.org/r/[email protected]
>> 
>> 
>> 
>> >
>> > Thanks,
>> > Rodrigo.
>> >
>> > The following changes since commit 
>> > 1bd8a7dc28c1c410f1ceefae1f2a97c06d1a67c2:
>> >
>> >   Merge tag 'exynos-drm-next-for-v5.14' of 
>> > git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos into 
>> > drm-next (2021-06-11 14:19:12 +1000)
>> >
>> > are available in the Git repository at:
>> >
>> >   git://anongit.freedesktop.org/drm/drm-intel 
>> > tags/drm-intel-next-fixes-2021-06-29
>> >
>> > for you to fetch changes up to c90c4c6574f3feaf2203b5671db1907a1e15c653:
>> >
>> >   drm/i915: Reinstate the mmap ioctl for some platforms (2021-06-28 
>> > 07:43:56 -0400)
>> >
>> > 
>> > The biggest fix is the restoration of mmap ioctl for gen12 integrated parts
>> > which lack was breaking ADL-P with media stack.
>> > Besides that a small selftest fix and a theoretical overflow on
>> > i915->pipe_to_crtc_mapping.
>> >
>> > 
>> > Chris Wilson (1):
>> >   drm/i915/selftests: Reorder tasklet_disable vs local_bh_disable
>> >
>> > Jani Nikula (1):
>> >   drm/i915/dsc: abstract helpers to get bigjoiner primary/secondary 
>> > crtc
>> >
>> > Thomas Hellström (1):
>> >   drm/i915: Reinstate the mmap ioctl for some platforms
>> >
>> >  drivers/gpu/drm/i915/display/intel_display.c   |  7 ++-
>> >  drivers/gpu/drm/i915/display/intel_display_types.h |  8 
>> >  drivers/gpu/drm/i915/display/intel_vdsc.c  | 40 +++-
>> >  drivers/gpu/drm/i915/display/intel_vdsc.h  |  1 +
>> >  drivers/gpu/drm/i915/gem/i915_gem_mman.c   |  7 +--
>> >  drivers/gpu/drm/i915/gt/selftest_execlists.c   | 55 
>> > +-
>> >  6 files changed, 76 insertions(+), 42 deletions(-)
>> 
>> -- 
>> Jani Nikula, Intel Open Source Graphics Center

-- 
Jani Nikula, Intel Open Source Graphics Center


Re: [PULL] drm-intel-next-fixes

2021-06-30 Thread Rodrigo Vivi
On Wed, Jun 30, 2021 at 01:05:35PM +0300, Jani Nikula wrote:
> On Tue, 29 Jun 2021, Rodrigo Vivi  wrote:
> > Hi Dave and Daniel,
> >
> > Here goes drm-intel-next-fixes-2021-06-29:
> >
> > The biggest fix is the restoration of mmap ioctl for gen12 integrated parts
> > which lack was breaking ADL-P with media stack.
> > Besides that a small selftest fix and a theoretical overflow on
> > i915->pipe_to_crtc_mapping.
> 
> My last fixes pull for v5.13 fell between the cracks [1]. There was one
> stable worthy fix, but since it was still in drm-intel-fixes when you
> ran dim cherry-pick-next-fixes, it was skipped for drm-intel-next-fixes.
> 
> I've now dropped the commit and pushed v5.13 to drm-intel-fixes, as
> we're past that point. Subsequent dim cherry-pick-next-fixes should pick
> it up now.

it didn't, probably because the Fixes hash not being part of the drm-next yet?!

I can cherry-pick that directly. Please let me know the commit id.

Thanks,
Rodrigo.

> 
> Please do another next fixes pull request with that. (It's okay to pull
> this one already though, doesn't make a difference.)
> 
> 
> BR,
> Jani.
> 
> 
> [1] https://lore.kernel.org/r/[email protected]
> 
> 
> 
> >
> > Thanks,
> > Rodrigo.
> >
> > The following changes since commit 1bd8a7dc28c1c410f1ceefae1f2a97c06d1a67c2:
> >
> >   Merge tag 'exynos-drm-next-for-v5.14' of 
> > git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos into 
> > drm-next (2021-06-11 14:19:12 +1000)
> >
> > are available in the Git repository at:
> >
> >   git://anongit.freedesktop.org/drm/drm-intel 
> > tags/drm-intel-next-fixes-2021-06-29
> >
> > for you to fetch changes up to c90c4c6574f3feaf2203b5671db1907a1e15c653:
> >
> >   drm/i915: Reinstate the mmap ioctl for some platforms (2021-06-28 
> > 07:43:56 -0400)
> >
> > 
> > The biggest fix is the restoration of mmap ioctl for gen12 integrated parts
> > which lack was breaking ADL-P with media stack.
> > Besides that a small selftest fix and a theoretical overflow on
> > i915->pipe_to_crtc_mapping.
> >
> > 
> > Chris Wilson (1):
> >   drm/i915/selftests: Reorder tasklet_disable vs local_bh_disable
> >
> > Jani Nikula (1):
> >   drm/i915/dsc: abstract helpers to get bigjoiner primary/secondary crtc
> >
> > Thomas Hellström (1):
> >   drm/i915: Reinstate the mmap ioctl for some platforms
> >
> >  drivers/gpu/drm/i915/display/intel_display.c   |  7 ++-
> >  drivers/gpu/drm/i915/display/intel_display_types.h |  8 
> >  drivers/gpu/drm/i915/display/intel_vdsc.c  | 40 +++-
> >  drivers/gpu/drm/i915/display/intel_vdsc.h  |  1 +
> >  drivers/gpu/drm/i915/gem/i915_gem_mman.c   |  7 +--
> >  drivers/gpu/drm/i915/gt/selftest_execlists.c   | 55 
> > +-
> >  6 files changed, 76 insertions(+), 42 deletions(-)
> 
> -- 
> Jani Nikula, Intel Open Source Graphics Center


Re: [PULL] drm-intel-next-fixes

2021-06-30 Thread Jani Nikula
On Tue, 29 Jun 2021, Rodrigo Vivi  wrote:
> Hi Dave and Daniel,
>
> Here goes drm-intel-next-fixes-2021-06-29:
>
> The biggest fix is the restoration of mmap ioctl for gen12 integrated parts
> which lack was breaking ADL-P with media stack.
> Besides that a small selftest fix and a theoretical overflow on
> i915->pipe_to_crtc_mapping.

My last fixes pull for v5.13 fell between the cracks [1]. There was one
stable worthy fix, but since it was still in drm-intel-fixes when you
ran dim cherry-pick-next-fixes, it was skipped for drm-intel-next-fixes.

I've now dropped the commit and pushed v5.13 to drm-intel-fixes, as
we're past that point. Subsequent dim cherry-pick-next-fixes should pick
it up now.

Please do another next fixes pull request with that. (It's okay to pull
this one already though, doesn't make a difference.)


BR,
Jani.


[1] https://lore.kernel.org/r/[email protected]



>
> Thanks,
> Rodrigo.
>
> The following changes since commit 1bd8a7dc28c1c410f1ceefae1f2a97c06d1a67c2:
>
>   Merge tag 'exynos-drm-next-for-v5.14' of 
> git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos into 
> drm-next (2021-06-11 14:19:12 +1000)
>
> are available in the Git repository at:
>
>   git://anongit.freedesktop.org/drm/drm-intel 
> tags/drm-intel-next-fixes-2021-06-29
>
> for you to fetch changes up to c90c4c6574f3feaf2203b5671db1907a1e15c653:
>
>   drm/i915: Reinstate the mmap ioctl for some platforms (2021-06-28 07:43:56 
> -0400)
>
> 
> The biggest fix is the restoration of mmap ioctl for gen12 integrated parts
> which lack was breaking ADL-P with media stack.
> Besides that a small selftest fix and a theoretical overflow on
> i915->pipe_to_crtc_mapping.
>
> 
> Chris Wilson (1):
>   drm/i915/selftests: Reorder tasklet_disable vs local_bh_disable
>
> Jani Nikula (1):
>   drm/i915/dsc: abstract helpers to get bigjoiner primary/secondary crtc
>
> Thomas Hellström (1):
>   drm/i915: Reinstate the mmap ioctl for some platforms
>
>  drivers/gpu/drm/i915/display/intel_display.c   |  7 ++-
>  drivers/gpu/drm/i915/display/intel_display_types.h |  8 
>  drivers/gpu/drm/i915/display/intel_vdsc.c  | 40 +++-
>  drivers/gpu/drm/i915/display/intel_vdsc.h  |  1 +
>  drivers/gpu/drm/i915/gem/i915_gem_mman.c   |  7 +--
>  drivers/gpu/drm/i915/gt/selftest_execlists.c   | 55 
> +-
>  6 files changed, 76 insertions(+), 42 deletions(-)

-- 
Jani Nikula, Intel Open Source Graphics Center


[PULL] drm-intel-next-fixes

2021-06-29 Thread Rodrigo Vivi
Hi Dave and Daniel,

Here goes drm-intel-next-fixes-2021-06-29:

The biggest fix is the restoration of mmap ioctl for gen12 integrated parts
which lack was breaking ADL-P with media stack.
Besides that a small selftest fix and a theoretical overflow on
i915->pipe_to_crtc_mapping.

Thanks,
Rodrigo.

The following changes since commit 1bd8a7dc28c1c410f1ceefae1f2a97c06d1a67c2:

  Merge tag 'exynos-drm-next-for-v5.14' of 
git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos into drm-next 
(2021-06-11 14:19:12 +1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2021-06-29

for you to fetch changes up to c90c4c6574f3feaf2203b5671db1907a1e15c653:

  drm/i915: Reinstate the mmap ioctl for some platforms (2021-06-28 07:43:56 
-0400)


The biggest fix is the restoration of mmap ioctl for gen12 integrated parts
which lack was breaking ADL-P with media stack.
Besides that a small selftest fix and a theoretical overflow on
i915->pipe_to_crtc_mapping.


Chris Wilson (1):
  drm/i915/selftests: Reorder tasklet_disable vs local_bh_disable

Jani Nikula (1):
  drm/i915/dsc: abstract helpers to get bigjoiner primary/secondary crtc

Thomas Hellström (1):
  drm/i915: Reinstate the mmap ioctl for some platforms

 drivers/gpu/drm/i915/display/intel_display.c   |  7 ++-
 drivers/gpu/drm/i915/display/intel_display_types.h |  8 
 drivers/gpu/drm/i915/display/intel_vdsc.c  | 40 +++-
 drivers/gpu/drm/i915/display/intel_vdsc.h  |  1 +
 drivers/gpu/drm/i915/gem/i915_gem_mman.c   |  7 +--
 drivers/gpu/drm/i915/gt/selftest_execlists.c   | 55 +-
 6 files changed, 76 insertions(+), 42 deletions(-)


[PULL] drm-intel-next-fixes for the merge window #2

2021-04-30 Thread Jani Nikula


Hi Dave & Daniel -

One more fix for -rc1.

drm-intel-next-fixes-2021-04-30:
drm/i915 GVT fixes for v5.13-rc1:
- Fix a possible division by zero in vgpu display rate calculation

BR,
Jani.

The following changes since commit 270e3cc5aa382f63ea20b93c3d20162a891dc638:

  drm/i915: Fix docbook descriptions for i915_gem_shrinker (2021-04-26 11:54:33 
+0300)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2021-04-30

for you to fetch changes up to c7b397e9ca4d6828e3e3f504c80bcb1fe535c348:

  Merge tag 'gvt-next-fixes-2021-04-29' of https://github.com/intel/gvt-linux 
into drm-intel-next-fixes (2021-04-29 13:15:51 +0300)


drm/i915 GVT fixes for v5.13-rc1:
- Fix a possible division by zero in vgpu display rate calculation


Colin Xu (1):
  drm/i915/gvt: Prevent divided by zero when calculating refresh rate

Jani Nikula (1):
  Merge tag 'gvt-next-fixes-2021-04-29' of 
https://github.com/intel/gvt-linux into drm-intel-next-fixes

 drivers/gpu/drm/i915/gvt/handlers.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

-- 
Jani Nikula, Intel Open Source Graphics Center
___
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[PULL] drm-intel-next-fixes for the merge window

2021-04-27 Thread Jani Nikula

Hi Dave & Daniel -

Some fixes to the drm-next feature pull.

drm-intel-next-fixes-2021-04-27:
drm/i915 fixes for v5.13-rc1:
- Several fixes to GLK handling in recent display refactoring (Ville)
- Rare watchdog timer race fix (Tvrtko)
- Cppcheck redundant condition fix (José)
- Overlay error code propagation fix (Dan Carpenter)
- Documentation fix (Maarten)

Seems I forgot to mention GVT fixes in the annotated tag, copy-pasting
here from their pull:

gvt-next-fixes-2021-04-21

- Remove one unused function warning (Jiapeng)
- Fix intel_gvt_init_device() return type (Dan)
- Remove one duplicated register accessible check (Zhenyu)


BR,
Jani.

The following changes since commit af8352f1ff54c4fecf84e36315fd1928809a580b:

  Merge tag 'drm-msm-next-2021-04-11' of https://gitlab.freedesktop.org/drm/msm 
into drm-next (2021-04-13 23:35:54 +0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2021-04-27

for you to fetch changes up to 270e3cc5aa382f63ea20b93c3d20162a891dc638:

  drm/i915: Fix docbook descriptions for i915_gem_shrinker (2021-04-26 11:54:33 
+0300)


drm/i915 fixes for v5.13-rc1:
- Several fixes to GLK handling in recent display refactoring (Ville)
- Rare watchdog timer race fix (Tvrtko)
- Cppcheck redundant condition fix (José)
- Overlay error code propagation fix (Dan Carpenter)
- Documentation fix (Maarten)


Dan Carpenter (2):
  drm/i915/gvt: Fix error code in intel_gvt_init_device()
  drm/i915: fix an error code in intel_overlay_do_put_image()

Jani Nikula (1):
  Merge tag 'gvt-next-fixes-2021-04-21' of 
https://github.com/intel/gvt-linux into drm-intel-next-fixes

Jiapeng Chong (1):
  drm/i915/gvt: remove useless function

José Roberto de Souza (1):
  drm/i915/display/psr: Fix cppcheck warnings

Maarten Lankhorst (1):
  drm/i915: Fix docbook descriptions for i915_gem_shrinker

Tvrtko Ursulin (1):
  drm/i915: Take request reference before arming the watchdog timer

Ville Syrjälä (3):
  drm/i915: Restore lost glk FBC 16bpp w/a
  drm/i915: Restore lost glk ccs w/a
  drm/i915: Disable LTTPR detection on GLK once again

Zhenyu Wang (1):
  drm/i915/gvt: Remove duplicated register accessible check

 drivers/gpu/drm/i915/display/intel_display.c  | 3 ++-
 drivers/gpu/drm/i915/display/intel_dp_link_training.c | 2 +-
 drivers/gpu/drm/i915/display/intel_fbc.c  | 2 +-
 drivers/gpu/drm/i915/display/intel_overlay.c  | 4 +++-
 drivers/gpu/drm/i915/display/intel_psr.c  | 3 +--
 drivers/gpu/drm/i915/gem/i915_gem_shrinker.c  | 1 +
 drivers/gpu/drm/i915/gvt/cmd_parser.c | 5 -
 drivers/gpu/drm/i915/gvt/gtt.c| 6 --
 drivers/gpu/drm/i915/gvt/gvt.c| 8 
 drivers/gpu/drm/i915/i915_request.c   | 3 ++-
 10 files changed, 15 insertions(+), 22 deletions(-)

-- 
Jani Nikula, Intel Open Source Graphics Center
___
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[PULL] drm-intel-next-fixes

2021-02-25 Thread Rodrigo Vivi
Hi Dave and Daniel,

Here goes drm-intel-next-fixes-2021-02-25:

A fix for color format check from Ville, plus the re-enable of -Wuninitialized
from Nathan, and the GVT fixes including fixes for ww locking, cmd parser and
a general cleanup of dev_priv->gt.

Thanks,
Rodrigo.

The following changes since commit 81ce8f04aa96f7f6cae05770f68b5d15be91f5a2:

  drm/i915/gt: Correct surface base address for renderclear (2021-02-17 
06:19:04 -0500)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2021-02-25

for you to fetch changes up to ed428ffc28521b9f1b6a71584d1875318a122859:

  drm/i915: Nuke INTEL_OUTPUT_FORMAT_INVALID (2021-02-23 09:38:14 -0500)


A fix for color format check from Ville, plus the re-enable of -Wuninitialized
from Nathan, and the GVT fixes including fixes for ww locking, cmd parser and
a general cleanup of dev_priv->gt.


Chris Wilson (2):
  drm/i915/gvt: Parse default state to update reg whitelist
  drm/i915/gvt: Purge dev_priv->gt

Nathan Chancellor (1):
  drm/i915: Enable -Wuninitialized

Rodrigo Vivi (1):
  Merge tag 'gvt-next-fixes-2021-02-22' of 
https://github.com/intel/gvt-linux into drm-intel-next-fixes

Ville Syrjälä (1):
  drm/i915: Nuke INTEL_OUTPUT_FORMAT_INVALID

Zhi Wang (1):
  drm/i915/gvt: Introduce per object locking in GVT scheduler.

 drivers/gpu/drm/i915/Makefile  |  1 -
 drivers/gpu/drm/i915/display/intel_crtc.c  |  1 -
 drivers/gpu/drm/i915/display/intel_display.c   |  3 +-
 drivers/gpu/drm/i915/display/intel_display_types.h |  1 -
 drivers/gpu/drm/i915/gvt/cmd_parser.c  | 93 +-
 drivers/gpu/drm/i915/gvt/execlist.c|  8 +-
 drivers/gpu/drm/i915/gvt/scheduler.c   | 52 +---
 7 files changed, 65 insertions(+), 94 deletions(-)
___
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[PULL] drm-intel-next-fixes

2021-02-18 Thread Rodrigo Vivi
Hi Dave and Daniel,

Here goes drm-intel-next-fixes-2021-02-18:

- Restrict DRM_I915_DEBUG to developer builds (Chris)
- Fix return and error codes (Dan)
- Suspend/Resume fix (Chris)
- Disable atomics in L3 for gen9 (Chris)
- Flush before changing register state (Chris)
- Fix for GLK's HDMI (Ville)
- Fix ILK+'s plane strides with Xtiling (Ville)
- Correct surface base address for renderclear (Chris)

Thanks,
Rodrigo.

The following changes since commit 4c3a3292730c56591472717d8c5c0faf74f6c6bb:

  drm/amd/display: fix unused variable warning (2021-02-05 09:49:44 +1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2021-02-18

for you to fetch changes up to 81ce8f04aa96f7f6cae05770f68b5d15be91f5a2:

  drm/i915/gt: Correct surface base address for renderclear (2021-02-17 
06:19:04 -0500)


- Restrict DRM_I915_DEBUG to developer builds (Chris)
- Fix return and error codes (Dan)
- Suspend/Resume fix (Chris)
- Disable atomics in L3 for gen9 (Chris)
- Flush before changing register state (Chris)
- Fix for GLK's HDMI (Ville)
- Fix ILK+'s plane strides with Xtiling (Ville)
- Correct surface base address for renderclear (Chris)


Chris Wilson (5):
  drm/i915: Restrict DRM_I915_DEBUG to developer builds
  drm/i915/gem: Move freeze/freeze_late next to suspend/suspend_late
  drm/i915: Disable atomics in L3 for gen9
  drm/i915/gt: Flush before changing register state
  drm/i915/gt: Correct surface base address for renderclear

Dan Carpenter (2):
  drm/i915/gvt: fix uninitialized return in intel_gvt_update_reg_whitelist()
  drm/i915/gem: Fix oops in error handling code

Ville Syrjälä (2):
  drm/i915: Reject 446-480MHz HDMI clock on GLK
  drm/i915: Disallow plane x+w>stride on ilk+ with X-tiling

 drivers/gpu/drm/i915/Kconfig.debug   |  2 ++
 drivers/gpu/drm/i915/display/i9xx_plane.c| 27 ++
 drivers/gpu/drm/i915/display/intel_display.c | 12 
 drivers/gpu/drm/i915/display/intel_display.h |  6 
 drivers/gpu/drm/i915/display/intel_hdmi.c|  6 +++-
 drivers/gpu/drm/i915/gem/i915_gem_pm.c   | 41 
 drivers/gpu/drm/i915/gem/i915_gem_pm.h   |  3 ++
 drivers/gpu/drm/i915/gem/i915_gem_stolen.c   | 12 +++-
 drivers/gpu/drm/i915/gt/gen7_renderclear.c   |  3 +-
 drivers/gpu/drm/i915/gt/intel_workarounds.c  |  8 ++
 drivers/gpu/drm/i915/gvt/cmd_parser.c|  3 +-
 drivers/gpu/drm/i915/i915_drv.c  |  1 +
 drivers/gpu/drm/i915/i915_drv.h  |  2 --
 drivers/gpu/drm/i915/i915_gem.c  | 41 
 drivers/gpu/drm/i915/i915_reg.h  |  7 +
 drivers/gpu/drm/i915/selftests/i915_gem.c|  1 +
 16 files changed, 115 insertions(+), 60 deletions(-)
___
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [PULL] drm-intel-next-fixes

2020-12-18 Thread Daniel Vetter
On Fri, Dec 18, 2020 at 05:04:09PM +0200, Jani Nikula wrote:
> 
> Hi Dave & Daniel -
> 
> drm-intel-next-fixes-2020-12-18:
> drm/i915 fixes for the merge window

Pulled, thanks a lot.
-Daniel

> 
> 
> BR,
> Jani.
> 
> The following changes since commit efd3043790c6e92f0bbe1fe385db9b544131c59c:
> 
>   Merge tag 'amd-drm-fixes-5.11-2020-12-16' of 
> git://people.freedesktop.org/~agd5f/linux into drm-next (2020-12-16 23:25:51 
> +0100)
> 
> are available in the Git repository at:
> 
>   git://anongit.freedesktop.org/drm/drm-intel 
> tags/drm-intel-next-fixes-2020-12-18
> 
> for you to fetch changes up to 046f70d31ddb2069941aec54966fec5b7fbc7b7b:
> 
>   drm/i915/tgl: Fix REVID macros for TGL to fetch correct stepping 
> (2020-12-18 12:30:10 +0200)
> 
> 
> drm/i915 fixes for the merge window
> 
> 
> Aditya Swarup (1):
>   drm/i915/tgl: Fix REVID macros for TGL to fetch correct stepping
> 
> Chris Wilson (2):
>   Revert "drm/i915: re-order if/else ladder for hpd_irq_setup"
>   drm/i915: Fix mismatch between misplaced vma check and vma insert
> 
> Lionel Landwerlin (1):
>   drm/i915/perf: also include Gen11 in OATAILPTR workaround
> 
>  drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c |  2 +-
>  drivers/gpu/drm/i915/i915_drv.h| 12 ++--
>  drivers/gpu/drm/i915/i915_irq.c| 27 
> ++
>  drivers/gpu/drm/i915/i915_perf.c   |  2 +-
>  4 files changed, 23 insertions(+), 20 deletions(-)
> 
> -- 
> Jani Nikula, Intel Open Source Graphics Center

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
___
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[PULL] drm-intel-next-fixes

2020-12-18 Thread Jani Nikula


Hi Dave & Daniel -

drm-intel-next-fixes-2020-12-18:
drm/i915 fixes for the merge window


BR,
Jani.

The following changes since commit efd3043790c6e92f0bbe1fe385db9b544131c59c:

  Merge tag 'amd-drm-fixes-5.11-2020-12-16' of 
git://people.freedesktop.org/~agd5f/linux into drm-next (2020-12-16 23:25:51 
+0100)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2020-12-18

for you to fetch changes up to 046f70d31ddb2069941aec54966fec5b7fbc7b7b:

  drm/i915/tgl: Fix REVID macros for TGL to fetch correct stepping (2020-12-18 
12:30:10 +0200)


drm/i915 fixes for the merge window


Aditya Swarup (1):
  drm/i915/tgl: Fix REVID macros for TGL to fetch correct stepping

Chris Wilson (2):
  Revert "drm/i915: re-order if/else ladder for hpd_irq_setup"
  drm/i915: Fix mismatch between misplaced vma check and vma insert

Lionel Landwerlin (1):
  drm/i915/perf: also include Gen11 in OATAILPTR workaround

 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c |  2 +-
 drivers/gpu/drm/i915/i915_drv.h| 12 ++--
 drivers/gpu/drm/i915/i915_irq.c| 27 ++
 drivers/gpu/drm/i915/i915_perf.c   |  2 +-
 4 files changed, 23 insertions(+), 20 deletions(-)

-- 
Jani Nikula, Intel Open Source Graphics Center
___
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[PULL] drm-intel-next-fixes

2020-10-22 Thread Rodrigo Vivi
Hi Dave and Daniel,

Here is probably the last drm-intel-next-fixes before -rc1.

This includes a few patches from dinq and a bunch from drm-intel-gt-next.

drm-intel-next-fixes-2020-10-22:
- Tweak initia DPCD backlight.enabled value (Sean)
- Initialize reserved MOCS indices (Ayaz)
- Mark initial fb obj as WT on eLLC machines to avoid rcu lockup (Ville)
- Support parsing of oversize batches (Chris)
- Delay execlists processing for TGL (Chris)
- Use the active reference on the vma during error capture (Chris)
- Widen CSB pointer (Chris)
- Wait for CSB entries on TGL (Chris)
- Fix unwind for scratch page allocation (Chris)
- Exclude low patches of stolen memory (Chris)
- Force VT'd workarounds when running as a guest OS (Chris)
- Drop runtime-pm assert from vpgu io accessors (Chris)
The following changes since commit 214bba50616f65264dfc30d095daef3ab7500f52:

  drm/i915: Set all unused color plane offsets to ~0xfff again (2020-10-12 
14:23:22 -0400)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2020-10-22

for you to fetch changes up to 5c6c13cd1102caf92d006a3cf4591c0229019daf:

  drm/i915: Drop runtime-pm assert from vgpu io accessors (2020-10-21 08:32:32 
-0400)


- Tweak initia DPCD backlight.enabled value (Sean)
- Initialize reserved MOCS indices (Ayaz)
- Mark initial fb obj as WT on eLLC machines to avoid rcu lockup (Ville)
- Support parsing of oversize batches (Chris)
- Delay execlists processing for TGL (Chris)
- Use the active reference on the vma during error capture (Chris)
- Widen CSB pointer (Chris)
- Wait for CSB entries on TGL (Chris)
- Fix unwind for scratch page allocation (Chris)
- Exclude low patches of stolen memory (Chris)
- Force VT'd workarounds when running as a guest OS (Chris)
- Drop runtime-pm assert from vpgu io accessors (Chris)


Ayaz A Siddiqui (1):
  drm/i915/gt: Initialize reserved and unspecified MOCS indices

Chris Wilson (10):
  drm/i915/gem: Support parsing of oversize batches
  drm/i915/gt: Delay execlist processing for tgl
  drm/i915/gt: Undo forced context restores after trivial preemptions
  drm/i915: Use the active reference on the vma while capturing
  drm/i915/gt: Widen CSB pointer to u64 for the parsers
  drm/i915/gt: Wait for CSB entries on Tigerlake
  drm/i915/gt: Onion unwind for scratch page allocation failure
  drm/i915: Exclude low pages (128KiB) of stolen from use
  drm/i915: Force VT'd workarounds when running as a guest OS
  drm/i915: Drop runtime-pm assert from vgpu io accessors

Sean Paul (1):
  drm/i915/dp: Tweak initial dpcd backlight.enabled value

Ville Syrjälä (1):
  drm/i915: Mark ininitial fb obj as WT on eLLC machines to avoid rcu 
lockup during fbdev init

 drivers/gpu/drm/i915/Kconfig.debug |   1 +
 drivers/gpu/drm/i915/display/intel_display.c   |   8 +
 .../gpu/drm/i915/display/intel_dp_aux_backlight.c  |  31 ++--
 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c |  10 +-
 drivers/gpu/drm/i915/gem/i915_gem_stolen.c |   6 +-
 drivers/gpu/drm/i915/gem/i915_gem_stolen.h |   2 +
 drivers/gpu/drm/i915/gt/gen6_ppgtt.c   |  18 +-
 drivers/gpu/drm/i915/gt/gen8_ppgtt.c   |   3 +-
 drivers/gpu/drm/i915/gt/intel_engine_types.h   |   2 +-
 drivers/gpu/drm/i915/gt/intel_lrc.c|  58 +++---
 drivers/gpu/drm/i915/gt/intel_mocs.c   |  16 +-
 drivers/gpu/drm/i915/gt/selftest_reset.c   | 196 +
 drivers/gpu/drm/i915/i915_drv.h|   6 +-
 drivers/gpu/drm/i915/i915_gpu_error.c  |   3 +-
 drivers/gpu/drm/i915/intel_uncore.c|  27 ++-
 15 files changed, 334 insertions(+), 53 deletions(-)
___
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[PULL] drm-intel-next-fixes

2020-10-15 Thread Rodrigo Vivi
Hi Dave and Daniel,

here goes couple display fixes for this last round of fixes before -rc1

drm-intel-next-fixes-2020-10-15:
- Set all unused color plane offsets to ~0xfff again (Ville)
- Fix TGL DKL PHY DP vswing handling (Ville)
The following changes since commit c60b93cd4862d108214a14e655358ea714d7a12a:

  drm/i915: Avoid mixing integer types during batch copies (2020-09-30 14:24:54 
-0400)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2020-10-15

for you to fetch changes up to 214bba50616f65264dfc30d095daef3ab7500f52:

  drm/i915: Set all unused color plane offsets to ~0xfff again (2020-10-12 
14:23:22 -0400)


- Set all unused color plane offsets to ~0xfff again (Ville)
- Fix TGL DKL PHY DP vswing handling (Ville)


Ville Syrjälä (2):
  drm/i915: Fix TGL DKL PHY DP vswing handling
  drm/i915: Set all unused color plane offsets to ~0xfff again

 drivers/gpu/drm/i915/display/intel_ddi.c |  2 +-
 drivers/gpu/drm/i915/display/intel_display.c | 17 +
 2 files changed, 6 insertions(+), 13 deletions(-)
___
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[PULL] drm-intel-next-fixes

2020-10-02 Thread Rodrigo Vivi
Hi Dave and Daniel,

Here goes our first next-fixes. Please be aware this includes
both drm-intel-next and drm-intel-gt-next.

Also, most of patches from drm-intel-gt-next were accumulated
for not being part of current drm-intel-fixes flow while we
are defining the new split and flow.

So, there are many important fixes for the next and current release
and also for previous stable branches.

drm-intel-next-fixes-2020-10-02:

Thanks,
Rodrigo.

Propagated from drm-intel-next-queued:
- Fix CRTC state checker (Ville)

Propated from drm-intel-gt-next:
- Avoid implicit vmpa for highmem on 32b (Chris)
- Prevent PAT attriutes for writecombine if CPU doesn't support PAT (Chris)
- Clear the buffer pool age before use. (Chris)
- Fix error code (Dan)
- Break up error capture compression loops (Chris)
- Fix uninitialized variable in context_create_request (Maarten)
- Check for errors on i915_vm_alloc_pt_stash to avoid NULL dereference (Matt)
- Serialize debugfs i915_gem_objects with ctx->mutex (Chris)
- Fix a rebase mistake caused during drm-intel-gt-next creation (Chris)
- Hold request reference for canceling an active context (Chris)
- Heartbeats fixes (Chris)
- Use usigned during batch copies (Chris)
The following changes since commit 32e4d9df60f71d641fbe628a9afbe2f44d7e9a37:

  agp: use semicolons rather than commas to separate statements (2020-09-28 
06:06:52 +1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2020-10-02

for you to fetch changes up to c60b93cd4862d108214a14e655358ea714d7a12a:

  drm/i915: Avoid mixing integer types during batch copies (2020-09-30 14:24:54 
-0400)


Propagated from drm-intel-next-queued:
- Fix CRTC state checker (Ville)

Propated from drm-intel-gt-next:
- Avoid implicit vmpa for highmem on 32b (Chris)
- Prevent PAT attriutes for writecombine if CPU doesn't support PAT (Chris)
- Clear the buffer pool age before use. (Chris)
- Fix error code (Dan)
- Break up error capture compression loops (Chris)
- Fix uninitialized variable in context_create_request (Maarten)
- Check for errors on i915_vm_alloc_pt_stash to avoid NULL dereference (Matt)
- Serialize debugfs i915_gem_objects with ctx->mutex (Chris)
- Fix a rebase mistake caused during drm-intel-gt-next creation (Chris)
- Hold request reference for canceling an active context (Chris)
- Heartbeats fixes (Chris)
- Use usigned during batch copies (Chris)


Chris Wilson (11):
  drm/i915/gem: Avoid implicit vmap for highmem on x86-32
  drm/i915/gem: Prevent using pgprot_writecombine() if PAT is not supported
  drm/i915/gt: Clear the buffer pool age before use
  drm/i915: Break up error capture compression loops with cond_resched()
  drm/i915/gem: Serialise debugfs i915_gem_objects with ctx->mutex
  drm/i915: Redo "Remove i915_request.lock requirement for execution 
callbacks"
  drm/i915/gem: Hold request reference for canceling an active context
  drm/i915: Cancel outstanding work after disabling heartbeats on an engine
  drm/i915/gt: Always send a pulse down the engine after disabling heartbeat
  drm/i915/gem: Always test execution status on closing the context
  drm/i915: Avoid mixing integer types during batch copies

Dan Carpenter (1):
  drm/i915: Fix an error code i915_gem_object_copy_blt()

Maarten Lankhorst (1):
  drm/i915: Fix uninitialised variable in intel_context_create_request.

Matthew Auld (1):
  drm/i915: check i915_vm_alloc_pt_stash for errors

Ville Syrjälä (1):
  drm/i915: Fix state checker hw.active/hw.enable readout

 drivers/gpu/drm/i915/display/intel_display.c |  15 ++--
 drivers/gpu/drm/i915/gem/i915_gem_context.c  |  73 +++-
 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c   |   7 +-
 drivers/gpu/drm/i915/gem/i915_gem_object_blt.c   |   2 +-
 drivers/gpu/drm/i915/gem/i915_gem_pages.c|  30 ++-
 drivers/gpu/drm/i915/gt/intel_context.c  |   1 +
 drivers/gpu/drm/i915/gt/intel_engine.h   |   9 ++
 drivers/gpu/drm/i915/gt/intel_engine_heartbeat.c | 106 ++-
 drivers/gpu/drm/i915/gt/intel_gt_buffer_pool.c   |   2 +
 drivers/gpu/drm/i915/i915_cmd_parser.c   |  10 +--
 drivers/gpu/drm/i915/i915_debugfs.c  |   2 +
 drivers/gpu/drm/i915/i915_drv.h  |   4 +-
 drivers/gpu/drm/i915/i915_gpu_error.c|   3 +
 drivers/gpu/drm/i915/i915_request.c  |  17 ++--
 drivers/gpu/drm/i915/i915_vma.c  |   8 +-
 15 files changed, 175 insertions(+), 114 deletions(-)
___
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [PULL] drm-intel-next-fixes

2020-08-12 Thread Jani Nikula
On Mon, 10 Aug 2020, Dave Airlie  wrote:
> Like this stuff has been getting past me for years but I'm not happy
> about it anymore, I'm going to just be grumpy asshole going forward.
> If we introduced scheduler races in linux-next, I want to see reverts,
> and reverts only until we stopped introducing them.

I'll redo the fixes once we have dinq sorted out.

BR,
Jani.

-- 
Jani Nikula, Intel Open Source Graphics Center
___
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [PULL] drm-intel-next-fixes

2020-08-10 Thread Dave Airlie
On Fri, 31 Jul 2020 at 02:26, Joonas Lahtinen
 wrote:
>
> Hi Dave & Daniel,
>
> (Covering for Jani here for drm-intel-next-fixes)
>
> 5 new commits over drm-intel-next here.
>
> Fix for KASAN detected race condition and linux-next scheduler
> WARNs. Patch to avoid IRQ spinlock and Cc: stable PMU refcount
> update.
>
> CI machinery needed some kicking, so results didn't appear
> at first. BAT now passed, shards should shortly be availabl
>
> CI_DINF_202 at 
> https://intel-gfx-ci.01.org/tree/drm-intel-next-fixes/combined-alt.html?
>

I've been sitting on this, but I really am having trouble convincing
myself to pull it.

I've pulled it 2-3 times now, looked at it a few times, unpulled it.

drm/i915: Be wary of data races when reading the active execlists

To me reads, like we avoided locking, we tried to fly too close to the
sun, it burned us and we fell back to earth. Instead of not flying too
close to the sun, we just stuck some bandaids on the wings.

drm/i915: Remove i915_request.lock requirement for execution callbacks

at least it stops opencoding an __llist_add function that was likely
dubious to begin with, but I'm having trouble convincing myself this
is a "fix" for anything other than we dug a hole, CI maybe coughed a
bit, keep digging.

drm/i915: Filter wake_flags passed to default_wake_function

I replied to elsewhere, but the whole (pos->func ==
autoremove_wake_function) idiom just seems wrong, I'd probably have to
point it out to Linus to ask what is right, but we already do it
elsewhere in the file, makes me wonder who reviewed this in the first
place.

Like this stuff has been getting past me for years but I'm not happy
about it anymore, I'm going to just be grumpy asshole going forward.
If we introduced scheduler races in linux-next, I want to see reverts,
and reverts only until we stopped introducing them.

drm/i915: Copy default modparams to mock i915_device
drm/i915: Provide the perf pmu.module

are probably acceptable.

Dave.





> Regards, Joonas
>
> ***
>
> drm-intel-next-fixes-2020-07-30-1:
>
> - Fixes for linux-next introduced scheduler races
> - Fix for KASAN race in active execlists
> - Fix for previous breadcrumb breadcrumb code to avoid IRQ spinlock
> - Cc: stable patch for PMU refcount
>
> The following changes since commit d524b87f77364db096855d7eb714ffacec974ddf:
>
>   drm/i915: Update DRIVER_DATE to 20200702 (2020-07-02 21:25:28 +0300)
>
> are available in the Git repository at:
>
>   git://anongit.freedesktop.org/drm/drm-intel 
> tags/drm-intel-next-fixes-2020-07-30-1
>
> for you to fetch changes up to 6bd0b413618ffb50f900ec770283d8c2217d069f:
>
>   drm/i915: Filter wake_flags passed to default_wake_function (2020-07-30 
> 15:33:37 +0300)
>
> 
> - Fixes for linux-next introduced scheduler races
> - Fix for KASAN race in active execlists
> - Fix for previous breadcrumb breadcrumb code to avoid IRQ spinlock
> - Cc: stable patch for PMU refcount
>
> 
> Abdiel Janulgue (2):
>   drm/i915/dg1: add initial DG-1 definitions
>   drm/i915/dg1: Add DG1 PCI IDs
>
> Anshuman Gupta (1):
>   drm/i915/hdcp: Update CP as per the kernel internal state
>
> Anusha Srivatsa (1):
>   drm/i915/dg1: Remove SHPD_FILTER_CNT register programming
>
> Chris Wilson (27):
>   drm/i915/gem: Only revoke the GGTT mmappings on aperture detiling 
> changes
>   drm/i915/gem: Only revoke mmap handlers if active
>   drm/i915/gem: Drop forced struct_mutex from shrinker_taints_mutex
>   drm/i915: Also drop vm.ref along error paths for vma construction
>   drm/i915/gem: Split the context's obj:vma lut into its own mutex
>   drm/i915: Export ppgtt_bind_vma
>   drm/i915/gt: Pin the rings before marking active
>   drm/i915: Update dma-attributes for our sg DMA
>   drm/i915/gem: Unpin idle contexts from kswapd reclaim
>   drm/i915/gt: Replace opencoded i915_gem_object_pin_map()
>   drm/i915: Release shortlived maps of longlived objects
>   drm/i915: Remove i915_gem_object_get_dirty_page()
>   drm/i915/gt: Optimise aliasing-ppgtt allocations
>   drm/i915/selftest: Check that GPR are restored across noa_wait
>   drm/i915/gt: Be defensive in the face of false CS events
>   drm/i915: Pull printing GT capabilities on error to err_print_gt
>   drm/i915/gt: Always reset the engine, even if inactive, on execlists 
> failure
>   drm/i915/gt: Ignore irq enabling on the virtual engines
>   drm/i915/gt: Only swap to a random sibling once upon creation
>   drm/i915: Skip signaling a signaled request
>   drm/i915/gt: Trace placement of timeline HWSP
>   drm/i915/gt: Assert the kernel context is using the HWSP
>   drm/i915: Provide the perf pmu.module
>   drm/i915: Be wary of data races when reading the active execlists
>   drm/i915: Remove i915_request.lock requirement for execution callbacks

[PULL] drm-intel-next-fixes

2020-07-30 Thread Joonas Lahtinen
Hi Dave & Daniel,

(Covering for Jani here for drm-intel-next-fixes)

5 new commits over drm-intel-next here.

Fix for KASAN detected race condition and linux-next scheduler
WARNs. Patch to avoid IRQ spinlock and Cc: stable PMU refcount
update.

CI machinery needed some kicking, so results didn't appear
at first. BAT now passed, shards should shortly be availabl

CI_DINF_202 at 
https://intel-gfx-ci.01.org/tree/drm-intel-next-fixes/combined-alt.html?

Regards, Joonas

***

drm-intel-next-fixes-2020-07-30-1:

- Fixes for linux-next introduced scheduler races
- Fix for KASAN race in active execlists
- Fix for previous breadcrumb breadcrumb code to avoid IRQ spinlock
- Cc: stable patch for PMU refcount

The following changes since commit d524b87f77364db096855d7eb714ffacec974ddf:

  drm/i915: Update DRIVER_DATE to 20200702 (2020-07-02 21:25:28 +0300)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2020-07-30-1

for you to fetch changes up to 6bd0b413618ffb50f900ec770283d8c2217d069f:

  drm/i915: Filter wake_flags passed to default_wake_function (2020-07-30 
15:33:37 +0300)


- Fixes for linux-next introduced scheduler races
- Fix for KASAN race in active execlists
- Fix for previous breadcrumb breadcrumb code to avoid IRQ spinlock
- Cc: stable patch for PMU refcount


Abdiel Janulgue (2):
  drm/i915/dg1: add initial DG-1 definitions
  drm/i915/dg1: Add DG1 PCI IDs

Anshuman Gupta (1):
  drm/i915/hdcp: Update CP as per the kernel internal state

Anusha Srivatsa (1):
  drm/i915/dg1: Remove SHPD_FILTER_CNT register programming

Chris Wilson (27):
  drm/i915/gem: Only revoke the GGTT mmappings on aperture detiling changes
  drm/i915/gem: Only revoke mmap handlers if active
  drm/i915/gem: Drop forced struct_mutex from shrinker_taints_mutex
  drm/i915: Also drop vm.ref along error paths for vma construction
  drm/i915/gem: Split the context's obj:vma lut into its own mutex
  drm/i915: Export ppgtt_bind_vma
  drm/i915/gt: Pin the rings before marking active
  drm/i915: Update dma-attributes for our sg DMA
  drm/i915/gem: Unpin idle contexts from kswapd reclaim
  drm/i915/gt: Replace opencoded i915_gem_object_pin_map()
  drm/i915: Release shortlived maps of longlived objects
  drm/i915: Remove i915_gem_object_get_dirty_page()
  drm/i915/gt: Optimise aliasing-ppgtt allocations
  drm/i915/selftest: Check that GPR are restored across noa_wait
  drm/i915/gt: Be defensive in the face of false CS events
  drm/i915: Pull printing GT capabilities on error to err_print_gt
  drm/i915/gt: Always reset the engine, even if inactive, on execlists 
failure
  drm/i915/gt: Ignore irq enabling on the virtual engines
  drm/i915/gt: Only swap to a random sibling once upon creation
  drm/i915: Skip signaling a signaled request
  drm/i915/gt: Trace placement of timeline HWSP
  drm/i915/gt: Assert the kernel context is using the HWSP
  drm/i915: Provide the perf pmu.module
  drm/i915: Be wary of data races when reading the active execlists
  drm/i915: Remove i915_request.lock requirement for execution callbacks
  drm/i915: Copy default modparams to mock i915_device
  drm/i915: Filter wake_flags passed to default_wake_function

Colin Ian King (1):
  drm/i915/selftest: fix an error return path where err is not being set

Dan Carpenter (1):
  drm/i915/selftest: Fix an error code in live_noa_gpr()

Daniele Ceraolo Spurio (8):
  drm/i915: Convert device_info to uncore/de_read
  drm/i915: Use the gt in HAS_ENGINE
  drm/i915: Move engine-related mmio init to engines_init_mmio
  drm/i915: Move the engine mask to intel_gt_info
  drm/i915: Introduce gt_init_mmio
  drm/i915/sseu: Move sseu detection and dump to intel_sseu
  drm/i915: gt-fy sseu debugfs
  drm/i915: Move sseu debugfs under gt/

Flavio Suligoi (1):
  drm/i915: Fix spelling mistake in i915_reg.h

Jani Nikula (1):
  drm/i915: Update DRIVER_DATE to 20200715

José Roberto de Souza (6):
  drm/i915/display: Implement new combo phy initialization step
  drm/i915/ehl: Add new PCI ids
  drm/i915/tgl: Implement WAs 18011464164 and 22010931296
  drm/i915/display: Replace drm_i915_private in voltage swing functions by 
intel_encoder
  drm/i915/display: Remove port and phy from voltage swing functions
  drm/i915/bios: Parse HOBL parameter

Lee Shawn C (1):
  drm/i915/mst: filter out the display mode exceed sink's capability

Lucas De Marchi (4):
  drm/i915/display: prefer dig_port to reference intel_digital_port
  drm/i915: do not read swizzle info if unavailable
  drm/i915/dg1: add support for the master unit interrupt
  drm/i915/dg1: Add fake PCH

Lyude Paul (1):
  drm/probe_helper: Add drm

Re: [PULL] drm-intel-next-fixes

2020-06-10 Thread Joonas Lahtinen
Quoting Joonas Lahtinen (2020-06-10 12:37:00)
> Hi Dave & Daniel,
> 
> Sending this one early for it to hopefully make it in before -rc1.
> 
> Two important fixes: OOPS fix that was missing "Fixes:" tag and
> not picked up earlier. Also fix for a use-after-free in cmdparser.
> 
> Additional fixup to module param types.

Oh, the CI results:

https://intel-gfx-ci.01.org/tree/drm-intel-next-fixes/combined-alt.html?

CI_DINF_195 was drm-next
CI_DINF_197 is this PR

The extra yellow cells due to FIFO underruns are due to a
concurrent CI update that started flagging the issues. So
no regression, just existing long-running issue being
highlighted.

Regards, Joonas

> Regards, Joonas
> 
> ***
> 
> drm-intel-next-fixes-2020-06-10:
> 
> - Avoid use after free in cmdparser
> - Avoid NULL dereference when probing all display encoders
> - Fixup to module parameter type
> 
> The following changes since commit 8d286e2ff4400d313955b4203fc640ca6fd9228b:
> 
>   Merge tag 'drm-intel-next-fixes-2020-06-04' of 
> git://anongit.freedesktop.org/drm/drm-intel into drm-next (2020-06-08 
> 11:59:57 +1000)
> 
> are available in the Git repository at:
> 
>   git://anongit.freedesktop.org/drm/drm-intel 
> tags/drm-intel-next-fixes-2020-06-10
> 
> for you to fetch changes up to 3680c2e9f4254d1f033bf00f540e47a51f8f996b:
> 
>   drm/i915/display: Only query DP state of a DDI encoder (2020-06-09 14:47:05 
> +0300)
> 
> 
> - Avoid use after free in cmdparser
> - Avoid NULL dereference when probing all display encoders
> - Fixup to module parameter type
> 
> 
> Chris Wilson (2):
>   drm/i915/gem: Mark the buffer pool as active for the cmdparser
>   drm/i915/display: Only query DP state of a DDI encoder
> 
> Jani Nikula (1):
>   drm/i915/params: fix i915.reset module param type
> 
>  drivers/gpu/drm/i915/display/intel_dp.c|  3 ++
>  drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c | 56 
> ++
>  drivers/gpu/drm/i915/i915_params.c |  2 +-
>  3 files changed, 52 insertions(+), 9 deletions(-)
___
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[PULL] drm-intel-next-fixes

2020-06-10 Thread Joonas Lahtinen
Hi Dave & Daniel,

Sending this one early for it to hopefully make it in before -rc1.

Two important fixes: OOPS fix that was missing "Fixes:" tag and
not picked up earlier. Also fix for a use-after-free in cmdparser.

Additional fixup to module param types.

Regards, Joonas

***

drm-intel-next-fixes-2020-06-10:

- Avoid use after free in cmdparser
- Avoid NULL dereference when probing all display encoders
- Fixup to module parameter type

The following changes since commit 8d286e2ff4400d313955b4203fc640ca6fd9228b:

  Merge tag 'drm-intel-next-fixes-2020-06-04' of 
git://anongit.freedesktop.org/drm/drm-intel into drm-next (2020-06-08 11:59:57 
+1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2020-06-10

for you to fetch changes up to 3680c2e9f4254d1f033bf00f540e47a51f8f996b:

  drm/i915/display: Only query DP state of a DDI encoder (2020-06-09 14:47:05 
+0300)


- Avoid use after free in cmdparser
- Avoid NULL dereference when probing all display encoders
- Fixup to module parameter type


Chris Wilson (2):
  drm/i915/gem: Mark the buffer pool as active for the cmdparser
  drm/i915/display: Only query DP state of a DDI encoder

Jani Nikula (1):
  drm/i915/params: fix i915.reset module param type

 drivers/gpu/drm/i915/display/intel_dp.c|  3 ++
 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c | 56 ++
 drivers/gpu/drm/i915/i915_params.c |  2 +-
 3 files changed, 52 insertions(+), 9 deletions(-)
___
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[PULL] drm-intel-next-fixes

2020-06-04 Thread Joonas Lahtinen
Hi Dave & Daniel,

Fixes use-after free on display global state tracking.

Then the removal of write bits from sysfs files
where changed value is not reflected anywhere.

Two scheduler fixes with deps that are Cc: stable.

Includes the GVT pull which has two build warning fixes
at this time.

CI_DINF_194 at 
https://intel-gfx-ci.01.org/tree/drm-intel-next-fixes/combined-alt.html?

Regards, Joonas

***

drm-intel-next-fixes-2020-06-04:

- Includes gvt-next-fixes-2020-05-28
- Use after free fix for display global state.
- Whitelisting context-local timestamp on Gen9
  and two scheduler fixes with deps (Cc: stable)
- Removal of write flag from sysfs files where
  ineffective

The following changes since commit d96536f0fe699729a0974eb5b65eb0d87cc747e1:

  drm/i915: Fix AUX power domain toggling across TypeC mode resets (2020-05-19 
17:54:07 +0300)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2020-06-04

for you to fetch changes up to f8665d797b1ce9bd81f7ed7744ef3a18d6b186ea:

  Merge tag 'gvt-next-fixes-2020-05-28' of https://github.com/intel/gvt-linux 
into drm-intel-next-fixes (2020-06-02 16:45:06 +0300)


- Includes gvt-next-fixes-2020-05-28
- Use after free fix for display global state.
- Whitelisting context-local timestamp on Gen9
  and two scheduler fixes with deps (Cc: stable)
- Removal of write flag from sysfs files where
  ineffective


Aishwarya Ramakrishnan (1):
  drm/i915/gvt: Use ARRAY_SIZE for vgpu_types

Chris Wilson (9):
  drm/i915: Don't set queue-priority hint when supressing the reschedule
  drm/i915/gt: Remove errant assertion in __intel_context_do_pin
  drm/i915: Disable semaphore inter-engine sync without timeslicing
  drm/i915: Avoid using rq->engine after free during i915_fence_release
  drm/i915/gem: Avoid iterating an empty list
  drm/i915: Reorder await_execution before await_request
  drm/i915/gt: Do not schedule normal requests immediately along virtual
  drm/i915: Check for awaits on still currently executing requests
  drm/i915: Whitelist context-local timestamp in the gen9 cmdparser

Jani Nikula (2):
  drm/i915/params: don't expose inject_probe_failure in debugfs
  drm/i915/params: fix i915.fake_lmem_start module param sysfs permissions

Joonas Lahtinen (1):
  Merge tag 'gvt-next-fixes-2020-05-28' of 
https://github.com/intel/gvt-linux into drm-intel-next-fixes

Nathan Chancellor (1):
  drm/i915: Mark check_shadow_context_ppgtt as maybe unused

Ville Syrjälä (1):
  drm/i915: Fix global state use-after-frees with a refcount

 drivers/gpu/drm/i915/display/intel_global_state.c |  45 ++-
 drivers/gpu/drm/i915/display/intel_global_state.h |   3 +
 drivers/gpu/drm/i915/gem/i915_gem_context.c   |   4 +-
 drivers/gpu/drm/i915/gem/i915_gem_shmem.c |  15 +-
 drivers/gpu/drm/i915/gt/intel_context.c   |   2 -
 drivers/gpu/drm/i915/gvt/vgpu.c   |   2 +-
 drivers/gpu/drm/i915/i915_cmd_parser.c|   4 +
 drivers/gpu/drm/i915/i915_params.c|   2 +-
 drivers/gpu/drm/i915/i915_params.h|   2 +-
 drivers/gpu/drm/i915/i915_request.c   | 359 ++
 drivers/gpu/drm/i915/i915_scheduler.c |  16 +-
 11 files changed, 295 insertions(+), 159 deletions(-)
___
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[PULL] drm-intel-next-fixes

2020-05-28 Thread Joonas Lahtinen
Hi Dave & Daniel,

Two bigger fixes to corner case kernel access faults
and three workload scheduling fixups this week.

CI_DINF_191 at:
https://intel-gfx-ci.01.org/tree/drm-intel-next-fixes/combined-alt.html?

I got gvt-next-fixes pull today, I'll pull it next week so it
has time to run through CI.

PS. Update on igt@i915_selftest@live@gt_pm is that subtest was
updated and the added part is failing for now. The granularity
of the kernel selftests is short one level from normal IGT due
to nature of how they integrate to CI.

Regards, Joonas

***

drm-intel-next-fixes-2020-05-28:

One empty list iteration bug (Cc: stable), One use after free fix
and three workload scheduling fixups.

The following changes since commit d96536f0fe699729a0974eb5b65eb0d87cc747e1:

  drm/i915: Fix AUX power domain toggling across TypeC mode resets (2020-05-19 
17:54:07 +0300)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2020-05-28

for you to fetch changes up to 757a9395f33c51c4e6eff2c7c0fbd50226a58224:

  drm/i915/gem: Avoid iterating an empty list (2020-05-25 15:40:43 +0300)


One empty list iteration bug (Cc: stable), One use after free fix
and three workload scheduling fixups.


Chris Wilson (5):
  drm/i915: Don't set queue-priority hint when supressing the reschedule
  drm/i915/gt: Remove errant assertion in __intel_context_do_pin
  drm/i915: Disable semaphore inter-engine sync without timeslicing
  drm/i915: Avoid using rq->engine after free during i915_fence_release
  drm/i915/gem: Avoid iterating an empty list

 drivers/gpu/drm/i915/gem/i915_gem_context.c |  4 ++--
 drivers/gpu/drm/i915/gem/i915_gem_shmem.c   | 15 -
 drivers/gpu/drm/i915/gt/intel_context.c |  2 --
 drivers/gpu/drm/i915/i915_request.c | 35 +++--
 drivers/gpu/drm/i915/i915_scheduler.c   | 16 ++---
 5 files changed, 52 insertions(+), 20 deletions(-)
___
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[PULL] drm-intel-next-fixes

2020-05-20 Thread Joonas Lahtinen
Hi Dave & Daniel,

On top of the drm-intel-next PR one fix for TypeC mode resets and
two compile time warning fixes.

CI results for your viewing:

https://intel-gfx-ci.01.org/tree/drm-intel-next-fixes/combined-alt.html

CI_DINF_189 = drm-intel-next pull
CI_DINF_190 = this pull (3 patches)

There is one regression in drm-intel-next baseline due to a bad
merge: igt@i915_selftest@live@gt_pm fails on TGL. The fix will
be in next weeks PR:

https://patchwork.freedesktop.org/patch/366280/?series=77448&rev=1

Regards, Joonas

***

drm-intel-next-fixes-2020-05-20:

Fix for TypeC power domain toggling on resets (Cc: stable).
Two compile time warning fixes.

The following changes since commit 230982d8d8df7f9d9aa216840ea2db1df6ad5d37:

  drm/i915: Update DRIVER_DATE to 20200430 (2020-04-30 11:13:21 +0300)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2020-05-20

for you to fetch changes up to d96536f0fe699729a0974eb5b65eb0d87cc747e1:

  drm/i915: Fix AUX power domain toggling across TypeC mode resets (2020-05-19 
17:54:07 +0300)


Fix for TypeC power domain toggling on resets (Cc: stable).
Two compile time warning fixes.


Arnd Bergmann (1):
  drm/i915: avoid unused scale_user_to_hw() warning

Chris Wilson (40):
  drm/i915/gt: Move the batch buffer pool from the engine to the gt
  drm/i915/pmu: Keep a reference to module while active
  drm/i915/gt: Make timeslicing an explicit engine property
  drm/i915: Implement vm_ops->access for gdb access into mmaps
  drm/i915/gem: Use chained reloc batches
  drm/i915/gem: Use a single chained reloc batches for a single execbuf
  drm/i915/gem: Try an alternate engine for relocations
  drm/i915/gt: Sanitize RPS interrupts upon resume
  drm/i915/gem: Lazily acquire the device wakeref for freeing objects
  drm/i915: Allow some leniency in PCU reads
  drm/i915/gem: Specify address type for chained reloc batches
  drm/i915/gem: Implement legacy MI_STORE_DATA_IMM
  drm/i915/display: Warn if the FBC is still writing to stolen on removal
  drm/i915/selftests: Repeat the rps clock frequency measurement
  drm/i915/gt: Small tidy of gen8+ breadcrumb emission
  drm/i915/execlists: Record the active CCID from before reset
  drm/i915/gt: Stop holding onto the pinned_default_state
  drm/i915: Propagate error from completed fences
  drm/i915: Mark concurrent submissions with a weak-dependency
  drm/i915: Remove wait priority boosting
  drm/i915: Ignore submit-fences on the same timeline
  drm/i915: Pull waiting on an external dma-fence into its routine
  drm/i915/gt: Improve precision on defer_request assert
  drm/i915: Prevent using semaphores to chain up to external fences
  drm/i915: Replace the hardcoded I915_FENCE_TIMEOUT
  drm/i915/gt: Mark up the racy read of execlists->context_tag
  drm/i915: Tidy awaiting on dma-fences
  drm/i915: Emit await(batch) before MI_BB_START
  drm/i915/selftests: Always flush before unpining after writing
  drm/i915/gt: Restore Cherryview back to full-ppgtt
  drm/i915: Handle idling during i915_gem_evict_something busy loops
  drm/i915/gt: Reset execlists registers before HWSP
  drm/i915/gt: Suspend tasklets before resume sanitization
  drm/i915/gem: Remove redundant exec_fence
  drm/i915: Mark the addition of the initial-breadcrumb in the request
  drm/i915: Drop I915_RESET_TIMEOUT and friends
  drm/i915: Drop no-semaphore boosting
  drm/i915: Show per-engine default property values in sysfs
  drm/i915/selftests: Always call the provided engine->emit_init_breadcrumb
  drm/i915/gt: Transfer old virtual breadcrumbs to irq_worker

Gustavo A. R. Silva (1):
  drm/i915: Replace zero-length array with flexible-array

Gwan-gyeong Mun (14):
  video/hdmi: Add Unpack only function for DRM infoframe
  drm/i915/dp: Read out DP SDPs
  drm: Add logging function for DP VSC SDP
  drm/i915: Include HDMI DRM infoframe in the crtc state dump
  drm/i915: Include DP HDR Metadata Infoframe SDP in the crtc state dump
  drm/i915: Include DP VSC SDP in the crtc state dump
  drm/i915: Program DP SDPs with computed configs
  drm/i915: Add state readout for DP HDR Metadata Infoframe SDP
  drm/i915: Add state readout for DP VSC SDP
  drm/i915: Fix enabled infoframe states of lspcon
  drm/i915: Program DP SDPs on pipe updates
  drm/i915: Stop sending DP SDPs on ddi disable
  drm/i915/dp: Add compute routine for DP PSR VSC SDP
  drm/i915/psr: Use new DP VSC SDP compute routine on PSR

Imre Deak (2):
  drm/i915/tgl+: Fix interrupt handling for DP AUX transactions
  drm/i915: Fix AUX power domain toggling across TypeC mode resets

Joonas Lahtinen (3):
  Merge tag 'gv

[PULL] drm-intel-next-fixes

2020-04-08 Thread Rodrigo Vivi
Hi Dave and Daniel,

Couple display fixes, including vswing table and display TypeC
port in TBT mode fix for ICL+
A few GT/GEM alloc/reloc fixes with one to flush all the
reloc_gpu batch which has cc:stable #5.2

Here goes drm-intel-next-fixes-2020-04-08:

- Flush all the reloc_gpu batch (Chris)
- Ignore readonly failures when updating relocs (Chris)
- Fill all the unused space in the GGTT (Chris)
- Return the right vswing table (Jose)
- Don't enable DDI IO power on a TypeC port in TBT mode for ICL+ (Imre)

Thanks,
Rodrigo.

The following changes since commit 17d0c1062a0c60e17c96538adf4a84c208930d9d:

  Merge tag 'gvt-next-fixes-2020-03-31' of https://github.com/intel/gvt-linux 
into drm-intel-next-fixes (2020-03-31 09:25:15 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2020-04-08

for you to fetch changes up to 1aaea8476d9f014667d2cb24819f9bcaf3ebb7a4:

  drm/i915/gem: Flush all the reloc_gpu batch (2020-04-06 10:31:38 -0700)


- Flush all the reloc_gpu batch (Chris)
- Ignore readonly failures when updating relocs (Chris)
- Fill all the unused space in the GGTT (Chris)
- Return the right vswing table (Jose)
- Don't enable DDI IO power on a TypeC port in TBT mode for ICL+ (Imre)


Chris Wilson (3):
  drm/i915/gt: Fill all the unused space in the GGTT
  drm/i915/gem: Ignore readonly failures when updating relocs
  drm/i915/gem: Flush all the reloc_gpu batch

Imre Deak (1):
  drm/i915/icl+: Don't enable DDI IO power on a TypeC port in TBT mode

José Roberto de Souza (1):
  drm/i915/dp: Return the right vswing tables

 drivers/gpu/drm/i915/display/intel_ddi.c   | 11 +---
 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c | 14 +-
 drivers/gpu/drm/i915/gt/intel_ggtt.c   | 37 +++---
 3 files changed, 42 insertions(+), 20 deletions(-)
___
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[PULL] drm-intel-next-fixes

2020-04-02 Thread Rodrigo Vivi
Hi Dave and Daniel,

Here goes drm-intel-next-fixes-2020-04-02:

Only gvt fixes on this round:

- Fix non-privilege access warning (Tina)
- Fix display port type (Tina)
- BDW cmd parser missed SWTESS_BASE_ADDRESS (Yan)
- Bypass length check of LRI (Yan)
- Fix one klocwork warning (Tina)

Thanks,
Rodrigo.

The following changes since commit 2bdd4c28baff29163808677a70942de2b45f17dc:

  drm/i915/display: Fix mode private_flags comparison at atomic_check 
(2020-03-26 10:21:30 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2020-04-02

for you to fetch changes up to 17d0c1062a0c60e17c96538adf4a84c208930d9d:

  Merge tag 'gvt-next-fixes-2020-03-31' of https://github.com/intel/gvt-linux 
into drm-intel-next-fixes (2020-03-31 09:25:15 -0700)


Only gvt fixes on this round:

- Fix non-privilege access warning (Tina)
- Fix display port type (Tina)
- BDW cmd parser missed SWTESS_BASE_ADDRESS (Yan)
- Bypass length check of LRI (Yan)
- Fix one klocwork warning (Tina)


Rodrigo Vivi (1):
  Merge tag 'gvt-next-fixes-2020-03-31' of 
https://github.com/intel/gvt-linux into drm-intel-next-fixes

Tina Zhang (3):
  drm/i915/gvt: Add some regs to force-to-nonpriv whitelist
  drm/i915/gvt: Fix display port type issue
  drm/i915/gvt: Fix klocwork issues about data size

Yan Zhao (2):
  drm/i915/gvt: add support to command SWTESS_BASE_ADDRESS
  drm/i915/gvt: do not check len & max_len for lri

 drivers/gpu/drm/i915/gvt/cmd_parser.c | 16 
 drivers/gpu/drm/i915/gvt/display.c|  6 +++---
 drivers/gpu/drm/i915/gvt/handlers.c   |  8 ++--
 drivers/gpu/drm/i915/gvt/scheduler.c  |  4 ++--
 4 files changed, 15 insertions(+), 19 deletions(-)
___
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[PULL] drm-intel-next-fixes

2020-03-27 Thread Rodrigo Vivi
Hi Dave and Daniel,

Here goes drm-intel-next-fixes-2020-03-27:

Fixes for instability on Baytrail and Haswell;
Ice Lake RPS; Sandy Bridge RC6; and few others around
GT hangchec/reset; livelock; and a null dereference.

Thanks,
Rodrigo.

The following changes since commit cb7adfd6ad12a11902ebe374bec7fd4efa2cec1c:

  Merge tag 'mediatek-drm-next-5.7' of 
https://github.com/ckhu-mediatek/linux.git-tags into drm-next (2020-03-20 
13:08:38 +1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2020-03-27

for you to fetch changes up to 2bdd4c28baff29163808677a70942de2b45f17dc:

  drm/i915/display: Fix mode private_flags comparison at atomic_check 
(2020-03-26 10:21:30 -0700)


Fixes for instability on Baytrail and Haswell;
Ice Lake RPS; Sandy Bridge RC6; and few others around
GT hangchec/reset; livelock; and a null dereference.


Chris Wilson (8):
  drm/i915/gt: Restrict gen7 w/a batch to Haswell
  drm/i915/gem: Check for a closed context when looking up an engine
  drm/i915: Use explicit flag to mark unreachable intel_context
  drm/i915/gt: Cancel a hung context if already closed
  drm/i915/gt: Treat idling as a RPS downclock event
  drm/i915: Avoid live-lock with i915_vma_parked()
  drm/i915/gt: Select the deepest available parking mode for rc6
  drm/i915/gt: Stage the transfer of the virtual breadcrumb

Uma Shankar (1):
  drm/i915/display: Fix mode private_flags comparison at atomic_check

Umesh Nerlige Ramappa (1):
  drm/i915/perf: Invalidate OA TLB on when closing perf stream

 drivers/gpu/drm/i915/display/intel_display.c|  4 ++--
 drivers/gpu/drm/i915/gem/i915_gem_context.c |  2 +-
 drivers/gpu/drm/i915/gem/i915_gem_context.h |  8 +--
 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c  |  2 +-
 drivers/gpu/drm/i915/gt/intel_context.c |  2 ++
 drivers/gpu/drm/i915/gt/intel_context.h |  5 +
 drivers/gpu/drm/i915/gt/intel_context_types.h   |  9 
 drivers/gpu/drm/i915/gt/intel_lrc.c | 20 -
 drivers/gpu/drm/i915/gt/intel_rc6.c | 10 -
 drivers/gpu/drm/i915/gt/intel_reset.c   |  5 +
 drivers/gpu/drm/i915/gt/intel_ring_submission.c |  2 +-
 drivers/gpu/drm/i915/gt/intel_rps.c | 13 +++
 drivers/gpu/drm/i915/gt/selftest_rc6.c  | 23 
 drivers/gpu/drm/i915/i915_perf.c|  8 +++
 drivers/gpu/drm/i915/i915_reg.h |  2 ++
 drivers/gpu/drm/i915/i915_vma.c | 29 -
 16 files changed, 108 insertions(+), 36 deletions(-)
___
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[PULL] drm-intel-next-fixes for v5.6-rc2

2020-02-13 Thread Jani Nikula

Hi Dave & Daniel -

Most of these were aimed at a "next fixes" pull already during the merge
window, but there were issues with the baseline I used, which resulted
in a lot of issues in CI. I've regenerated this stuff piecemeal now,
adding gradually to it, and it seems healthy now.

Due to the issues this is much bigger than I'd like. But it was
obviously necessary to take the time to ensure it's not garbage...

BR,
Jani.


The following changes since commit 9f880327160feb695de03caa29604883b0d00087:

  Merge tag 'amd-drm-next-5.6-2020-02-05' of 
git://people.freedesktop.org/~agd5f/linux into drm-next (2020-02-07 12:29:36 
+1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2020-02-13

for you to fetch changes up to 25ee1c3d624a5bcad4ee25f954559c565bc2:

  drm/i915: Mark the removal of the i915_request from the sched.link 
(2020-02-12 17:04:33 +0200)


drm/i915 fixes for v5.6-rc2


Chris Wilson (19):
  drm/i915/pmu: Correct the rc6 offset upon enabling
  drm/i915/gem: Take local vma references for the parser
  drm/i915/selftests: Add a mock i915_vma to the mock_ring
  drm/i915/gt: Use the BIT when checking the flags, not the index
  drm/i915/execlists: Leave resetting ring to intel_ring
  drm/i915/gem: Store mmap_offsets in an rbtree rather than a plain list
  drm/i915: Don't show the blank process name for internal/simulated errors
  drm/i915/gem: Detect overflow in calculating dumb buffer size
  drm/i915: Check activity on i915_vma after confirming pin_count==0
  drm/i915: Stub out i915_gpu_coredump_put
  drm/i915: Tighten atomicity of i915_active_acquire vs i915_active_release
  drm/i915/gt: Acquire ce->active before ce->pin_count/ce->pin_mutex
  drm/i915/gem: Tighten checks and acquiring the mmap object
  drm/i915: Keep track of request among the scheduling lists
  drm/i915/gt: Allow temporary suspension of inflight requests
  drm/i915/execlists: Offline error capture
  drm/i915/execlists: Take a reference while capturing the guilty request
  drm/i915/execlists: Reclaim the hanging virtual request
  drm/i915: Mark the removal of the i915_request from the sched.link

Igor Druzhinin (2):
  drm/i915/gvt: fix high-order allocation failure on late load
  drm/i915/gvt: more locking for ppgtt mm LRU list

Jani Nikula (1):
  Merge tag 'gvt-fixes-2020-02-12' of https://github.com/intel/gvt-linux 
into drm-intel-next-fixes

José Roberto de Souza (1):
  drm/i915: Fix preallocated barrier list append

Vandita Kulkarni (1):
  drm/i915/bios: Fix the timing parameters

Ville Syrjälä (2):
  drm/i915: Fix post-fastset modeset check for port sync
  drm/i915: Make a copy of the ggtt view for slave plane

Vivek Kasireddy (2):
  drm/i915/dsi: Lookup the i2c bus from ACPI NS only if CONFIG_ACPI=y (v2)
  drm/i915/dsi: Ensure that the ACPI adapter lookup overrides the bus num

Zhang Xiaoxu (1):
  drm/i915: Fix i915_error_state_store error defination

 drivers/gpu/drm/i915/display/intel_bios.c|   6 +-
 drivers/gpu/drm/i915/display/intel_display.c |  44 ++-
 drivers/gpu/drm/i915/display/intel_dsi_vbt.c |  50 ++--
 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c   |  37 ++-
 drivers/gpu/drm/i915/gem/i915_gem_mman.c | 129 ++---
 drivers/gpu/drm/i915/gem/i915_gem_object.c   |  18 +-
 drivers/gpu/drm/i915/gem/i915_gem_object.h   |  12 +-
 drivers/gpu/drm/i915/gem/i915_gem_object_types.h |   6 +-
 drivers/gpu/drm/i915/gt/intel_context.c  |  46 +--
 drivers/gpu/drm/i915/gt/intel_engine_cs.c|  13 +
 drivers/gpu/drm/i915/gt/intel_engine_types.h |   1 +
 drivers/gpu/drm/i915/gt/intel_lrc.c  | 354 ++-
 drivers/gpu/drm/i915/gt/mock_engine.c|  17 +-
 drivers/gpu/drm/i915/gt/selftest_lrc.c   | 258 +
 drivers/gpu/drm/i915/gvt/firmware.c  |   4 +-
 drivers/gpu/drm/i915/gvt/gtt.c   |   4 +
 drivers/gpu/drm/i915/i915_active.c   |  35 ++-
 drivers/gpu/drm/i915/i915_active.h   |   6 +
 drivers/gpu/drm/i915/i915_gem.c  |   5 +-
 drivers/gpu/drm/i915/i915_gpu_error.c|   2 +-
 drivers/gpu/drm/i915/i915_gpu_error.h|   7 +-
 drivers/gpu/drm/i915/i915_pmu.c  |  12 +
 drivers/gpu/drm/i915/i915_request.c  |   6 +-
 drivers/gpu/drm/i915/i915_request.h  |  60 
 drivers/gpu/drm/i915/i915_scheduler.c|  22 +-
 drivers/gpu/drm/i915/i915_vma.c  |  14 +-
 26 files changed, 990 insertions(+), 178 deletions(-)

-- 
Jani Nikula, Intel Open Source Graphics Center
___
dri-devel mailing list
[email protected]
https://

[PULL] drm-intel-next-fixes

2019-12-05 Thread Joonas Lahtinen
Hi Dave & Daniel,

Final one for 5.5-rc1.

A fix for EHL port D programming (DDI-D) and a couple of CI
fixes for GEM contexts.

This includes the GVT fixes PR with one command parser fix and
one WARN splat fix.

Regards, Joonas

***

drm-intel-next-fixes-2019-12-05:

- Includes gvt-next-fixes-2019-12-02 pull
- Fixes for CI spotted eadlock and a race condition in GEM contexts
- Fix for EHL port D programming

The following changes since commit 3cc44feb9861d2f5267af9b962ae92c5ea1b48fd:

  drm/i915: Reduce nested prepare_remote_context() to a trylock (2019-11-27 
10:12:19 +0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2019-12-05

for you to fetch changes up to 01bb630319337be15fc50c211126180198d4e157:

  drm/i915/ehl: Make icp_digital_port_connected() use phy instead of port 
(2019-12-03 13:06:05 +0200)


- Includes gvt-next-fixes-2019-12-02 pull
- Fixes for CI spotted eadlock and a race condition in GEM contexts
- Fix for EHL port D programming


Chris Wilson (1):
  drm/i915/gem: Take timeline->mutex to walk list-of-requests

Gao, Fred (2):
  drm/i915/gvt: Refine non privilege register address calucation
  drm/i915/gvt: Update force-to-nonpriv register whitelist

Joonas Lahtinen (1):
  Merge tag 'gvt-next-fixes-2019-12-02' of 
https://github.com/intel/gvt-linux into drm-intel-next-fixes

Matt Roper (1):
  drm/i915/ehl: Make icp_digital_port_connected() use phy instead of port

Zhenyu Wang (1):
  drm/i915/gvt: Fix cmd length check for MI_ATOMIC

 drivers/gpu/drm/i915/display/intel_dp.c | 12 +---
 drivers/gpu/drm/i915/gem/i915_gem_context.c |  4 ++--
 drivers/gpu/drm/i915/gvt/cmd_parser.c   |  6 +++---
 drivers/gpu/drm/i915/gvt/handlers.c |  5 +++--
 4 files changed, 13 insertions(+), 14 deletions(-)
___
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[PULL] drm-intel-next-fixes

2019-11-28 Thread Joonas Lahtinen
Hi Dave & Daniel,

Most importantly we have the fix to power regression that was
introduced by the security fixes. Then fix for query uAPI and
increase in request pre-emption timeout to accommodate super
heavy benchmarks.

Couple of display voltage programming fixes too.

Thanks to Chris for fixing the power regression on such tight schedule.

Regards, Joonas

***

drm-intel-next-fixes-2019-11-28:

- Important fix to uAPI alignment on query IOCTL
- Fixes for the power regression introduced by the previous security patches
- Avoid regressing super heavy benchmarks by increasing the default request 
pre-emption timeout from 100 ms to 640 ms to
- Resulting set of smaller fixes done while problem was inspected
- Display fixes for EHL voltage level programming and TGL DKL PHY vswing for 
HDMI

The following changes since commit 15b9cbb2c5e1cf22c13fe38bf513bab821b47630:

  Revert "drm/i915/gt: Wait for new requests in intel_gt_retire_requests()" 
(2019-11-22 17:24:22 +0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2019-11-28

for you to fetch changes up to 3cc44feb9861d2f5267af9b962ae92c5ea1b48fd:

  drm/i915: Reduce nested prepare_remote_context() to a trylock (2019-11-27 
10:12:19 +0200)


- Important fix to uAPI alignment on query IOCTL
- Fixes for the power regression introduced by the previous security patches
- Avoid regressing super heavy benchmarks by increasing the default request 
pre-emption timeout from 100 ms to 640 ms to
- Resulting set of smaller fixes done while problem was inspected
- Display fixes for EHL voltage level programming and TGL DKL PHY vswing for 
HDMI


Chris Wilson (12):
  drm/i915/gt: Fixup config ifdeffery for pm_suspend_target_state
  drm/i915: Wait until the intel_wakeref idle callback is complete
  drm/i915: Mark up the calling context for intel_wakeref_put()
  drm/i915/gt: Close race between engine_park and intel_gt_retire_requests
  drm/i915/gt: Unlock engine-pm after queuing the kernel context switch
  drm/i915/gt: Mark the execlists->active as the primary volatile access
  drm/i915/execlists: Fixup cancel_port_requests()
  drm/i915/gt: Adapt engine_park synchronisation rules for engine_retire
  drm/i915/gt: Schedule request retirement when timeline idles
  drm/i915/gt: Make intel_ring_unpin() safe for concurrent pint
  drm/i915: Default to a more lenient forced preemption timeout
  drm/i915: Reduce nested prepare_remote_context() to a trylock

Matt Roper (2):
  drm/i915/ehl: Update voltage level checks
  drm/i915/tgl: Add DKL PHY vswing table for HDMI

Tvrtko Ursulin (1):
  drm/i915/query: Align flavour of engine data lookup

 drivers/gpu/drm/i915/Kconfig.profile   |  2 +-
 drivers/gpu/drm/i915/display/intel_cdclk.c |  4 +-
 drivers/gpu/drm/i915/display/intel_ddi.c   | 29 +++--
 drivers/gpu/drm/i915/gt/intel_context.c| 21 +--
 drivers/gpu/drm/i915/gt/intel_engine.h |  4 +-
 drivers/gpu/drm/i915/gt/intel_engine_cs.c  |  8 ++-
 drivers/gpu/drm/i915/gt/intel_engine_pm.c  | 67 ++---
 drivers/gpu/drm/i915/gt/intel_engine_pm.h  | 10 
 drivers/gpu/drm/i915/gt/intel_engine_types.h   |  8 +++
 drivers/gpu/drm/i915/gt/intel_gt_pm.c  |  3 +-
 drivers/gpu/drm/i915/gt/intel_gt_pm.h  |  5 ++
 drivers/gpu/drm/i915/gt/intel_gt_requests.c| 83 --
 drivers/gpu/drm/i915/gt/intel_gt_requests.h|  7 +++
 drivers/gpu/drm/i915/gt/intel_lrc.c| 50 ++--
 drivers/gpu/drm/i915/gt/intel_reset.c  |  2 +-
 drivers/gpu/drm/i915/gt/intel_ring.c   | 13 ++--
 drivers/gpu/drm/i915/gt/intel_timeline.c   | 35 ---
 drivers/gpu/drm/i915/gt/intel_timeline_types.h |  5 +-
 drivers/gpu/drm/i915/gt/selftest_engine_pm.c   |  7 ++-
 drivers/gpu/drm/i915/i915_active.c |  5 +-
 drivers/gpu/drm/i915/i915_pmu.c|  6 +-
 drivers/gpu/drm/i915/i915_query.c  |  7 ++-
 drivers/gpu/drm/i915/intel_wakeref.c   | 21 +--
 drivers/gpu/drm/i915/intel_wakeref.h   | 45 +++---
 24 files changed, 354 insertions(+), 93 deletions(-)
___
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[PULL] drm-intel-next-fixes

2019-11-22 Thread Joonas Lahtinen
Hi Dave & Daniel,

A quick fixup amendment to the previous PR. gem_exec_reloc/basic-range
got broken in CI, so we've issued a patch revert the offending commit
for now.

Once the results for CI_DINF_163 appear here, and the timeouts seen
in last three CI_DINF_ are green, feel free to pull this:

https://intel-gfx-ci.01.org/tree/drm-intel-next-fixes/combined-alt.html?testfilter=gem_exec_reloc

It is rather a corner-case, so no impact beyond CI currently known.

Regards, Joonas

***

drm-intel-next-fixes-2019-11-22:

- Reverts a patch to avoid spinning forever when context's timeline
  is active but has no requests

The following changes since commit 0122baaa93cc681faace064ec25d16bb5c9825ab:

  Merge tag 'gvt-next-fixes-2019-11-12' of https://github.com/intel/gvt-linux 
into drm-intel-next-fixes (2019-11-20 13:21:38 +0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2019-11-22

for you to fetch changes up to 15b9cbb2c5e1cf22c13fe38bf513bab821b47630:

  Revert "drm/i915/gt: Wait for new requests in intel_gt_retire_requests()" 
(2019-11-22 17:24:22 +0200)


- Reverts a patch to avoid spinning forever when context's timeline
  is active but has no requests


Chris Wilson (1):
  Revert "drm/i915/gt: Wait for new requests in intel_gt_retire_requests()"

 drivers/gpu/drm/i915/gt/intel_gt_requests.c | 9 +++--
 1 file changed, 7 insertions(+), 2 deletions(-)
___
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PULL] drm-intel-next-fixes

2019-11-22 Thread Joonas Lahtinen
Quoting Joonas Lahtinen (2019-11-20 22:40:35)
> Hi Dave & Daniel,
> 
> NOTE: CI shard results are delayed, bu I'm sending this
> already because I'll travel tomorrow. I'll let you know
> if the results look OK or not. Or you can look up
> CI_DINF_162 results check at:
> 
> https://intel-gfx-ci.01.org/tree/drm-intel-next-fixes/combined-alt.html

The results were not good. I'll send a new PR.

Regards, Joonas
___
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[PULL] drm-intel-next-fixes

2019-11-20 Thread Joonas Lahtinen
Hi Dave & Daniel,

NOTE: CI shard results are delayed, bu I'm sending this
already because I'll travel tomorrow. I'll let you know
if the results look OK or not. Or you can look up
CI_DINF_162 results check at:

https://intel-gfx-ci.01.org/tree/drm-intel-next-fixes/combined-alt.html

This was rebased on top of drm-next to avoid conflicts with the security
fixes.

We have multiple user reported Bugzillas closed, broken plymouth
splash, RC6 lost when enabling HuC and one dmesg splat.

OA/perf coherency fix, a GVT dmesg splat and then CI found corner
case fixes.

Regards, Joonas

***

drm-intel-next-fixes-2019-11-20:

- Includes gvt-next-fixes-2019-11-12
- Fix Bugzilla #112051: Fix detection for a CMP-V PCH
- Fix Bugzilla #112256: Corrupted page table at address on plymouth splash
- Fix Bugzilla #111594: Avoid losing RC6 when HuC authentication is used
- Fix for OA/perf metric coherency, restore GT coarse power gating workaround
- Avoid atomic context on error capture
- Avoid MST bitmask overflowing to EDP/DPI input select
- Fixes to CI found dmesg splats

The following changes since commit 17cc51390c141662748dbbc2fe98f3ed10f2e13e:

  Merge branch 'vmwgfx-next' of git://people.freedesktop.org/~thomash/linux 
into drm-next (2019-11-15 12:34:45 +1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2019-11-20

for you to fetch changes up to 0122baaa93cc681faace064ec25d16bb5c9825ab:

  Merge tag 'gvt-next-fixes-2019-11-12' of https://github.com/intel/gvt-linux 
into drm-intel-next-fixes (2019-11-20 13:21:38 +0200)


- Includes gvt-next-fixes-2019-11-12
- Fix Bugzilla #112256: Corrupted page table at address on plymouth splash
- Fix Bugzilla #111594: Avoid losing RC6 when HuC authentication is used
- Fix Bugzilla #112051: Fix detection for a CMP-V PCH
- Fix for OA/perf metric coherency, restore GT coarse power gating workaround
- Avoid atomic context on error capture
- Avoid MST bitmask overflowing to EDP/DPI input select
- Fixes to CI found dmesg splats


Bruce Chang (1):
  drm/i915: Avoid atomic context for error capture

Chris Wilson (4):
  drm/i915: Flush context free work on cleanup
  drm/i915/fbdev: Restore physical addresses for fb_mmap()
  drm/i915/gt: Wait for new requests in intel_gt_retire_requests()
  drm/i915: Split i915_active.mutex into an irq-safe spinlock for the rbtree

Don Hiatt (1):
  drm/i915/guc: Skip suspend/resume GuC action on platforms w/o GuC 
submission

Imre Deak (2):
  drm/i915: Fix detection for a CMP-V PCH
  drm/i915: Restore GT coarse power gating workaround

Jani Nikula (1):
  drm/i915: fix accidental static variable use

Joonas Lahtinen (1):
  Merge tag 'gvt-next-fixes-2019-11-12' of 
https://github.com/intel/gvt-linux into drm-intel-next-fixes

José Roberto de Souza (1):
  drm/i915/display: Fix TRANS_DDI_MST_TRANSPORT_SELECT definition

Lionel Landwerlin (1):
  drm/i915/perf: don't forget noa wait after oa config

Tina Zhang (1):
  drm/i915/gvt: Stop initializing pvinfo through reading mmio

 drivers/gpu/drm/i915/display/intel_fbdev.c  |  9 +++--
 drivers/gpu/drm/i915/display/intel_sprite.c |  2 +-
 drivers/gpu/drm/i915/gem/i915_gem_context.c |  1 +
 drivers/gpu/drm/i915/gt/intel_gt_requests.c | 11 ++
 drivers/gpu/drm/i915/gt/intel_rc6.c |  9 -
 drivers/gpu/drm/i915/gt/uc/intel_guc.c  | 15 
 drivers/gpu/drm/i915/gvt/handlers.c |  4 ++
 drivers/gpu/drm/i915/i915_active.c  | 57 ++---
 drivers/gpu/drm/i915/i915_active_types.h|  1 +
 drivers/gpu/drm/i915/i915_drv.h |  6 +++
 drivers/gpu/drm/i915/i915_gpu_error.c   |  8 ++--
 drivers/gpu/drm/i915/i915_perf.c|  9 -
 drivers/gpu/drm/i915/i915_reg.h |  2 +-
 drivers/gpu/drm/i915/intel_pch.c|  6 ++-
 drivers/gpu/drm/i915/intel_pch.h|  2 +-
 15 files changed, 89 insertions(+), 53 deletions(-)
___
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[PULL] drm-intel-next-fixes

2019-11-14 Thread Joonas Lahtinen
Hi Dave & Daniel,

Here comes the set of fixes for drm-intel-next. Quite a few fixes
after a silent last week.

I'll do the backmerge of the BCX fixes from Linus's tree next and
send it as an extra PR.

Regards, Joonas

***

drm-intel-next-fixes-2019-11-14:

- PMU "Frequency" is reported as accumulated cycles
- Avoid OOPS in dumb_create IOCTL when no CRTCs
- Mitigation for userptr put_pages deadlock with trylock_page
- Fix to avoid freeing heartbeat request too early
- Fix LRC coherency issue
- Fix Bugzilla #112212: Avoid screen corruption on MST
- Error path fix to unlock context on failed context VM SETPARAM
- Always consider holding preemption a privileged op in perf/OA
- Preload LUTs if the hw isn't currently using them to avoid color flash on 
VLV/CHV
- Protect context while grabbing its name for the request
- Don't resize aliasing ppGTT size
- Smaller fixes picked by tooling

The following changes since commit d9dace9438945e7c13d91e62927c5c6c88a37ee5:

  drm/i915/selftests: Add intel_gt_suspend_prepare (2019-11-05 16:06:25 +0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2019-11-14

for you to fetch changes up to 789c4aea3f08026360d026c0ea69b33797ac88c2:

  drm/i915: Split a setting of MSA to MST and SST (2019-11-13 15:00:10 +0200)


- PMU "Frequency" is reported as accumulated cycles
- Avoid OOPS in dumb_create IOCTL when no CRTCs
- Mitigation for userptr put_pages deadlock with trylock_page
- Fix to avoid freeing heartbeat request too early
- Fix LRC coherency issue
- Fix Bugzilla #112212: Avoid screen corruption on MST
- Error path fix to unlock context on failed context VM SETPARAM
- Always consider holding preemption a privileged op in perf/OA
- Preload LUTs if the hw isn't currently using them to avoid color flash on 
VLV/CHV
- Protect context while grabbing its name for the request
- Don't resize aliasing ppGTT size
- Smaller fixes picked by tooling


Chris Wilson (7):
  drm/i915/gt: Only drop heartbeat.systole if the sole owner
  drm/i915/gem: Fix error path to unlock if the GEM context is closed
  drm/i915: Leave the aliasing-ppgtt size alone
  drm/i915: Protect context while grabbing its name for the request
  drm/i915/pmu: "Frequency" is reported as accumulated cycles
  drm/i915/userptr: Try to acquire the page lock around set_page_dirty()
  drm/i915/execlists: Move reset_active() from schedule-out to schedule-in

Gwan-gyeong Mun (1):
  drm/i915: Split a setting of MSA to MST and SST

Jani Nikula (1):
  drm/i915/display: only include intel_dp_link_training.h where needed

Lionel Landwerlin (1):
  drm/i915/perf: always consider holding preemption a privileged op

Ville Syrjälä (2):
  drm/i915: Don't oops in dumb_create ioctl if we have no crtcs
  drm/i915: Preload LUTs if the hw isn't currently using them

 drivers/gpu/drm/i915/display/intel_atomic.c|   1 +
 drivers/gpu/drm/i915/display/intel_color.c |  61 +++
 drivers/gpu/drm/i915/display/intel_ddi.c   |  10 +-
 drivers/gpu/drm/i915/display/intel_display.c   |  10 ++
 drivers/gpu/drm/i915/display/intel_display.h   |   1 -
 drivers/gpu/drm/i915/display/intel_display_types.h |   1 +
 drivers/gpu/drm/i915/display/intel_dp_mst.c|   2 +
 drivers/gpu/drm/i915/gem/i915_gem_context.c|   2 +-
 drivers/gpu/drm/i915/gem/i915_gem_userptr.c|  22 +++-
 drivers/gpu/drm/i915/gt/intel_engine_cs.c  |   2 +
 drivers/gpu/drm/i915/gt/intel_engine_heartbeat.c   |   4 +-
 drivers/gpu/drm/i915/gt/intel_lrc.c| 118 +++--
 drivers/gpu/drm/i915/i915_gem_gtt.c|   2 -
 drivers/gpu/drm/i915/i915_perf.c   |  20 ++--
 drivers/gpu/drm/i915/i915_pmu.c|   4 +-
 15 files changed, 181 insertions(+), 79 deletions(-)
___
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[PULL] drm-intel-next-fixes

2019-11-07 Thread Joonas Lahtinen
Hi Dave & Daniel,

A quiet start. Hopefully stays that way :)

RCU tracking fix and suspend GEM_BUG_ON fix with dependencies.

Regards, Joonas

***

drm-intel-next-fixes-2019-11-07:

One RCU fix and fix for suspend GEM_BUG_ON (with dependencies).

The following changes since commit 8a86b00a437ec06b298477463c7a9b8774570507:

  Merge tag 'drm-next-5.5-2019-11-01' of 
git://people.freedesktop.org/~agd5f/linux into drm-next (2019-11-04 10:22:53 
+1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2019-11-07

for you to fetch changes up to d9dace9438945e7c13d91e62927c5c6c88a37ee5:

  drm/i915/selftests: Add intel_gt_suspend_prepare (2019-11-05 16:06:25 +0200)


One RCU fix and fix for suspend GEM_BUG_ON (with dependencies).


Chris Wilson (7):
  drm/i915: Protect request peeking with RCU
  drm/i915/gt: Call intel_gt_sanitize() directly
  drm/i915/gem: Leave reloading kernel context on resume to GT
  drm/i915/gt: Move user_forcewake application to GT
  drm/i915: Defer rc6 shutdown to suspend_late
  drm/i915/gt: Drop false assertion on user_forcewake
  drm/i915/selftests: Add intel_gt_suspend_prepare

 drivers/gpu/drm/i915/gem/i915_gem_pm.c   | 61 +--
 drivers/gpu/drm/i915/gt/intel_gt.c   |  6 +-
 drivers/gpu/drm/i915/gt/intel_gt.h   |  2 +-
 drivers/gpu/drm/i915/gt/intel_gt_pm.c| 95 +++-
 drivers/gpu/drm/i915/gt/intel_gt_pm.h|  3 +-
 drivers/gpu/drm/i915/gt/intel_rc6.c  |  5 ++
 drivers/gpu/drm/i915/gt/selftest_gt_pm.c |  3 +-
 drivers/gpu/drm/i915/i915_drv.c  |  8 +-
 drivers/gpu/drm/i915/i915_drv.h  |  2 -
 drivers/gpu/drm/i915/i915_gem.c  | 37 -
 drivers/gpu/drm/i915/i915_scheduler.c|  9 ++-
 drivers/gpu/drm/i915/selftests/i915_gem.c|  1 -
 drivers/gpu/drm/i915/selftests/mock_gem_device.c |  1 -
 drivers/gpu/drm/i915/selftests/mock_gtt.c|  3 +-
 14 files changed, 118 insertions(+), 118 deletions(-)
___
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[PULL] drm-intel-next-fixes

2019-09-27 Thread Rodrigo Vivi
Hi Dave and Daniel,

This should've gone out yesterday, but apparently I had some issue with my mutt 
here.
Anyway, nothing that couldn't wait for rc2

Here goes drm-intel-next-fixes-2019-09-26:
- Fix concurrence on cases where requests where getting retired at same time as 
resubmitted to HW
- Fix gen9 display resolutions by setting the right max plane width
- Fix GPU hang on preemption
- Mark contents as dirty on a write fault. This was breaking cursor sprite with 
dumb buffers.

Thanks,
Rodrigo.

The following changes since commit 6e5c5272ca00809aae20817efb6f25881268b50b:

  drm/i915: Use NOEVICT for first pass on attemping to pin a GGTT mmap 
(2019-09-06 09:53:15 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2019-09-26

for you to fetch changes up to 458863e08e13ecf22b9ba1ee6d4baba0ce9990ea:

  drm/i915: Mark contents as dirty on a write fault (2019-09-24 09:57:28 -0700)


- Fix concurrence on cases where requests where getting retired at same time as 
resubmitted to HW
- Fix gen9 display resolutions by setting the right max plane width
- Fix GPU hang on preemption
- Mark contents as dirty on a write fault. This was breaking cursor sprite with 
dumb buffers.


Chris Wilson (8):
  drm/i915: Restore relaxed padding (OCL_OOB_SUPPRES_ENABLE) for skl+
  drm/i915/execlists: Remove incorrect BUG_ON for schedule-out
  drm/i915: Perform GGTT restore much earlier during resume
  drm/i915: Don't mix srcu tag and negative error codes
  drm/i915: Extend Haswell GT1 PSMI workaround to all
  drm/i915: Verify the engine after acquiring the active.lock
  drm/i915: Prevent bonded requests from overtaking each other on preemption
  drm/i915: Mark contents as dirty on a write fault

Kenneth Graunke (1):
  drm/i915: Whitelist COMMON_SLICE_CHICKEN2

Ville Syrjälä (1):
  drm/i915: Bump skl+ max plane width to 5k for linear/x-tiled

 drivers/gpu/drm/i915/display/intel_display.c | 15 ++-
 drivers/gpu/drm/i915/gem/i915_gem_mman.c | 12 +++-
 drivers/gpu/drm/i915/gem/i915_gem_pm.c   |  3 ---
 drivers/gpu/drm/i915/gt/intel_lrc.c  | 21 -
 drivers/gpu/drm/i915/gt/intel_reset.c|  8 +++-
 drivers/gpu/drm/i915/gt/intel_reset.h|  2 +-
 drivers/gpu/drm/i915/gt/intel_ringbuffer.c   |  2 +-
 drivers/gpu/drm/i915/gt/intel_workarounds.c  |  8 +++-
 drivers/gpu/drm/i915/i915_drv.c  |  5 +
 drivers/gpu/drm/i915/i915_request.c  | 25 ++---
 drivers/gpu/drm/i915/selftests/i915_gem.c|  6 ++
 11 files changed, 74 insertions(+), 33 deletions(-)
___
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[PULL] drm-intel-next-fixes

2019-09-19 Thread Rodrigo Vivi
Hi Dave and Daniel,

Here goes drm-intel-next-fixes-2019-09-19:
- Extend old HSW workaround to fix some GPU hangs on Haswell GT2
- Fix return error code on GEM mmap.
- White list a chicken bit register for push constants legacy mode on Mesa
- Fix resume issue related to GGTT restore
- Remove incorrect BUG_ON on execlist's schedule-out
- Fix unrecoverable GPU hangs with Vulkan compute workloads on SKL

Thanks,
Rodrigo.

The following changes since commit 6e5c5272ca00809aae20817efb6f25881268b50b:

  drm/i915: Use NOEVICT for first pass on attemping to pin a GGTT mmap 
(2019-09-06 09:53:15 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2019-09-19

for you to fetch changes up to a95819a173788bec7414d260f76f42a9934890b4:

  drm/i915: Extend Haswell GT1 PSMI workaround to all (2019-09-18 10:53:38 
-0700)


- Extend old HSW workaround to fix some GPU hangs on Haswell GT2
- Fix return error code on GEM mmap.
- White list a chicken bit register for push constants legacy mode on Mesa
- Fix resume issue related to GGTT restore
- Remove incorrect BUG_ON on execlist's schedule-out
- Fix unrecoverable GPU hangs with Vulkan compute workloads on SKL


Chris Wilson (5):
  drm/i915: Restore relaxed padding (OCL_OOB_SUPPRES_ENABLE) for skl+
  drm/i915/execlists: Remove incorrect BUG_ON for schedule-out
  drm/i915: Perform GGTT restore much earlier during resume
  drm/i915: Don't mix srcu tag and negative error codes
  drm/i915: Extend Haswell GT1 PSMI workaround to all

Kenneth Graunke (1):
  drm/i915: Whitelist COMMON_SLICE_CHICKEN2

 drivers/gpu/drm/i915/gem/i915_gem_mman.c| 6 ++
 drivers/gpu/drm/i915/gem/i915_gem_pm.c  | 3 ---
 drivers/gpu/drm/i915/gt/intel_lrc.c | 1 -
 drivers/gpu/drm/i915/gt/intel_reset.c   | 8 +++-
 drivers/gpu/drm/i915/gt/intel_reset.h   | 2 +-
 drivers/gpu/drm/i915/gt/intel_ringbuffer.c  | 2 +-
 drivers/gpu/drm/i915/gt/intel_workarounds.c | 8 +++-
 drivers/gpu/drm/i915/i915_drv.c | 5 +
 drivers/gpu/drm/i915/selftests/i915_gem.c   | 6 ++
 9 files changed, 21 insertions(+), 20 deletions(-)
___
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[PULL] drm-intel-next-fixes

2019-09-11 Thread Rodrigo Vivi
Hi Dave and Daniel,

Here goes drm-intel-next-fixes-2019-09-11:

Few fixes on GGTT and PPGTT around pin, locks, fence and vgpu.

This also includes GVT fixes with two recent fixes:
one for recent guest hang regression and another for guest reset fix.

Thanks,
Rodrigo.

The following changes since commit 578d2342ec702e5fb8a77983fabb3754ae3e9660:

  Merge tag 'drm-next-5.4-2019-08-23' of 
git://people.freedesktop.org/~agd5f/linux into drm-next (2019-08-27 17:22:15 
+1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2019-09-11

for you to fetch changes up to 6e5c5272ca00809aae20817efb6f25881268b50b:

  drm/i915: Use NOEVICT for first pass on attemping to pin a GGTT mmap 
(2019-09-06 09:53:15 -0700)


Few fixes on GGTT and PPGTT around pin, locks, fence and vgpu.

This also includes GVT fixes with two recent fixes:
one for recent guest hang regression and another for guest reset fix.


Chris Wilson (3):
  drm/i915: Hold irq-off for the entire fake lock period
  drm/i915: Flush the existing fence before GGTT read/write
  drm/i915: Use NOEVICT for first pass on attemping to pin a GGTT mmap

Rodrigo Vivi (1):
  Merge tag 'gvt-next-fixes-2019-09-06' of 
https://github.com/intel/gvt-linux into drm-intel-next-fixes

Weinan Li (1):
  drm/i915/gvt: update RING_START reg of vGPU when the context is submitted 
to i915

Xiaolin Zhang (2):
  drm/i915/gvt: update vgpu workload head pointer correctly
  drm/i915: to make vgpu ppgtt notificaiton as atomic operation

 drivers/gpu/drm/i915/gem/i915_gem_mman.c  |  2 +-
 drivers/gpu/drm/i915/gt/intel_engine_pm.c | 28 ---
 drivers/gpu/drm/i915/gt/intel_reset.c |  9 ---
 drivers/gpu/drm/i915/gt/intel_timeline.c  | 10 ---
 drivers/gpu/drm/i915/gvt/scheduler.c  | 45 ++-
 drivers/gpu/drm/i915/i915_drv.h   |  1 +
 drivers/gpu/drm/i915/i915_gem.c   | 23 +++-
 drivers/gpu/drm/i915/i915_gem_gtt.c   | 12 +
 drivers/gpu/drm/i915/i915_request.c   |  9 ---
 drivers/gpu/drm/i915/i915_vgpu.c  |  1 +
 10 files changed, 92 insertions(+), 48 deletions(-)
___
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[PULL] drm-intel-next-fixes

2019-05-15 Thread Joonas Lahtinen
Hi Dave & Daniel,

A fix to close a race opportunity between IRQ handler and RCU. 

Two fixes that are also stable, disabling FBC on GLK and HSW EDP fastset
correction.

These patches definitely caused conflicts when merged, resolutions should
be all good.

Regards, Joonas

***

drm-intel-next-fixes-2019-05-15:

- Disable framebuffer compression on Geminilake
- Fixes for HSW EDP fastset and a IRQ handler vs. RCU race

The following changes since commit 23372cce8fe7ee98a6458fd3d035a55b87f0c6fe:

  Merge tag 'gvt-next-fixes-2019-05-07' of https://github.com/intel/gvt-linux 
into drm-intel-next-fixes (2019-05-07 15:29:15 +0300)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2019-05-15

for you to fetch changes up to c36beba6b296b3c05a0f29753b04775e5ae23886:

  drm/i915: Seal races between async GPU cancellation, retirement and signaling 
(2019-05-13 13:53:35 +0300)


- Disable framebuffer compression on Geminilake
- Fixes for HSW EDP fastset and a IRQ handler vs. RCU race


Chris Wilson (1):
  drm/i915: Seal races between async GPU cancellation, retirement and 
signaling

Daniel Drake (1):
  drm/i915/fbc: disable framebuffer compression on GeminiLake

Ville Syrjälä (1):
  drm/i915: Fix fastset vs. pfit on/off on HSW EDP transcoder

 drivers/dma-buf/dma-fence.c |  1 +
 drivers/gpu/drm/i915/i915_request.c |  1 +
 drivers/gpu/drm/i915/intel_breadcrumbs.c| 78 +
 drivers/gpu/drm/i915/intel_display.c|  9 
 drivers/gpu/drm/i915/intel_fbc.c|  4 ++
 drivers/gpu/drm/i915/intel_guc_submission.c |  1 -
 drivers/gpu/drm/i915/intel_pipe_crc.c   | 13 +++--
 7 files changed, 82 insertions(+), 25 deletions(-)
___
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[PULL] drm-intel-next-fixes

2019-05-09 Thread Joonas Lahtinen
Hi Dave & Daniel,

Still rather quiet, most issues seem to have been fixed during CI testing.

For i915, just two fixes to the request semaphore ordering code.

For GVT a couple regression and static checker fixes.

Best Regards,
Joonas

***

drm-intel-next-fixes-2019-05-09:

- Two fixes for the freshly enabled semaphore ordering code
- Includes gvt-next-fixes-2019-05-07

The following changes since commit 9628e15ca9d5f7595ba886173e98a139d0a56cd1:

  drm/i915/icl: Whitelist GEN9_SLICE_COMMON_ECO_CHICKEN1 (2019-04-30 10:16:18 
+0300)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2019-05-09

for you to fetch changes up to 23372cce8fe7ee98a6458fd3d035a55b87f0c6fe:

  Merge tag 'gvt-next-fixes-2019-05-07' of https://github.com/intel/gvt-linux 
into drm-intel-next-fixes (2019-05-07 15:29:15 +0300)


- Two fixes for the freshly enabled semaphore ordering code
- Includes gvt-next-fixes-2019-05-07


Aleksei Gimbitskii (4):
  drm/i915/gvt: Remove typedef and let the enumeration starts from zero
  drm/i915/gvt: Do not copy the uninitialized pointer from fb_info
  drm/i915/gvt: Use snprintf() to prevent possible buffer overflow.
  drm/i915/gvt: Check if get_next_pt_type() always returns a valid value

Chris Wilson (2):
  drm/i915: Delay semaphore submission until the start of the signaler
  drm/i915: Disable semaphore busywaits on saturated systems

Colin Xu (1):
  drm/i915/gvt: Add in context mmio 0x20D8 to gen9 mmio list

Joonas Lahtinen (1):
  Merge tag 'gvt-next-fixes-2019-05-07' of 
https://github.com/intel/gvt-linux into drm-intel-next-fixes

Xiong Zhang (1):
  drm/i915/gvt: Change fb_info->size from pages to bytes

Zhao Yakui (1):
  drm/i915/gvt: Revert "drm/i915/gvt: Refine the snapshort range of I915 
MCHBAR to optimize gvt-g boot time"

 drivers/gpu/drm/i915/gvt/debugfs.c |  4 +-
 drivers/gpu/drm/i915/gvt/dmabuf.c  | 19 --
 drivers/gpu/drm/i915/gvt/gtt.c | 15 +---
 drivers/gpu/drm/i915/gvt/gtt.h | 16 
 drivers/gpu/drm/i915/gvt/handlers.c|  4 +-
 drivers/gpu/drm/i915/gvt/mmio_context.c|  1 +
 drivers/gpu/drm/i915/gvt/reg.h |  3 --
 drivers/gpu/drm/i915/gvt/scheduler.c   |  2 +-
 drivers/gpu/drm/i915/i915_request.c| 59 +-
 drivers/gpu/drm/i915/intel_context.c   |  1 +
 drivers/gpu/drm/i915/intel_context_types.h |  3 ++
 11 files changed, 93 insertions(+), 34 deletions(-)
___
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[PULL] drm-intel-next-fixes

2019-05-02 Thread Joonas Lahtinen
Hi Dave & Daniel,

A quick fix to unbreak media driver, worthy inclusion before the merge window.

Best Regards,
Joonas

***

drm-intel-next-fixes-2019-05-02:

- Whitelist a register to avoid media driver from hanging

The following changes since commit 879a4e70f96a26a9368a3caed2f552aa67105852:

  drm/i915: Fix ICL output CSC programming (2019-04-29 09:49:21 +0300)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2019-05-02

for you to fetch changes up to 9628e15ca9d5f7595ba886173e98a139d0a56cd1:

  drm/i915/icl: Whitelist GEN9_SLICE_COMMON_ECO_CHICKEN1 (2019-04-30 10:16:18 
+0300)


- Whitelist a register to avoid media driver from hanging


Tvrtko Ursulin (1):
  drm/i915/icl: Whitelist GEN9_SLICE_COMMON_ECO_CHICKEN1

 drivers/gpu/drm/i915/intel_workarounds.c | 7 +++
 1 file changed, 3 insertions(+), 4 deletions(-)
___
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[PULL] drm-intel-next-fixes

2019-04-30 Thread Joonas Lahtinen
Hi Dave & Daniel,

Just one fix to fix Icelake CSC programming (fixes loss of blue channel).

Best Regards, Joonas

***

drm-intel-next-fixes-2019-04-30:

- Fix to Icelake CSC losing blue channel

The following changes since commit 447811a686e8da7325516a78069ccfbd139ef1a7:

  drm/i915/icl: Fix MG_DP_MODE() register programming (2019-04-24 09:39:11 
+0300)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2019-04-30

for you to fetch changes up to 879a4e70f96a26a9368a3caed2f552aa67105852:

  drm/i915: Fix ICL output CSC programming (2019-04-29 09:49:21 +0300)


- Fix to Icelake CSC losing blue channel


Ville Syrjälä (1):
  drm/i915: Fix ICL output CSC programming

 drivers/gpu/drm/i915/intel_color.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
___
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[PULL] drm-intel-next-fixes

2019-04-24 Thread Joonas Lahtinen
Hi Dave & Daniel,

Just one use-after-free fix and Icelake DP programming fix.

Best Regards, Joonas

***

drm-intel-next-fixes-2019-04-25:

- Use after free fix during GEM_CREATE when reporting back object size
- Icelake DP register programming order fix

The following changes since commit 6ecac85eadb9d4065b9038fa3d3c66d49038e14b:

  drm/udl: move to embedding drm device inside udl device. (2019-04-24 13:48:45 
+1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2019-04-25

for you to fetch changes up to 447811a686e8da7325516a78069ccfbd139ef1a7:

  drm/i915/icl: Fix MG_DP_MODE() register programming (2019-04-24 09:39:11 
+0300)


- Use after free fix during GEM_CREATE when reporting back object size
- Icelake DP register programming order fix


Chris Wilson (1):
  drm/i915: Avoid use-after-free in reporting create.size

Imre Deak (1):
  drm/i915/icl: Fix MG_DP_MODE() register programming

 drivers/gpu/drm/i915/i915_gem.c  |  2 +-
 drivers/gpu/drm/i915/intel_ddi.c | 18 --
 2 files changed, 9 insertions(+), 11 deletions(-)
___
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[PULL] drm-intel-next-fixes

2019-03-12 Thread Rodrigo Vivi
Hi Dave and Daniel,

Here goes drm-intel-next-fixes-2019-03-12:

- HDCP state handling in ddi_update_pipe
- Protect i915_active iterators from the shrinker
- Reacquire priolist cache after dropping the engine lock
- (Selftest) Always free spinner on __sseu_prepare error
- Acquire breadcrumb ref before canceling
- Fix atomic state leak on HDMI link reset
- Relax mmap VMA check

Thanks,
Rodrigo.

The following changes since commit 8d451a4b6e9f4b52ae3d4cafe17486d8d0c6afb0:

  Merge tag 'drm-misc-next-2019-02-11' of 
git://anongit.freedesktop.org/drm/drm-misc into drm-next (2019-02-14 14:07:18 
+0100)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2019-03-12

for you to fetch changes up to ca22f32a6296cbfa29de56328c8505560a18cfa8:

  drm/i915: Relax mmap VMA check (2019-03-08 09:52:55 -0800)


- HDCP state handling in ddi_update_pipe
- Protect i915_active iterators from the shrinker
- Reacquire priolist cache after dropping the engine lock
- (Selftest) Always free spinner on __sseu_prepare error
- Acquire breadcrumb ref before canceling
- Fix atomic state leak on HDMI link reset
- Relax mmap VMA check


Chris Wilson (4):
  drm/i915: Protect i915_active iterators from the shrinker
  drm/i915: Reacquire priolist cache after dropping the engine lock
  drm/i915/selftests: Always free spinner on __sseu_prepare error
  drm/i915: Acquire breadcrumb ref before cancelling

José Roberto de Souza (1):
  drm/i915: Fix atomic state leak when resetting HDMI link

Ramalingam C (1):
  drm/i915: HDCP state handling in ddi_update_pipe

Tvrtko Ursulin (1):
  drm/i915: Relax mmap VMA check

 drivers/gpu/drm/i915/i915_active.c| 36 
 drivers/gpu/drm/i915/i915_gem.c   |  3 +-
 drivers/gpu/drm/i915/i915_scheduler.c | 27 +
 drivers/gpu/drm/i915/intel_breadcrumbs.c  | 18 +++---
 drivers/gpu/drm/i915/intel_ddi.c  | 14 +++--
 drivers/gpu/drm/i915/selftests/i915_gem_context.c | 69 +++
 6 files changed, 94 insertions(+), 73 deletions(-)
___
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[PULL] drm-intel-next-fixes

2018-12-26 Thread Jani Nikula

Hi Dave & Daniel -

These GVT fixes missed the main pull request.

drm-intel-next-fixes-2018-12-27:
GVT fixes for v4.21-rc1

BR,
Jani.

The following changes since commit e69aa5f9b97f7f871643336deb281db5cb14878b:

  Merge tag 'drm-misc-next-2018-12-06' of 
git://anongit.freedesktop.org/drm/drm-misc into drm-next (2018-12-07 11:23:05 
+1000)

are available in the git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2018-12-27

for you to fetch changes up to cb6f4c2c3478b2ff68bd5d0b6020394120075e30:

  Merge tag 'gvt-next-2018-12-07' of https://github.com/intel/gvt-linux into 
drm-intel-next-fixes (2018-12-11 11:48:44 +0200)


GVT fixes for v4.21-rc1


Colin Ian King (1):
  drm/i915/gvt: fix spelling mistake "Interupts" -> "Interrupts"

Jani Nikula (1):
  Merge tag 'gvt-next-2018-12-07' of https://github.com/intel/gvt-linux 
into drm-intel-next-fixes

Peng Hao (1):
  drm/i915/gvt: fix a typo: "registeration" -> "registration".

Xinyun Liu (1):
  drm/i915/gvt: fix typo in two MI cmd annotation

Xiong Zhang (1):
  drm/i915/gvt: Fix shadow ctx ppgtt destroy function

Zhao Yan (1):
  drm/i915/gvt: update force-to-nonpriv register whitelist

 drivers/gpu/drm/i915/gvt/cmd_parser.c |  6 +++---
 drivers/gpu/drm/i915/gvt/gvt.c|  2 +-
 drivers/gpu/drm/i915/gvt/gvt.h|  4 
 drivers/gpu/drm/i915/gvt/handlers.c   |  1 +
 drivers/gpu/drm/i915/gvt/interrupt.c  |  2 +-
 drivers/gpu/drm/i915/gvt/scheduler.c  | 33 +
 6 files changed, 43 insertions(+), 5 deletions(-)

-- 
Jani Nikula, Intel Open Source Graphics Center
___
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[PULL] drm-intel-next-fixes

2018-10-25 Thread Joonas Lahtinen
Hi Dave,

One fix to avoid applying link retraining workaround on eDP monitors
that was missing Fixes: (kindly pointed out by Jani) in addition
to the patches in previous PR.

I also got GVT PR for -next-fixes, but it had an issue with S-o-bs,
so I'll include it then in -fixes pull.

Regards, Joonas

***

drm-intel-next-fixes-2018-10-25:
- Fix to avoid link retraining workaround on eDP (the other is a comment change)
The following changes since commit f2bfc71aee75feff33ca659322b72ffeed5a243d:

  Merge tag 'drm-intel-next-fixes-2018-10-18' of 
git://anongit.freedesktop.org/drm/drm-intel into drm-next (2018-10-19 14:28:11 
+1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2018-10-25

for you to fetch changes up to f9776280c29e77a18cbc7ebb6d48f7885e494990:

  drm/i915/dp: Restrict link retrain workaround to external monitors 
(2018-10-24 13:48:12 +0300)


- Fix to avoid link retraining workaround on eDP (the other is a comment change)


Dhinakaran Pandiyan (2):
  drm/i915/dp: Fix link retraining comment in intel_dp_long_pulse()
  drm/i915/dp: Restrict link retrain workaround to external monitors

Lyude Paul (4):
  drm/atomic_helper: Disallow new modesets on unregistered connectors
  drm/atomic_helper: Allow DPMS On<->Off changes for unregistered connectors
  drm/atomic_helper: Stop modesets on unregistered connectors harder
  drm/nouveau: Fix nv50_mstc->best_encoder()

 drivers/gpu/drm/drm_atomic_helper.c | 21 +-
 drivers/gpu/drm/drm_connector.c | 11 ++---
 drivers/gpu/drm/i915/intel_dp.c | 20 --
 drivers/gpu/drm/i915/intel_dp_mst.c |  8 ++--
 drivers/gpu/drm/nouveau/dispnv50/disp.c | 14 ++-
 include/drm/drm_connector.h | 71 -
 6 files changed, 110 insertions(+), 35 deletions(-)
___
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [PULL] drm-intel-next-fixes

2018-10-19 Thread Daniel Vetter
On Fri, Oct 19, 2018 at 12:38 PM Joonas Lahtinen
 wrote:
>
> Hi Dave,
>
> Here are the promised MST fixes that were missing due to being
> in i915 tree, yet outside i915 directory.
>
> Further explanation in the previous PR's thread.

fwiw, lgtm.

Cheers, Daniel
>
> Regards, Joonas
>
> ***
>
> drm-intel-next-fixes-2018-10-19:
> - The missing 4 MST patches that tooling didn't pick from drm core/nouveau
> The following changes since commit f2bfc71aee75feff33ca659322b72ffeed5a243d:
>
>   Merge tag 'drm-intel-next-fixes-2018-10-18' of 
> git://anongit.freedesktop.org/drm/drm-intel into drm-next (2018-10-19 
> 14:28:11 +1000)
>
> are available in the Git repository at:
>
>   git://anongit.freedesktop.org/drm/drm-intel 
> tags/drm-intel-next-fixes-2018-10-19
>
> for you to fetch changes up to 7b0f61e91b6056c71649efa3204112a4b6cf5fc8:
>
>   drm/nouveau: Fix nv50_mstc->best_encoder() (2018-10-19 11:46:46 +0300)
>
> 
> - The missing 4 MST patches that tooling didn't pick from drm core/nouveau
>
> 
> Lyude Paul (4):
>   drm/atomic_helper: Disallow new modesets on unregistered connectors
>   drm/atomic_helper: Allow DPMS On<->Off changes for unregistered 
> connectors
>   drm/atomic_helper: Stop modesets on unregistered connectors harder
>   drm/nouveau: Fix nv50_mstc->best_encoder()
>
>  drivers/gpu/drm/drm_atomic_helper.c | 21 +-
>  drivers/gpu/drm/drm_connector.c | 11 ++---
>  drivers/gpu/drm/i915/intel_dp_mst.c |  8 ++--
>  drivers/gpu/drm/nouveau/dispnv50/disp.c | 14 ++-
>  include/drm/drm_connector.h | 71 
> -
>  5 files changed, 103 insertions(+), 22 deletions(-)



-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
___
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[PULL] drm-intel-next-fixes

2018-10-19 Thread Joonas Lahtinen
Hi Dave,

Here are the promised MST fixes that were missing due to being
in i915 tree, yet outside i915 directory.

Further explanation in the previous PR's thread.

Regards, Joonas

***

drm-intel-next-fixes-2018-10-19:
- The missing 4 MST patches that tooling didn't pick from drm core/nouveau
The following changes since commit f2bfc71aee75feff33ca659322b72ffeed5a243d:

  Merge tag 'drm-intel-next-fixes-2018-10-18' of 
git://anongit.freedesktop.org/drm/drm-intel into drm-next (2018-10-19 14:28:11 
+1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2018-10-19

for you to fetch changes up to 7b0f61e91b6056c71649efa3204112a4b6cf5fc8:

  drm/nouveau: Fix nv50_mstc->best_encoder() (2018-10-19 11:46:46 +0300)


- The missing 4 MST patches that tooling didn't pick from drm core/nouveau


Lyude Paul (4):
  drm/atomic_helper: Disallow new modesets on unregistered connectors
  drm/atomic_helper: Allow DPMS On<->Off changes for unregistered connectors
  drm/atomic_helper: Stop modesets on unregistered connectors harder
  drm/nouveau: Fix nv50_mstc->best_encoder()

 drivers/gpu/drm/drm_atomic_helper.c | 21 +-
 drivers/gpu/drm/drm_connector.c | 11 ++---
 drivers/gpu/drm/i915/intel_dp_mst.c |  8 ++--
 drivers/gpu/drm/nouveau/dispnv50/disp.c | 14 ++-
 include/drm/drm_connector.h | 71 -
 5 files changed, 103 insertions(+), 22 deletions(-)
___
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [PULL] drm-intel-next-fixes

2018-10-19 Thread Joonas Lahtinen
Quoting Daniel Vetter (2018-10-19 10:05:32)
> On Fri, Oct 19, 2018 at 8:59 AM Joonas Lahtinen
>  wrote:
> >
> > Quoting Daniel Vetter (2018-10-18 22:32:00)
> > > On Thu, Oct 18, 2018 at 6:57 PM Joonas Lahtinen
> > >  wrote:
> > > >
> > > > Hi Dave,
> > > >
> > > > Here comes the final set of fixes under -next-fixes umbrella.
> > > > Next one will be then from -fixes, assuming a release next Sun.
> > > >
> > > > Fixes for bunch of display related issues reported by users, then the
> > > > MST fixes that were dropped from Rodrigos PR + further Icelake fixes
> > > > and proactive improvements picked by tooling.
> > > >
> > > > Excuse for the slight accumulation as I skipped last week due to
> > > > travel like I warned.
> > > >
> > > > Regards, Joonas
> > > >
> > > > ***
> > > >
> > > > drm-intel-next-fixes-2018-10-18:
> > > > - Fix GPU hang on MacBook2,1 when booting in EFI mode (Bugzilla #105637)
> > > > - Fix garbled console on Y tiled BIOS framebuffer configs (Bugzilla 
> > > > #108264)
> > > > - Fix black screen on certain eDP panels eg. Dell XPS 9350 (Bugzilla 
> > > > #107489 and #105338)
> > > > - MST fixes that Rodrigo dropped from drm-intel-fixes and bunch of 
> > > > Icelake fixes
> > >
> > > This won't work because it doesn't contain Lyude's core fix (+ the 2
> > > fixups). You either need to cherry-pick all of them (and then probably
> > > include the nouveau one), or none of them. Did the cherry-pick script
> > > not propose them, or something else? They're all cc: stable.
> >
> > cherry-pick-next-fixes did not propose more. I did specifically ask
> > Rodrigo to drop the relevant stuff from drm-intel-fixes so that the
> > tooling would pick it up. What is there that is missing?
> 
> dim cherry-pick-branch is limited to drivers/gpu/drm/i915 :-(
> 
> Remove that (well at least only filter drm/) and you should see them.
> Ideally you put the core patch + 2 core fixups before the i915/nouveau
> patches.
> 
> I guess putting core patches that are bugfixes through drm-intel.git
> really isn't a good idea with our process ...

I've now done this now. Removal of the filter adding two patches, but I
had to track down the further Fixes: to Fixes: manually. Thanks to
Daniel for the assistance in pointing the missing patches.

As you already pulled this PR, the core fixes will end up after
the i915 fixes. If you end up wanting to rebase the order, note that
the Fixes: annotations will be wrecked. I'll send a further fixup PR.

I also amended the Fixes: tags to point to cherry-picked fixes, to
decrease the likelihood of falling through automated tooling (while
appending Cc: stable to one patch missing it).

So you want to avoid rebasing the patches in all circumstances (or
you have to update/remove the Fixes: lines beyond the line "(cherry
picked from ...".

Lovely thing to do on Friday :) Hopefully next week will be less
of a hassle.

Regards, Joonas

> -Daniel
> 
> >
> > Regards, Joonas
> >
> > > -Daniel
> > >
> > > > - Then assorted proactive code fixes caught by CI or developers
> > > >
> > > > The following changes since commit 
> > > > ca4b869240d5810ebac6b1570ad7beffcfbac2f5:
> > > >
> > > >   Merge branch 'drm-next-4.20' of 
> > > > git://people.freedesktop.org/~agd5f/linux into drm-next (2018-10-11 
> > > > 14:53:45 +1000)
> > > >
> > > > are available in the Git repository at:
> > > >
> > > >   git://anongit.freedesktop.org/drm/drm-intel 
> > > > tags/drm-intel-next-fixes-2018-10-18
> > > >
> > > > for you to fetch changes up to 835fe6d75d14c1513910ed7f5665127fee12acc8:
> > > >
> > > >   firmware/dmc/icl: Add missing MODULE_FIRMWARE() for Icelake. 
> > > > (2018-10-18 10:36:10 +0300)
> > > >
> > > > 
> > > > - Fix GPU hang on MacBook2,1 when booting in EFI mode (Bugzilla #105637)
> > > > - Fix garbled console on Y tiled BIOS framebuffer configs (Bugzilla 
> > > > #108264)
> > > > - Fix black screen on certain eDP panels eg. Dell XPS 9350 (Bugzilla 
> > > > #107489 and #105338)
> > > > - MST fixes that Rodrigo dropped from drm-intel-fixes and bunch of 
> > > > Icelake fixes
> > > > - Then assorted proactive code fixes caught by CI or developers
> > > >
> > > > 
> > > > Anusha Srivatsa (1):
> > > >   firmware/dmc/icl: Add missing MODULE_FIRMWARE() for Icelake.
> > > >
> > > > Chris Wilson (3):
> > > >   drm/i915: Only reset seqno if actually idle
> > > >   drm/i915/selftests: Disable shrinker across mmap-exhaustion
> > > >   drm/i915: Large page offsets for pread/pwrite
> > > >
> > > > Imre Deak (1):
> > > >   drm/i915/gen9+: Fix initial readout for Y tiled framebuffers
> > > >
> > > > Lyude Paul (3):
> > > >   drm/i915: Don't unset intel_connector->mst_port
> > > >   drm/i915: Skip vcpi allocation for MSTB ports that are gone
> > > >   drm/i915: Fix intel_dp_mst_best_encoder()
> > > >
> > > > Mahesh Kumar (2):
> > > >   drm/i915/icl: crea

Re: [PULL] drm-intel-next-fixes

2018-10-19 Thread Daniel Vetter
On Fri, Oct 19, 2018 at 8:59 AM Joonas Lahtinen
 wrote:
>
> Quoting Daniel Vetter (2018-10-18 22:32:00)
> > On Thu, Oct 18, 2018 at 6:57 PM Joonas Lahtinen
> >  wrote:
> > >
> > > Hi Dave,
> > >
> > > Here comes the final set of fixes under -next-fixes umbrella.
> > > Next one will be then from -fixes, assuming a release next Sun.
> > >
> > > Fixes for bunch of display related issues reported by users, then the
> > > MST fixes that were dropped from Rodrigos PR + further Icelake fixes
> > > and proactive improvements picked by tooling.
> > >
> > > Excuse for the slight accumulation as I skipped last week due to
> > > travel like I warned.
> > >
> > > Regards, Joonas
> > >
> > > ***
> > >
> > > drm-intel-next-fixes-2018-10-18:
> > > - Fix GPU hang on MacBook2,1 when booting in EFI mode (Bugzilla #105637)
> > > - Fix garbled console on Y tiled BIOS framebuffer configs (Bugzilla 
> > > #108264)
> > > - Fix black screen on certain eDP panels eg. Dell XPS 9350 (Bugzilla 
> > > #107489 and #105338)
> > > - MST fixes that Rodrigo dropped from drm-intel-fixes and bunch of 
> > > Icelake fixes
> >
> > This won't work because it doesn't contain Lyude's core fix (+ the 2
> > fixups). You either need to cherry-pick all of them (and then probably
> > include the nouveau one), or none of them. Did the cherry-pick script
> > not propose them, or something else? They're all cc: stable.
>
> cherry-pick-next-fixes did not propose more. I did specifically ask
> Rodrigo to drop the relevant stuff from drm-intel-fixes so that the
> tooling would pick it up. What is there that is missing?

dim cherry-pick-branch is limited to drivers/gpu/drm/i915 :-(

Remove that (well at least only filter drm/) and you should see them.
Ideally you put the core patch + 2 core fixups before the i915/nouveau
patches.

I guess putting core patches that are bugfixes through drm-intel.git
really isn't a good idea with our process ...
-Daniel

>
> Regards, Joonas
>
> > -Daniel
> >
> > > - Then assorted proactive code fixes caught by CI or developers
> > >
> > > The following changes since commit 
> > > ca4b869240d5810ebac6b1570ad7beffcfbac2f5:
> > >
> > >   Merge branch 'drm-next-4.20' of 
> > > git://people.freedesktop.org/~agd5f/linux into drm-next (2018-10-11 
> > > 14:53:45 +1000)
> > >
> > > are available in the Git repository at:
> > >
> > >   git://anongit.freedesktop.org/drm/drm-intel 
> > > tags/drm-intel-next-fixes-2018-10-18
> > >
> > > for you to fetch changes up to 835fe6d75d14c1513910ed7f5665127fee12acc8:
> > >
> > >   firmware/dmc/icl: Add missing MODULE_FIRMWARE() for Icelake. 
> > > (2018-10-18 10:36:10 +0300)
> > >
> > > 
> > > - Fix GPU hang on MacBook2,1 when booting in EFI mode (Bugzilla #105637)
> > > - Fix garbled console on Y tiled BIOS framebuffer configs (Bugzilla 
> > > #108264)
> > > - Fix black screen on certain eDP panels eg. Dell XPS 9350 (Bugzilla 
> > > #107489 and #105338)
> > > - MST fixes that Rodrigo dropped from drm-intel-fixes and bunch of 
> > > Icelake fixes
> > > - Then assorted proactive code fixes caught by CI or developers
> > >
> > > 
> > > Anusha Srivatsa (1):
> > >   firmware/dmc/icl: Add missing MODULE_FIRMWARE() for Icelake.
> > >
> > > Chris Wilson (3):
> > >   drm/i915: Only reset seqno if actually idle
> > >   drm/i915/selftests: Disable shrinker across mmap-exhaustion
> > >   drm/i915: Large page offsets for pread/pwrite
> > >
> > > Imre Deak (1):
> > >   drm/i915/gen9+: Fix initial readout for Y tiled framebuffers
> > >
> > > Lyude Paul (3):
> > >   drm/i915: Don't unset intel_connector->mst_port
> > >   drm/i915: Skip vcpi allocation for MSTB ports that are gone
> > >   drm/i915: Fix intel_dp_mst_best_encoder()
> > >
> > > Mahesh Kumar (2):
> > >   drm/i915/icl: create function to identify combophy port
> > >   drm/i915/icl: Fix DDI/TC port clk_off bits
> > >
> > > Manasi Navare (1):
> > >   drm/i915/dp: Link train Fallback on eDP only if fallback link BW 
> > > can fit panel's native mode
> > >
> > > Rodrigo Vivi (1):
> > >   drm/i915/icl: Fix signal_levels
> > >
> > > Ville Syrjälä (3):
> > >   drm/i915: Check fb stride against plane max stride
> > >   drm/i915: Restore vblank interrupts earlier
> > >   drm/i915: Use the correct crtc when sanitizing plane mapping
> > >
> > >  drivers/gpu/drm/i915/i915_debugfs.c  |   2 +-
> > >  drivers/gpu/drm/i915/i915_gem.c  |  12 +-
> > >  drivers/gpu/drm/i915/i915_reg.h  |   3 +
> > >  drivers/gpu/drm/i915/intel_csr.c |   1 +
> > >  drivers/gpu/drm/i915/intel_ddi.c |  36 --
> > >  drivers/gpu/drm/i915/intel_display.c | 151 
> > > ---
> > >  drivers/gpu/drm/i915/intel_dp.c  |  32 -
> > >  drivers/gpu/drm/i915/intel_dp_link_training.c|  26 

  1   2   >