[PULL] drm-intel-fixes

2024-05-08 Thread Rodrigo Vivi
Hi Dave and Sima,

Here goes our last fixes for v6.9.

drm-intel-fixes-2024-05-08:
- Automate CCS Mode setting during engine resets (Andi)
- Fix audio time stamp programming for DP (Chaitanya)
- Fix parsing backlight BDB data (Karthikeyan)
The following changes since commit dd5a440a31fae6e459c0d627162825505361:

  Linux 6.9-rc7 (2024-05-05 14:06:01 -0700)

are available in the Git repository at:

  https://anongit.freedesktop.org/git/drm/drm-intel 
tags/drm-intel-fixes-2024-05-08

for you to fetch changes up to 43b26bdd2ee5cfca80939be910d5b23a50cd7f9d:

  drm/i915/bios: Fix parsing backlight BDB data (2024-05-07 09:42:27 -0400)


- Automate CCS Mode setting during engine resets (Andi)
- Fix audio time stamp programming for DP (Chaitanya)
- Fix parsing backlight BDB data (Karthikeyan)


Andi Shyti (1):
  drm/i915/gt: Automate CCS Mode setting during engine resets

Chaitanya Kumar Borah (1):
  drm/i915/audio: Fix audio time stamp programming for DP

Karthikeyan Ramasubramanian (1):
  drm/i915/bios: Fix parsing backlight BDB data

 drivers/gpu/drm/i915/display/intel_audio.c| 113 ++
 drivers/gpu/drm/i915/display/intel_bios.c |  19 +
 drivers/gpu/drm/i915/display/intel_vbt_defs.h |   5 --
 drivers/gpu/drm/i915/gt/intel_gt_ccs_mode.c   |   6 +-
 drivers/gpu/drm/i915/gt/intel_gt_ccs_mode.h   |   2 +-
 drivers/gpu/drm/i915/gt/intel_workarounds.c   |   4 +-
 6 files changed, 19 insertions(+), 130 deletions(-)


[PULL] drm-intel-fixes

2024-04-10 Thread Rodrigo Vivi
Hi Dave and Sima,

Here goes drm-intel-fixes-2024-04-10:

Display fixes:
- Couple CDCLK programming fixes (Ville)
- HDCP related fix (Suraj)
- 4 Bigjoiner related fixes (Ville)

Core fix:
- Fix for a circular locking around GuC on reset+wedged case (John)

Thanks,
Rodrigo.

The following changes since commit fec50db7033ea478773b159e0e2efb135270e3b7:

  Linux 6.9-rc3 (2024-04-07 13:22:46 -0700)

are available in the Git repository at:

  https://anongit.freedesktop.org/git/drm/drm-intel 
tags/drm-intel-fixes-2024-04-10

for you to fetch changes up to dcd8992e47f13afb5c11a61e8d9c141c35e23751:

  drm/i915/vrr: Disable VRR when using bigjoiner (2024-04-08 13:10:10 -0400)


Display fixes:
- Couple CDCLK programming fixes (Ville)
- HDCP related fix (Suraj)
- 4 Bigjoiner related fixes (Ville)

Core fix:
- Fix for a circular locking around GuC on reset+wedged case (John)


John Harrison (1):
  drm/i915/guc: Fix the fix for reset lock confusion

Suraj Kandpal (1):
  drm/i915/hdcp: Fix get remote hdcp capability function

Ville Syrjälä (6):
  drm/i915/cdclk: Fix CDCLK programming order when pipes are active
  drm/i915/cdclk: Fix voltage_level programming edge case
  drm/i915/psr: Disable PSR when bigjoiner is used
  drm/i915: Disable port sync when bigjoiner is used
  drm/i915: Disable live M/N updates when using bigjoiner
  drm/i915/vrr: Disable VRR when using bigjoiner

 drivers/gpu/drm/i915/display/intel_cdclk.c| 42 +--
 drivers/gpu/drm/i915/display/intel_cdclk.h|  3 ++
 drivers/gpu/drm/i915/display/intel_ddi.c  |  5 +++
 drivers/gpu/drm/i915/display/intel_dp.c   |  6 +++-
 drivers/gpu/drm/i915/display/intel_dp_hdcp.c  |  5 ++-
 drivers/gpu/drm/i915/display/intel_psr.c  | 11 ++
 drivers/gpu/drm/i915/display/intel_vrr.c  |  7 
 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c | 23 +
 drivers/gpu/drm/i915/gt/uc/intel_uc.c |  4 +++
 9 files changed, 79 insertions(+), 27 deletions(-)


[PULL] drm-intel-fixes

2024-04-04 Thread Rodrigo Vivi
Hi Dave and Sima,

Here goes drm-intel-fixes-2024-04-04:

Display fixes:
- A few DisplayPort related fixes (Imre, Arun, Ankit, Ville)
- eDP PSR fixes (Jouni)

Core/GT fixes:
- Remove some VM space restrictions on older platforms (Andi)
- Disable automatic load CCS load balancing (Andi)

Thanks,
Rodrigo.

The following changes since commit 39cd87c4eb2b893354f3b850f916353f2658ae6f:

  Linux 6.9-rc2 (2024-03-31 14:32:39 -0700)

are available in the Git repository at:

  https://anongit.freedesktop.org/git/drm/drm-intel 
tags/drm-intel-fixes-2024-04-04

for you to fetch changes up to 99f855082f228cdcecd6ab768d3b8b505e0eb028:

  drm/i915/mst: Reject FEC+MST on ICL (2024-04-03 14:26:11 -0400)


Display fixes:
- A few DisplayPort related fixes (Imre, Arun, Ankit, Ville)
- eDP PSR fixes (Jouni)

Core/GT fixes:
- Remove some VM space restrictions on older platforms (Andi)
- Disable automatic load CCS load balancing (Andi)


Andi Shyti (4):
  drm/i915/gt: Limit the reserved VM space to only the platforms that need 
it
  drm/i915/gt: Disable HW load balancing for CCS
  drm/i915/gt: Do not generate the command streamer for all the CCS
  drm/i915/gt: Enable only one CCS for compute workload

Ankit Nautiyal (1):
  drm/i915/dp: Fix the computation for compressed_bpp for DISPLAY < 13

Arun R Murthy (1):
  drm/i915/dp: Remove support for UHBR13.5

Imre Deak (1):
  drm/i915/dp: Fix DSC state HW readout for SST connectors

Jouni Högander (3):
  drm/i915/psr: Calculate PIPE_SRCSZ_ERLY_TPT value
  drm/i915/psr: Move writing early transport pipe src
  drm/i915/psr: Fix intel_psr2_sel_fetch_et_alignment usage

Ville Syrjälä (2):
  drm/i915/mst: Limit MST+DSC to TGL+
  drm/i915/mst: Reject FEC+MST on ICL

 drivers/gpu/drm/i915/Makefile  |  1 +
 drivers/gpu/drm/i915/display/intel_display.c   |  9 ---
 .../gpu/drm/i915/display/intel_display_device.h|  1 +
 drivers/gpu/drm/i915/display/intel_display_types.h |  2 +
 drivers/gpu/drm/i915/display/intel_dp.c| 11 +--
 drivers/gpu/drm/i915/display/intel_dp_mst.c|  2 +-
 drivers/gpu/drm/i915/display/intel_psr.c   | 78 --
 drivers/gpu/drm/i915/gt/gen8_ppgtt.c   |  3 +
 drivers/gpu/drm/i915/gt/intel_engine_cs.c  | 17 +
 drivers/gpu/drm/i915/gt/intel_gt.c |  6 ++
 drivers/gpu/drm/i915/gt/intel_gt.h |  9 +--
 drivers/gpu/drm/i915/gt/intel_gt_ccs_mode.c| 39 +++
 drivers/gpu/drm/i915/gt/intel_gt_ccs_mode.h| 13 
 drivers/gpu/drm/i915/gt/intel_gt_regs.h|  6 ++
 drivers/gpu/drm/i915/gt/intel_workarounds.c| 30 -
 15 files changed, 185 insertions(+), 42 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/gt/intel_gt_ccs_mode.c
 create mode 100644 drivers/gpu/drm/i915/gt/intel_gt_ccs_mode.h


Re: [PULL] drm-intel-fixes

2024-03-29 Thread Rodrigo Vivi
On Fri, Mar 29, 2024 at 06:23:54AM -0400, Musial, Ewelina wrote:
> Hi Rodrigo,
> 
> When I opened dashboard early morning all results were available, so I don't 
> think there was any issue during night.
> It could be long reporting queue - reporting through AWS takes ages but this 
> is not an issue with reporting, this is how AWS works.

I'm sorry for the noise. It was probably just a matter of time.

Everything looking good there.

Thanks,
Rodrigo.

> 
> Regards,
> Ewelina
> 
> -Original Message-
> From: Intel-gfx  On Behalf Of 
> Rodrigo Vivi
> Sent: Friday, March 29, 2024 2:32 AM
> To: Dave Airlie ; Daniel Vetter 
> Cc: Jani Nikula ; Joonas Lahtinen 
> ; Tvrtko Ursulin ; 
> Vivi, Rodrigo ; Thomas Zimmermann 
> ; Maarten Lankhorst ; 
> Maxime Ripard ; Thomas Hellström 
> ; Oded Gabbay ; De 
> Marchi, Lucas ; dri-devel@lists.freedesktop.org; 
> intel-...@lists.freedesktop.org; intel...@lists.freedesktop.org; 
> dim-to...@lists.freedesktop.org
> Subject: [PULL] drm-intel-fixes
> 
> Hi Dave and Sima,
> 
> Here goes our first PR of this round.
> 
> Our CI is not working as I would expect:
> https://intel-gfx-ci.01.org/tree/drm-intel-fixes/index.html?
> 
> Well, at least it caught some build failures on runds 832 and 833.
> But after I fixed those, the 834 (with v6.9-rc1) and the 835 (with all these 
> patches here) didn't show up yet. So I have run manual validation on my 
> DG2+ADL here.
> 
> Everything looking good here, and it is yet -rc1. I'm confident that we can 
> move ahead with those while we work to get CI back.
> 
> Thanks,
> Rodrigo
> 
> drm-intel-fixes-2024-03-28:
> 
> Core/GT Fixes:
> - Fix for BUG_ON/BUILD_BUG_ON IN I915_memcpy.c (Joonas)
> - Update a MTL workaround (Tejas)
> - Fix locking inversion in hwmon's sysfs (Janusz)
> - Remove a bogus error message around PXP (Jose)
> - Fix UAF on VMA (Janusz)
> - Reset queue_priority_hint on parking (Chris)
> 
> Display Fixes:
> - Remove duplicated audio enable/disable on SDVO and DP (Ville)
> - Disable AuxCCS for Xe driver (Juha-Pekka)
> - Revert init order of MIPI DSI (Ville)
> - DRRS debugfs fix with an extra refactor patch (Bhanuprakash)
> - VRR related fixes (Ville)
> - Fix a JSL eDP corruption (Jonathon)
> - Fix the cursor physical dma address (Ville)
> - BIOS VBT related fix (Ville)
> 
> Thanks,
> Rodrigo.
> 
> The following changes since commit 4cece764965020c22cff7665b18a012006359095:
> 
>   Linux 6.9-rc1 (2024-03-24 14:10:05 -0700)
> 
> are available in the Git repository at:
> 
>   https://anongit.freedesktop.org/git/drm/drm-intel 
> tags/drm-intel-fixes-2024-03-28
> 
> for you to fetch changes up to 32e39bab59934bfd3f37097d4dd85ac5eb0fd549:
> 
>   drm/i915/bios: Tolerate devdata==NULL in 
> intel_bios_encoder_supports_dp_dual_mode() (2024-03-28 12:16:17 -0400)
> 
> 
> Core/GT Fixes:
> - Fix for BUG_ON/BUILD_BUG_ON IN I915_memcpy.c (Joonas)
> - Update a MTL workaround (Tejas)
> - Fix locking inversion in hwmon's sysfs (Janusz)
> - Remove a bogus error message around PXP (Jose)
> - Fix UAF on VMA (Janusz)
> - Reset queue_priority_hint on parking (Chris)
> 
> Display Fixes:
> - Remove duplicated audio enable/disable on SDVO and DP (Ville)
> - Disable AuxCCS for Xe driver (Juha-Pekka)
> - Revert init order of MIPI DSI (Ville)
> - DRRS debugfs fix with an extra refactor patch (Bhanuprakash)
> - VRR related fixes (Ville)
> - Fix a JSL eDP corruption (Jonathon)
> - Fix the cursor physical dma address (Ville)
> - BIOS VBT related fix (Ville)
> 
> 
> Bhanuprakash Modem (2):
>   drm/i915/drrs: Refactor CPU transcoder DRRS check
>   drm/i915/display/debugfs: Fix duplicate checks in i915_drrs_status
> 
> Chris Wilson (1):
>   drm/i915/gt: Reset queue_priority_hint on parking
> 
> Janusz Krzysztofik (2):
>   drm/i915/hwmon: Fix locking inversion in sysfs getter
>   drm/i915/vma: Fix UAF on destroy against retire race
> 
> Jonathon Hall (1):
>   drm/i915: Do not match JSL in ehl_combo_pll_div_frac_wa_needed()
> 
> Joonas Lahtinen (1):
>   drm/i915: Add includes for BUG_ON/BUILD_BUG_ON in i915_memcpy.c
> 
> José Roberto de Souza (1):
>   drm/i915: Do not print 'pxp init failed with 0' when it succeed
> 
> Juha-Pekka Heikkila (1):
>   drm/i915/display: Disable AuxCCS framebuffers if built for Xe
> 
> Tejas Upadhyay (1):
>   drm/i915/mtl: Update workaround 14018575942
> 
> Ville Syrjälä (6):
>   drm/i915: Stop doing double audio enable/disable on SDVO and g4x+ DP
>   drm/i915/dsi: Go

RE: [PULL] drm-intel-fixes

2024-03-29 Thread Musial, Ewelina
Hi Rodrigo,

When I opened dashboard early morning all results were available, so I don't 
think there was any issue during night.
It could be long reporting queue - reporting through AWS takes ages but this is 
not an issue with reporting, this is how AWS works.

Regards,
Ewelina

-Original Message-
From: Intel-gfx  On Behalf Of Rodrigo 
Vivi
Sent: Friday, March 29, 2024 2:32 AM
To: Dave Airlie ; Daniel Vetter 
Cc: Jani Nikula ; Joonas Lahtinen 
; Tvrtko Ursulin ; Vivi, 
Rodrigo ; Thomas Zimmermann ; 
Maarten Lankhorst ; Maxime Ripard 
; Thomas Hellström ; Oded 
Gabbay ; De Marchi, Lucas ; 
dri-devel@lists.freedesktop.org; intel-...@lists.freedesktop.org; 
intel...@lists.freedesktop.org; dim-to...@lists.freedesktop.org
Subject: [PULL] drm-intel-fixes

Hi Dave and Sima,

Here goes our first PR of this round.

Our CI is not working as I would expect:
https://intel-gfx-ci.01.org/tree/drm-intel-fixes/index.html?

Well, at least it caught some build failures on runds 832 and 833.
But after I fixed those, the 834 (with v6.9-rc1) and the 835 (with all these 
patches here) didn't show up yet. So I have run manual validation on my DG2+ADL 
here.

Everything looking good here, and it is yet -rc1. I'm confident that we can 
move ahead with those while we work to get CI back.

Thanks,
Rodrigo

drm-intel-fixes-2024-03-28:

Core/GT Fixes:
- Fix for BUG_ON/BUILD_BUG_ON IN I915_memcpy.c (Joonas)
- Update a MTL workaround (Tejas)
- Fix locking inversion in hwmon's sysfs (Janusz)
- Remove a bogus error message around PXP (Jose)
- Fix UAF on VMA (Janusz)
- Reset queue_priority_hint on parking (Chris)

Display Fixes:
- Remove duplicated audio enable/disable on SDVO and DP (Ville)
- Disable AuxCCS for Xe driver (Juha-Pekka)
- Revert init order of MIPI DSI (Ville)
- DRRS debugfs fix with an extra refactor patch (Bhanuprakash)
- VRR related fixes (Ville)
- Fix a JSL eDP corruption (Jonathon)
- Fix the cursor physical dma address (Ville)
- BIOS VBT related fix (Ville)

Thanks,
Rodrigo.

The following changes since commit 4cece764965020c22cff7665b18a012006359095:

  Linux 6.9-rc1 (2024-03-24 14:10:05 -0700)

are available in the Git repository at:

  https://anongit.freedesktop.org/git/drm/drm-intel 
tags/drm-intel-fixes-2024-03-28

for you to fetch changes up to 32e39bab59934bfd3f37097d4dd85ac5eb0fd549:

  drm/i915/bios: Tolerate devdata==NULL in 
intel_bios_encoder_supports_dp_dual_mode() (2024-03-28 12:16:17 -0400)


Core/GT Fixes:
- Fix for BUG_ON/BUILD_BUG_ON IN I915_memcpy.c (Joonas)
- Update a MTL workaround (Tejas)
- Fix locking inversion in hwmon's sysfs (Janusz)
- Remove a bogus error message around PXP (Jose)
- Fix UAF on VMA (Janusz)
- Reset queue_priority_hint on parking (Chris)

Display Fixes:
- Remove duplicated audio enable/disable on SDVO and DP (Ville)
- Disable AuxCCS for Xe driver (Juha-Pekka)
- Revert init order of MIPI DSI (Ville)
- DRRS debugfs fix with an extra refactor patch (Bhanuprakash)
- VRR related fixes (Ville)
- Fix a JSL eDP corruption (Jonathon)
- Fix the cursor physical dma address (Ville)
- BIOS VBT related fix (Ville)


Bhanuprakash Modem (2):
  drm/i915/drrs: Refactor CPU transcoder DRRS check
  drm/i915/display/debugfs: Fix duplicate checks in i915_drrs_status

Chris Wilson (1):
  drm/i915/gt: Reset queue_priority_hint on parking

Janusz Krzysztofik (2):
  drm/i915/hwmon: Fix locking inversion in sysfs getter
  drm/i915/vma: Fix UAF on destroy against retire race

Jonathon Hall (1):
  drm/i915: Do not match JSL in ehl_combo_pll_div_frac_wa_needed()

Joonas Lahtinen (1):
  drm/i915: Add includes for BUG_ON/BUILD_BUG_ON in i915_memcpy.c

José Roberto de Souza (1):
  drm/i915: Do not print 'pxp init failed with 0' when it succeed

Juha-Pekka Heikkila (1):
  drm/i915/display: Disable AuxCCS framebuffers if built for Xe

Tejas Upadhyay (1):
  drm/i915/mtl: Update workaround 14018575942

Ville Syrjälä (6):
  drm/i915: Stop doing double audio enable/disable on SDVO and g4x+ DP
  drm/i915/dsi: Go back to the previous INIT_OTP/DISPLAY_ON order, mostly
  drm/i915/vrr: Generate VRR "safe window" for DSB
  drm/i915/dsb: Fix DSB vblank waits when using VRR
  drm/i915: Pre-populate the cursor physical dma address
  drm/i915/bios: Tolerate devdata==NULL in 
intel_bios_encoder_supports_dp_dual_mode()

 drivers/gpu/drm/i915/display/g4x_dp.c  |  2 -
 drivers/gpu/drm/i915/display/icl_dsi.c |  3 +-
 drivers/gpu/drm/i915/display/intel_bios.c  | 46 +---
 drivers/gpu/drm/i915/display/intel_cursor.c|  4 +-
 drivers/gpu/drm/i915/display/intel_display_types.h |  1 +
 drivers/gpu/drm/i915/display/intel_dp.c| 12 +-
 drivers/gpu/drm/i915/display/intel_dpll_mgr.c  |  2 +-
 drivers/gpu/drm/i915/display/intel_drrs.c  | 14 --
 d

[PULL] drm-intel-fixes

2024-03-28 Thread Rodrigo Vivi
Hi Dave and Sima,

Here goes our first PR of this round.

Our CI is not working as I would expect:
https://intel-gfx-ci.01.org/tree/drm-intel-fixes/index.html?

Well, at least it caught some build failures on runds 832 and 833.
But after I fixed those, the 834 (with v6.9-rc1) and the 835 (with
all these patches here) didn't show up yet. So I have run manual validation
on my DG2+ADL here.

Everything looking good here, and it is yet -rc1. I'm confident
that we can move ahead with those while we work to get CI back.

Thanks,
Rodrigo

drm-intel-fixes-2024-03-28:

Core/GT Fixes:
- Fix for BUG_ON/BUILD_BUG_ON IN I915_memcpy.c (Joonas)
- Update a MTL workaround (Tejas)
- Fix locking inversion in hwmon's sysfs (Janusz)
- Remove a bogus error message around PXP (Jose)
- Fix UAF on VMA (Janusz)
- Reset queue_priority_hint on parking (Chris)

Display Fixes:
- Remove duplicated audio enable/disable on SDVO and DP (Ville)
- Disable AuxCCS for Xe driver (Juha-Pekka)
- Revert init order of MIPI DSI (Ville)
- DRRS debugfs fix with an extra refactor patch (Bhanuprakash)
- VRR related fixes (Ville)
- Fix a JSL eDP corruption (Jonathon)
- Fix the cursor physical dma address (Ville)
- BIOS VBT related fix (Ville)

Thanks,
Rodrigo.

The following changes since commit 4cece764965020c22cff7665b18a012006359095:

  Linux 6.9-rc1 (2024-03-24 14:10:05 -0700)

are available in the Git repository at:

  https://anongit.freedesktop.org/git/drm/drm-intel 
tags/drm-intel-fixes-2024-03-28

for you to fetch changes up to 32e39bab59934bfd3f37097d4dd85ac5eb0fd549:

  drm/i915/bios: Tolerate devdata==NULL in 
intel_bios_encoder_supports_dp_dual_mode() (2024-03-28 12:16:17 -0400)


Core/GT Fixes:
- Fix for BUG_ON/BUILD_BUG_ON IN I915_memcpy.c (Joonas)
- Update a MTL workaround (Tejas)
- Fix locking inversion in hwmon's sysfs (Janusz)
- Remove a bogus error message around PXP (Jose)
- Fix UAF on VMA (Janusz)
- Reset queue_priority_hint on parking (Chris)

Display Fixes:
- Remove duplicated audio enable/disable on SDVO and DP (Ville)
- Disable AuxCCS for Xe driver (Juha-Pekka)
- Revert init order of MIPI DSI (Ville)
- DRRS debugfs fix with an extra refactor patch (Bhanuprakash)
- VRR related fixes (Ville)
- Fix a JSL eDP corruption (Jonathon)
- Fix the cursor physical dma address (Ville)
- BIOS VBT related fix (Ville)


Bhanuprakash Modem (2):
  drm/i915/drrs: Refactor CPU transcoder DRRS check
  drm/i915/display/debugfs: Fix duplicate checks in i915_drrs_status

Chris Wilson (1):
  drm/i915/gt: Reset queue_priority_hint on parking

Janusz Krzysztofik (2):
  drm/i915/hwmon: Fix locking inversion in sysfs getter
  drm/i915/vma: Fix UAF on destroy against retire race

Jonathon Hall (1):
  drm/i915: Do not match JSL in ehl_combo_pll_div_frac_wa_needed()

Joonas Lahtinen (1):
  drm/i915: Add includes for BUG_ON/BUILD_BUG_ON in i915_memcpy.c

José Roberto de Souza (1):
  drm/i915: Do not print 'pxp init failed with 0' when it succeed

Juha-Pekka Heikkila (1):
  drm/i915/display: Disable AuxCCS framebuffers if built for Xe

Tejas Upadhyay (1):
  drm/i915/mtl: Update workaround 14018575942

Ville Syrjälä (6):
  drm/i915: Stop doing double audio enable/disable on SDVO and g4x+ DP
  drm/i915/dsi: Go back to the previous INIT_OTP/DISPLAY_ON order, mostly
  drm/i915/vrr: Generate VRR "safe window" for DSB
  drm/i915/dsb: Fix DSB vblank waits when using VRR
  drm/i915: Pre-populate the cursor physical dma address
  drm/i915/bios: Tolerate devdata==NULL in 
intel_bios_encoder_supports_dp_dual_mode()

 drivers/gpu/drm/i915/display/g4x_dp.c  |  2 -
 drivers/gpu/drm/i915/display/icl_dsi.c |  3 +-
 drivers/gpu/drm/i915/display/intel_bios.c  | 46 +---
 drivers/gpu/drm/i915/display/intel_cursor.c|  4 +-
 drivers/gpu/drm/i915/display/intel_display_types.h |  1 +
 drivers/gpu/drm/i915/display/intel_dp.c| 12 +-
 drivers/gpu/drm/i915/display/intel_dpll_mgr.c  |  2 +-
 drivers/gpu/drm/i915/display/intel_drrs.c  | 14 --
 drivers/gpu/drm/i915/display/intel_drrs.h  |  3 ++
 drivers/gpu/drm/i915/display/intel_dsb.c   | 14 ++
 drivers/gpu/drm/i915/display/intel_fb_pin.c| 10 +
 drivers/gpu/drm/i915/display/intel_sdvo.c  |  4 --
 drivers/gpu/drm/i915/display/intel_vrr.c   |  7 +--
 drivers/gpu/drm/i915/display/skl_universal_plane.c |  3 ++
 drivers/gpu/drm/i915/gt/intel_engine_pm.c  |  3 --
 .../gpu/drm/i915/gt/intel_execlists_submission.c   |  3 ++
 drivers/gpu/drm/i915/gt/intel_workarounds.c|  1 +
 drivers/gpu/drm/i915/i915_driver.c |  2 +-
 drivers/gpu/drm/i915/i915_hwmon.c  | 37 
 drivers/gpu/drm/i915/i915_memcpy.c |  2 +
 drivers/gpu/drm/i915/i915_reg.h 

[PULL] drm-intel-fixes

2024-03-07 Thread Joonas Lahtinen
Hi Dave & Sima,

Here goes the final drm-intel-fixes for v6.8.

This PR will appear to contain more patches than it does. It's 4 patches on top 
of
drm-fixes after Sima pulled the previous PR as you can observe from git log.

Fixes for kernel crash on UHD 730, boot delay regression on PSR, DP DSC
WARN splat and smaller fix for selftest.

Regards, Joonas

***

drm-intel-fixes-2024-03-07:
- Fix for #10184: Kernel crash on UHD Graphics 730 (Cc stable)
. Fix for #10284: Boot delay regresion with PSR
- Fix DP connector DSC HW state readout
- Selftest fix to convert msecs to jiffies

The following changes since commit 90d35da658da8cff0d4ecbb5113f5fac9d00eb72:

  Linux 6.8-rc7 (2024-03-03 13:02:52 -0800)

are available in the Git repository at:

  https://anongit.freedesktop.org/git/drm/drm-intel 
tags/drm-intel-fixes-2024-03-07

for you to fetch changes up to 984318aaf7b6516d03a2971a4a37bab4ea648461:

  drm/i915/panelreplay: Move out psr_init_dpcd() from init_connector() 
(2024-03-06 15:41:16 +0200)


- Fix for #10184: Kernel crash on UHD Graphics 730 (Cc stable)
. Fix for #10284: Boot delay regresion with PSR
- Fix DP connector DSC HW state readout
- Selftest fix to convert msecs to jiffies


Animesh Manna (1):
  drm/i915/panelreplay: Move out psr_init_dpcd() from init_connector()

Daniel Vetter (1):
  Merge tag 'drm-intel-fixes-2024-03-01' of 
https://anongit.freedesktop.org/git/drm/drm-intel into drm-fixes

Imre Deak (1):
  drm/i915/dp: Fix connector DSC HW state readout

Janusz Krzysztofik (1):
  drm/i915/selftests: Fix dependency of some timeouts on HZ

Nirmoy Das (1):
  drm/i915: Check before removing mm notifier

Suraj Kandpal (3):
  drm/i915/hdcp: Move to direct reads for HDCP
  drm/i915/hdcp: Remove additional timing for reading mst hdcp message
  drm/i915/hdcp: Extract hdcp structure from correct connector

Tvrtko Ursulin (1):
  MAINTAINERS: Update email address for Tvrtko Ursulin

Ville Syrjälä (1):
  drm/i915: Don't explode when the dig port we don't have an AUX CH

 .mailmap   |  5 +++
 MAINTAINERS|  2 +-
 .../drm/i915/display/intel_display_power_well.c| 17 ++--
 drivers/gpu/drm/i915/display/intel_display_types.h |  7 
 drivers/gpu/drm/i915/display/intel_dp.c| 16 
 drivers/gpu/drm/i915/display/intel_dp.h|  2 +
 drivers/gpu/drm/i915/display/intel_dp_hdcp.c   | 47 --
 drivers/gpu/drm/i915/display/intel_dp_mst.c|  1 +
 drivers/gpu/drm/i915/display/intel_modeset_setup.c | 13 +++---
 drivers/gpu/drm/i915/display/intel_psr.c   |  3 --
 drivers/gpu/drm/i915/gem/i915_gem_userptr.c|  3 ++
 .../drm/i915/selftests/intel_scheduler_helpers.c   |  6 ++-
 12 files changed, 75 insertions(+), 47 deletions(-)


[PULL] drm-intel-fixes

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

Here's the drm-intel-fixes towards v6.8(-rc7).

One NULL check for mmu notifier and HDCP fix to read from primary
connector.

Regards, Joonas

***

drm-intel-fixes-2024-03-01:

- Fix to extract HDCP information from primary connector
- Check for NULL mmu_interval_notifier before removing

The following changes since commit d206a76d7d2726f3b096037f2079ce0bd3ba329b:

  Linux 6.8-rc6 (2024-02-25 15:46:06 -0800)

are available in the Git repository at:

  https://anongit.freedesktop.org/git/drm/drm-intel 
tags/drm-intel-fixes-2024-03-01

for you to fetch changes up to 01bb1ae35006e473138c90711bad1a6b614a1823:

  drm/i915: Check before removing mm notifier (2024-02-29 14:14:40 +0200)


- Fix to extract HDCP information from primary connector
- Check for NULL mmu_interval_notifier before removing


Nirmoy Das (1):
  drm/i915: Check before removing mm notifier

Suraj Kandpal (3):
  drm/i915/hdcp: Move to direct reads for HDCP
  drm/i915/hdcp: Remove additional timing for reading mst hdcp message
  drm/i915/hdcp: Extract hdcp structure from correct connector

 drivers/gpu/drm/i915/display/intel_dp_hdcp.c | 47 ++--
 drivers/gpu/drm/i915/gem/i915_gem_userptr.c  |  3 ++
 2 files changed, 19 insertions(+), 31 deletions(-)


[PULL] drm-intel-fixes

2024-02-22 Thread Joonas Lahtinen
Hi Dave & Sima,

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

Just a single fixup patch for TV mode.

Best Regards, Joonas

***

drm-intel-fixes-2024-02-22:

- Fixup for TV mode

The following changes since commit b401b621758e46812da61fa58a67c3fd8d91de0d:

  Linux 6.8-rc5 (2024-02-18 12:56:25 -0800)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2024-02-22

for you to fetch changes up to fb1e881273f432e593f8789f99e725b09304cc97:

  drm/i915/tv: Fix TV mode (2024-02-21 09:30:20 +0200)


- Fixup for TV mode


Maxime Ripard (1):
  drm/i915/tv: Fix TV mode

 drivers/gpu/drm/i915/display/intel_sdvo.c | 10 +-
 drivers/gpu/drm/i915/display/intel_tv.c   | 10 +-
 2 files changed, 10 insertions(+), 10 deletions(-)


[PULL] drm-intel-fixes

2024-02-15 Thread Joonas Lahtinen
Hi Dave & Sima,

Here goes drm-intel-fixes towards v6.8-rc5. Two fixes.

Fix for #10172 (blank screen on JSL Chromebooks) and limiting SST link
rate within supported range.

Best Regards, Joonas

***

drm-intel-fixes-2024-02-15:

Fix for #10172: Blank screen on JSL Chromebooks. Stable fix to limit DP SST 
link rate to <=8.1Gbps.

The following changes since commit 841c35169323cd833294798e58b9bf63fa4fa1de:

  Linux 6.8-rc4 (2024-02-11 12:18:13 -0800)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2024-02-15

for you to fetch changes up to ad26d56d080780bbfcc1696ca0c0cce3e2124ef6:

  drm/i915/dp: Limit SST link rate to <=8.1Gbps (2024-02-12 11:39:19 +0200)


Fix for #10172: Blank screen on JSL Chromebooks. Stable fix to limit DP SST 
link rate to <=8.1Gbps.


Manasi Navare (1):
  drm/i915/dsc: Fix the macro that calculates DSCC_/DSCA_ PPS reg address

Ville Syrjälä (1):
  drm/i915/dp: Limit SST link rate to <=8.1Gbps

 drivers/gpu/drm/i915/display/intel_dp.c| 3 +++
 drivers/gpu/drm/i915/display/intel_vdsc_regs.h | 4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)


[PULL] drm-intel-fixes

2024-02-08 Thread Joonas Lahtinen
Hi Dave & Sima,

Here goes drm-intel-fixes, which is just the gvt-fixes PR for this week.

Regards, Joonas

***

drm-intel-fixes-2024-02-08:

- Just includes gvt-fixes-2024-02-05

The following changes since commit 54be6c6c5ae8e0d93a6c4641cb7528eb0b6ba478:

  Linux 6.8-rc3 (2024-02-04 12:20:36 +)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2024-02-08

for you to fetch changes up to a99682e839af7be11a606bf802cba5b2bf93b8e9:

  Merge tag 'gvt-fixes-2024-02-05' of https://github.com/intel/gvt-linux into 
drm-intel-fixes (2024-02-05 15:56:47 +0200)


- Just includes gvt-fixes-2024-02-05


Dan Carpenter (1):
  drm/i915/gvt: Fix uninitialized variable in handle_mmio()

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

Zhenyu Wang (1):
  drm/i915: Replace dead 01.org link

Zhi Wang (1):
  MAINTAINERS: Update Zhi Wang's email address

 MAINTAINERS | 4 ++--
 drivers/gpu/drm/i915/Kconfig| 2 +-
 drivers/gpu/drm/i915/gvt/handlers.c | 3 +--
 drivers/gpu/drm/i915/intel_gvt.c| 2 +-
 4 files changed, 5 insertions(+), 6 deletions(-)


[PULL] drm-intel-fixes

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

Just one Cc stable patch (the rest was already in drm-intel-next-fixes).

Tried to wait for CI results, but none yet.

Best Regards, Joonas

***

drm-intel-fixes-2024-01-26:

- PSR fix for HSW

The following changes since commit 6613476e225e090cc9aad49be7fa504e290dd33d:

  Linux 6.8-rc1 (2024-01-21 14:11:32 -0800)

are available in the Git repository at:

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

for you to fetch changes up to f9f031dd21a7ce13a13862fa5281d32e1029c70f:

  drm/i915/psr: Only allow PSR in LPSP mode on HSW non-ULT (2024-01-25 10:44:13 
+0200)


- PSR fix for HSW


Ville Syrjälä (1):
  drm/i915/psr: Only allow PSR in LPSP mode on HSW non-ULT

 drivers/gpu/drm/i915/display/intel_psr.c | 14 --
 1 file changed, 12 insertions(+), 2 deletions(-)


[PULL] drm-intel-fixes

2023-12-28 Thread Jani Nikula


Hi Dave & Sima -

A couple of more fixes towards v6.7.

drm-intel-fixes-2023-12-28:
drm/i915 fixes for v6.7-rc8:
- Fix bogus DPCD rev usage for DP phy test pattern setup
- Fix handling of MMIO triggered reports in the OA buffer

BR,
Jani.

The following changes since commit 861deac3b092f37b2c5e6871732f3e11486f7082:

  Linux 6.7-rc7 (2023-12-23 16:25:56 -0800)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-12-28

for you to fetch changes up to ee11d2d37f5c05bd7bf5ccc820a58f48423d032b:

  drm/i915/perf: Update handling of MMIO triggered reports (2023-12-27 12:50:15 
+0200)


drm/i915 fixes for v6.7-rc8:
- Fix bogus DPCD rev usage for DP phy test pattern setup
- Fix handling of MMIO triggered reports in the OA buffer


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

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

 drivers/gpu/drm/i915/display/intel_dp.c |  2 +-
 drivers/gpu/drm/i915/i915_perf.c| 39 -
 2 files changed, 35 insertions(+), 6 deletions(-)

-- 
Jani Nikula, Intel


[PULL] drm-intel-fixes

2023-12-21 Thread Jani Nikula


Hi Dave & Sima -

A bit more than I'd like at this stage, but next week will be quiet.

drm-intel-fixes-2023-12-21:
drm/i915 fixes for v6.7-rc7:
- Fix state readout and check for DSC and bigjoiner combo
- Fix a potential integer overflow
- Reject async flips with bigjoiner
- Fix MTL HDMI/DP PLL clock selection
- Fix various issues by disabling pipe DMC events

BR,
Jani.

The following changes since commit ceb6a6f023fd3e8b07761ed900352ef574010bcb:

  Linux 6.7-rc6 (2023-12-17 15:19:28 -0800)

are available in the Git repository at:

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

for you to fetch changes up to 49e0a85ec3441edc6c77aa40206d6e5ee4597efc:

  drm/i915/dmc: Don't enable any pipe DMC events (2023-12-18 15:29:23 +0200)


drm/i915 fixes for v6.7-rc7:
- Fix state readout and check for DSC and bigjoiner combo
- Fix a potential integer overflow
- Reject async flips with bigjoiner
- Fix MTL HDMI/DP PLL clock selection
- Fix various issues by disabling pipe DMC events


Ankit Nautiyal (1):
  drm/i915/display: Get bigjoiner config before dsc config during readout

Imre Deak (1):
  drm/i915/mtl: Fix HDMI/DP PLL clock selection

Karthik Poosa (1):
  drm/i915/hwmon: Fix static analysis tool reported issues

Ville Syrjälä (2):
  drm/i915: Reject async flips with bigjoiner
  drm/i915/dmc: Don't enable any pipe DMC events

 drivers/gpu/drm/i915/display/intel_cx0_phy.c |  3 +-
 drivers/gpu/drm/i915/display/intel_display.c | 13 -
 drivers/gpu/drm/i915/display/intel_dmc.c | 43 ++--
 drivers/gpu/drm/i915/i915_hwmon.c|  4 +--
 4 files changed, 57 insertions(+), 6 deletions(-)

-- 
Jani Nikula, Intel


[PULL] drm-intel-fixes

2023-12-13 Thread Jani Nikula


Hi Dave & Sima -

Fixes for -rc6, majority of them stable material.

drm-intel-fixes-2023-12-13:
drm/i915 fixes for v6.7-rc6:
- Fix selftest engine reset count storage for multi-tile
- Fix out-of-bounds reads for engine reset counts
- Fix ADL+ remapped stride with CCS
- Fix intel_atomic_setup_scalers() plane_state handling
- Fix ADL+ tiled plane stride when the POT stride is smaller than the original
- Fix eDP 1.4 rate select method link configuration

BR,
Jani.

The following changes since commit a39b6ac3781d46ba18193c9dbb2110f31e9bffe9:

  Linux 6.7-rc5 (2023-12-10 14:33:40 -0800)

are available in the Git repository at:

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

for you to fetch changes up to e6861d8264cd43c5eb20196e53df36fd71ec5698:

  drm/i915/edp: don't write to DP_LINK_BW_SET when using rate select 
(2023-12-11 13:15:35 +0200)


drm/i915 fixes for v6.7-rc6:
- Fix selftest engine reset count storage for multi-tile
- Fix out-of-bounds reads for engine reset counts
- Fix ADL+ remapped stride with CCS
- Fix intel_atomic_setup_scalers() plane_state handling
- Fix ADL+ tiled plane stride when the POT stride is smaller than the original
- Fix eDP 1.4 rate select method link configuration


Jani Nikula (1):
  drm/i915/edp: don't write to DP_LINK_BW_SET when using rate select

Tvrtko Ursulin (2):
  drm/i915/selftests: Fix engine reset count storage for multi-tile
  drm/i915: Use internal class when counting engine resets

Ville Syrjälä (3):
  drm/i915: Fix remapped stride with CCS on ADL+
  drm/i915: Fix intel_atomic_setup_scalers() plane_state handling
  drm/i915: Fix ADL+ tiled plane stride when the POT stride is smaller than 
the original

 .../gpu/drm/i915/display/intel_dp_link_training.c  | 31 +++---
 drivers/gpu/drm/i915/display/intel_fb.c| 19 ++---
 drivers/gpu/drm/i915/display/skl_scaler.c  |  2 +-
 drivers/gpu/drm/i915/gt/intel_reset.c  |  2 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c  |  5 ++--
 drivers/gpu/drm/i915/i915_gpu_error.h  | 12 +++--
 drivers/gpu/drm/i915/selftests/igt_live_test.c |  9 ---
 drivers/gpu/drm/i915/selftests/igt_live_test.h |  3 ++-
 8 files changed, 59 insertions(+), 24 deletions(-)

-- 
Jani Nikula, Intel


[PULL] drm-intel-fixes

2023-12-07 Thread Jani Nikula


Hi Dave & Sima -

Fixes for -rc5. This includes [1] from last week.

BR,
Jani.


[1] https://lore.kernel.org/r/87fs0m48ol@intel.com




drm-intel-fixes-2023-12-07:
drm/i915 fixes for v6.7-rc5:
- d21a3962d304 ("drm/i915: Call intel_pre_plane_updates() also for pipes
  getting enabled") in the previous fixes pull depends on a change that
  wasn't included. Pick it up.
- Relax BXT/GLK DSI transcoder hblank limits
- Fix DP MST .mode_valid_ctx() return values
- Reject DP MST modes that require bigjoiner (as it's not yet supported on DP 
MST)
- Fix _intel_dsb_commit() variable type to allow negative values

BR,
Jani.

The following changes since commit d21a3962d3042e6f56ad324cf18bdd64a1e6ecfa:

  drm/i915: Call intel_pre_plane_updates() also for pipes getting enabled 
(2023-11-29 10:23:25 +0200)

are available in the Git repository at:

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

for you to fetch changes up to 9f269070abe9c45dc60abc84e29326f855317eac:

  drm/i915: correct the input parameter on _intel_dsb_commit() (2023-12-05 
10:43:07 +0200)


drm/i915 fixes for v6.7-rc5:
- d21a3962d304 ("drm/i915: Call intel_pre_plane_updates() also for pipes
  getting enabled") in the previous fixes pull depends on a change that
  wasn't included. Pick it up.
- Relax BXT/GLK DSI transcoder hblank limits
- Fix DP MST .mode_valid_ctx() return values
- Reject DP MST modes that require bigjoiner (as it's not yet supported on DP 
MST)
- Fix _intel_dsb_commit() variable type to allow negative values


Ville Syrjälä (4):
  drm/i915: Check pipe active state in {planes,vrr}_{enabling,disabling}()
  drm/i915: Skip some timing checks on BXT/GLK DSI transcoders
  drm/i915/mst: Fix .mode_valid_ctx() return values
  drm/i915/mst: Reject modes that require the bigjoiner

heminhong (1):
  drm/i915: correct the input parameter on _intel_dsb_commit()

 drivers/gpu/drm/i915/display/icl_dsi.c   |  7 +++
 drivers/gpu/drm/i915/display/intel_crt.c |  5 +
 drivers/gpu/drm/i915/display/intel_display.c | 22 ++
 drivers/gpu/drm/i915/display/intel_display.h |  3 +++
 drivers/gpu/drm/i915/display/intel_dp.c  |  4 
 drivers/gpu/drm/i915/display/intel_dp_mst.c  | 20 
 drivers/gpu/drm/i915/display/intel_dsb.c |  2 +-
 drivers/gpu/drm/i915/display/intel_dvo.c |  6 ++
 drivers/gpu/drm/i915/display/intel_hdmi.c|  4 
 drivers/gpu/drm/i915/display/intel_lvds.c|  5 +
 drivers/gpu/drm/i915/display/intel_sdvo.c|  8 +++-
 drivers/gpu/drm/i915/display/intel_tv.c  |  8 +++-
 drivers/gpu/drm/i915/display/vlv_dsi.c   | 18 +-
 13 files changed, 104 insertions(+), 8 deletions(-)

-- 
Jani Nikula, Intel


[PULL] drm-intel-fixes follow-up

2023-12-01 Thread Jani Nikula


Hi Dave & Sima -

As Ville observed in [1], yesterday's fixes pull depends on a commit
that wasn't included, and VRR might suffer without it. Here's the
missing one.

I see that Dave already sent the drm fixes pull on to Linus, but here
goes nothing.

BR,
Jani.


[1] https://lore.kernel.org/r/zwjlapi4-qmzx...@intel.com


drm-intel-fixes-2023-12-01-1:
drm/i915 fixes for v6.7-rc4 #2:
- d21a3962d304 ("drm/i915: Call intel_pre_plane_updates() also for pipes
  getting enabled") in the previous fixes pull depends on a change that
  wasn't included. Pick it up.


The following changes since commit d21a3962d3042e6f56ad324cf18bdd64a1e6ecfa:

  drm/i915: Call intel_pre_plane_updates() also for pipes getting enabled 
(2023-11-29 10:23:25 +0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-12-01-1

for you to fetch changes up to 96d7e79401364c6e9a63af5f74f76792b03cb832:

  drm/i915: Check pipe active state in {planes,vrr}_{enabling,disabling}() 
(2023-12-01 10:19:11 +0200)


drm/i915 fixes for v6.7-rc4 #2:
- d21a3962d304 ("drm/i915: Call intel_pre_plane_updates() also for pipes
  getting enabled") in the previous fixes pull depends on a change that
  wasn't included. Pick it up.


Ville Syrjälä (1):
  drm/i915: Check pipe active state in {planes,vrr}_{enabling,disabling}()

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

-- 
Jani Nikula, Intel


Re: [PULL] drm-intel-fixes

2023-11-30 Thread Ville Syrjälä
On Thu, Nov 30, 2023 at 04:58:48PM +0200, Jani Nikula wrote:
> 
> Hi Dave & Sima -
> 
> i915 fixes for v6.7-rc4.
> 
> drm-intel-fixes-2023-11-30:
> drm/i915 fixes for v6.7-rc4:
> - Mark internal GSC engine with reserved uabi class
> - Take VGA converters into account in eDP probe
> - Fix intel_pre_plane_updates() call to ensure workarounds get applied
> 
> BR,
> Jani.
> 
> The following changes since commit 2cc14f52aeb78ce3f29677c2de1f06c0e91471ab:
> 
>   Linux 6.7-rc3 (2023-11-26 19:59:33 -0800)
> 
> are available in the Git repository at:
> 
>   git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-11-30
> 
> for you to fetch changes up to d21a3962d3042e6f56ad324cf18bdd64a1e6ecfa:
> 
>   drm/i915: Call intel_pre_plane_updates() also for pipes getting enabled 
> (2023-11-29 10:23:25 +0200)
> 
> 
> drm/i915 fixes for v6.7-rc4:
> - Mark internal GSC engine with reserved uabi class
> - Take VGA converters into account in eDP probe
> - Fix intel_pre_plane_updates() call to ensure workarounds get applied
> 
> 
> Tvrtko Ursulin (1):
>   drm/i915/gsc: Mark internal GSC engine with reserved uabi class
> 
> Ville Syrjälä (2):
>   drm/i915: Also check for VGA converter in eDP probe
>   drm/i915: Call intel_pre_plane_updates() also for pipes getting enabled

That last one might also require
commit bc53c4d56eb2 ("drm/i915: Check pipe active state in 
{planes,vrr}_{enabling,disabling}()")

The vrr stuff in particular might go wonky otherwise.

> 
>  drivers/gpu/drm/i915/display/intel_display.c |  3 ++-
>  drivers/gpu/drm/i915/display/intel_dp.c  | 28 +++-
>  drivers/gpu/drm/i915/gt/intel_engine_user.c  | 39 
> 
>  3 files changed, 46 insertions(+), 24 deletions(-)
> 
> -- 
> Jani Nikula, Intel

-- 
Ville Syrjälä
Intel


[PULL] drm-intel-fixes

2023-11-30 Thread Jani Nikula


Hi Dave & Sima -

i915 fixes for v6.7-rc4.

drm-intel-fixes-2023-11-30:
drm/i915 fixes for v6.7-rc4:
- Mark internal GSC engine with reserved uabi class
- Take VGA converters into account in eDP probe
- Fix intel_pre_plane_updates() call to ensure workarounds get applied

BR,
Jani.

The following changes since commit 2cc14f52aeb78ce3f29677c2de1f06c0e91471ab:

  Linux 6.7-rc3 (2023-11-26 19:59:33 -0800)

are available in the Git repository at:

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

for you to fetch changes up to d21a3962d3042e6f56ad324cf18bdd64a1e6ecfa:

  drm/i915: Call intel_pre_plane_updates() also for pipes getting enabled 
(2023-11-29 10:23:25 +0200)


drm/i915 fixes for v6.7-rc4:
- Mark internal GSC engine with reserved uabi class
- Take VGA converters into account in eDP probe
- Fix intel_pre_plane_updates() call to ensure workarounds get applied


Tvrtko Ursulin (1):
  drm/i915/gsc: Mark internal GSC engine with reserved uabi class

Ville Syrjälä (2):
  drm/i915: Also check for VGA converter in eDP probe
  drm/i915: Call intel_pre_plane_updates() also for pipes getting enabled

 drivers/gpu/drm/i915/display/intel_display.c |  3 ++-
 drivers/gpu/drm/i915/display/intel_dp.c  | 28 +++-
 drivers/gpu/drm/i915/gt/intel_engine_user.c  | 39 
 3 files changed, 46 insertions(+), 24 deletions(-)

-- 
Jani Nikula, Intel


[PULL] drm-intel-fixes

2023-11-23 Thread Jani Nikula


Hi Dave & Sima -

drm-intel-fixes-2023-11-23:
drm/i915 fixes for v6.7-rc3:
- Fix race between DP MST connectore registration and setup
- Fix GT memory leak on probe error path

BR,
Jani.

The following changes since commit 98b1cc82c4affc16f5598d4fa14b1858671b2263:

  Linux 6.7-rc2 (2023-11-19 15:02:14 -0800)

are available in the Git repository at:

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

for you to fetch changes up to 0561794b6b642b84b879bf97061c4b4fa692839e:

  drm/i915: do not clean GT table on error path (2023-11-20 11:06:53 +0200)


drm/i915 fixes for v6.7-rc3:
- Fix race between DP MST connectore registration and setup
- Fix GT memory leak on probe error path


Andrzej Hajda (1):
  drm/i915: do not clean GT table on error path

Imre Deak (1):
  drm/i915/dp_mst: Fix race between connector registration and setup

 drivers/gpu/drm/i915/display/intel_dp_mst.c | 16 
 drivers/gpu/drm/i915/gt/intel_gt.c  | 11 ---
 drivers/gpu/drm/i915/i915_driver.c  |  4 +---
 3 files changed, 9 insertions(+), 22 deletions(-)

-- 
Jani Nikula, Intel


[PULL] drm-intel-fixes

2023-10-26 Thread Rodrigo Vivi
Hi Dave and Daniel,

Here goes drm-intel-fixes-2023-10-26:

- Determine context valid in OA reports (Umesh)
- Hold GT forcewake during steering operations (Matt Roper)
- Check if PMU is closed before stopping event (Umesh)

Thanks,
Rodrigo.

The following changes since commit 05d3ef8bba77c1b5f98d941d8b2d4aeab8118ef1:

  Linux 6.6-rc7 (2023-10-22 12:11:21 -1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-10-26

for you to fetch changes up to 4cbed7702eb775cca22fff6827a549092cb59f61:

  drm/i915/pmu: Check if pmu is closed before stopping event (2023-10-25 
08:44:30 -0400)


- Determine context valid in OA reports (Umesh)
- Hold GT forcewake during steering operations (Matt Roper)
- Check if PMU is closed before stopping event (Umesh)


Matt Roper (1):
  drm/i915/mcr: Hold GT forcewake during steering operations

Umesh Nerlige Ramappa (2):
  drm/i915/perf: Determine context valid in OA reports
  drm/i915/pmu: Check if pmu is closed before stopping event

 drivers/gpu/drm/i915/gt/intel_gt_mcr.c | 24 ++--
 drivers/gpu/drm/i915/i915_perf.c   |  4 ++--
 drivers/gpu/drm/i915/i915_pmu.c|  9 +
 3 files changed, 33 insertions(+), 4 deletions(-)


[PULL] drm-intel-fixes

2023-10-19 Thread Rodrigo Vivi
Hi Dave and Daniel,

Here goes drm-intel-fixes-2023-10-19:

- Fix display issue that was blocking S0ix (Khaled)
- Retry gtt fault when out of fence registers (Ville)

Thanks,
Rodrigo.

The following changes since commit 58720809f52779dc0f08e53e54b014209d13eebb:

  Linux 6.6-rc6 (2023-10-15 13:34:39 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-10-19

for you to fetch changes up to e339c6d628fe66c9b64bf31040a55770952aec57:

  drm/i915: Retry gtt fault when out of fence registers (2023-10-17 22:08:54 
-0400)


- Fix display issue that was blocking S0ix (Khaled)
- Retry gtt fault when out of fence registers (Ville)


Khaled Almahallawy (1):
  drm/i915/cx0: Only clear/set the Pipe Reset bit of the PHY Lanes Owned

Ville Syrjälä (1):
  drm/i915: Retry gtt fault when out of fence registers

 drivers/gpu/drm/i915/display/intel_cx0_phy.c | 3 +--
 drivers/gpu/drm/i915/gem/i915_gem_mman.c | 1 +
 2 files changed, 2 insertions(+), 2 deletions(-)


[PULL] drm-intel-fixes

2023-10-05 Thread Rodrigo Vivi
Hi Dave and Daniel,

Here goes drm-intel-fixes-2023-10-05:

- Fix for OpenGL CTS regression on Compute Shaders (Nirmoy)
- Fix for default engines initialization (Mathias)
- Fix TLB invalidation for Multi-GT devices (Chris)

Thanks,
Rodrigo.

The following changes since commit 8a749fd1a8720d4619c91c8b6e7528c0a355c0aa:

  Linux 6.6-rc4 (2023-10-01 14:15:13 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-10-05

for you to fetch changes up to 1fbb6c1d88c421bf9e7fc456aeabc5dc026062e0:

  drm/i915: Invalidate the TLBs on each GT (2023-10-04 09:00:37 -0400)


- Fix for OpenGL CTS regression on Compute Shaders (Nirmoy)
- Fix for default engines initialization (Mathias)
- Fix TLB invalidation for Multi-GT devices (Chris)


Chris Wilson (1):
  drm/i915: Invalidate the TLBs on each GT

Mathias Krause (1):
  drm/i915: Register engines early to avoid type confusion

Nirmoy Das (1):
  drm/i915: Don't set PIPE_CONTROL_FLUSH_L3 for aux inval

 drivers/gpu/drm/i915/gem/i915_gem_pages.c |  2 +-
 drivers/gpu/drm/i915/gt/gen8_engine_cs.c  | 11 ++-
 drivers/gpu/drm/i915/i915_gem.c   |  9 +++--
 3 files changed, 18 insertions(+), 4 deletions(-)


[PULL] drm-intel-fixes

2023-09-28 Thread Rodrigo Vivi
Hi Dave and Daniel,

Here goes drm-intel-fixes-2023-09-28:

- Fix a panic regression on gen8_ggtt_insert_entries (Matthew Wilcox)
- Fix load issue due to reservation address in ggtt_reserve_guc_top (Javier 
Pello)
- Fix a possible deadlock with guc busyness worker (Umesh)

Thanks,
Rodrigo.

The following changes since commit 6465e260f48790807eef06b583b38ca9789b6072:

  Linux 6.6-rc3 (2023-09-24 14:31:13 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-09-28

for you to fetch changes up to 907ef0398c938be8232b77c61cfcf50fbfd95554:

  i915/guc: Get runtime pm in busyness worker only if already active 
(2023-09-26 13:58:16 -0400)


- Fix a panic regression on gen8_ggtt_insert_entries (Matthew Wilcox)
- Fix load issue due to reservation address in ggtt_reserve_guc_top (Javier 
Pello)
- Fix a possible deadlock with guc busyness worker (Umesh)


Javier Pello (1):
  drm/i915/gt: Fix reservation address in ggtt_reserve_guc_top

Matthew Wilcox (Oracle) (1):
  i915: Limit the length of an sg list to the requested length

Umesh Nerlige Ramappa (1):
  i915/guc: Get runtime pm in busyness worker only if already active

 drivers/gpu/drm/i915/gem/i915_gem_shmem.c | 11 ---
 drivers/gpu/drm/i915/gt/intel_ggtt.c  | 23 ++
 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c | 38 +--
 3 files changed, 59 insertions(+), 13 deletions(-)


[PULL] drm-intel-fixes

2023-09-21 Thread Rodrigo Vivi
Hi Dave and Daniel,

Here goes drm-intel-fixes-2023-09-21:

- Prevent error pointer dereference (Dan Carpenter)
- Fix PMU busyness values when using GuC mode (Umesh)

Thanks,
Rodrigo.

The following changes since commit ce9ecca0238b140b88f43859b211c9fdfd8e5b70:

  Linux 6.6-rc2 (2023-09-17 14:40:24 -0700)

are available in the Git repository at:

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

for you to fetch changes up to c524cd40e8a2a1a36f4898eaf2024beefeb815f3:

  i915/pmu: Move execlist stats initialization to execlist specific setup 
(2023-09-20 10:55:37 -0400)


- Prevent error pointer dereference (Dan Carpenter)
- Fix PMU busyness values when using GuC mode (Umesh)


Dan Carpenter (1):
  drm/i915/gt: Prevent error pointer dereference

Umesh Nerlige Ramappa (1):
  i915/pmu: Move execlist stats initialization to execlist specific setup

 drivers/gpu/drm/i915/gt/intel_engine_cs.c| 1 -
 drivers/gpu/drm/i915/gt/intel_execlists_submission.c | 2 ++
 drivers/gpu/drm/i915/gt/intel_lrc.c  | 5 +++--
 3 files changed, 5 insertions(+), 3 deletions(-)


[PULL] drm-intel-fixes

2023-09-14 Thread Rodrigo Vivi
Hi Dave and Daniel,

Only a fix for blank-screen regression on Chromebooks,
targeting stable 6.5.

Here goes drm-intel-fixes-2023-09-14:
- Only check eDP HPD when AUX CH is shared. (Ville)

Thanks,
Rodrigo.

The following changes since commit 0bb80ecc33a8fb5a682236443c1e740d5c917d1d:

  Linux 6.6-rc1 (2023-09-10 16:28:41 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-09-14

for you to fetch changes up to 7c95ec3b59479bb24093918bbfc801c9f31826f2:

  drm/i915: Only check eDP HPD when AUX CH is shared (2023-09-12 08:35:32 -0400)


- Only check eDP HPD when AUX CH is shared.


Ville Syrjälä (1):
  drm/i915: Only check eDP HPD when AUX CH is shared

 drivers/gpu/drm/i915/display/intel_bios.c | 21 +
 drivers/gpu/drm/i915/display/intel_bios.h |  1 +
 drivers/gpu/drm/i915/display/intel_dp.c   |  7 ++-
 3 files changed, 28 insertions(+), 1 deletion(-)


[PULL] drm-intel-fixes

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

And this is our fixes targeting 6.5 (rc8?).
I'm again covering for Tvrtko at this round.

Please also notice that here we also have the drm
patches fixing the HPD polling that I had mentioned
in our next-fixes.

One is the fix itself and the other is a dependency
to add the helper to reschedule the poll work.
Both patches also targeting stable 6.4+.

drm-intel-fixes-2023-08-24:
- Fix power consumption at s2idle on DG2 (Anshuman)
- Fix documentation build warning (Jani)
- Fix Display HPD (Imre)

Thanks,
Rodrigo.

The following changes since commit 706a741595047797872e669b3101429ab8d378ef:

  Linux 6.5-rc7 (2023-08-20 15:02:52 +0200)

are available in the Git repository at:

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

for you to fetch changes up to 1dcc437427bbcebc8381226352f7ade08a271191:

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


- Fix power consumption at s2idle on DG2 (Anshuman)
- Fix documentation build warning (Jani)
- Fix Display HPD (Imre)


Anshuman Gupta (1):
  drm/i915/dgfx: Enable d3cold at s2idle

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

Jani Nikula (1):
  drm/i915: fix Sphinx indentation warning

 drivers/gpu/drm/drm_probe_helper.c   | 68 +++-
 drivers/gpu/drm/i915/display/intel_hotplug.c |  4 +-
 drivers/gpu/drm/i915/gt/uc/intel_huc.c   |  2 +
 drivers/gpu/drm/i915/i915_driver.c   | 33 --
 include/drm/drm_probe_helper.h   |  1 +
 5 files changed, 69 insertions(+), 39 deletions(-)


[PULL] drm-intel-fixes

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

I'm covering for Tvrtko on this week's fixes flow.

These 3 patches were queued since last week, but I had hold
because I had some doubts about the CI results.
I have confirmed those issues were not related to these 3
patches, so, here they are.

drm-intel-fixes-2023-08-17:
- Fix the flow for ignoring GuC SLPC efficient frequency selection (Vinay)
- Fix SDVO panel_type initialization (Jani)
- Fix display probe for IVB Q and IVB D GT2 server (Jani)

Thanks,
Rodrigo.

The following changes since commit 0bc057eae2610c275361766a064a23cc2758f3ff:

  Merge tag 'gvt-fixes-2023-08-02' of https://github.com/intel/gvt-linux into 
drm-intel-fixes (2023-08-02 08:14:57 +0100)

are available in the Git repository at:

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

for you to fetch changes up to 423ffe62c06ae241ad460f4629dddb9dcf55e060:

  drm/i915: fix display probe for IVB Q and IVB D GT2 server (2023-08-14 
11:59:30 -0400)


- Fix the flow for ignoring GuC SLPC efficient frequency selection (Vinay)
- Fix SDVO panel_type initialization (Jani)
- Fix display probe for IVB Q and IVB D GT2 server (Jani)


Jani Nikula (2):
  drm/i915/sdvo: fix panel_type initialization
  drm/i915: fix display probe for IVB Q and IVB D GT2 server

Vinay Belgaumkar (1):
  drm/i915/guc/slpc: Restore efficient freq earlier

 .../gpu/drm/i915/display/intel_display_device.c| 24 +++---
 drivers/gpu/drm/i915/display/intel_sdvo.c  |  2 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.c| 22 
 3 files changed, 36 insertions(+), 12 deletions(-)


[PULL] drm-intel-fixes

2023-08-03 Thread Tvrtko Ursulin
Hi Dave, Daniel,

Some fixes for the 6.5 RC this week: one for GVT display I2C handling,
which came via gvt-fixes merge, one for premature freeing of request
memory, and finally one fix for Gen12 AUX invalidatation flow to correctly
align it with the documented sequence.

Regards,

Tvrtko

drm-intel-fixes-2023-08-03:
- Fix bug in getting msg length in AUX CH registers handler [gvt] (Yan Zhao)
- Gen12 AUX invalidation fixes [gt] (Andi Shyti, Jonathan Cavitt)
- Fix premature release of request's reusable memory (Janusz Krzysztofik)

- Merge tag 'gvt-fixes-2023-08-02' of https://github.com/intel/gvt-linux into 
drm-intel-fixes (Tvrtko Ursulin)
The following changes since commit 5d0c230f1de8c7515b6567d9afba1f196fb4e2f4:

  Linux 6.5-rc4 (2023-07-30 13:23:47 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 0bc057eae2610c275361766a064a23cc2758f3ff:

  Merge tag 'gvt-fixes-2023-08-02' of https://github.com/intel/gvt-linux into 
drm-intel-fixes (2023-08-02 08:14:57 +0100)


- Fix bug in getting msg length in AUX CH registers handler [gvt] (Yan Zhao)
- Gen12 AUX invalidation fixes [gt] (Andi Shyti, Jonathan Cavitt)
- Fix premature release of request's reusable memory (Janusz Krzysztofik)

- Merge tag 'gvt-fixes-2023-08-02' of https://github.com/intel/gvt-linux into 
drm-intel-fixes (Tvrtko Ursulin)


Andi Shyti (5):
  drm/i915/gt: Cleanup aux invalidation registers
  drm/i915: Add the gen12_needs_ccs_aux_inv helper
  drm/i915/gt: Rename flags with bit_group_X according to the datasheet
  drm/i915/gt: Enable the CCS_FLUSH bit in the pipe control and in the CS
  drm/i915/gt: Support aux invalidation on all engines

Janusz Krzysztofik (1):
  drm/i915: Fix premature release of request's reusable memory

Jonathan Cavitt (2):
  drm/i915/gt: Ensure memory quiesced before invalidation
  drm/i915/gt: Poll aux invalidation register bit on invalidation

Tvrtko Ursulin (1):
  Merge tag 'gvt-fixes-2023-08-02' of https://github.com/intel/gvt-linux 
into drm-intel-fixes

Yan Zhao (1):
  drm/i915/gvt: Fix bug in getting msg length in AUX CH registers handler

 drivers/gpu/drm/i915/gt/gen8_engine_cs.c | 140 ++-
 drivers/gpu/drm/i915/gt/gen8_engine_cs.h |  21 ++--
 drivers/gpu/drm/i915/gt/intel_gpu_commands.h |   2 +
 drivers/gpu/drm/i915/gt/intel_gt_regs.h  |  16 +--
 drivers/gpu/drm/i915/gt/intel_lrc.c  |  17 +---
 drivers/gpu/drm/i915/gvt/edid.c  |   2 +-
 drivers/gpu/drm/i915/i915_active.c   |  99 +--
 drivers/gpu/drm/i915/i915_request.c  |  11 +++
 8 files changed, 199 insertions(+), 109 deletions(-)


[PULL] drm-intel-fixes

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

Only two small fixes for the 6.5 RC this week - one display for display
(DPT) corruption under memory pressure, and one for selftests theoretical
edge case.

Regards,

Tvrtko

drm-intel-fixes-2023-07-27:
- Use shmem for dpt objects [dpt] (Radhakrishna Sripada)
- Fix an error handling path in igt_write_huge() (Christophe JAILLET)
The following changes since commit 6eaae198076080886b9e7d57f4ae06fa782f90ef:

  Linux 6.5-rc3 (2023-07-23 15:24:10 -0700)

are available in the Git repository at:

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

for you to fetch changes up to e354f67733115b4453268f61e6e072e9b1ea7a2f:

  drm/i915: Fix an error handling path in igt_write_huge() (2023-07-25 08:38:12 
+0100)


- Use shmem for dpt objects [dpt] (Radhakrishna Sripada)
- Fix an error handling path in igt_write_huge() (Christophe JAILLET)


Christophe JAILLET (1):
  drm/i915: Fix an error handling path in igt_write_huge()

Radhakrishna Sripada (1):
  drm/i915/dpt: Use shmem for dpt objects

 drivers/gpu/drm/i915/display/intel_dpt.c| 4 +++-
 drivers/gpu/drm/i915/gem/selftests/huge_pages.c | 6 --
 2 files changed, 7 insertions(+), 3 deletions(-)


[PULL] drm-intel-fixes

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

Only two fixes for the 6.5 rc window this week - one perf/OA use after
free on Xe_HP platforms and one defconfig build fix for GCC versions older
than 8.

Regards,

Tvrtko

drm-intel-fixes-2023-07-20:
- Add sentinel to xehp_oa_b_counters [perf] (Andrzej Hajda)
- Revert "drm/i915: use localized __diag_ignore_all() instead of per file" 
(Jani Nikula)
The following changes since commit fdf0eaf11452d72945af31804e2a1048ee1b574c:

  Linux 6.5-rc2 (2023-07-16 15:10:37 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 2c27770a7bc88ef7f6614d11d96d8e62017d0b78:

  Revert "drm/i915: use localized __diag_ignore_all() instead of per file" 
(2023-07-17 13:39:04 +0100)


- Add sentinel to xehp_oa_b_counters [perf] (Andrzej Hajda)
- Revert "drm/i915: use localized __diag_ignore_all() instead of per file" 
(Jani Nikula)


Andrzej Hajda (1):
  drm/i915/perf: add sentinel to xehp_oa_b_counters

Jani Nikula (1):
  Revert "drm/i915: use localized __diag_ignore_all() instead of per file"

 drivers/gpu/drm/i915/Makefile   | 5 +
 drivers/gpu/drm/i915/display/intel_display_device.c | 5 -
 drivers/gpu/drm/i915/display/intel_fbdev.c  | 5 -
 drivers/gpu/drm/i915/i915_pci.c | 5 -
 drivers/gpu/drm/i915/i915_perf.c| 1 +
 5 files changed, 6 insertions(+), 15 deletions(-)


[PULL] drm-intel-fixes

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

Just a few small fixes for the 6.5 RC this week - one functional fixup for
reading of perf/OA buffers and some code cleanups elsewhere.

Regards,

Tvrtko

drm-intel-fixes-2023-07-13:
- Don't preserve dpll_hw_state for slave crtc in Bigjoiner (Stanislav Lisovskiy)
- Consider OA buffer boundary when zeroing out reports [perf] (Umesh Nerlige 
Ramappa)
- Remove dead code from gen8_pte_encode (Tvrtko Ursulin)
- Fix one wrong caching mode enum usage (Tvrtko Ursulin)
The following changes since commit 06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5:

  Linux 6.5-rc1 (2023-07-09 13:53:13 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 113899c2669dff148b2a5bea4780123811aecc13:

  drm/i915: Fix one wrong caching mode enum usage (2023-07-11 09:21:32 +0100)


- Don't preserve dpll_hw_state for slave crtc in Bigjoiner (Stanislav Lisovskiy)
- Consider OA buffer boundary when zeroing out reports [perf] (Umesh Nerlige 
Ramappa)
- Remove dead code from gen8_pte_encode (Tvrtko Ursulin)
- Fix one wrong caching mode enum usage (Tvrtko Ursulin)


Stanislav Lisovskiy (1):
  drm/i915: Don't preserve dpll_hw_state for slave crtc in Bigjoiner

Tvrtko Ursulin (2):
  drm/i915: Remove dead code from gen8_pte_encode
  drm/i915: Fix one wrong caching mode enum usage

Umesh Nerlige Ramappa (1):
  drm/i915/perf: Consider OA buffer boundary when zeroing out reports

 drivers/gpu/drm/i915/display/intel_display.c |  1 -
 drivers/gpu/drm/i915/gt/gen8_ppgtt.c |  3 ---
 drivers/gpu/drm/i915/gt/intel_gtt.c  |  2 +-
 drivers/gpu/drm/i915/i915_perf.c | 11 ++-
 4 files changed, 11 insertions(+), 6 deletions(-)


[PULL] drm-intel-fixes

2023-06-08 Thread Maarten Lankhorst
Hi Dave, Daniel,

drm-misc-fixes for v6.4-rc6.

Seems to be mostly small fixes, just a few more for ivpu.

Cheers,

~Maarten

drm-misc-fixes-2023-06-08:

drm-misc-fixes for v6.4-rc6:
- resume and modeset fixes for ast.
- Fill in fb-helper vars more correctly.
- Assorted ivpu fixes.
- lima context destroy fix.
The following changes since commit e997c218ad736fd6f524d73a987bad9d94128d3d:

  accel/qaic: Fix NNC message corruption (2023-05-23 09:51:38 -0600)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2023-06-08

for you to fetch changes up to a3efabee5878b8d7b1863debb78cb7129d07a346:

  accel/ivpu: Fix sporadic VPU boot failure (2023-06-08 08:17:27 +0200)


drm-misc-fixes for v6.4-rc6:
- resume and modeset fixes for ast.
- Fill in fb-helper vars more correctly.
- Assorted ivpu fixes.
- lima context destroy fix.


Andrzej Kacprowski (2):
  accel/ivpu: Do not trigger extra VPU reset if the VPU is idle
  accel/ivpu: Fix sporadic VPU boot failure

Erico Nunes (1):
  drm/lima: fix sched context destroy

Geert Uytterhoeven (1):
  drm/fb-helper: Fix height, width, and accel_flags in fb_var

Jammy Huang (2):
  drm/ast: Fix long time waiting on s3/s4 resume
  drm/ast: Fix modeset failed on DisplayPort

Randy Dunlap (1):
  accel/ivpu: ivpu_ipc needs GENERIC_ALLOCATOR

Stanislaw Gruszka (2):
  accel/ivpu: Reserve all non-command bo's using DMA_RESV_USAGE_BOOKKEEP
  accel/ivpu: Do not use mutex_lock_interruptible

 drivers/accel/ivpu/Kconfig   |  1 +
 drivers/accel/ivpu/ivpu_hw_mtl.c | 22 +++
 drivers/accel/ivpu/ivpu_hw_mtl_reg.h |  1 +
 drivers/accel/ivpu/ivpu_ipc.c    |  4 +--
 drivers/accel/ivpu/ivpu_job.c    | 21 +-
 drivers/accel/ivpu/ivpu_mmu.c    | 22 ---
 drivers/gpu/drm/ast/ast_dp.c | 55 +++-
 drivers/gpu/drm/ast/ast_drv.h    |  5 +---
 drivers/gpu/drm/ast/ast_main.c   | 11 ++--
 drivers/gpu/drm/ast/ast_mode.c   | 15 --
 drivers/gpu/drm/ast/ast_post.c   |  3 +-
 drivers/gpu/drm/drm_fb_helper.c  | 12 
 drivers/gpu/drm/lima/lima_sched.c    |  2 +-
 13 files changed, 90 insertions(+), 84 deletions(-)



[PULL] drm-intel-fixes

2023-06-08 Thread Joonas Lahtinen
Hi Dave & Daniel,

Here's the drm-intel-fixes PR for v6.4-rc6.

Couple of display compatibility fixes and two static checker fixes for
selftests.

Regards, Joonas

***

drm-intel-fixes-2023-06-08:

CDCLK voltage fix for ADL-P and eDP wake sync pulse fix.
Two error handling fixes to selftests (to appease static checkers)

The following changes since commit 9561de3a55bed6bdd44a12820ba81ec416e705a7:

  Linux 6.4-rc5 (2023-06-04 14:04:27 -0400)

are available in the Git repository at:

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

for you to fetch changes up to 79d0150d2d983a4f6efee676cea06027f586fcd0:

  drm/i915/selftests: Add some missing error propagation (2023-06-07 12:43:22 
+0300)


CDCLK voltage fix for ADL-P and eDP wake sync pulse fix.
Two error handling fixes to selftests (to appease static checkers)


Andi Shyti (1):
  drm/i915/gt: Use the correct error value when kernel_context() fails

Chaitanya Kumar Borah (1):
  drm/i915/display: Set correct voltage level for 480MHz CDCLK

Jouni Högander (1):
  drm/i915: Use 18 fast wake AUX sync len

Tvrtko Ursulin (1):
  drm/i915/selftests: Add some missing error propagation

 drivers/gpu/drm/i915/display/intel_cdclk.c | 30 +++---
 drivers/gpu/drm/i915/display/intel_dp_aux.c|  2 +-
 .../gpu/drm/i915/gem/selftests/i915_gem_context.c  | 14 +++---
 drivers/gpu/drm/i915/gt/selftest_execlists.c   | 12 ++---
 4 files changed, 45 insertions(+), 13 deletions(-)


[PULL] drm-intel-fixes

2023-06-01 Thread Joonas Lahtinen
Hi Dave & Daniel,

One fix appeared this morning, related to OA API for
non-power-of-two reports.

Full CI results not in yet, BAT is looking good so please check
before pulling the trigger.

Regards, Joonas

***

drm-intel-fixes-2023-06-01:

- Fix for OA reporting to allow detecting non-power-of-two reports

The following changes since commit 7877cb91f1081754a1487c144d85dc0d2e2e7fc4:

  Linux 6.4-rc4 (2023-05-28 07:49:00 -0400)

are available in the Git repository at:

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

for you to fetch changes up to 62fe398761cd06a428e6f367aba84732a2f1c268:

  drm/i915/perf: Clear out entire reports after reading if not power of 2 size 
(2023-06-01 09:41:58 +0300)


- Fix for OA reporting to allow detecting non-power-of-two reports


Ashutosh Dixit (1):
  drm/i915/perf: Clear out entire reports after reading if not power of 2 
size

 drivers/gpu/drm/i915/i915_perf.c | 17 +++--
 1 file changed, 11 insertions(+), 6 deletions(-)


Re: [PULL] drm-intel-fixes

2023-05-25 Thread Jani Nikula
On Thu, 25 May 2023, Joonas Lahtinen  wrote:
> Hi Dave & Daniel,
>
> Here goes drm-intel-fixes for v4.6-rc4.

You're seven years late for that one. ;D

J.

>
> Again just one fix, for pipejoiner config pipe disabling.
>
> Regards, Joonas
>
> ***
>
> drm-intel-fixes-2023-05-25:
>
> PIPEDMC disabling fix for bigjoiner config
>
> The following changes since commit 44c026a73be8038f03dbdeef028b642880cf1511:
>
>   Linux 6.4-rc3 (2023-05-21 14:05:48 -0700)
>
> are available in the Git repository at:
>
>   git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-05-25
>
> for you to fetch changes up to 45dfbd992923f4df174db4e23b96fca7e30d73e2:
>
>   drm/i915: Fix PIPEDMC disabling for a bigjoiner configuration (2023-05-22 
> 17:10:11 +0300)
>
> 
> PIPEDMC disabling fix for bigjoiner config
>
> 
> Imre Deak (1):
>   drm/i915: Fix PIPEDMC disabling for a bigjoiner configuration
>
>  drivers/gpu/drm/i915/display/intel_display.c | 12 ++--
>  1 file changed, 10 insertions(+), 2 deletions(-)

-- 
Jani Nikula, Intel Open Source Graphics Center


[PULL] drm-intel-fixes

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

Here goes drm-intel-fixes for v4.6-rc4.

Again just one fix, for pipejoiner config pipe disabling.

Regards, Joonas

***

drm-intel-fixes-2023-05-25:

PIPEDMC disabling fix for bigjoiner config

The following changes since commit 44c026a73be8038f03dbdeef028b642880cf1511:

  Linux 6.4-rc3 (2023-05-21 14:05:48 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-05-25

for you to fetch changes up to 45dfbd992923f4df174db4e23b96fca7e30d73e2:

  drm/i915: Fix PIPEDMC disabling for a bigjoiner configuration (2023-05-22 
17:10:11 +0300)


PIPEDMC disabling fix for bigjoiner config


Imre Deak (1):
  drm/i915: Fix PIPEDMC disabling for a bigjoiner configuration

 drivers/gpu/drm/i915/display/intel_display.c | 12 ++--
 1 file changed, 10 insertions(+), 2 deletions(-)


[PULL] drm-intel-fixes

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

Here goes drm-intel-fixes for v6.4-rc3.

Just one missing null check addition for HDCP code.

Regards, Joonas

***

drm-intel-fixes-2023-05-17:

Add missing null check for HDCP code.

The following changes since commit f1fcbaa18b28dec10281551dfe6ed3a3ed80e3d6:

  Linux 6.4-rc2 (2023-05-14 12:51:40 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 5896f2d363d5cfb7510856c90d5e0ed934a1d340:

  drm/i915/hdcp: Check if media_gt exists (2023-05-15 10:42:35 +0300)


Add missing null check for HDCP code.


Suraj Kandpal (1):
  drm/i915/hdcp: Check if media_gt exists

 drivers/gpu/drm/i915/display/intel_hdcp.c | 10 ++
 1 file changed, 6 insertions(+), 4 deletions(-)


[PULL] drm-intel-fixes

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

Here goes drm-intel-fixes for v6.4-rc2.

Important fix to taint kernel when force_probe is used, two display
fixes (null deref/div-by-zero) and a GuC error capture register list
correction.

Regards, Joonas

PS. Again had to remove one commit with incorrect Fixes: tag so check CI
for results before you merge.

***

drm-intel-fixes-2023-05-11-1:

- Fix to taint kernel when force_probe is used
- Null deref and div-by-zero fixes for display
- GuC error capture fix for Xe devices

The following changes since commit ac9a78681b921877518763ba0e89202254349d1b:

  Linux 6.4-rc1 (2023-05-07 13:34:35 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 79c901c93562bdf1c84ce6c1b744fbbe4389a6eb:

  drm/i915: taint kernel when force probing unsupported devices (2023-05-11 
14:11:59 +0300)


- Fix to taint kernel when force_probe is used
- Null deref and div-by-zero fixes for display
- GuC error capture fix for Xe devices


Jani Nikula (1):
  drm/i915: taint kernel when force probing unsupported devices

John Harrison (1):
  drm/i915/guc: Don't capture Gen8 regs on Xe devices

Nikita Zhandarovich (1):
  drm/i915/dp: prevent potential div-by-zero

Stanislav Lisovskiy (1):
  drm/i915: Fix NULL ptr deref by checking new_crtc_state

 drivers/gpu/drm/i915/Kconfig  | 12 +++-
 drivers/gpu/drm/i915/display/intel_atomic_plane.c |  4 ++--
 drivers/gpu/drm/i915/display/intel_dp.c   |  5 +
 drivers/gpu/drm/i915/gt/uc/intel_guc_capture.c|  7 +--
 drivers/gpu/drm/i915/i915_pci.c   |  6 ++
 5 files changed, 25 insertions(+), 9 deletions(-)


[PULL] drm-intel-fixes

2023-04-19 Thread Jani Nikula


Hi Dave & Daniel -

drm-intel-fixes-2023-04-19:
drm/i915 fixes for v6.3 final:
- Fix fast wake AUX sync len

BR,
Jani.

The following changes since commit 6a8f57ae2eb07ab39a6f0ccad60c760743051026:

  Linux 6.3-rc7 (2023-04-16 15:23:53 -0700)

are available in the Git repository at:

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

for you to fetch changes up to e1c71f8f918047ce822dc19b42ab1261ed259fd1:

  drm/i915: Fix fast wake AUX sync len (2023-04-17 10:23:21 +0300)


drm/i915 fixes for v6.3 final:
- Fix fast wake AUX sync len


Ville Syrjälä (1):
  drm/i915: Fix fast wake AUX sync len

 drivers/gpu/drm/i915/display/intel_dp_aux.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
Jani Nikula, Intel Open Source Graphics Center


Re: [PULL] drm-intel-fixes

2023-04-13 Thread Daniel Vetter
On Thu, Apr 13, 2023 at 10:13:57AM +0300, Jani Nikula wrote:
> 
> Hi Dave & Daniel -
> 
> One DSI fix, stable material.
> 
> drm-intel-fixes-2023-04-13:
> drm/i915 fixes for v6.3-rc7:
> - Fix dual link DSI for TGL+
> 
> BR,
> Jani.
> 
> The following changes since commit 09a9639e56c01c7a00d6c0ca63f4c7c41abe075d:
> 
>   Linux 6.3-rc6 (2023-04-09 11:15:57 -0700)
> 
> are available in the Git repository at:
> 
>   git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-04-13

Pulled, thanks

> 
> for you to fetch changes up to 6b8446859c971a5783a2cdc90adf32e64de3bd23:
> 
>   drm/i915/dsi: fix DSS CTL register offsets for TGL+ (2023-04-11 11:41:57 
> +0300)
> 
> 
> drm/i915 fixes for v6.3-rc7:
> - Fix dual link DSI for TGL+
> 
> 
> Jani Nikula (1):
>   drm/i915/dsi: fix DSS CTL register offsets for TGL+
> 
>  drivers/gpu/drm/i915/display/icl_dsi.c | 20 
>  1 file changed, 16 insertions(+), 4 deletions(-)
> 
> -- 
> Jani Nikula, Intel Open Source Graphics Center

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


[PULL] drm-intel-fixes

2023-04-13 Thread Jani Nikula


Hi Dave & Daniel -

One DSI fix, stable material.

drm-intel-fixes-2023-04-13:
drm/i915 fixes for v6.3-rc7:
- Fix dual link DSI for TGL+

BR,
Jani.

The following changes since commit 09a9639e56c01c7a00d6c0ca63f4c7c41abe075d:

  Linux 6.3-rc6 (2023-04-09 11:15:57 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 6b8446859c971a5783a2cdc90adf32e64de3bd23:

  drm/i915/dsi: fix DSS CTL register offsets for TGL+ (2023-04-11 11:41:57 
+0300)


drm/i915 fixes for v6.3-rc7:
- Fix dual link DSI for TGL+


Jani Nikula (1):
  drm/i915/dsi: fix DSS CTL register offsets for TGL+

 drivers/gpu/drm/i915/display/icl_dsi.c | 20 
 1 file changed, 16 insertions(+), 4 deletions(-)

-- 
Jani Nikula, Intel Open Source Graphics Center


Re: [PULL] drm-intel-fixes

2023-04-05 Thread Daniel Vetter
On Wed, Apr 05, 2023 at 12:04:04PM +0300, Jani Nikula wrote:
> 
> Hi Dave & Daniel -
> 
> drm-intel-fixes-2023-04-05:
> drm/i915 fixes for v6.3-rc6:
> - Fix DP MST DSC M/N calculation to use compressed bpp
> - Fix racy use-after-free in perf ioctl
> - Fix context runtime accounting
> - Fix handling of GT reset during HuC loading
> - Fix use of unsigned vm_fault_t for error values
> 
> BR,
> Jani.
> 
> The following changes since commit 7e364e56293bb98cae1b55fd835f5991c4e96e7d:
> 
>   Linux 6.3-rc5 (2023-04-02 14:29:29 -0700)
> 
> are available in the Git repository at:
> 
>   git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-04-05
> 
> for you to fetch changes up to dc3421560a67361442f33ec962fc6dd48895a0df:
> 
>   drm/i915: Fix context runtime accounting (2023-04-03 11:37:00 +0300)

Pulled, thanks

> 
> 
> drm/i915 fixes for v6.3-rc6:
> - Fix DP MST DSC M/N calculation to use compressed bpp
> - Fix racy use-after-free in perf ioctl
> - Fix context runtime accounting
> - Fix handling of GT reset during HuC loading
> - Fix use of unsigned vm_fault_t for error values
> 
> 
> Daniele Ceraolo Spurio (1):
>   drm/i915/huc: Cancel HuC delayed load timer on reset.
> 
> Matthew Auld (1):
>   drm/i915/ttm: fix sparse warning
> 
> Min Li (1):
>   drm/i915: fix race condition UAF in i915_perf_add_config_ioctl
> 
> Stanislav Lisovskiy (1):
>   drm/i915: Use compressed bpp when calculating m/n value for DP MST DSC
> 
> Tvrtko Ursulin (1):
>   drm/i915: Fix context runtime accounting
> 
>  drivers/gpu/drm/i915/display/intel_dp_mst.c  |  2 +-
>  drivers/gpu/drm/i915/gem/i915_gem_ttm.c  |  5 +++--
>  drivers/gpu/drm/i915/gt/intel_execlists_submission.c | 12 ++--
>  drivers/gpu/drm/i915/gt/uc/intel_huc.c   |  7 +++
>  drivers/gpu/drm/i915/gt/uc/intel_huc.h   |  7 +--
>  drivers/gpu/drm/i915/i915_perf.c |  6 +++---
>  6 files changed, 25 insertions(+), 14 deletions(-)
> 
> -- 
> Jani Nikula, Intel Open Source Graphics Center

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


[PULL] drm-intel-fixes

2023-04-05 Thread Jani Nikula


Hi Dave & Daniel -

drm-intel-fixes-2023-04-05:
drm/i915 fixes for v6.3-rc6:
- Fix DP MST DSC M/N calculation to use compressed bpp
- Fix racy use-after-free in perf ioctl
- Fix context runtime accounting
- Fix handling of GT reset during HuC loading
- Fix use of unsigned vm_fault_t for error values

BR,
Jani.

The following changes since commit 7e364e56293bb98cae1b55fd835f5991c4e96e7d:

  Linux 6.3-rc5 (2023-04-02 14:29:29 -0700)

are available in the Git repository at:

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

for you to fetch changes up to dc3421560a67361442f33ec962fc6dd48895a0df:

  drm/i915: Fix context runtime accounting (2023-04-03 11:37:00 +0300)


drm/i915 fixes for v6.3-rc6:
- Fix DP MST DSC M/N calculation to use compressed bpp
- Fix racy use-after-free in perf ioctl
- Fix context runtime accounting
- Fix handling of GT reset during HuC loading
- Fix use of unsigned vm_fault_t for error values


Daniele Ceraolo Spurio (1):
  drm/i915/huc: Cancel HuC delayed load timer on reset.

Matthew Auld (1):
  drm/i915/ttm: fix sparse warning

Min Li (1):
  drm/i915: fix race condition UAF in i915_perf_add_config_ioctl

Stanislav Lisovskiy (1):
  drm/i915: Use compressed bpp when calculating m/n value for DP MST DSC

Tvrtko Ursulin (1):
  drm/i915: Fix context runtime accounting

 drivers/gpu/drm/i915/display/intel_dp_mst.c  |  2 +-
 drivers/gpu/drm/i915/gem/i915_gem_ttm.c  |  5 +++--
 drivers/gpu/drm/i915/gt/intel_execlists_submission.c | 12 ++--
 drivers/gpu/drm/i915/gt/uc/intel_huc.c   |  7 +++
 drivers/gpu/drm/i915/gt/uc/intel_huc.h   |  7 +--
 drivers/gpu/drm/i915/i915_perf.c |  6 +++---
 6 files changed, 25 insertions(+), 14 deletions(-)

-- 
Jani Nikula, Intel Open Source Graphics Center


Re: [PULL] drm-intel-fixes

2023-03-30 Thread Daniel Vetter
On Thu, Mar 30, 2023 at 02:30:29PM +0300, Jani Nikula wrote:
> 
> Hi Dave & Daniel -
> 
> drm-intel-fixes-2023-03-30:
> drm/i915 fixes for v6.3-rc5:
> - Fix PMU support by reusing functions with sysfs
> - Fix a number of issues related to color, PSR and arm/noarm
> - Fix state check related to ICL PHY ownership check in TC-cold state
> - Flush lmem contents after construction
> - Fix hibernate oops related to DPT BO
> - Fix perf stream error path wakeref balance
> 
> BR,
> Jani.
> 
> The following changes since commit 197b6b60ae7bc51dd0814953c562833143b292aa:
> 
>   Linux 6.3-rc4 (2023-03-26 14:40:20 -0700)
> 
> are available in the Git repository at:
> 
>   git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-03-30

Pulled, thanks.

> 
> for you to fetch changes up to 5c95b2d5d44fa250ce8aeee27bdb39b381d03857:
> 
>   drm/i915/perf: Drop wakeref on GuC RC error (2023-03-27 13:22:24 +0300)
> 
> 
> drm/i915 fixes for v6.3-rc5:
> - Fix PMU support by reusing functions with sysfs
> - Fix a number of issues related to color, PSR and arm/noarm
> - Fix state check related to ICL PHY ownership check in TC-cold state
> - Flush lmem contents after construction
> - Fix hibernate oops related to DPT BO
> - Fix perf stream error path wakeref balance
> 
> 
> Ashutosh Dixit (1):
>   drm/i915/pmu: Use functions common with sysfs to read actual freq
> 
> Chris Wilson (2):
>   drm/i915/gem: Flush lmem contents after construction
>   drm/i915/perf: Drop wakeref on GuC RC error
> 
> Imre Deak (1):
>   drm/i915/tc: Fix the ICL PHY ownership check in TC-cold state
> 
> Ville Syrjälä (6):
>   drm/i915: Split icl_color_commit_noarm() from skl_color_commit_noarm()
>   drm/i915: Move CSC load back into .color_commit_arm() when PSR is 
> enabled on skl/glk
>   drm/i915: Add a .color_post_update() hook
>   drm/i915: Workaround ICL CSC_MODE sticky arming
>   drm/i915: Disable DC states for all commits
>   drm/i915/dpt: Treat the DPT BO as a framebuffer
> 
>  drivers/gpu/drm/i915/display/intel_color.c   | 101 
> ++-
>  drivers/gpu/drm/i915/display/intel_color.h   |   1 +
>  drivers/gpu/drm/i915/display/intel_display.c |  31 ++-
>  drivers/gpu/drm/i915/display/intel_dpt.c |   2 +
>  drivers/gpu/drm/i915/display/intel_tc.c  |   4 +-
>  drivers/gpu/drm/i915/gem/i915_gem_lmem.c |   3 +-
>  drivers/gpu/drm/i915/gem/i915_gem_object.h   |   2 +-
>  drivers/gpu/drm/i915/gem/i915_gem_object_types.h |   3 +
>  drivers/gpu/drm/i915/gt/intel_rps.c  |  38 +
>  drivers/gpu/drm/i915/gt/intel_rps.h  |   4 +-
>  drivers/gpu/drm/i915/i915_perf.c |  14 ++--
>  drivers/gpu/drm/i915/i915_perf_types.h   |   6 ++
>  drivers/gpu/drm/i915/i915_pmu.c  |  10 +--
>  13 files changed, 177 insertions(+), 42 deletions(-)
> 
> -- 
> Jani Nikula, Intel Open Source Graphics Center

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


[PULL] drm-intel-fixes

2023-03-30 Thread Jani Nikula


Hi Dave & Daniel -

drm-intel-fixes-2023-03-30:
drm/i915 fixes for v6.3-rc5:
- Fix PMU support by reusing functions with sysfs
- Fix a number of issues related to color, PSR and arm/noarm
- Fix state check related to ICL PHY ownership check in TC-cold state
- Flush lmem contents after construction
- Fix hibernate oops related to DPT BO
- Fix perf stream error path wakeref balance

BR,
Jani.

The following changes since commit 197b6b60ae7bc51dd0814953c562833143b292aa:

  Linux 6.3-rc4 (2023-03-26 14:40:20 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-03-30

for you to fetch changes up to 5c95b2d5d44fa250ce8aeee27bdb39b381d03857:

  drm/i915/perf: Drop wakeref on GuC RC error (2023-03-27 13:22:24 +0300)


drm/i915 fixes for v6.3-rc5:
- Fix PMU support by reusing functions with sysfs
- Fix a number of issues related to color, PSR and arm/noarm
- Fix state check related to ICL PHY ownership check in TC-cold state
- Flush lmem contents after construction
- Fix hibernate oops related to DPT BO
- Fix perf stream error path wakeref balance


Ashutosh Dixit (1):
  drm/i915/pmu: Use functions common with sysfs to read actual freq

Chris Wilson (2):
  drm/i915/gem: Flush lmem contents after construction
  drm/i915/perf: Drop wakeref on GuC RC error

Imre Deak (1):
  drm/i915/tc: Fix the ICL PHY ownership check in TC-cold state

Ville Syrjälä (6):
  drm/i915: Split icl_color_commit_noarm() from skl_color_commit_noarm()
  drm/i915: Move CSC load back into .color_commit_arm() when PSR is enabled 
on skl/glk
  drm/i915: Add a .color_post_update() hook
  drm/i915: Workaround ICL CSC_MODE sticky arming
  drm/i915: Disable DC states for all commits
  drm/i915/dpt: Treat the DPT BO as a framebuffer

 drivers/gpu/drm/i915/display/intel_color.c   | 101 ++-
 drivers/gpu/drm/i915/display/intel_color.h   |   1 +
 drivers/gpu/drm/i915/display/intel_display.c |  31 ++-
 drivers/gpu/drm/i915/display/intel_dpt.c |   2 +
 drivers/gpu/drm/i915/display/intel_tc.c  |   4 +-
 drivers/gpu/drm/i915/gem/i915_gem_lmem.c |   3 +-
 drivers/gpu/drm/i915/gem/i915_gem_object.h   |   2 +-
 drivers/gpu/drm/i915/gem/i915_gem_object_types.h |   3 +
 drivers/gpu/drm/i915/gt/intel_rps.c  |  38 +
 drivers/gpu/drm/i915/gt/intel_rps.h  |   4 +-
 drivers/gpu/drm/i915/i915_perf.c |  14 ++--
 drivers/gpu/drm/i915/i915_perf_types.h   |   6 ++
 drivers/gpu/drm/i915/i915_pmu.c  |  10 +--
 13 files changed, 177 insertions(+), 42 deletions(-)

-- 
Jani Nikula, Intel Open Source Graphics Center


Re: [PULL] drm-intel-fixes

2023-03-24 Thread Daniel Vetter
On Thu, Mar 23, 2023 at 12:46:27PM +0200, Jani Nikula wrote:
> 
> Hi Dave & Daniel -
> 
> Otherwise a fairly regular fixes pull, except for two things:
> 
> First, I have not gotten CI results on this. I don't know what gives.
> 
> Second, I missed adding the hwmon revert to the tag. I accidentally
> picked up the commit for the previous pull, and it shouldn't have been
> there.
> 
> 
> BR,
> Jani.
> 
> 
> 
> drm-intel-fixes-2023-03-23:
> drm/i915 fixes for v6.3-rc4:
> - Fix an MTL workaround
> - Fix fbdev obj locking before vma pin
> - Fix state inheritance tracking in initial commit
> - Fix missing GuC error capture codes
> - Fix missing debug object activation
> - Fix uc init late order relative to probe error injection
> - Fix perf limit reasons formatting
> - Fix vblank timestamp update on seamless M/N changes
> 
> BR,
> Jani.
> 
> The following changes since commit e8d018dd0257f744ca50a729e3d042cf2ec9da65:
> 
>   Linux 6.3-rc3 (2023-03-19 13:27:55 -0700)
> 
> are available in the Git repository at:
> 
>   git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-03-23

Pulled, thanks.
-Daniel

> 
> for you to fetch changes up to 22aa20e4c5dcbe6fdc480eb4fb27039b1f43217f:
> 
>   Revert "drm/i915/hwmon: Enable PL1 power limit" (2023-03-20 12:31:01 +0200)
> 
> 
> drm/i915 fixes for v6.3-rc4:
> - Fix an MTL workaround
> - Fix fbdev obj locking before vma pin
> - Fix state inheritance tracking in initial commit
> - Fix missing GuC error capture codes
> - Fix missing debug object activation
> - Fix uc init late order relative to probe error injection
> - Fix perf limit reasons formatting
> - Fix vblank timestamp update on seamless M/N changes
> 
> 
> Andrzej Hajda (1):
>   drm/i915/gt: perform uc late init after probe error injection
> 
> Ashutosh Dixit (1):
>   Revert "drm/i915/hwmon: Enable PL1 power limit"
> 
> Badal Nilawar (1):
>   drm/i915/mtl: Disable MC6 for MTL A step
> 
> John Harrison (1):
>   drm/i915/guc: Fix missing ecodes
> 
> Nirmoy Das (1):
>   drm/i915/active: Fix missing debug object activation
> 
> Radhakrishna Sripada (1):
>   drm/i915/mtl: Fix Wa_16015201720 implementation
> 
> Tejas Upadhyay (1):
>   drm/i915/fbdev: lock the fbdev obj before vma pin
> 
> Ville Syrjälä (2):
>   drm/i915: Preserve crtc_state->inherited during state clearing
>   drm/i915: Update vblank timestamping stuff on seamless M/N change
> 
> Vinay Belgaumkar (1):
>   drm/i915: Fix format for perf_limit_reasons
> 
>  drivers/gpu/drm/i915/display/intel_crtc.c  |  8 
>  drivers/gpu/drm/i915/display/intel_display.c   |  1 +
>  drivers/gpu/drm/i915/display/intel_dmc.c   | 26 -
>  drivers/gpu/drm/i915/display/intel_fbdev.c | 24 +--
>  drivers/gpu/drm/i915/gt/intel_gt.c |  4 ++--
>  drivers/gpu/drm/i915/gt/intel_gt_pm.c  | 27 
> --
>  drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c  |  2 +-
>  drivers/gpu/drm/i915/gt/intel_rc6.c|  8 
>  drivers/gpu/drm/i915/gt/uc/intel_guc_capture.c | 22 +
>  drivers/gpu/drm/i915/gt/uc/intel_guc_rc.c  | 13 +
>  drivers/gpu/drm/i915/i915_active.c |  3 +--
>  drivers/gpu/drm/i915/i915_hwmon.c  |  5 -
>  drivers/gpu/drm/i915/i915_reg.h| 17 +---
>  13 files changed, 88 insertions(+), 72 deletions(-)
> 
> -- 
> Jani Nikula, Intel Open Source Graphics Center

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


[PULL] drm-intel-fixes

2023-03-23 Thread Jani Nikula


Hi Dave & Daniel -

Otherwise a fairly regular fixes pull, except for two things:

First, I have not gotten CI results on this. I don't know what gives.

Second, I missed adding the hwmon revert to the tag. I accidentally
picked up the commit for the previous pull, and it shouldn't have been
there.


BR,
Jani.



drm-intel-fixes-2023-03-23:
drm/i915 fixes for v6.3-rc4:
- Fix an MTL workaround
- Fix fbdev obj locking before vma pin
- Fix state inheritance tracking in initial commit
- Fix missing GuC error capture codes
- Fix missing debug object activation
- Fix uc init late order relative to probe error injection
- Fix perf limit reasons formatting
- Fix vblank timestamp update on seamless M/N changes

BR,
Jani.

The following changes since commit e8d018dd0257f744ca50a729e3d042cf2ec9da65:

  Linux 6.3-rc3 (2023-03-19 13:27:55 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-03-23

for you to fetch changes up to 22aa20e4c5dcbe6fdc480eb4fb27039b1f43217f:

  Revert "drm/i915/hwmon: Enable PL1 power limit" (2023-03-20 12:31:01 +0200)


drm/i915 fixes for v6.3-rc4:
- Fix an MTL workaround
- Fix fbdev obj locking before vma pin
- Fix state inheritance tracking in initial commit
- Fix missing GuC error capture codes
- Fix missing debug object activation
- Fix uc init late order relative to probe error injection
- Fix perf limit reasons formatting
- Fix vblank timestamp update on seamless M/N changes


Andrzej Hajda (1):
  drm/i915/gt: perform uc late init after probe error injection

Ashutosh Dixit (1):
  Revert "drm/i915/hwmon: Enable PL1 power limit"

Badal Nilawar (1):
  drm/i915/mtl: Disable MC6 for MTL A step

John Harrison (1):
  drm/i915/guc: Fix missing ecodes

Nirmoy Das (1):
  drm/i915/active: Fix missing debug object activation

Radhakrishna Sripada (1):
  drm/i915/mtl: Fix Wa_16015201720 implementation

Tejas Upadhyay (1):
  drm/i915/fbdev: lock the fbdev obj before vma pin

Ville Syrjälä (2):
  drm/i915: Preserve crtc_state->inherited during state clearing
  drm/i915: Update vblank timestamping stuff on seamless M/N change

Vinay Belgaumkar (1):
  drm/i915: Fix format for perf_limit_reasons

 drivers/gpu/drm/i915/display/intel_crtc.c  |  8 
 drivers/gpu/drm/i915/display/intel_display.c   |  1 +
 drivers/gpu/drm/i915/display/intel_dmc.c   | 26 -
 drivers/gpu/drm/i915/display/intel_fbdev.c | 24 +--
 drivers/gpu/drm/i915/gt/intel_gt.c |  4 ++--
 drivers/gpu/drm/i915/gt/intel_gt_pm.c  | 27 --
 drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c  |  2 +-
 drivers/gpu/drm/i915/gt/intel_rc6.c|  8 
 drivers/gpu/drm/i915/gt/uc/intel_guc_capture.c | 22 +
 drivers/gpu/drm/i915/gt/uc/intel_guc_rc.c  | 13 +
 drivers/gpu/drm/i915/i915_active.c |  3 +--
 drivers/gpu/drm/i915/i915_hwmon.c  |  5 -
 drivers/gpu/drm/i915/i915_reg.h| 17 +---
 13 files changed, 88 insertions(+), 72 deletions(-)

-- 
Jani Nikula, Intel Open Source Graphics Center


[PULL] drm-intel-fixes

2023-03-15 Thread Jani Nikula


Hi Dave & Daniel -

Missed fixes last week, so here we are early this week.


drm-intel-fixes-2023-03-15:
drm/i915 fixes for v6.3-rc3:
- Fix hwmon PL1 power limit enabling
- Fix audio ELD handling for DP MST
- Fix PSR io and wake line calculations
- Fix DG2 HDMI modes with 267.30 and 319.89 MHz pixel clocks
- Fix SSEU subslice out-of-bounds access
- Fix misuse of non-idle barriers as fence trackers

BR,
Jani.

The following changes since commit eeac8ede17557680855031c6f305ece2378af326:

  Linux 6.3-rc2 (2023-03-12 16:36:44 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-03-15

for you to fetch changes up to e0e6b416b25ee14716f3549e0cbec1011b193809:

  drm/i915/active: Fix misuse of non-idle barriers as fence trackers 
(2023-03-13 11:38:05 +0200)


drm/i915 fixes for v6.3-rc3:
- Fix hwmon PL1 power limit enabling
- Fix audio ELD handling for DP MST
- Fix PSR io and wake line calculations
- Fix DG2 HDMI modes with 267.30 and 319.89 MHz pixel clocks
- Fix SSEU subslice out-of-bounds access
- Fix misuse of non-idle barriers as fence trackers


Andrea Righi (1):
  drm/i915/sseu: fix max_subslices array-index-out-of-bounds access

Ankit Nautiyal (1):
  drm/i915/dg2: Add HDMI pixel clock frequencies 267.30 and 319.89 MHz

Ashutosh Dixit (1):
  drm/i915/hwmon: Enable PL1 power limit

Janusz Krzysztofik (1):
  drm/i915/active: Fix misuse of non-idle barriers as fence trackers

Jouni Högander (1):
  drm/i915/psr: Use calculated io and fast wake lines

Ville Syrjälä (1):
  drm/i915: Fix audio ELD handling for DP MST

 drivers/gpu/drm/i915/display/intel_display_types.h |  2 +
 drivers/gpu/drm/i915/display/intel_dp_mst.c| 25 ---
 drivers/gpu/drm/i915/display/intel_psr.c   | 78 +-
 drivers/gpu/drm/i915/display/intel_snps_phy.c  | 62 +
 drivers/gpu/drm/i915/gt/intel_sseu.h   |  2 +-
 drivers/gpu/drm/i915/i915_active.c | 25 ---
 drivers/gpu/drm/i915/i915_hwmon.c  |  5 ++
 7 files changed, 161 insertions(+), 38 deletions(-)

-- 
Jani Nikula, Intel Open Source Graphics Center


[PULL] drm-intel-fixes

2023-02-16 Thread Rodrigo Vivi
Hi Dave and Daniel,

Only 1 gen11 workaround fix.

Here goes drm-intel-fixes-2023-02-16:
- Moving gen11 hw wa to the right place. (Matt)

Thanks,
Rodrigo.

The following changes since commit ceaa837f96adb69c0df0397937cd74991d5d821a:

  Linux 6.2-rc8 (2023-02-12 14:10:17 -0800)

are available in the Git repository at:

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

for you to fetch changes up to d5a1224aa68c8b124a4c5c390186e571815ed390:

  drm/i915/gen11: Wa_1408615072/Wa_1407596294 should be on GT list (2023-02-14 
16:08:48 -0500)


- Moving gen11 hw wa to the right place. (Matt)


Matt Roper (1):
  drm/i915/gen11: Wa_1408615072/Wa_1407596294 should be on GT list

 drivers/gpu/drm/i915/gt/intel_workarounds.c | 14 +++---
 1 file changed, 7 insertions(+), 7 deletions(-)


[PULL] drm-intel-fixes

2023-02-09 Thread Rodrigo Vivi
Hi Dave and Daniel,

Here goes our fixes for this week with a few patches targeting stable.

drm-intel-fixes-2023-02-09:
- Display watermark fix (Ville)
- fbdev fix for PSR, FBC, DRRS (Jouni)
- Move fd_install after last use of fence (Rob)
- Initialize the obj flags for shmem objects (Aravind)
- Fix VBT DSI DVO port handling (Ville)

Thanks,
Rodrigo.

The following changes since commit 4ec5183ec48656cec489c49f989c508b68b518e3:

  Linux 6.2-rc7 (2023-02-05 13:13:28 -0800)

are available in the Git repository at:

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

for you to fetch changes up to 6a7ff131f17f44c593173c5ee30e2c03ef211685:

  drm/i915: Fix VBT DSI DVO port handling (2023-02-08 08:39:44 -0500)


- Display watermark fix (Ville)
- fbdev fix for PSR, FBC, DRRS (Jouni)
- Move fd_install after last use of fence (Rob)
- Initialize the obj flags for shmem objects (Aravind)
- Fix VBT DSI DVO port handling (Ville)


Aravind Iddamsetty (1):
  drm/i915: Initialize the obj flags for shmem objects

Jouni Högander (1):
  drm/i915/fbdev: Implement fb_dirty for intel custom fb helper

Rob Clark (1):
  drm/i915: Move fd_install after last use of fence

Ville Syrjälä (2):
  drm/i915: Don't do the WM0->WM1 copy w/a if WM1 is already enabled
  drm/i915: Fix VBT DSI DVO port handling

 drivers/gpu/drm/i915/display/intel_bios.c  | 33 ++
 drivers/gpu/drm/i915/display/intel_fbdev.c | 12 ++
 drivers/gpu/drm/i915/display/skl_watermark.c   |  3 ++-
 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c | 14 +--
 drivers/gpu/drm/i915/gem/i915_gem_shmem.c  |  2 +-
 5 files changed, 45 insertions(+), 19 deletions(-)


[PULL] drm-intel-fixes

2023-02-02 Thread Rodrigo Vivi
Hi Dave and Daniel,

Here goes this week's fixes with couple targeting stable.

drm-intel-fixes-2023-02-02:

- Fixes for potential use-after-free and double-free (Rob)
- GuC locking and refcount fixes (John)
- Display's reference clock value fix (Chaitanya)

Thanks,
Rodrigo.

The following changes since commit 6d796c50f84ca79f1722bb131799e5a5710c4700:

  Linux 6.2-rc6 (2023-01-29 13:59:43 -0800)

are available in the Git repository at:

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

for you to fetch changes up to 47a2bd9d985bfdb55900f313603619fc9234f317:

  drm/i915/adlp: Fix typo for reference clock (2023-01-30 15:48:30 -0500)


- Fixes for potential use-after-free and double-free (Rob)
- GuC locking and refcount fixes (John)
- Display's reference clock value fix (Chaitanya)


Chaitanya Kumar Borah (1):
  drm/i915/adlp: Fix typo for reference clock

John Harrison (3):
  drm/i915/guc: Fix locking when searching for a hung request
  drm/i915: Fix request ref counting during error capture & debugfs dump
  drm/i915: Fix up locking around dumping requests lists

Rob Clark (2):
  drm/i915: Avoid potential vm use-after-free
  drm/i915: Fix potential bit_17 double-free

 drivers/gpu/drm/i915/display/intel_cdclk.c |  2 +-
 drivers/gpu/drm/i915/gem/i915_gem_context.c| 14 +++-
 drivers/gpu/drm/i915/gem/i915_gem_tiling.c |  9 +--
 drivers/gpu/drm/i915/gt/intel_context.c|  4 +-
 drivers/gpu/drm/i915/gt/intel_context.h|  3 +-
 drivers/gpu/drm/i915/gt/intel_engine.h |  4 +-
 drivers/gpu/drm/i915/gt/intel_engine_cs.c  | 74 --
 .../gpu/drm/i915/gt/intel_execlists_submission.c   | 27 
 .../gpu/drm/i915/gt/intel_execlists_submission.h   |  4 ++
 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c  | 14 +++-
 drivers/gpu/drm/i915/i915_gpu_error.c  | 33 ++
 11 files changed, 112 insertions(+), 76 deletions(-)


[PULL] drm-intel-fixes

2023-01-26 Thread Rodrigo Vivi
Hi Dave and Daniel,

nothing major or critical this round...

Here goes drm-intel-fixes-2023-01-26:

- Fix BSC default context for Meteor Lake (Lucas)
- Fix selftest-scheduler's modify_type (Andi)

Thanks,
Rodrigo.

The following changes since commit 2241ab53cbb5cdb08a6b2d4688feb13971058f65:

  Linux 6.2-rc5 (2023-01-21 16:27:01 -0800)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-01-26

for you to fetch changes up to 2255bbcdc39d5b0311968f86614ae4f25fdd465d:

  drm/i915/selftest: fix intel_selftest_modify_policy argument types 
(2023-01-23 13:45:04 -0500)


- Fix BSC default context for Meteor Lake (Lucas)
- Fix selftest-scheduler's modify_type (Andi)


Arnd Bergmann (1):
  drm/i915/selftest: fix intel_selftest_modify_policy argument types

Lucas De Marchi (1):
  drm/i915/mtl: Fix bcs default context

 drivers/gpu/drm/i915/gt/intel_lrc.c| 37 +-
 .../drm/i915/selftests/intel_scheduler_helpers.c   |  3 +-
 2 files changed, 2 insertions(+), 38 deletions(-)


[PULL] drm-intel-fixes

2023-01-19 Thread Rodrigo Vivi
Hi Dave and Daniel,

Couple patches targeting stable, couple DG2 w/a,
and a selftest fix.

There was a drm-tip conflict but very trivial where
keeping the new mtl function as in drm-intel-gt-next is
the right resolution.

Here goes drm-intel-fixes-2023-01-19:
- Reject display plane with height == 0 (Drew)
- re-disable RC6p on Sandy Bridge (Sasa)
- Fix hugepages' selftest (Chris)
- DG2 hw workarounds (Matt Atwood)

Thanks,
Rodrigo.

The following changes since commit 5dc4c995db9eb45f6373a956eb1f69460e69e6d4:

  Linux 6.2-rc4 (2023-01-15 09:22:43 -0600)

are available in the Git repository at:

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

for you to fetch changes up to afdecb232740ae40b9384fa0ac8ed799d6546516:

  drm/i915/dg2: Introduce Wa_18019271663 (2023-01-18 11:56:54 -0500)


- Reject display plane with height == 0 (Drew)
- re-disable RC6p on Sandy Bridge (Sasa)
- Fix hugepages' selftest (Chris)
- DG2 hw workarounds (Matt Atwood)


Chris Wilson (1):
  drm/i915/selftests: Unwind hugepages to drop wakeref on error

Drew Davenport (1):
  drm/i915/display: Check source height is > 0

Matt Atwood (2):
  drm/i915/dg2: Introduce Wa_18018764978
  drm/i915/dg2: Introduce Wa_18019271663

Sasa Dragic (1):
  drm/i915: re-disable RC6p on Sandy Bridge

 drivers/gpu/drm/i915/display/skl_universal_plane.c |  2 +-
 drivers/gpu/drm/i915/gem/selftests/huge_pages.c|  8 
 drivers/gpu/drm/i915/gt/intel_gt_regs.h| 10 +++---
 drivers/gpu/drm/i915/gt/intel_workarounds.c| 10 +-
 drivers/gpu/drm/i915/i915_pci.c|  3 ++-
 5 files changed, 23 insertions(+), 10 deletions(-)


[PULL] drm-intel-fixes

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

Here goes this week fix.

There was only a small conflict in the multi-cast registers fix,
but that's pretty trivial. Just go with the -gt-next version if
needed on your side.

drm-intel-fixes-2023-01-12:

- Reserve enough fence slot for i915_vma_unbind_vsync (Nirmoy)
- Fix potential use after free (Rob Clark)
- Reset engines twice in case of reset failure (Chris)
- Use multi-cast registers for SVG Unit registers (Gustavo)

Thanks,
Rodrigo.

The following changes since commit b7bfaa761d760e72a969d116517eaa12e404c262:

  Linux 6.2-rc3 (2023-01-08 11:49:43 -0600)

are available in the Git repository at:

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

for you to fetch changes up to 58fc14e14d288d728bf48377b81bb77fd17bfe3f:

  drm/i915/gt: Cover rest of SVG unit MCR registers (2023-01-11 09:53:45 -0500)


- Reserve enough fence slot for i915_vma_unbind_vsync (Nirmoy)
- Fix potential use after free (Rob Clark)
- Reset engines twice in case of reset failure (Chris)
- Use multi-cast registers for SVG Unit registers (Gustavo)


Chris Wilson (1):
  drm/i915/gt: Reset twice

Gustavo Sousa (1):
  drm/i915/gt: Cover rest of SVG unit MCR registers

Nirmoy Das (1):
  drm/i915: Reserve enough fence slot for i915_vma_unbind_async

Rob Clark (1):
  drm/i915: Fix potential context UAFs

 drivers/gpu/drm/i915/gem/i915_gem_context.c | 24 +++-
 drivers/gpu/drm/i915/gt/intel_gt_regs.h |  4 ++--
 drivers/gpu/drm/i915/gt/intel_reset.c   | 34 -
 drivers/gpu/drm/i915/gt/intel_workarounds.c |  4 ++--
 drivers/gpu/drm/i915/i915_vma.c |  2 +-
 5 files changed, 51 insertions(+), 17 deletions(-)


Re: [PULL] drm-intel-fixes

2023-01-06 Thread Daniel Vetter
On Thu, Jan 05, 2023 at 03:02:20PM -0500, Rodrigo Vivi wrote:
> Hi Dave and Daniel,
> 
> Only GVT related fixes for this round.
> 
> I have another fix queued for i915_vma_unbind_async from Nirmoy that will
> target stable 5.18, but I figured it out late so I didn't run CI on that yet.
> So I'm holding this for now. Maybe and extra PR tomorrow or it will
> wait for the next week.
> 
> Here goes drm-intel-fixes-2023-01-05:
> 
> Only gvt-fixes:
>  - debugfs fixes (Zhenyu)
>  - fix up for vgpu status (Zhi)
>  - double free fix in split_2MB_gtt_entry (Zheng)
> 
> Thanks,
> Rodrigo.
> 
> The following changes since commit 88603b6dc419445847923fcb7fe5080067a30f98:
> 
>   Linux 6.2-rc2 (2023-01-01 13:53:16 -0800)
> 
> are available in the Git repository at:
> 
>   git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-01-05

Pulled, thanks a lot.
-Daniel

> 
> for you to fetch changes up to 87809d3196c2a7a015ab80ca1cb8c19b659bc5f6:
> 
>   Merge tag 'gvt-fixes-2023-01-05' of https://github.com/intel/gvt-linux into 
> drm-intel-fixes (2023-01-05 08:03:38 -0500)
> 
> 
> Only gvt-fixes:
>  - debugfs fixes (Zhenyu)
>  - fix up for vgpu status (Zhi)
>  - double free fix in split_2MB_gtt_entry (Zheng)
> 
> 
> Dan Carpenter (1):
>   drm/i915: unpin on error in intel_vgpu_shadow_mm_pin()
> 
> Rodrigo Vivi (1):
>   Merge tag 'gvt-fixes-2023-01-05' of https://github.com/intel/gvt-linux 
> into drm-intel-fixes
> 
> Zheng Wang (1):
>   drm/i915/gvt: fix double free bug in split_2MB_gtt_entry
> 
> Zhenyu Wang (2):
>   drm/i915/gvt: fix gvt debugfs destroy
>   drm/i915/gvt: fix vgpu debugfs clean in remove
> 
> Zhi Wang (1):
>   drm/i915/gvt: use atomic operations to change the vGPU status
> 
>  drivers/gpu/drm/i915/gvt/debugfs.c   | 36 
> +++-
>  drivers/gpu/drm/i915/gvt/dmabuf.c|  3 ++-
>  drivers/gpu/drm/i915/gvt/gtt.c   | 21 +++--
>  drivers/gpu/drm/i915/gvt/gvt.h   | 15 ++-
>  drivers/gpu/drm/i915/gvt/interrupt.c |  2 +-
>  drivers/gpu/drm/i915/gvt/kvmgt.c | 35 +--
>  drivers/gpu/drm/i915/gvt/scheduler.c |  4 +++-
>  drivers/gpu/drm/i915/gvt/vgpu.c  | 12 +---
>  8 files changed, 80 insertions(+), 48 deletions(-)

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


[PULL] drm-intel-fixes

2023-01-05 Thread Rodrigo Vivi
Hi Dave and Daniel,

Only GVT related fixes for this round.

I have another fix queued for i915_vma_unbind_async from Nirmoy that will
target stable 5.18, but I figured it out late so I didn't run CI on that yet.
So I'm holding this for now. Maybe and extra PR tomorrow or it will
wait for the next week.

Here goes drm-intel-fixes-2023-01-05:

Only gvt-fixes:
 - debugfs fixes (Zhenyu)
 - fix up for vgpu status (Zhi)
 - double free fix in split_2MB_gtt_entry (Zheng)

Thanks,
Rodrigo.

The following changes since commit 88603b6dc419445847923fcb7fe5080067a30f98:

  Linux 6.2-rc2 (2023-01-01 13:53:16 -0800)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-01-05

for you to fetch changes up to 87809d3196c2a7a015ab80ca1cb8c19b659bc5f6:

  Merge tag 'gvt-fixes-2023-01-05' of https://github.com/intel/gvt-linux into 
drm-intel-fixes (2023-01-05 08:03:38 -0500)


Only gvt-fixes:
 - debugfs fixes (Zhenyu)
 - fix up for vgpu status (Zhi)
 - double free fix in split_2MB_gtt_entry (Zheng)


Dan Carpenter (1):
  drm/i915: unpin on error in intel_vgpu_shadow_mm_pin()

Rodrigo Vivi (1):
  Merge tag 'gvt-fixes-2023-01-05' of https://github.com/intel/gvt-linux 
into drm-intel-fixes

Zheng Wang (1):
  drm/i915/gvt: fix double free bug in split_2MB_gtt_entry

Zhenyu Wang (2):
  drm/i915/gvt: fix gvt debugfs destroy
  drm/i915/gvt: fix vgpu debugfs clean in remove

Zhi Wang (1):
  drm/i915/gvt: use atomic operations to change the vGPU status

 drivers/gpu/drm/i915/gvt/debugfs.c   | 36 +++-
 drivers/gpu/drm/i915/gvt/dmabuf.c|  3 ++-
 drivers/gpu/drm/i915/gvt/gtt.c   | 21 +++--
 drivers/gpu/drm/i915/gvt/gvt.h   | 15 ++-
 drivers/gpu/drm/i915/gvt/interrupt.c |  2 +-
 drivers/gpu/drm/i915/gvt/kvmgt.c | 35 +--
 drivers/gpu/drm/i915/gvt/scheduler.c |  4 +++-
 drivers/gpu/drm/i915/gvt/vgpu.c  | 12 +---
 8 files changed, 80 insertions(+), 48 deletions(-)


Re: [PULL] drm-intel-fixes

2023-01-01 Thread Daniel Vetter
On Fri, Dec 30, 2022 at 04:59:38AM -0500, Rodrigo Vivi wrote:
> Hi Dave and Daniel,
> 
> Here goes the initial fixes for 6.2.
> 
> The most critical ones seems to be the evict fix from Matt and
> the MIPI DSI from Jani. Both targeting stable trees.
> 
> I'm sorry for sending this on a Friday and not on a Thursday as
> usual. Where did this week go? Worst case this wait one week
> and I get it rebased and resent earlier next week.
> 
> Where did 2022 go? Happy New Year!

Cheers to you too!

> Cheers,
> Rodrigo.
> 
> 
> drm-intel-fixes-2022-12-30:
> - fix TLB invalidation for DG2 and newer platforms. (Andrzej)
> - Remove __maybe_unused from mtl_info (Lucas)
> - improve the catch-all evict to handle lock contention (Matt Auld)
> - Fix two issues with over-size (GuC/HuC) firmware files (John)
> - Fix DSI resume issues on ICL+ (Jani)
> 
> Thanks,
> Rodrigo.
> 
> The following changes since commit 1b929c02afd37871d5afb9d498426f83432e71c2:
> 
>   Linux 6.2-rc1 (2022-12-25 13:41:39 -0800)
> 
> are available in the Git repository at:
> 
>   git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2022-12-30

Pulled, I'll try to get it out for Linus to include it in -rc2 still.

> for you to fetch changes up to 6217e9f05a74df48c77ee68993d587cdfdb1feb7:
> 
>   drm/i915/dsi: fix MIPI_BKLT_EN_1 native GPIO index (2022-12-30 04:28:46 
> -0500)
> 
> 
> - fix TLB invalidation for DG2 and newer platforms. (Andrzej)
> - Remove __maybe_unused from mtl_info (Lucas)
> - improve the catch-all evict to handle lock contention (Matt Auld)

Just a quick comment, this one has

Fixes: 7e00897be8bf ("drm/i915: Add object locking to i915_gem_evict_for_node 
and i915_gem_evict_something, v2.")

but I don't think that's entirely accurate. I might mix up some details
(and today is not the day to dig these out) and it's been two years
already when I discussed this Maarten, but this issue is older. It got
introduced with the conversion to per-object locking, and then somewhat
artfully papered over with the async object pinning infrastructure (which
had the design issue of being flat out in violation of upstream locking
hierarchy).

In practice it makes no difference, because there's no way you can
backport any of this to a point before the locking rework from Maarten (or
alternatively, revert until the glorious struct_mutex days). A bit more
review on a core locking change like this would have been good though imo.

Cheers, Daniel

> - Fix two issues with over-size (GuC/HuC) firmware files (John)
> - Fix DSI resume issues on ICL+ (Jani)
> 
> 
> Andrzej Hajda (1):
>   drm/i915: fix TLB invalidation for Gen12.50 video and compute engines
> 
> Jani Nikula (2):
>   drm/i915/dsi: add support for ICL+ native MIPI GPIO sequence
>   drm/i915/dsi: fix MIPI_BKLT_EN_1 native GPIO index
> 
> John Harrison (1):
>   drm/i915/uc: Fix two issues with over-size firmware files
> 
> Lucas De Marchi (1):
>   drm/i915: Remove __maybe_unused from mtl_info
> 
> Matthew Auld (1):
>   drm/i915: improve the catch-all evict to handle lock contention
> 
>  drivers/gpu/drm/i915/display/intel_dsi_vbt.c| 94 
> -
>  drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c  | 59 +---
>  drivers/gpu/drm/i915/gem/i915_gem_mman.c|  2 +-
>  drivers/gpu/drm/i915/gt/intel_gt.c  |  8 ++-
>  drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c| 42 +++
>  drivers/gpu/drm/i915/i915_gem_evict.c   | 37 +++---
>  drivers/gpu/drm/i915/i915_gem_evict.h   |  4 +-
>  drivers/gpu/drm/i915/i915_irq.c |  3 +
>  drivers/gpu/drm/i915/i915_pci.c |  1 -
>  drivers/gpu/drm/i915/i915_reg.h |  1 +
>  drivers/gpu/drm/i915/i915_vma.c |  2 +-
>  drivers/gpu/drm/i915/selftests/i915_gem_evict.c |  4 +-
>  12 files changed, 212 insertions(+), 45 deletions(-)

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


[PULL] drm-intel-fixes

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

Here goes the initial fixes for 6.2.

The most critical ones seems to be the evict fix from Matt and
the MIPI DSI from Jani. Both targeting stable trees.

I'm sorry for sending this on a Friday and not on a Thursday as
usual. Where did this week go? Worst case this wait one week
and I get it rebased and resent earlier next week.

Where did 2022 go? Happy New Year!

Cheers,
Rodrigo.


drm-intel-fixes-2022-12-30:
- fix TLB invalidation for DG2 and newer platforms. (Andrzej)
- Remove __maybe_unused from mtl_info (Lucas)
- improve the catch-all evict to handle lock contention (Matt Auld)
- Fix two issues with over-size (GuC/HuC) firmware files (John)
- Fix DSI resume issues on ICL+ (Jani)

Thanks,
Rodrigo.

The following changes since commit 1b929c02afd37871d5afb9d498426f83432e71c2:

  Linux 6.2-rc1 (2022-12-25 13:41:39 -0800)

are available in the Git repository at:

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

for you to fetch changes up to 6217e9f05a74df48c77ee68993d587cdfdb1feb7:

  drm/i915/dsi: fix MIPI_BKLT_EN_1 native GPIO index (2022-12-30 04:28:46 -0500)


- fix TLB invalidation for DG2 and newer platforms. (Andrzej)
- Remove __maybe_unused from mtl_info (Lucas)
- improve the catch-all evict to handle lock contention (Matt Auld)
- Fix two issues with over-size (GuC/HuC) firmware files (John)
- Fix DSI resume issues on ICL+ (Jani)


Andrzej Hajda (1):
  drm/i915: fix TLB invalidation for Gen12.50 video and compute engines

Jani Nikula (2):
  drm/i915/dsi: add support for ICL+ native MIPI GPIO sequence
  drm/i915/dsi: fix MIPI_BKLT_EN_1 native GPIO index

John Harrison (1):
  drm/i915/uc: Fix two issues with over-size firmware files

Lucas De Marchi (1):
  drm/i915: Remove __maybe_unused from mtl_info

Matthew Auld (1):
  drm/i915: improve the catch-all evict to handle lock contention

 drivers/gpu/drm/i915/display/intel_dsi_vbt.c| 94 -
 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c  | 59 +---
 drivers/gpu/drm/i915/gem/i915_gem_mman.c|  2 +-
 drivers/gpu/drm/i915/gt/intel_gt.c  |  8 ++-
 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c| 42 +++
 drivers/gpu/drm/i915/i915_gem_evict.c   | 37 +++---
 drivers/gpu/drm/i915/i915_gem_evict.h   |  4 +-
 drivers/gpu/drm/i915/i915_irq.c |  3 +
 drivers/gpu/drm/i915/i915_pci.c |  1 -
 drivers/gpu/drm/i915/i915_reg.h |  1 +
 drivers/gpu/drm/i915/i915_vma.c |  2 +-
 drivers/gpu/drm/i915/selftests/i915_gem_evict.c |  4 +-
 12 files changed, 212 insertions(+), 45 deletions(-)


[PULL] drm-intel-fixes

2022-12-01 Thread Tvrtko Ursulin
Hi Dave, Daniel,

A few more small fixes for the release candidate week.

Fixes for confused return values when waiting on request retirement, which
can explode in the GuC backend, fix for reading on DRAM info data and a
fix to filter out impossible display pipes from the bigjoiner code.

Regards,

Tvrtko

drm-intel-fixes-2022-12-01:
- Fix dram info readout (Radhakrishna Sripada)
- Remove non-existent pipes from bigjoiner pipe mask (Ville Syrjälä)
- Fix negative value passed as remaining time (Janusz Krzysztofik)
- Never return 0 if not all requests retired (Janusz Krzysztofik)
The following changes since commit b7b275e60bcd5f89771e865a8239325f86d9927d:

  Linux 6.1-rc7 (2022-11-27 13:31:48 -0800)

are available in the Git repository at:

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

for you to fetch changes up to 12b8b046e4c9de40fa59b6f067d6826f4e688f68:

  drm/i915: Never return 0 if not all requests retired (2022-11-29 08:49:15 
+)


- Fix dram info readout (Radhakrishna Sripada)
- Remove non-existent pipes from bigjoiner pipe mask (Ville Syrjälä)
- Fix negative value passed as remaining time (Janusz Krzysztofik)
- Never return 0 if not all requests retired (Janusz Krzysztofik)


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

Radhakrishna Sripada (1):
  drm/i915/mtl: Fix dram info readout

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

 drivers/gpu/drm/i915/display/intel_display.c | 10 +++---
 drivers/gpu/drm/i915/gt/intel_gt.c   |  9 +++--
 drivers/gpu/drm/i915/gt/intel_gt_requests.c  |  2 +-
 drivers/gpu/drm/i915/intel_dram.c|  3 +--
 4 files changed, 16 insertions(+), 8 deletions(-)


[PULL] drm-intel-fixes

2022-11-24 Thread Tvrtko Ursulin
Hi Dave, Daniel,

A couple of fixes for 6.1-rc. One TTM backend fix, one display warning
fixlet and a merge of two GVT patches which fix KVM reference count
handling there.

Regards,

Tvrtko

drm-intel-fixes-2022-11-24:
- Fix GVT KVM reference count handling (Sean Christopherson)
- Never purge busy TTM objects (Matthew Auld)
- Fix warn in intel_display_power_*_domain() functions (Imre Deak)
The following changes since commit eb7081409f94a9a8608593d0fb63a1aa3d6f95d8:

  Linux 6.1-rc6 (2022-11-20 16:02:16 -0800)

are available in the Git repository at:

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

for you to fetch changes up to 14af5d385878d22546914d37f13a314b14825a42:

  Merge tag 'gvt-fixes-2022-11-11' of https://github.com/intel/gvt-linux into 
drm-intel-fixes (2022-11-22 07:59:17 +)


- Fix GVT KVM reference count handling (Sean Christopherson)
- Never purge busy TTM objects (Matthew Auld)
- Fix warn in intel_display_power_*_domain() functions (Imre Deak)


Imre Deak (1):
  drm/i915: Fix warn in intel_display_power_*_domain() functions

Matthew Auld (1):
  drm/i915/ttm: never purge busy objects

Sean Christopherson (2):
  drm/i915/gvt: Get reference to KVM iff attachment to VM is successful
  drm/i915/gvt: Unconditionally put reference to KVM when detaching vGPU

Tvrtko Ursulin (1):
  Merge tag 'gvt-fixes-2022-11-11' of https://github.com/intel/gvt-linux 
into drm-intel-fixes

 drivers/gpu/drm/i915/display/intel_display_power.c | 8 
 drivers/gpu/drm/i915/gem/i915_gem_ttm.c| 4 
 drivers/gpu/drm/i915/gvt/kvmgt.c   | 8 +++-
 3 files changed, 11 insertions(+), 9 deletions(-)


[PULL] drm-intel-fixes

2022-11-17 Thread Tvrtko Ursulin
Hi Dave, Daniel,

Just one fix for the release candidate window this week and that is for
a possible use-after-free on discrete platforms with small BAR.

Regards,

Tvrtko

drm-intel-fixes-2022-11-17:
- Fix uaf with lmem_userfault_list handling (Matthew Auld)
The following changes since commit 094226ad94f471a9f19e8f8e7140a09c2625abaa:

  Linux 6.1-rc5 (2022-11-13 13:12:55 -0800)

are available in the Git repository at:

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

for you to fetch changes up to 4f68332b2f89ab84285e5b6cb3d30e8b9894bef1:

  drm/i915/ttm: fix uaf with lmem_userfault_list handling (2022-11-14 09:46:06 
+)


- Fix uaf with lmem_userfault_list handling (Matthew Auld)


Matthew Auld (1):
  drm/i915/ttm: fix uaf with lmem_userfault_list handling

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


[PULL] drm-intel-fixes

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

Some more fixes for the release candidate window.

Most important are the SG table handling fix for map_dma_buf import, the
userptr probe fixup after VMA iterator conversion and then a display/mouse
stuttering fix for PSR2. Last one only relates to discrete platforms, so
still behind force probe.

Regards,

Tvrtko

drm-intel-fixes-2022-11-10:
- Fix sg_table handling in map_dma_buf (Matthew Auld)
- Send PSR update also on invalidate (Jouni Högander)
- Do not set cache_dirty for DGFX (Niranjana Vishwanathapura)
- Restore userptr probe_range behaviour (Matthew Auld)
The following changes since commit f0c4d9fc9cc9462659728d168387191387e903cc:

  Linux 6.1-rc4 (2022-11-06 15:07:11 -0800)

are available in the Git repository at:

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

for you to fetch changes up to 178e31ce82d0308a9e5f2f15bfb4493160136729:

  drm/i915/userptr: restore probe_range behaviour (2022-11-07 13:13:09 +)


- Fix sg_table handling in map_dma_buf (Matthew Auld)
- Send PSR update also on invalidate (Jouni Högander)
- Do not set cache_dirty for DGFX (Niranjana Vishwanathapura)
- Restore userptr probe_range behaviour (Matthew Auld)


Jouni Högander (1):
  drm/i915/psr: Send update also on invalidate

Matthew Auld (2):
  drm/i915/dmabuf: fix sg_table handling in map_dma_buf
  drm/i915/userptr: restore probe_range behaviour

Niranjana Vishwanathapura (1):
  drm/i915: Do not set cache_dirty for DGFX

 drivers/gpu/drm/i915/display/intel_psr.c| 5 -
 drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c  | 4 ++--
 drivers/gpu/drm/i915/gem/i915_gem_shmem.c   | 4 ++--
 drivers/gpu/drm/i915/gem/i915_gem_userptr.c | 5 +++--
 4 files changed, 11 insertions(+), 7 deletions(-)


[PULL] drm-intel-fixes

2022-11-03 Thread Tvrtko Ursulin
Hi Dave, Daniel,

A few fixes for 6.1.

On the display side fixed a race condition in accessing DKL PHY registers
(TGL+), fixed LVDS EDID fixed mode setup and fixed SDVO invalid mode
filtering. On the GEM side fix running under Xen and use DMA API directly
instead of special casing for SWIOTLB only.

drm-intel-fixes-2022-11-03:
- Add locking around DKL PHY register accesses (Imre Deak)
- Stop abusing swiotlb_max_segment (Robert Beckett)
- Filter out invalid outputs more sensibly (Ville Syrjälä)
- Setup DDC fully before output init (Ville Syrjälä)
- Simplify intel_panel_add_edid_alt_fixed_modes() (Ville Syrjälä)
- Grab mode_config.mutex during LVDS init to avoid WARNs (Ville Syrjälä)
The following changes since commit 30a0b95b1335e12efef89dd78518ed3e4a71a763:

  Linux 6.1-rc3 (2022-10-30 15:19:28 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 12caf46cf4fc92b1c3884cb363ace2e12732fd2f:

  drm/i915/sdvo: Grab mode_config.mutex during LVDS init to avoid WARNs 
(2022-10-31 14:09:15 +)


- Add locking around DKL PHY register accesses (Imre Deak)
- Stop abusing swiotlb_max_segment (Robert Beckett)
- Filter out invalid outputs more sensibly (Ville Syrjälä)
- Setup DDC fully before output init (Ville Syrjälä)
- Simplify intel_panel_add_edid_alt_fixed_modes() (Ville Syrjälä)
- Grab mode_config.mutex during LVDS init to avoid WARNs (Ville Syrjälä)


Imre Deak (1):
  drm/i915/tgl+: Add locking around DKL PHY register accesses

Robert Beckett (1):
  drm/i915: stop abusing swiotlb_max_segment

Ville Syrjälä (4):
  drm/i915/sdvo: Filter out invalid outputs more sensibly
  drm/i915/sdvo: Setup DDC fully before output init
  drm/i915: Simplify intel_panel_add_edid_alt_fixed_modes()
  drm/i915/sdvo: Grab mode_config.mutex during LVDS init to avoid WARNs

 drivers/gpu/drm/i915/Makefile  |   1 +
 drivers/gpu/drm/i915/display/intel_ddi.c   |  68 ++---
 drivers/gpu/drm/i915/display/intel_display_core.h  |   8 ++
 .../drm/i915/display/intel_display_power_well.c|   7 +-
 drivers/gpu/drm/i915/display/intel_dkl_phy.c   | 109 +
 drivers/gpu/drm/i915/display/intel_dkl_phy.h   |  24 +
 drivers/gpu/drm/i915/display/intel_dp.c|   2 +-
 drivers/gpu/drm/i915/display/intel_dpll_mgr.c  |  59 +--
 drivers/gpu/drm/i915/display/intel_lvds.c  |   3 +-
 drivers/gpu/drm/i915/display/intel_panel.c |   4 +-
 drivers/gpu/drm/i915/display/intel_panel.h |   2 +-
 drivers/gpu/drm/i915/display/intel_sdvo.c  |  64 +++-
 drivers/gpu/drm/i915/gem/i915_gem_internal.c   |  19 +---
 drivers/gpu/drm/i915/gem/i915_gem_shmem.c  |   2 +-
 drivers/gpu/drm/i915/gem/i915_gem_ttm.c|   4 +-
 drivers/gpu/drm/i915/gem/i915_gem_userptr.c|   2 +-
 drivers/gpu/drm/i915/i915_driver.c |   1 +
 drivers/gpu/drm/i915/i915_reg.h|   3 +
 drivers/gpu/drm/i915/i915_scatterlist.h|  34 ---
 19 files changed, 277 insertions(+), 139 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/display/intel_dkl_phy.c
 create mode 100644 drivers/gpu/drm/i915/display/intel_dkl_phy.h


[PULL] drm-intel-fixes

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

Three fixes for the next release candidate: one display training fix, one
new workaround and disabling of autosuspend for DG2 until things can get
properly fixed.

Regards,

Tvrtko

drm-intel-fixes-2022-10-27-1:
- Extend Wa_1607297627 to Alderlake-P (José Roberto de Souza)
- Keep PCI autosuspend control 'on' by default on all dGPU (Anshuman Gupta)
- Reset frl trained flag before restarting FRL training (Ankit Nautiyal)
The following changes since commit 247f34f7b80357943234f93f247a1ae6b6c3a740:

  Linux 6.1-rc2 (2022-10-23 15:27:33 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 63720a561b3c98199adf0c73e152807f15cc3b7f:

  drm/i915/dp: Reset frl trained flag before restarting FRL training 
(2022-10-24 10:14:57 +0100)


- Extend Wa_1607297627 to Alderlake-P (José Roberto de Souza)
- Keep PCI autosuspend control 'on' by default on all dGPU (Anshuman Gupta)
- Reset frl trained flag before restarting FRL training (Ankit Nautiyal)


Ankit Nautiyal (1):
  drm/i915/dp: Reset frl trained flag before restarting FRL training

Anshuman Gupta (1):
  drm/i915/dgfx: Keep PCI autosuspend control 'on' by default on all dGPU

José Roberto de Souza (1):
  drm/i915: Extend Wa_1607297627 to Alderlake-P

 drivers/gpu/drm/i915/display/intel_dp.c |  2 ++
 drivers/gpu/drm/i915/gt/intel_workarounds.c |  4 ++--
 drivers/gpu/drm/i915/intel_runtime_pm.c | 11 +--
 3 files changed, 13 insertions(+), 4 deletions(-)


[PULL] drm-intel-fixes

2022-09-29 Thread Rodrigo Vivi
Hi Dave and Daniel,

Here goes drm-intel-fixes-2022-09-29:

- Restrict forced preemption to the active context (Chris)
- Restrict perf_limit_reasons to the supported platforms - gen11+ (Ashutosh)

Thanks,
Rodrigo.

The following changes since commit f76349cf41451c5c42a99f18a9163377e4b364ff:

  Linux 6.0-rc7 (2022-09-25 14:01:02 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 7738be973fc4e2ba22154fafd3a5d7b9666f9abf:

  drm/i915/gt: Perf_limit_reasons are only available for Gen11+ (2022-09-28 
16:39:26 -0400)


- Restrict forced preemption to the active context (Chris)
- Restrict perf_limit_reasons to the supported platforms - gen11+ (Ashutosh)


Ashutosh Dixit (1):
  drm/i915/gt: Perf_limit_reasons are only available for Gen11+

Chris Wilson (1):
  drm/i915/gt: Restrict forced preemption to the active context

 drivers/gpu/drm/i915/gt/intel_engine_types.h| 15 +++
 .../gpu/drm/i915/gt/intel_execlists_submission.c| 21 -
 drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c | 15 +++
 3 files changed, 46 insertions(+), 5 deletions(-)


[PULL] drm-intel-fixes

2022-09-21 Thread Rodrigo Vivi
Hi Dave and Daniel,

Here goes drm-intel-fixes-2022-09-21:

2 gem context related fixes:
- to avoid a general protection failure when using perf/OA (Chris)
- to avoid kernel warnings on driver release (Janusz)

Thanks,
Rodrigo.

The following changes since commit 521a547ced6477c54b4b0cc206000406c221b4d6:

  Linux 6.0-rc6 (2022-09-18 13:44:14 -0700)

are available in the Git repository at:

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

for you to fetch changes up to d119888b09bd567e07c6b93a07f175df88857e02:

  drm/i915/gem: Really move i915_gem_context.link under ref protection 
(2022-09-20 10:19:05 -0400)


2 gem context related fixes:
- to avoid a general protection failure when using perf/OA (Chris)
- to avoid kernel warnings on driver release (Janusz)


Chris Wilson (1):
  drm/i915/gem: Really move i915_gem_context.link under ref protection

Janusz Krzysztofik (1):
  drm/i915/gem: Flush contexts on driver release

 drivers/gpu/drm/i915/gem/i915_gem_context.c | 8 
 drivers/gpu/drm/i915/i915_gem.c | 3 ++-
 2 files changed, 6 insertions(+), 5 deletions(-)


[PULL] drm-intel-fixes

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

Nothing that big for this round, but a couple targeting stable.

Here goes drm-intel-fixes-2022-09-15:

- Revert a display patch around max DP source rate now
  that the proper WaEdpLinkRateDataReload is in place. (Ville)
- Fix perf limit reasons bit position. (Ashutosh)
- Fix unclaimmed mmio registers on suspend flow with GuC. (Umesh)
- A vma_move_to_active fix for a regression with video decoding. (Nirmoy)
- DP DSP fix. (Ankit)

Thanks,
Rodrigo.

The following changes since commit 80e78fcce86de0288793a0ef0f6acf37656ee4cf:

  Linux 6.0-rc5 (2022-09-11 16:22:01 -0400)

are available in the Git repository at:

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

for you to fetch changes up to 8787f6fab41380189865f5751c0f15b0c298b923:

  Revert "drm/i915/display: Re-add check for low voltage sku for max dp source 
rate" (2022-09-12 10:00:47 -0400)


- Revert a display patch around max DP source rate now
  that the proper WaEdpLinkRateDataReload is in place. (Ville)
- Fix perf limit reasons bit position. (Ashutosh)
- Fix unclaimmed mmio registers on suspend flow with GuC. (Umesh)
- A vma_move_to_active fix for a regression with video decoding. (Nirmoy)
- DP DSP fix. (Ankit)


Ankit Nautiyal (1):
  drm/i915/vdsc: Set VDSC PIC_HEIGHT before using for DP DSC

Ashutosh Dixit (1):
  drm/i915/gt: Fix perf limit reasons bit positions

Nirmoy Das (1):
  drm/i915: Set correct domains values at _i915_vma_move_to_active

Umesh Nerlige Ramappa (1):
  drm/i915/guc: Cancel GuC engine busyness worker synchronously

Ville Syrjälä (1):
  Revert "drm/i915/display: Re-add check for low voltage sku for max dp 
source rate"

 drivers/gpu/drm/i915/display/icl_dsi.c|  2 ++
 drivers/gpu/drm/i915/display/intel_dp.c   | 33 +++
 drivers/gpu/drm/i915/display/intel_vdsc.c |  1 -
 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c |  7 -
 drivers/gpu/drm/i915/i915_reg.h   | 16 +--
 drivers/gpu/drm/i915/i915_vma.c   |  3 ++-
 6 files changed, 22 insertions(+), 40 deletions(-)


Re: [PULL] drm-intel-fixes

2022-09-12 Thread Vivi, Rodrigo
On Sun, 2022-09-11 at 19:22 +0200, Jason A. Donenfeld wrote:
> Hi Rodrigo,
> 
> On Thu, Sep 08, 2022 at 09:59:54AM -0400, Rodrigo Vivi wrote:
> > Hi Dave and Daniel,
> > 
> > A few fixes, but most targeting stable.
> > 
> > [...]
> > 
> > Ville Syrjälä (2):
> >   drm/i915: Implement WaEdpLinkRateDataReload
> 
> Don't you need to revert d5929835080a60f9119d024fa42f315913942f76 in
> order for "drm/i915: Implement WaEdpLinkRateDataReload" to actually
> be
> useful/interesting? Otherwise, what's the point?

Unfortunately there was no clear indication on the revert patch for
the tool to pick, and I hadn't followed that front myself closely.

Should 
483e3d87a37e ("Revert "drm/i915/display: Re-add check for low voltage
sku for max dp source rate"")
have a Fixes tag?

Or should dim consider all reverts as Fixes?

Anyway, I will cherry pick this to our fixes branch for propagation
this week.

Thanks for the heads up,
Rodrigo.

> 
> Regards,
> Jason



[PULL] drm-intel-fixes

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

A few fixes, but most targeting stable.

Here goes drm-intel-fixes-2022-09-08:
- Fix MIPI sequence block copy from BIOS' table. (Ville)
- Fix PCODE min freq setup when GuC's SLPC is in use. (Rodrigo)
- Implement Workaround for eDP. (Ville)
- Fix has_flat_ccs selection for DG1. (Matt)

Thanks,
Rodrigo.

The following changes since commit 7e18e42e4b280c85b76967a9106a13ca61c16179:

  Linux 6.0-rc4 (2022-09-04 13:10:01 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 151e0e0fdb4d6365305598af3b9072d44e896ef0:

  drm/i915: consider HAS_FLAT_CCS() in needs_ccs_pages (2022-09-06 14:51:49 
-0400)


- Fix MIPI sequence block copy from BIOS' table. (Ville)
- Fix PCODE min freq setup when GuC's SLPC is in use. (Rodrigo)
- Implement Workaround for eDP. (Ville)
- Fix has_flat_ccs selection for DG1. (Matt)


Matthew Auld (1):
  drm/i915: consider HAS_FLAT_CCS() in needs_ccs_pages

Rodrigo Vivi (1):
  drm/i915/slpc: Let's fix the PCODE min freq table setup for SLPC

Ville Syrjälä (2):
  drm/i915/bios: Copy the whole MIPI sequence block
  drm/i915: Implement WaEdpLinkRateDataReload

 drivers/gpu/drm/i915/display/intel_bios.c  |  7 +++
 .../gpu/drm/i915/display/intel_dp_link_training.c  | 22 ++
 drivers/gpu/drm/i915/gem/i915_gem_object.c |  3 ++
 drivers/gpu/drm/i915/gem/i915_gem_ttm.c|  2 +-
 drivers/gpu/drm/i915/gt/intel_llc.c| 19 
 drivers/gpu/drm/i915/gt/intel_rps.c| 50 ++
 drivers/gpu/drm/i915/gt/intel_rps.h|  2 +
 7 files changed, 94 insertions(+), 11 deletions(-)


[PULL] drm-intel-fixes

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

Here goes drm-intel-fixes-2022-09-01:

- GVT fixes including fix for a CommetLake regression in mmio table
  and misc doc and typo fixes (Julia, Jiapeng, Colin, Alex)
- Fix CCS handling (Matt)
- Fix for guc requests after reset (Daniele)
- Display DSI related fixes (Jani)
- Display backlight related fixes (Arun, Jouni)
- Fix for a null pointer dereference (Lukasz)
- HDMI related quirk for ECS Liva Q2 with GLK graphics (Diego)
- Skip wm/ddb readout for disabled pipes (Ville)

Thanks,
Rodrigo.

The following changes since commit 1c23f9e627a7b412978b4e852793c5e3c3efc555:

  Linux 6.0-rc2 (2022-08-21 17:32:54 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 0211c2a0ea600e25db3044daaeff4fe41c3ed6d9:

  drm/i915: Skip wm/ddb readout for disabled pipes (2022-08-29 10:00:54 -0400)


- GVT fixes including fix for a CommetLake regression in mmio table
  and misc doc and typo fixes (Julia, Jiapeng, Colin, Alex)
- Fix CCS handling (Matt)
- Fix for guc requests after reset (Daniele)
- Display DSI related fixes (Jani)
- Display backlight related fixes (Arun, Jouni)
- Fix for a null pointer dereference (Lukasz)
- HDMI related quirk for ECS Liva Q2 with GLK graphics (Diego)
- Skip wm/ddb readout for disabled pipes (Ville)


Alex Williamson (1):
  drm/i915/gvt: Fix Comet Lake

Arun R Murthy (1):
  drm/i915/display: avoid warnings when registering dual panel backlight

Colin Ian King (1):
  drm/i915/reg: Fix spelling mistake "Unsupport" -> "Unsupported"

Daniele Ceraolo Spurio (1):
  drm/i915/guc: clear stalled request after a reset

Diego Santa Cruz (1):
  drm/i915/glk: ECS Liva Q2 needs GLK HDMI port timing quirk

Jani Nikula (2):
  drm/i915/dsi: filter invalid backlight and CABC ports
  drm/i915/dsi: fix dual-link DSI backlight and CABC ports for display 11+

Jiapeng Chong (3):
  drm/i915/gvt: Fix kernel-doc
  drm/i915/gvt: Fix kernel-doc
  drm/i915/gvt: Fix kernel-doc

Jouni Högander (1):
  drm/i915/backlight: Disable pps power hook for aux based backlight

Julia Lawall (1):
  drm/i915/gvt: fix typo in comment

Matthew Auld (1):
  drm/i915/ttm: fix CCS handling

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

Ville Syrjälä (1):
  drm/i915: Skip wm/ddb readout for disabled pipes

Łukasz Bartosik (1):
  drm/i915: fix null pointer dereference

 drivers/gpu/drm/i915/display/icl_dsi.c|  7 
 drivers/gpu/drm/i915/display/intel_backlight.c| 37 ++-
 drivers/gpu/drm/i915/display/intel_bios.c | 10 +++---
 drivers/gpu/drm/i915/display/intel_bw.c   | 16 +
 drivers/gpu/drm/i915/display/intel_dp.c   |  2 --
 drivers/gpu/drm/i915/display/intel_quirks.c   |  3 ++
 drivers/gpu/drm/i915/display/vlv_dsi.c|  7 
 drivers/gpu/drm/i915/gt/intel_migrate.c   | 44 +++
 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c |  7 
 drivers/gpu/drm/i915/gvt/aperture_gm.c|  4 +--
 drivers/gpu/drm/i915/gvt/gtt.c|  2 +-
 drivers/gpu/drm/i915/gvt/handlers.c   |  4 +--
 drivers/gpu/drm/i915/gvt/mmio_context.c   |  2 +-
 drivers/gpu/drm/i915/intel_gvt_mmio_table.c   |  3 +-
 drivers/gpu/drm/i915/intel_pm.c   |  8 -
 15 files changed, 95 insertions(+), 61 deletions(-)


[PULL] drm-intel-fixes

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

Sorry for the delay here.
I hope we still have time for these.
But no big deal if this needs to wait until next week.

Here goes drm-intel-fixes-2022-08-26:
- GVT fixes including fix for a CommetLake regression in mmio table
  and misc doc and typo fixes
- Fix CCS handling (Matt)
- Fix for guc requests after reset (Daniele)
- Display DSI related fixes (Jani)
- Display backlight related fixes (Arun, Jouni)

Thanks,
Rodrigo.

The following changes since commit 1c23f9e627a7b412978b4e852793c5e3c3efc555:

  Linux 6.0-rc2 (2022-08-21 17:32:54 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 6067c82c576af13a6b1c892b42ac4a189aced8ee:

  drm/i915/backlight: Disable pps power hook for aux based backlight 
(2022-08-23 21:27:25 -0400)


- GVT fixes including fix for a CommetLake regression in mmio table
  and misc doc and typo fixes
- Fix CCS handling (Matt)
- Fix for guc requests after reset (Daniele)
- Display DSI related fixes (Jani)
- Display backlight related fixes (Arun, Jouni)


Alex Williamson (1):
  drm/i915/gvt: Fix Comet Lake

Arun R Murthy (1):
  drm/i915/display: avoid warnings when registering dual panel backlight

Colin Ian King (1):
  drm/i915/reg: Fix spelling mistake "Unsupport" -> "Unsupported"

Daniele Ceraolo Spurio (1):
  drm/i915/guc: clear stalled request after a reset

Jani Nikula (2):
  drm/i915/dsi: filter invalid backlight and CABC ports
  drm/i915/dsi: fix dual-link DSI backlight and CABC ports for display 11+

Jiapeng Chong (3):
  drm/i915/gvt: Fix kernel-doc
  drm/i915/gvt: Fix kernel-doc
  drm/i915/gvt: Fix kernel-doc

Jouni Högander (1):
  drm/i915/backlight: Disable pps power hook for aux based backlight

Julia Lawall (1):
  drm/i915/gvt: fix typo in comment

Matthew Auld (1):
  drm/i915/ttm: fix CCS handling

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

 drivers/gpu/drm/i915/display/icl_dsi.c|  7 
 drivers/gpu/drm/i915/display/intel_backlight.c| 37 ++-
 drivers/gpu/drm/i915/display/intel_bios.c | 10 +++---
 drivers/gpu/drm/i915/display/intel_dp.c   |  2 --
 drivers/gpu/drm/i915/display/vlv_dsi.c|  7 
 drivers/gpu/drm/i915/gt/intel_migrate.c   | 44 +++
 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c |  7 
 drivers/gpu/drm/i915/gvt/aperture_gm.c|  4 +--
 drivers/gpu/drm/i915/gvt/gtt.c|  2 +-
 drivers/gpu/drm/i915/gvt/handlers.c   |  4 +--
 drivers/gpu/drm/i915/gvt/mmio_context.c   |  2 +-
 drivers/gpu/drm/i915/intel_gvt_mmio_table.c   |  3 +-
 12 files changed, 76 insertions(+), 53 deletions(-)


[PULL] drm-intel-fixes

2022-07-28 Thread Tvrtko Ursulin
Hi Dave, Daniel,

Just one fix this time round to further improve reliability of resets on
execlists platforms in some edge cases.

Not sure if there is scope to do one more fixes pull before 5.19 is out so
just in case. If it doesn't get pulled we'll send it to stable after release.
 
Regards,

Tvrtko

drm-intel-fixes-2022-07-28-1:
- Further reset robustness improvements for execlists [Wa_22011802037] (Umesh 
Nerlige Ramappa)
The following changes since commit e0dccc3b76fb35bb257b4118367a883073d7390e:

  Linux 5.19-rc8 (2022-07-24 13:26:27 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2022-07-28-1

for you to fetch changes up to a7a47a5dfa9a9692a41764ee9ab4054f12924a42:

  drm/i915/reset: Add additional steps for Wa_22011802037 for execlist backend 
(2022-07-25 15:57:54 +0100)


- Further reset robustness improvements for execlists [Wa_22011802037] (Umesh 
Nerlige Ramappa)


Umesh Nerlige Ramappa (1):
  drm/i915/reset: Add additional steps for Wa_22011802037 for execlist 
backend

 drivers/gpu/drm/i915/gt/intel_engine.h |  2 +
 drivers/gpu/drm/i915/gt/intel_engine_cs.c  | 88 +-
 .../gpu/drm/i915/gt/intel_execlists_submission.c   |  7 ++
 drivers/gpu/drm/i915/gt/uc/intel_guc.c |  4 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c  | 81 ++--
 5 files changed, 103 insertions(+), 79 deletions(-)


[PULL] drm-intel-fixes

2022-07-20 Thread Rodrigo Vivi
Hi Dave and Daniel,

This is basically only the guc regression fix.
The other patch is just a dependency to make the
important patch to apply cleanly without conflict.

drm-intel-fixes-2022-07-20-1:
- Fix the regression caused by the lack of GuC v70.
  Let's accept the fallback to v69.

Thanks,
Rodrigo.

The following changes since commit ff6992735ade75aae3e35d16b17da1008d753d28:

  Linux 5.19-rc7 (2022-07-17 13:30:22 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2022-07-20-1

for you to fetch changes up to 443148858f26ee0fea6ad1b292d49d884dce92d1:

  drm/i915/guc: support v69 in parallel to v70 (2022-07-19 21:25:03 -0400)


- Fix the regression caused by the lack of GuC v70.
  Let's accept the fallback to v69.


Daniele Ceraolo Spurio (1):
  drm/i915/guc: support v69 in parallel to v70

Matthew Brost (1):
  drm/i915/guc: Support programming the EU priority in the GuC descriptor

 drivers/gpu/drm/i915/gt/intel_context_types.h  |  11 +-
 .../gpu/drm/i915/gt/intel_execlists_submission.c   |  12 +-
 drivers/gpu/drm/i915/gt/intel_lrc.h|  10 -
 drivers/gpu/drm/i915/gt/uc/abi/guc_actions_abi.h   |   3 +
 drivers/gpu/drm/i915/gt/uc/intel_guc.h |   5 +
 drivers/gpu/drm/i915/gt/uc/intel_guc_fwif.h|  45 +++
 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c  | 374 ++---
 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c   |  56 ++-
 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.h   |   7 +
 9 files changed, 450 insertions(+), 73 deletions(-)


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

2022-07-17 Thread pr-tracker-bot
The pull request you sent on Sun, 17 Jul 2022 14:59:42 -0400:

> git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2022-07-17

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/55ea9bd666887ed4159df38d1494c204246cf2bc

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


[PULL] drm-intel-fixes

2022-07-17 Thread Rodrigo Vivi
Hi Dave and Daniel (and Linus),

Our 'dim' flow has a problem with fixes of fixes getting missed.
We need to take a look on that later.

Meanwhile, please allow me to quickly propagate this fix
here upstream.

Here goes drm-intel-fixes-2022-07-17:

- Fix 32b build

Thanks,
Rodrigo.

The following changes since commit 333991c4e66b3d4b5613315f18016da80344f659:

  drm/i915/selftests: fix subtraction overflow bug (2022-07-12 18:21:58 -0400)

are available in the Git repository at:

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

for you to fetch changes up to ced7866db39fc5c59ee05e154d4abc0977a17f6b:

  drm/i915/ttm: fix 32b build (2022-07-17 14:53:47 -0400)


- Fix 32b build


Matthew Auld (1):
  drm/i915/ttm: fix 32b build

 drivers/gpu/drm/i915/gem/i915_gem_region.c |  2 ++
 drivers/gpu/drm/i915/gem/i915_gem_ttm.c|  2 +-
 drivers/gpu/drm/i915/i915_scatterlist.c| 16 
 drivers/gpu/drm/i915/i915_scatterlist.h|  4 ++--
 drivers/gpu/drm/i915/intel_region_ttm.c|  2 +-
 drivers/gpu/drm/i915/intel_region_ttm.h|  2 +-
 6 files changed, 15 insertions(+), 13 deletions(-)


[PULL] drm-intel-fixes

2022-07-13 Thread Rodrigo Vivi
Hi Dave and Daniel,

On behalf of Jani, here goes the drm-intel-fixes targeting
5.19-rc7.

Please notice that this also includes the patches you already
pulled last week. But for some reason they are not in the
5.19-rc6 yet.

Well, we always use the official -rc as the base, but if it
gets easier for you to use the drm/drm-fixes this round just
let me know that I can force-push and generate another one
tomorrow.

But I hope the official dim flow works.

Thanks,
Rodrigo.

drm-intel-fixes-2022-07-13:
- Selftest fix (Andrzej)
- TTM fix sg_table construction (Matt Auld)
- Error return fixes (Dan)
- Fix a performance regression related to waitboost (Chri\
s)
- Fix GT resets (Chris)
- Fix a possible refcount leak in DP MST connector (Hangy\
u)
- Fix on loading guc on ADL-N (Daniele)
- Fix vm use-after-free in vma destruction (Thomas)

Thanks,
Rodrigo.

The following changes since commit 32346491ddf24599decca06190ebca03ff9de7f8:

  Linux 5.19-rc6 (2022-07-10 14:40:51 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 333991c4e66b3d4b5613315f18016da80344f659:

  drm/i915/selftests: fix subtraction overflow bug (2022-07-12 18:21:58 -0400)


- Selftest fix (Andrzej)
- TTM fix sg_table construction (Matt Auld)
- Error return fixes (Dan)
- Fix a performance regression related to waitboost (Chri\
s)
- Fix GT resets (Chris)
- Fix a possible refcount leak in DP MST connector (Hangy\
u)
- Fix on loading guc on ADL-N (Daniele)
- Fix vm use-after-free in vma destruction (Thomas)


Andrzej Hajda (1):
  drm/i915/selftests: fix subtraction overflow bug

Chris Wilson (3):
  drm/i915/gt: Serialize GRDOM access between multiple engine resets
  drm/i915/gt: Serialize TLB invalidates with GT resets
  drm/i915/gem: Look for waitboosting across the whole object prior to 
individual waits

Dan Carpenter (2):
  drm/i915/gvt: IS_ERR() vs NULL bug in intel_gvt_update_reg_whitelist()
  drm/i915/selftests: fix a couple IS_ERR() vs NULL tests

Daniele Ceraolo Spurio (1):
  drm/i915/guc: ADL-N should use the same GuC FW as ADL-S

Hangyu Hua (1):
  drm/i915: fix a possible refcount leak in intel_dp_add_mst_connector()

Matthew Auld (1):
  drm/i915/ttm: fix sg_table construction

Rodrigo Vivi (1):
  Merge tag 'gvt-fixes-2022-07-11' of https://github.com/intel/gvt-linux 
into drm-intel-fixes

Thomas Hellström (1):
  drm/i915: Fix vm use-after-free in vma destruction

 drivers/gpu/drm/i915/display/intel_dp_mst.c|  1 +
 drivers/gpu/drm/i915/gem/i915_gem_ttm.c| 11 +--
 drivers/gpu/drm/i915/gem/i915_gem_wait.c   | 34 
 drivers/gpu/drm/i915/gt/intel_gt.c | 15 -
 drivers/gpu/drm/i915/gt/intel_reset.c  | 37 --
 drivers/gpu/drm/i915/gt/selftest_lrc.c |  8 ++---
 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c   |  9 ++
 drivers/gpu/drm/i915/gvt/cmd_parser.c  |  6 ++--
 drivers/gpu/drm/i915/i915_scatterlist.c| 19 ---
 drivers/gpu/drm/i915/i915_scatterlist.h|  6 ++--
 drivers/gpu/drm/i915/i915_vma.c| 12 ---
 drivers/gpu/drm/i915/intel_region_ttm.c| 10 --
 drivers/gpu/drm/i915/intel_region_ttm.h|  3 +-
 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c  |  2 +-
 .../gpu/drm/i915/selftests/intel_memory_region.c   | 21 ++--
 drivers/gpu/drm/i915/selftests/mock_region.c   |  3 +-
 16 files changed, 160 insertions(+), 37 deletions(-)


[PULL] drm-intel-fixes

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

Here goes our fixes targeting 5.19-rc6.

There will probably be a couple more important fixes coming
next week for the -rc7

drm-intel-fixes-2022-07-07:

- Fix a possible refcount leak in DP MST connector (Hangyu)
- Fix on loading guc on ADL-N (Daniele)
- Fix vm use-after-free in vma destruction (Thomas)

Thanks,
Rodrigo.

The following changes since commit 79538490fd7ade244dba400923e792519a2bdfea:

  drm/i915: tweak the ordering in cpu_write_needs_clflush (2022-06-27 18:12:10 
+0300)

are available in the Git repository at:

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

for you to fetch changes up to 12058077b2e963d16d2d673d46233a7f46add7c9:

  drm/i915: Fix vm use-after-free in vma destruction (2022-07-06 23:04:55 -0400)


- Fix a possible refcount leak in DP MST connector (Hangyu)
- Fix on loading guc on ADL-N (Daniele)
- Fix vm use-after-free in vma destruction (Thomas)


Daniele Ceraolo Spurio (1):
  drm/i915/guc: ADL-N should use the same GuC FW as ADL-S

Hangyu Hua (1):
  drm/i915: fix a possible refcount leak in intel_dp_add_mst_connector()

Thomas Hellström (1):
  drm/i915: Fix vm use-after-free in vma destruction

 drivers/gpu/drm/i915/display/intel_dp_mst.c |  1 +
 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c|  9 +
 drivers/gpu/drm/i915/i915_vma.c | 12 
 3 files changed, 18 insertions(+), 4 deletions(-)


[PULL] drm-intel-fixes

2022-06-29 Thread Jani Nikula


Hi Dave & Daniel -

drm-intel-fixes-2022-06-29:
drm/i915 fixes for v5.19-rc5:
- Fix ioctl argument error return
- Fix d3cold disable to allow PCI upstream bridge D3 transition
- Fix setting cache_dirty for dma-buf objects on discrete


Rodrigo will cover the remaining fixes until v5.19 final.


BR,
Jani.

The following changes since commit 03c765b0e3b4cb5063276b086c76f7a612856a9a:

  Linux 5.19-rc4 (2022-06-26 14:22:10 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 79538490fd7ade244dba400923e792519a2bdfea:

  drm/i915: tweak the ordering in cpu_write_needs_clflush (2022-06-27 18:12:10 
+0300)


drm/i915 fixes for v5.19-rc5:
- Fix ioctl argument error return
- Fix d3cold disable to allow PCI upstream bridge D3 transition
- Fix setting cache_dirty for dma-buf objects on discrete


Anshuman Gupta (1):
  drm/i915/dgfx: Disable d3cold at gfx root port

Matthew Auld (1):
  drm/i915: tweak the ordering in cpu_write_needs_clflush

katrinzhou (1):
  drm/i915/gem: add missing else

 drivers/gpu/drm/i915/gem/i915_gem_context.c |  5 +++--
 drivers/gpu/drm/i915/gem/i915_gem_domain.c  |  6 ++---
 drivers/gpu/drm/i915/i915_driver.c  | 34 +
 3 files changed, 21 insertions(+), 24 deletions(-)

-- 
Jani Nikula, Intel Open Source Graphics Center


[PULL] drm-intel-fixes

2022-06-22 Thread Jani Nikula


Hi Dave & Daniel -

drm-intel-fixes-2022-06-22:
drm/i915 fixes for v5.19-rc4:
- Revert low voltage SKU check removal to fix display issues
- Apply PLL DCO fraction workaround for ADL-S
- Don't show engine classes not present in client fdinfo

BR,
Jani.

The following changes since commit a111daf0c53ae91e71fd2bfe7497862d14132e3e:

  Linux 5.19-rc3 (2022-06-19 15:06:47 -0500)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2022-06-22

for you to fetch changes up to c7b28f52f406bc89d15ca0ccbc47994f979f2fcd:

  drm/i915/display: Re-add check for low voltage sku for max dp source rate 
(2022-06-20 19:39:00 +0300)


drm/i915 fixes for v5.19-rc4:
- Revert low voltage SKU check removal to fix display issues
- Apply PLL DCO fraction workaround for ADL-S
- Don't show engine classes not present in client fdinfo


Jason A. Donenfeld (1):
  drm/i915/display: Re-add check for low voltage sku for max dp source rate

Tvrtko Ursulin (1):
  drm/i915/fdinfo: Don't show engine classes not present

Ville Syrjälä (1):
  drm/i915: Implement w/a 22010492432 for adl-s

 drivers/gpu/drm/i915/display/intel_dp.c   | 32 ---
 drivers/gpu/drm/i915/display/intel_dpll_mgr.c |  4 ++--
 drivers/gpu/drm/i915/i915_drm_client.c|  5 +++--
 3 files changed, 34 insertions(+), 7 deletions(-)

-- 
Jani Nikula, Intel Open Source Graphics Center


[PULL] drm-intel-fixes

2022-06-16 Thread Jani Nikula


Hi Dave & Daniel -

drm-intel-fixes-2022-06-16:
drm/i915 fixes for v5.19-rc3:
- Fix page fault on error state read
- Fix memory leaks in per-gt sysfs
- Fix multiple fence handling
- Remove accidental static from a local variable

BR,
Jani.

The following changes since commit b13baccc3850ca8b8cccbf8ed9912dbaa0fdf7f3:

  Linux 5.19-rc2 (2022-06-12 16:11:37 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2022-06-16

for you to fetch changes up to 2636e008112465ca54559ac4898da5a2515e118a:

  drm/i915/uc: remove accidental static from a local variable (2022-06-13 
13:53:35 +0300)


drm/i915 fixes for v5.19-rc3:
- Fix page fault on error state read
- Fix memory leaks in per-gt sysfs
- Fix multiple fence handling
- Remove accidental static from a local variable


Alan Previn (1):
  drm/i915/reset: Fix error_state_read ptr + offset use

Ashutosh Dixit (1):
  drm/i915/gt: Fix memory leaks in per-gt sysfs

Jani Nikula (1):
  drm/i915/uc: remove accidental static from a local variable

Nirmoy Das (1):
  drm/i915: Individualize fences before adding to dma_resv obj

 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c |  3 +-
 drivers/gpu/drm/i915/gt/intel_gt.c |  1 +
 drivers/gpu/drm/i915/gt/intel_gt_sysfs.c   | 29 +++-
 drivers/gpu/drm/i915/gt/intel_gt_sysfs.h   |  6 +---
 drivers/gpu/drm/i915/gt/intel_gt_types.h   |  3 ++
 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c   |  2 +-
 drivers/gpu/drm/i915/i915_sysfs.c  | 17 +++--
 drivers/gpu/drm/i915/i915_vma.c| 48 +++---
 8 files changed, 62 insertions(+), 47 deletions(-)

-- 
Jani Nikula, Intel Open Source Graphics Center


[PULL] drm-intel-fixes

2022-05-19 Thread Joonas Lahtinen
Hi Dave & Daniel,

Here's the previous PR + additional fix for regression #5806: GPU hangs
and display artifacts on 5.18-rc3 on Intel GM45.

Was also discussed here:

https://lore.kernel.org/all/CAHk-=wj0ghsg6iw3d8ufptm9a_dvtsqrrofy9wopobbybyu...@mail.gmail.com/

Regards, Joonas

***

drm-intel-fixes-2022-05-20:

- Previous PR + fix for #5806: GPU hangs and display artifacts on 5.18-rc3 on 
Intel GM45

The following changes since commit 42226c989789d8da4af1de0c31070c96726d990c:

  Linux 5.18-rc7 (2022-05-15 18:08:58 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 7b1d6924f27ba24b9e47abb9bd53d0bbc430a835:

  drm/i915: Use i915_gem_object_ggtt_pin_ww for reloc_iomap (2022-05-19 
12:49:49 +0300)


- Previous PR + fix for #5806: GPU hangs and display artifacts on 5.18-rc3 on 
Intel GM45


Anusha Srivatsa (1):
  drm/i915/dmc: Add MMIO range restrictions

Maarten Lankhorst (1):
  drm/i915: Use i915_gem_object_ggtt_pin_ww for reloc_iomap

Umesh Nerlige Ramappa (1):
  i915/guc/reset: Make __guc_reset_context aware of guilty engines

 drivers/gpu/drm/i915/display/intel_dmc.c  | 44 +++
 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c|  6 ++--
 drivers/gpu/drm/i915/gt/intel_reset.c |  2 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc.h|  2 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c | 16 -
 drivers/gpu/drm/i915/gt/uc/intel_uc.c |  2 +-
 drivers/gpu/drm/i915/gt/uc/intel_uc.h |  2 +-
 drivers/gpu/drm/i915/i915_reg.h   | 16 +
 8 files changed, 74 insertions(+), 16 deletions(-)


[PULL] drm-intel-fixes

2022-05-18 Thread Joonas Lahtinen
Hi Dave & Daniel,

Two final -fixes for v5.18.

One is to reject DMC with out-of-spec MMIO (Cc: stable) and another
to correctly mark guilty contexts on GuC reset.

Regards, Joonas

***

drm-intel-fixes-2022-05-19:

- Reject DMC firmware with out-of-spec MMIO addresses.
- Correctly mark guilty context on GuC reset

The following changes since commit 42226c989789d8da4af1de0c31070c96726d990c:

  Linux 5.18-rc7 (2022-05-15 18:08:58 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 89e96d822bd51f7afe2d3e95a34099480b5c3d55:

  i915/guc/reset: Make __guc_reset_context aware of guilty engines (2022-05-16 
10:13:39 +0300)


- Reject DMC firmware with out-of-spec MMIO addresses.
- Correctly mark guilty context on GuC reset


Anusha Srivatsa (1):
  drm/i915/dmc: Add MMIO range restrictions

Umesh Nerlige Ramappa (1):
  i915/guc/reset: Make __guc_reset_context aware of guilty engines

 drivers/gpu/drm/i915/display/intel_dmc.c  | 44 +++
 drivers/gpu/drm/i915/gt/intel_reset.c |  2 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc.h|  2 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c | 16 -
 drivers/gpu/drm/i915/gt/uc/intel_uc.c |  2 +-
 drivers/gpu/drm/i915/gt/uc/intel_uc.h |  2 +-
 drivers/gpu/drm/i915/i915_reg.h   | 16 +
 7 files changed, 72 insertions(+), 12 deletions(-)


[PULL] drm-intel-fixes

2022-05-12 Thread Joonas Lahtinen
Hi Dave & Daniel,

One fix for memory corruption under heavy load (#5732, Cc: stable).

Regards, Joonas

***

drm-intel-fixes-2022-05-12:

Fix for #5732: (Cc stable) kernel memory corruption when running a lot of 
OpenCL tests in parallel

The following changes since commit c5eb0a61238dd6faf37f58c9ce61c9980aaffd7a:

  Linux 5.18-rc6 (2022-05-08 13:54:17 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 3220c3b2115102bb35f8f07d90d2989a3f5eb452:

  drm/i915: Fix race in __i915_vma_remove_closed (2022-05-09 10:36:49 +0300)


Fix for #5732: (Cc stable) kernel memory corruption when running a lot of 
OpenCL tests in parallel


Karol Herbst (1):
  drm/i915: Fix race in __i915_vma_remove_closed

 drivers/gpu/drm/i915/i915_vma.c | 11 +++
 1 file changed, 7 insertions(+), 4 deletions(-)


[PULL] drm-intel-fixes

2022-04-28 Thread Joonas Lahtinen
Hi Dave & Daniel,

Here goes drm-intel-fixes PR for v5.18-rc5.

Fixes for backlight control on XMG Core 15 e21 (#5284, regression since
5.15) and black display plane on Acer One AO532h.

Then two smaller display fixes picked up by tooling.

Regards, Joonas

***

drm-intel-fixes-2022-04-28:
- Fix #5284: Backlight control regression on XMG Core 15 e21
- Fix black display plane on Acer One AO532h
- Two smaller display fixes
-
The following changes since commit af2d861d4cd2a4da5137f795ee3509e6f944a25b:

  Linux 5.18-rc4 (2022-04-24 14:51:22 -0700)

are available in the Git repository at:

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

for you to fetch changes up to f7e1089f43761ca221914aea9a755b23dc7cbc33:

  drm/i915/fbc: Consult hw.crtc instead of uapi.crtc (2022-04-26 10:12:36 +0300)


- Fix #5284: Backlight control regression on XMG Core 15 e21
- Fix black display plane on Acer One AO532h
- Two smaller display fixes
-


Hans de Goede (1):
  drm/i915: Fix DISP_POS_Y and DISP_HEIGHT defines

Imre Deak (1):
  drm/i915: Fix SEL_FETCH_PLANE_*(PIPE_B+) register addresses

Jouni Högander (1):
  drm/i915: Check EDID for HDR static metadata when choosing blc

Ville Syrjälä (1):
  drm/i915/fbc: Consult hw.crtc instead of uapi.crtc

 .../gpu/drm/i915/display/intel_dp_aux_backlight.c  | 34 +-
 drivers/gpu/drm/i915/display/intel_fbc.c   |  2 +-
 drivers/gpu/drm/i915/i915_reg.h|  6 ++--
 3 files changed, 30 insertions(+), 12 deletions(-)


[PULL] drm-intel-fixes

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

Here go drm-intel-fixes for v5.18-rc4.

Two display fixes: Disable VRR if user disables it from panel settings
and avoid claiming PSR2 is enabled when it is not supported by config.

Regards, Joonas

***

drm-intel-fixes-2022-04-20:

- Unset enable_psr2_sel_fetch if PSR2 detection fails
- Fix to detect when VRR is turned off from panel settings

The following changes since commit b2d229d4ddb17db541098b83524d901257e93845:

  Linux 5.18-rc3 (2022-04-17 13:57:31 -0700)

are available in the Git repository at:

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

for you to fetch changes up to bb02330408a7bde33b5f46aa14fd5d7bfe6093b7:

  drm/i915/display/psr: Unset enable_psr2_sel_fetch if other checks in 
intel_psr2_config_valid() fails (2022-04-20 07:51:14 +0300)


- Unset enable_psr2_sel_fetch if PSR2 detection fails
- Fix to detect when VRR is turned off from panel settings


José Roberto de Souza (1):
  drm/i915/display/psr: Unset enable_psr2_sel_fetch if other checks in 
intel_psr2_config_valid() fails

Manasi Navare (1):
  drm/i915/display/vrr: Reset VRR capable property on a long hpd

 drivers/gpu/drm/i915/display/intel_dp.c  | 17 +-
 drivers/gpu/drm/i915/display/intel_psr.c | 38 ++--
 2 files changed, 32 insertions(+), 23 deletions(-)


[PULL] drm-intel-fixes

2022-04-12 Thread Joonas Lahtinen
Hi Dave & Daniel,

Just one fix towards v5.18-rc3.

Fix to align code with drm-tip to make sure full graphics IP version
is used for legacy mmap disable check.

Regards, Joonas

***

drm-intel-fixes-2022-04-13:

- Correct legacy mmap disabling to use GRAPHICS_VER_FULL

The following changes since commit ce522ba9ef7e2d9fb22a39eb3371c0c64e2a433e:

  Linux 5.18-rc2 (2022-04-10 14:21:36 -1000)

are available in the Git repository at:

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

for you to fetch changes up to 1acb34e7dd7720a1fff00cbd4d000ec3219dc9d6:

  drm/i915: Sunset igpu legacy mmap support based on GRAPHICS_VER_FULL 
(2022-04-11 09:11:21 +0300)


- Correct legacy mmap disabling to use GRAPHICS_VER_FULL


Matt Roper (1):
  drm/i915: Sunset igpu legacy mmap support based on GRAPHICS_VER_FULL

 drivers/gpu/drm/i915/gem/i915_gem_mman.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


[PULL] drm-intel-fixes

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

One PSR2 fix for the next release candidate, if there will be one.

Regards,

Tvrtko

drm-intel-fixes-2022-03-10:
- Fix PSR2 when selective fetch is enabled and cursor at (-1, -1) (Jouni 
Högander)
The following changes since commit ffb217a13a2eaf6d5bd974fc83036a53ca69f1e2:

  Linux 5.17-rc7 (2022-03-06 14:28:31 -0800)

are available in the Git repository at:

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

for you to fetch changes up to 804f468853179b9b58af05c153c411931aa5b310:

  drm/i915/psr: Set "SF Partial Frame Enable" also on full update (2022-03-07 
14:45:31 +)


- Fix PSR2 when selective fetch is enabled and cursor at (-1, -1) (Jouni 
Högander)


Jouni Högander (1):
  drm/i915/psr: Set "SF Partial Frame Enable" also on full update

 drivers/gpu/drm/i915/display/intel_psr.c | 16 ++--
 drivers/gpu/drm/i915/i915_reg.h  |  1 +
 2 files changed, 15 insertions(+), 2 deletions(-)


[PULL] drm-intel-fixes

2022-03-03 Thread Tvrtko Ursulin


Hi Dave,  Daniel,

Two small fixes for -rc7.

GuC SLPC is for future platform work and other one is fixing
misidentification of Ice Lake MacBook Pro's.

Regards,

Tvrtko

drm-intel-fixes-2022-03-03:
- Fix GuC SLPC unset command. (Vinay Belgaumkar)
- Fix misidentification of some Apple MacBook Pro laptops as Jasper Lake. 
(Ville Syrjälä)
The following changes since commit 7e57714cd0ad2d5bb90e50b5096a0e671dec1ef3:

  Linux 5.17-rc6 (2022-02-27 14:36:33 -0800)

are available in the Git repository at:

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

for you to fetch changes up to 08783aa7693f55619859f4f63f384abf17cb58c5:

  drm/i915: s/JSP2/ICP2/ PCH (2022-02-28 11:59:01 +)


- Fix GuC SLPC unset command. (Vinay Belgaumkar)
- Fix misidentification of some Apple MacBook Pro laptops as Jasper Lake. 
(Ville Syrjälä)


Ville Syrjälä (1):
  drm/i915: s/JSP2/ICP2/ PCH

Vinay Belgaumkar (1):
  drm/i915/guc/slpc: Correct the param count for unset param

 drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.c | 2 +-
 drivers/gpu/drm/i915/intel_pch.c| 2 +-
 drivers/gpu/drm/i915/intel_pch.h| 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)


[PULL] drm-intel-fixes

2022-02-24 Thread Tvrtko Ursulin


Hi Dave,  Daniel,

An assortment of display fixes for -rc6.

Regards,

Tvrtko

drm-intel-fixes-2022-02-24:
- Fix QGV handling on ADL-P+ (Ville Syrjälä)
- Fix bw atomic check when switching between SAGV vs. no SAGV (Ville Syrjälä)
- Disconnect PHYs left connected by BIOS on disabled ports (Imre Deak)
- Fix SAVG to no SAGV transitions on TGL+ (Ville Syrjälä)
- Print PHY name properly on calibration error (DG2) (Matt Roper)
The following changes since commit cfb92440ee71adcc2105b0890bb01ac3cddb8507:

  Linux 5.17-rc5 (2022-02-20 13:07:20 -0800)

are available in the Git repository at:

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

for you to fetch changes up to 28adef861233c6fce47372ebd2070b55eaa8e899:

  drm/i915/dg2: Print PHY name properly on calibration error (2022-02-21 
09:43:11 +)


- Fix QGV handling on ADL-P+ (Ville Syrjälä)
- Fix bw atomic check when switching between SAGV vs. no SAGV (Ville Syrjälä)
- Disconnect PHYs left connected by BIOS on disabled ports (Imre Deak)
- Fix SAVG to no SAGV transitions on TGL+ (Ville Syrjälä)
- Print PHY name properly on calibration error (DG2) (Matt Roper)


Imre Deak (1):
  drm/i915: Disconnect PHYs left connected by BIOS on disabled ports

Matt Roper (1):
  drm/i915/dg2: Print PHY name properly on calibration error

Ville Syrjälä (3):
  drm/i915: Widen the QGV point mask
  drm/i915: Correctly populate use_sagv_wm for all pipes
  drm/i915: Fix bw atomic check when switching between SAGV vs. no SAGV

 drivers/gpu/drm/i915/display/intel_bw.c   | 18 --
 drivers/gpu/drm/i915/display/intel_bw.h   |  8 
 drivers/gpu/drm/i915/display/intel_snps_phy.c |  2 +-
 drivers/gpu/drm/i915/display/intel_tc.c   | 26 --
 drivers/gpu/drm/i915/intel_pm.c   | 22 +++---
 5 files changed, 52 insertions(+), 24 deletions(-)


[PULL] drm-intel-fixes

2022-02-17 Thread Tvrtko Ursulin


Hi Dave,  Daniel,

An assortment of fixes for -rc5, mostly display and one for the TTM
backend.

Contains a merge of two trivial GVT fixes as well which came via GVT pull
request.

Regards,

Tvrtko

drm-intel-fixes-2022-02-17:
- GVT kerneldoc cleanup. (Randy Dunlap)
- GVT Kconfig should depend on X86. (Siva Mullati)
- Prevent out of range access in SWSCI display code. (Jani Nikula)
- Fix mbus join and dbuf slice config lookup. (Ville Syrjälä)
- Fix inverted priority selection in the TTM backend. (Matthew Auld)
- Fix FBC plane end Y offset check. (Ville Syrjälä)
The following changes since commit 754e0b0e35608ed5206d6a67a791563c631cec07:

  Linux 5.17-rc4 (2022-02-13 12:13:30 -0800)

are available in the Git repository at:

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

for you to fetch changes up to 26ace8793aaefbcd0d6bb664573ded35c69cd6ef:

  drm/i915/fbc: Fix the plane end Y offset check (2022-02-14 09:52:56 +)


- GVT kerneldoc cleanup. (Randy Dunlap)
- GVT Kconfig should depend on X86. (Siva Mullati)
- Prevent out of range access in SWSCI display code. (Jani Nikula)
- Fix mbus join and dbuf slice config lookup. (Ville Syrjälä)
- Fix inverted priority selection in the TTM backend. (Matthew Auld)
- Fix FBC plane end Y offset check. (Ville Syrjälä)


Jani Nikula (1):
  drm/i915/opregion: check port number bounds for SWSCI display power state

Matthew Auld (1):
  drm/i915/ttm: tweak priority hint selection

Randy Dunlap (1):
  drm/i915/gvt: clean up kernel-doc in gtt.c

Siva Mullati (1):
  drm/i915/gvt: Make DRM_I915_GVT depend on X86

Tvrtko Ursulin (1):
  Merge tag 'gvt-fixes-2022-01-13' of https://github.com/intel/gvt-linux 
into drm-intel-fixes

Ville Syrjälä (3):
  drm/i915: Fix dbuf slice config lookup
  drm/i915: Fix mbus join config lookup
  drm/i915/fbc: Fix the plane end Y offset check

 drivers/gpu/drm/i915/Kconfig  |  1 +
 drivers/gpu/drm/i915/display/intel_fbc.c  |  3 ++-
 drivers/gpu/drm/i915/display/intel_opregion.c | 15 +++
 drivers/gpu/drm/i915/gem/i915_gem_ttm.c   |  6 ++
 drivers/gpu/drm/i915/gvt/gtt.c|  4 ++--
 drivers/gpu/drm/i915/intel_pm.c   |  4 ++--
 6 files changed, 24 insertions(+), 9 deletions(-)


[PULL] drm-intel-fixes

2022-02-10 Thread Tvrtko Ursulin


Hi Dave,  Daniel,

An assortment of fixes for -rc4, mostly display, one TTM migration fixup,
one fix for platforms without runtime PM and one !x86 build fix.

Regards,

Tvrtko

drm-intel-fixes-2022-02-10:
- Build fix for non-x86 platforms after remap_io_mmapping changes. (Lucas De 
Marchi)
- Correctly propagate errors during object migration blits. (Thomas Hellström)
- Disable DRRS support on HSW/IVB where it is not implemented yet. (Ville 
Syrjälä)
- Correct pipe dbuf BIOS configuration during readout. (Ville Syrjälä)
- Properly sanitise BIOS buf configuration on ADL-P+ for !join_mbus cases. 
(Ville Syrjälä)
- Fix oops due to missing stack depot. (Ville Syrjälä)
- Workaround broken BIOS DBUF configuration on TGL/RKL. (Ville Syrjälä)
The following changes since commit dfd42facf1e4ada021b939b4e19c935dcdd55566:

  Linux 5.17-rc3 (2022-02-06 12:20:50 -0800)

are available in the Git repository at:

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

for you to fetch changes up to 4e6f55120c7eccf6f9323bb681632e23cbcb3f3c:

  drm/i915: Workaround broken BIOS DBUF configuration on TGL/RKL (2022-02-07 
12:56:50 +)


- Build fix for non-x86 platforms after remap_io_mmapping changes. (Lucas De 
Marchi)
- Correctly propagate errors during object migration blits. (Thomas Hellström)
- Disable DRRS support on HSW/IVB where it is not implemented yet. (Ville 
Syrjälä)
- Correct pipe dbuf BIOS configuration during readout. (Ville Syrjälä)
- Properly sanitise BIOS buf configuration on ADL-P+ for !join_mbus cases. 
(Ville Syrjälä)
- Fix oops due to missing stack depot. (Ville Syrjälä)
- Workaround broken BIOS DBUF configuration on TGL/RKL. (Ville Syrjälä)


Lucas De Marchi (1):
  drm/i915: Fix header test for !CONFIG_X86

Thomas Hellström (1):
  drm/i915/ttm: Return some errors instead of trying memcpy move

Ville Syrjälä (5):
  drm/i915: Fix oops due to missing stack depot
  drm/i915: Disable DRRS on IVB/HSW port != A
  drm/i915: Allow !join_mbus cases for adlp+ dbuf configuration
  drm/i915: Populate pipe dbuf slices more accurately during readout
  drm/i915: Workaround broken BIOS DBUF configuration on TGL/RKL

 drivers/gpu/drm/i915/display/intel_display.c |   1 +
 drivers/gpu/drm/i915/display/intel_drrs.c|   8 ++
 drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c |  14 ++-
 drivers/gpu/drm/i915/i915_mm.h   |   1 +
 drivers/gpu/drm/i915/intel_pm.c  | 143 ++-
 drivers/gpu/drm/i915/intel_pm.h  |   1 +
 drivers/gpu/drm/i915/intel_runtime_pm.c  |   4 +-
 7 files changed, 142 insertions(+), 30 deletions(-)


[PULL] drm-intel-fixes

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

Tvrtko is out today, so sending the -rc3 -fixes PR on behalf of him (picked
and CI tested by Tvtko).

Major items are fix for GitLab #4698 (Dell DA310 Type-C dock issue) and
engine busyness inconsitent value/timeout fixes when running with GuC.

Then two fixes for error paths and a smatch detected divide by zero
fix.

Regards, Joonas

***

drm-intel-fixes-2022-02-03:

Fix GitLab issue #4698: DP monitor through Type-C dock(Dell DA310) doesn't work.
Fixes for inconsistent engine busyness value and read timeout with GuC.
Fix to use ALLOW_FAIL for error capture buffer allocation. Don't use
interruptible lock on error path. Smatch fix to reject zero sized overlays.

The following changes since commit 26291c54e111ff6ba87a164d85d4a4e134b7315c:

  Linux 5.17-rc2 (2022-01-30 15:37:07 +0200)

are available in the Git repository at:

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

for you to fetch changes up to 7d73c602154df56802a9e75ac212505fc1e9a2b6:

  drm/i915/pmu: Fix KMD and GuC race on accessing busyness (2022-02-01 08:59:25 
+)


Fix GitLab issue #4698: DP monitor through Type-C dock(Dell DA310) doesn't work.
Fixes for inconsistent engine busyness value and read timeout with GuC.
Fix to use ALLOW_FAIL for error capture buffer allocation. Don't use
interruptible lock on error path. Smatch fix to reject zero sized overlays.


Dan Carpenter (1):
  drm/i915/overlay: Prevent divide by zero bugs in scaling

Imre Deak (1):
  drm/i915/adlp: Fix TypeC PHY-ready status readout

Matthew Brost (2):
  drm/i915: Allocate intel_engine_coredump_alloc with ALLOW_FAIL
  drm/i915: Lock timeline mutex directly in error path of eb_pin_timeline

Umesh Nerlige Ramappa (2):
  drm/i915/pmu: Use PM timestamp instead of RING TIMESTAMP for reference
  drm/i915/pmu: Fix KMD and GuC race on accessing busyness

 drivers/gpu/drm/i915/display/intel_overlay.c  |   3 +
 drivers/gpu/drm/i915/display/intel_tc.c   |   3 +-
 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c|   9 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc.h|   5 +
 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c | 114 ++
 drivers/gpu/drm/i915/i915_gpu_error.c |   2 +-
 drivers/gpu/drm/i915/i915_reg.h   |   3 +-
 7 files changed, 117 insertions(+), 22 deletions(-)


[PULL] drm-intel-fixes

2021-12-29 Thread Jani Nikula


Hi Dave & Daniel -

Final i915 fixes for v5.16.

BR,
Jani.

The following changes since commit fc74e0a40e4f9fd0468e34045b0c45bba11dcbb2:

  Linux 5.16-rc7 (2021-12-26 13:17:17 -0800)

are available in the Git repository at:

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

for you to fetch changes up to d46f329a3f6048e04736e86cb13c880645048792:

  drm/i915: Increment composite fence seqno (2021-12-27 11:33:40 +0200)


drm/i915 fixes for v5.16:
- Fix possible uninitialized variable
- Fix composite fence seqno icrement on each fence creation


Matthew Brost (2):
  drm/i915: Fix possible uninitialized variable in parallel extension
  drm/i915: Increment composite fence seqno

 drivers/gpu/drm/i915/gem/i915_gem_context.c| 2 +-
 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

-- 
Jani Nikula, Intel Open Source Graphics Center


[PULL] drm-intel-fixes

2021-12-22 Thread Jani Nikula


Ho ho ho!

I don't know if you've been naughty or nice when you get guc submission
locking fixes for christmas, but that's what we have here.


BR,
Jani.

The following changes since commit a7904a538933c525096ca2ccde1e60d0ee62c08e:

  Linux 5.16-rc6 (2021-12-19 14:14:33 -0800)

are available in the Git repository at:

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

for you to fetch changes up to 7807bf28fe02a76bf112916c6b9194f282f5e43c:

  drm/i915/guc: Only assign guc_id.id when stealing guc_id (2021-12-20 13:59:35 
+0200)


drm/i915 fixes for v5.16-rc7:
- Fix fallout from guc submission locking rework


Matthew Brost (2):
  drm/i915/guc: Use correct context lock when callig clr_context_registered
  drm/i915/guc: Only assign guc_id.id when stealing guc_id

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

-- 
Jani Nikula, Intel Open Source Graphics Center


[PULL] drm-intel-fixes

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

First, a heads up that I will be on vacation for the next weeks
so Jani will cover the drm-intel-fixes for the next rounds.

Now, here goes drm-intel-fixes-2021-12-15:

Fix a bound check in the DMC fw load.

Thanks,
Rodrigo.

The following changes since commit 2585cf9dfaaddf00b069673f27bb3f8530e2039c:

  Linux 5.16-rc5 (2021-12-12 14:53:01 -0800)

are available in the Git repository at:

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

for you to fetch changes up to 53b3495273282aa844c4613d19c3b30558c70c84:

  drm/i915/display: Fix an unsigned subtraction which can never be negative. 
(2021-12-14 04:11:10 -0500)


Fix a bound check in the DMC fw load.


Harshit Mogalapalli (1):
  drm/i915/display: Fix an unsigned subtraction which can never be negative.

 drivers/gpu/drm/i915/display/intel_dmc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


[PULL] drm-intel-fixes

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

Here goes drm-intel-fixes-2021-12-09:

A fix to a error pointer dereference in gem_execbuffer and
a fix for GT initialization when GuC/HuC are used on ICL.

Thanks,
Rodrigo.

The following changes since commit 0fcfb00b28c0b7884635dacf38e46d60bf3d4eb1:

  Linux 5.16-rc4 (2021-12-05 14:08:22 -0800)

are available in the Git repository at:

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

for you to fetch changes up to 52255ef662a5d490678fbad64a735f88fcba564d:

  drm/i915/gen11: Moving WAs to icl_gt_workarounds_init() (2021-12-09 08:30:22 
-0500)


A fix to a error pointer dereference in gem_execbuffer and
a fix for GT initialization when GuC/HuC are used on ICL.


Dan Carpenter (1):
  drm/i915: Fix error pointer dereference in i915_gem_do_execbuffer()

Raviteja Goud Talla (1):
  drm/i915/gen11: Moving WAs to icl_gt_workarounds_init()

 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c |  1 +
 drivers/gpu/drm/i915/gt/intel_workarounds.c| 18 +-
 2 files changed, 10 insertions(+), 9 deletions(-)


[PULL] drm-intel-fixes

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

Here goes drm-intel-fixes-2021-12-02:

- Fixing a regression where the backlight brightness control stopped working.

- Fix the Intel HDR backlight support detection.

- Reverting a w/a to fix a gpu Hang in TGL. The w/a itself was also
for a hang, but in a much rarer scenario. The proper solution need
to be done with help from user space and it will be addressed later.

Thanks,
Rodrigo.

The following changes since commit d58071a8a76d779eedab38033ae4c821c30295a5:

  Linux 5.16-rc3 (2021-11-28 14:09:19 -0800)

are available in the Git repository at:

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

for you to fetch changes up to 72641d8d60401a5f1e1a0431ceaf928680d34418:

  Revert "drm/i915: Implement Wa_1508744258" (2021-12-02 09:56:34 -0500)


- Fixing a regression where the backlight brightness control stopped working.

- Fix the Intel HDR backlight support detection.

- Reverting a w/a to fix a gpu Hang in TGL. The w/a itself was also
for a hang, but in a much rarer scenario. The proper solution need
to be done with help from user space and it will be addressed later.


José Roberto de Souza (1):
  Revert "drm/i915: Implement Wa_1508744258"

Lyude Paul (2):
  drm/i915: Add support for panels with VESA backlights with PWM 
enable/disable
  drm/i915/dp: Perform 30ms delay after source OUI write

 drivers/gpu/drm/i915/display/intel_display_types.h |  3 ++
 drivers/gpu/drm/i915/display/intel_dp.c| 11 
 drivers/gpu/drm/i915/display/intel_dp.h|  2 ++
 .../gpu/drm/i915/display/intel_dp_aux_backlight.c  | 32 ++
 drivers/gpu/drm/i915/gt/intel_workarounds.c|  7 -
 5 files changed, 42 insertions(+), 13 deletions(-)


[PULL] drm-intel-fixes

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

Only one fix for this round. Sending earlier today due to Holiday in US
tomorrow.

Here goes drm-intel-fixes-2021-11-24:

Fix wakeref handling of PXP suspend.

Thanks,
Rodrigo.

The following changes since commit 136057256686de39cc3a07c2e39ef6bc43003ff6:

  Linux 5.16-rc2 (2021-11-21 13:47:39 -0800)

are available in the Git repository at:

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

for you to fetch changes up to b8d8436840caa2e9b6d156e69336d2135f49f10f:

  drm/i915/gt: Hold RPM wakelock during PXP suspend (2021-11-24 09:07:18 -0500)


Fix wakeref handling of PXP suspend.


Tejas Upadhyay (1):
  drm/i915/gt: Hold RPM wakelock during PXP suspend

 drivers/gpu/drm/i915/gt/intel_gt_pm.c   |  7 ---
 drivers/gpu/drm/i915/pxp/intel_pxp_pm.c | 37 +++--
 drivers/gpu/drm/i915/pxp/intel_pxp_pm.h | 19 ++---
 3 files changed, 46 insertions(+), 17 deletions(-)


[PULL] drm-intel-fixes

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

Here goes drm-intel-fixes-2021-11-18:

One quick fix for return error handling, one fix for ADL-P display
and one revert targeting stable 5.4, for TGL's DSI display clocks

Thanks,
Rodrigo.

The following changes since commit fa55b7dcdc43c1aa1ba12bca9d2dd4318c2a0dbf:

  Linux 5.16-rc1 (2021-11-14 13:56:52 -0800)

are available in the Git repository at:

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

for you to fetch changes up to 8b2abf777d8ea8d8db15af553454e0e976804225:

  drm/i915/guc: fix NULL vs IS_ERR() checking (2021-11-17 08:46:55 -0500)


One quick fix for return error handling, one fix for ADL-P display
and one revert targeting stable 5.4, for TGL's DSI display clocks


Dan Carpenter (1):
  drm/i915/guc: fix NULL vs IS_ERR() checking

Vandita Kulkarni (2):
  Revert "drm/i915/tgl/dsi: Gate the ddi clocks after pll mapping"
  drm/i915/dsi/xelpd: Fix the bit mask for wakeup GB

 drivers/gpu/drm/i915/display/icl_dsi.c| 13 -
 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c |  4 ++--
 drivers/gpu/drm/i915/i915_reg.h   |  4 +++-
 3 files changed, 9 insertions(+), 12 deletions(-)


  1   2   3   4   5   6   >