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

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

Pulled into drm-next, thanks.
-Sima

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

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


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

2023-11-08 Thread Jani Nikula


Hi Dave & Daniel -

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

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

BR,
Jani.

The following changes since commit 5258dfd4a6adb5f45f046b0dd2e73c680f880d9d:

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

are available in the Git repository at:

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

for you to fetch changes up to 9506fba463fcbdf8c8b7af3ec9ee34360df843fe:

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


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


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

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

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

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

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

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

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

-- 
Jani Nikula, Intel


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

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

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

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

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

Thanks,
Rodrigo.

The following changes since commit 3698a75f5a98d0a6599e2878ab25d30a82dd836a:

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

are available in the Git repository at:

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

for you to fetch changes up to 5eefc5307c983b59344a4cb89009819f580c84fa:

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


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


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

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


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

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

Here goes our next-fixes targeting 6.6-rc1.

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

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

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

Thanks,
Rodrigo.

The following changes since commit cacaeb27ade4b793c456179bb6eda4592d206cd8:

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

are available in the Git repository at:

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

for you to fetch changes up to cfd48ad8c4a9137b0fde7f0ecf463d44b01875dc:

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


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


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

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

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


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

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

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

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

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

Regards,

Tvrtko

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

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

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

are available in the Git repository at:

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

for you to fetch changes up to f6cf3883df471abbcf1553127681dc244c8ff8dd:

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


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

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


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

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

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

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

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

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

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

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


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

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

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

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

Regards,

Tvrtko

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

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

are available in the Git repository at:

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

for you to fetch changes up to 5b7826355e5b9f48eea29275215fc55165cd17c3:

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


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


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

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

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

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

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

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


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

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

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

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

Regards,

Tvrtko

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

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

are available in the Git repository at:

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

for you to fetch changes up to 274d4b96b12f78cef4f72a97a4967032233f6cae:

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


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


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

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

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

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

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


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

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

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

Best Regards, Joonas

***

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

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

The following changes since commit 2c69679626d5daa680d71c77ad58af0088db537f:

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

are available in the Git repository at:

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

for you to fetch changes up to c8c2969bfcba5fcba3a5b078315c1b586d927d9f:

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


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


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

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

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

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

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


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

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

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

Best Regards, Joonas

***

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

One cc stable for pipe source size check on SKL+

The following changes since commit 2c69679626d5daa680d71c77ad58af0088db537f:

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

are available in the Git repository at:

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

for you to fetch changes up to d944eafed618a8507270b324ad9d5405bb7f0b3e:

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


One cc stable for pipe source size check on SKL+


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

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


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

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

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

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

Regards, Joonas

***

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

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

The following changes since commit 81900e3a37750d8c6ad705045310e002f6dd0356:

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

are available in the Git repository at:

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

for you to fetch changes up to 2c69679626d5daa680d71c77ad58af0088db537f:

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


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


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

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

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

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

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

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


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

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

Pulled, thanks.

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

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


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

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

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

Regards, Joonas

***

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

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

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

The following changes since commit 55bf14961db9da61220e6f04bc9919c94b1a6585:

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

are available in the Git repository at:

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

for you to fetch changes up to 81900e3a37750d8c6ad705045310e002f6dd0356:

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


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

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


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

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


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

2023-02-27 Thread Jani Nikula


Hi Dave & Daniel -

Some more fixes for v6.3-rc1.

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

BR,
Jani.

The following changes since commit 8038510b1fe443ffbc0e356db5f47cbb8678a594:

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

are available in the Git repository at:

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

for you to fetch changes up to 5d2fdb255c52989e95704b5556dbf0ad833bddd2:

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


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


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

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

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

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

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

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

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

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

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

-- 
Jani Nikula, Intel Open Source Graphics Center


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

2023-02-17 Thread Jani Nikula


Hi Dave & Daniel -

Fixes for drm-next and the upcoming merge window.

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

BR,
Jani.

The following changes since commit 48075a66fca613477ac1969b576a93ef5db0164f:

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

are available in the Git repository at:

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

for you to fetch changes up to 8038510b1fe443ffbc0e356db5f47cbb8678a594:

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


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


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

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

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

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

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

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

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

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

-- 
Jani Nikula, Intel Open Source Graphics Center


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

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

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

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

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

Thanks,
Rodrigo.

The following changes since commit 66efff515a6500d4b4976fbab3bee8b92a1137fb:

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

are available in the Git repository at:

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

for you to fetch changes up to ad0fca2dceeab8fdd8e1135f4b4ef2dc46c2ead9:

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


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


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

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

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

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

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

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

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

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


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

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

Here goes our next-fixes targeting 6.2-rc1.

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

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

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

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

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

Thanks,
Rodrigo.

The following changes since commit 3d335a523b938a445a674be24d1dd5c7a4c86fb6:

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

are available in the Git repository at:

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

for you to fetch changes up to 7d579eff3e55a256fdd71624543747ed4d7fa38b:

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


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


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

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

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

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

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

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

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

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

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

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

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


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

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

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

Regards,

Tvrtko

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

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

are available in the Git repository at:

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

for you to fetch changes up to ea19684afb545605bbcb690c49a91ce2c8e596dd:

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


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


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

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

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

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


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

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

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

Regards,

Tvrtko

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

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

are available in the Git repository at:

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

for you to fetch changes up to cdf6428dd518435a05739abf7659589de30970f4:

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


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


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

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

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

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


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

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

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

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

Regards,

Tvrtko

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

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

are available in the Git repository at:

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

for you to fetch changes up to 20e377e7b2e7c327039f10db80ba5bcc1f6c882d:

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


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


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

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

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

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

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

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


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

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

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

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

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

Thanks,
Rodrigo.

The following changes since commit 5493ee1919eae4f49d62276cf5986b7f7c7aa8f6:

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

are available in the Git repository at:

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

for you to fetch changes up to 9d50bff40e3e366886ec37299fc317edf84be0c9:

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


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


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

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

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

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

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


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

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

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

Thank you for the info and great work there.

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


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

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

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

Those patches are OK to merge:

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

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

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

drm/i915/gt: Batch TLB invalidations

or merge it together with:

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

> Which regression is worst?

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

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

OK.

Regards,
Mauro


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

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

Thank you for the heads up.

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

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

Thanks,
Rodrigo.

> Regards,
> Mauro


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

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

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

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

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

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

Regards,
Mauro


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

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

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

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

Thanks,
Rodrigo.

The following changes since commit 2bc7ea71a73747a77e7f83bc085b0d2393235410:

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

are available in the Git repository at:

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

for you to fetch changes up to e57b9369e0c6f60155027e120fafd4b57e385b71:

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


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


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

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

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

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


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

2022-05-24 Thread Jani Nikula


Hi Dave & Daniel -

Some i915 fixes for v5.19 merge window.

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

BR,
Jani.

The following changes since commit f83493f7d34da258310ecd3d07f0cc78f884c954:

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

are available in the Git repository at:

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

for you to fetch changes up to 0ea917819d12fed41ea4662cc26ffa0060a5c354:

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


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


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

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

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

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

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

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

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

-- 
Jani Nikula, Intel Open Source Graphics Center


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

2022-03-24 Thread Tvrtko Ursulin


Hi Dave, Daniel,

A few fixes for the merge window.

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

Regards,

Tvrtko

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

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

are available in the Git repository at:

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

for you to fetch changes up to 00f4150d27d2c01eaeffe1091fc311a7c0872c69:

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


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


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

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

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


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

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

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

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

Regards, Joonas

***

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

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

The following changes since commit 5e7f44b5c2c035fe2e5458193c2bbee56db6a090:

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

are available in the Git repository at:

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

for you to fetch changes up to 278da06c03655c2bb9bc36ebdf45b90a079b3bfd:

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


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


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

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

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


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

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

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

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

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

Regards, Joonas

***

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

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

The following changes since commit 6de7e4f02640fba2ffa6ac04e2be13785d614175:

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

are available in the Git repository at:

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

for you to fetch changes up to 5e7f44b5c2c035fe2e5458193c2bbee56db6a090:

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


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


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

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

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

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

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


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

2022-01-20 Thread Tvrtko Ursulin


Hi Dave and Daniel,

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

Regards,

Tvrtko

---

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

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

are available in the Git repository at:

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

for you to fetch changes up to e26602be4869c74dd8a0f66f718b8a0ce120edb4:

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


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


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

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


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

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

Pulled, thanks.
-Daniel

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

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


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

2022-01-13 Thread Tvrtko Ursulin


Hi Dave and Daniel,

A few fixes for the merge window.

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

Regards,

Tvrtko

---

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

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

are available in the Git repository at:

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

for you to fetch changes up to 6ef295e34297433c78ea02dfcf1c649a769050bb:

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


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


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

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

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


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

2021-12-29 Thread Jani Nikula


Hi Dave & Daniel -

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

BR,
Jani.

The following changes since commit 040bf2a9446f6ba267225d34dc4a9b14d11e5092:

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

are available in the Git repository at:

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

for you to fetch changes up to c65fe9cbbfd61dbc12868f9ed4940c80fcb249e8:

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


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


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

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

-- 
Jani Nikula, Intel Open Source Graphics Center


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

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

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

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

Four patches targeting stable in here.

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

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

Thanks,
Rodrigo.

The following changes since commit 367fe8dc299c968eabdae890536d55d80ea55e01:

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

are available in the Git repository at:

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

for you to fetch changes up to ade4a1fc5741a36b559dfbd4557dc3da1a4394af:

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


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

Four patches targeting stable in here.

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

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


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

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

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

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

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

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

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

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


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

2021-08-26 Thread Jani Nikula


Hi Dave & Daniel -

Some pretty straightforward fixes for the merge window.

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

BR,
Jani.

The following changes since commit 397ab98e2d69cede8a28eab77a171983d14e:

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

are available in the Git repository at:

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

for you to fetch changes up to fb43ebc83e069625cfeeb2490efc3ffa0013bfa4:

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


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


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

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

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

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

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

-- 
Jani Nikula, Intel Open Source Graphics Center


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

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

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

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

Thanks,
Rodrigo.

The following changes since commit 8a02ea42bc1d4c448caf1bab0e05899dad503f74:

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

are available in the Git repository at:

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

for you to fetch changes up to 3dd6c11b60d2f1e4082221a8831f91093c4494aa:

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


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


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

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

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

 drivers/gpu/drm/i915/display/intel_ddi.c| 19 ---
 drivers/gpu/drm/i915/display/intel_dp.c |  2 +-
 drivers/gpu/drm/i915/gt/intel_engine_cs.c   |  2 +-
 drivers/gpu/drm/i915/gt/intel_ring_submission.c |  7 +--
 drivers/gpu/drm/i915/i915_drv.c |  1 -
 drivers/gpu/drm/i915/i915_irq.c | 10 +-
 drivers/gpu/drm/i915/i915_irq.h |  1 +
 drivers/gpu/drm/i915/i915_reg.h |  3 ---
 8 files changed, 29 insertions(+), 16 deletions(-)
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx


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

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

indeed...

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

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

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


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

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

Odd, should be.

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

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

Thanks,
Jani.


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

-- 
Jani Nikula, Intel Open Source Graphics Center
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx


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

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

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

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

Thanks,
Rodrigo.

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


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

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

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

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

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


BR,
Jani.


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



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

-- 
Jani Nikula, Intel Open Source Graphics Center
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx


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

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

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

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

Thanks,
Rodrigo.

The following changes since commit 1bd8a7dc28c1c410f1ceefae1f2a97c06d1a67c2:

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

are available in the Git repository at:

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

for you to fetch changes up to c90c4c6574f3feaf2203b5671db1907a1e15c653:

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


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


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

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

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

 drivers/gpu/drm/i915/display/intel_display.c   |  7 ++-
 drivers/gpu/drm/i915/display/intel_display_types.h |  8 
 drivers/gpu/drm/i915/display/intel_vdsc.c  | 40 +++-
 drivers/gpu/drm/i915/display/intel_vdsc.h  |  1 +
 drivers/gpu/drm/i915/gem/i915_gem_mman.c   |  7 +--
 drivers/gpu/drm/i915/gt/selftest_execlists.c   | 55 +-
 6 files changed, 76 insertions(+), 42 deletions(-)
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx


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

2021-04-30 Thread Jani Nikula


Hi Dave & Daniel -

One more fix for -rc1.

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

BR,
Jani.

The following changes since commit 270e3cc5aa382f63ea20b93c3d20162a891dc638:

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

are available in the Git repository at:

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

for you to fetch changes up to c7b397e9ca4d6828e3e3f504c80bcb1fe535c348:

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


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


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

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

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

-- 
Jani Nikula, Intel Open Source Graphics Center
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx


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

2021-04-27 Thread Jani Nikula

Hi Dave & Daniel -

Some fixes to the drm-next feature pull.

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

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

gvt-next-fixes-2021-04-21

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


BR,
Jani.

The following changes since commit af8352f1ff54c4fecf84e36315fd1928809a580b:

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

are available in the Git repository at:

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

for you to fetch changes up to 270e3cc5aa382f63ea20b93c3d20162a891dc638:

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


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


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

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

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

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

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

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

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

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

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

-- 
Jani Nikula, Intel Open Source Graphics Center
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx


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

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

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

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

Thanks,
Rodrigo.

The following changes since commit 81ce8f04aa96f7f6cae05770f68b5d15be91f5a2:

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

are available in the Git repository at:

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

for you to fetch changes up to ed428ffc28521b9f1b6a71584d1875318a122859:

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


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


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

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

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

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

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

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


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

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

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

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

Thanks,
Rodrigo.

The following changes since commit 4c3a3292730c56591472717d8c5c0faf74f6c6bb:

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

are available in the Git repository at:

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

for you to fetch changes up to 81ce8f04aa96f7f6cae05770f68b5d15be91f5a2:

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


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


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

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

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

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


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

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

Pulled, thanks a lot.
-Daniel

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

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx


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

2020-12-18 Thread Jani Nikula


Hi Dave & Daniel -

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


BR,
Jani.

The following changes since commit efd3043790c6e92f0bbe1fe385db9b544131c59c:

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

are available in the Git repository at:

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

for you to fetch changes up to 046f70d31ddb2069941aec54966fec5b7fbc7b7b:

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


drm/i915 fixes for the merge window


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

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

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

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

-- 
Jani Nikula, Intel Open Source Graphics Center
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx


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

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

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

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

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

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

are available in the Git repository at:

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

for you to fetch changes up to 5c6c13cd1102caf92d006a3cf4591c0229019daf:

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


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


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

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

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

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

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


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

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

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

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

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

are available in the Git repository at:

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

for you to fetch changes up to 214bba50616f65264dfc30d095daef3ab7500f52:

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


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


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

 drivers/gpu/drm/i915/display/intel_ddi.c |  2 +-
 drivers/gpu/drm/i915/display/intel_display.c | 17 +
 2 files changed, 6 insertions(+), 13 deletions(-)
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx


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

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

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

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

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

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

Thanks,
Rodrigo.

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

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

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

are available in the Git repository at:

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

for you to fetch changes up to c60b93cd4862d108214a14e655358ea714d7a12a:

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


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

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


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

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

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

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

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

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


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

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

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

BR,
Jani.

-- 
Jani Nikula, Intel Open Source Graphics Center
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx


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

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

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

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

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

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

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

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

drm/i915: Filter wake_flags passed to default_wake_function

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

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

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

are probably acceptable.

Dave.





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

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

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

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

5 new commits over drm-intel-next here.

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

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

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

Regards, Joonas

***

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

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

The following changes since commit d524b87f77364db096855d7eb714ffacec974ddf:

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

are available in the Git repository at:

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

for you to fetch changes up to 6bd0b413618ffb50f900ec770283d8c2217d069f:

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


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


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

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

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

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

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

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

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

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

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

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

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

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

Lyude Paul (1):
  drm/probe_helper: Add 

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

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

Oh, the CI results:

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

CI_DINF_195 was drm-next
CI_DINF_197 is this PR

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

Regards, Joonas

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


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

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

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

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

Additional fixup to module param types.

Regards, Joonas

***

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

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

The following changes since commit 8d286e2ff4400d313955b4203fc640ca6fd9228b:

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

are available in the Git repository at:

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

for you to fetch changes up to 3680c2e9f4254d1f033bf00f540e47a51f8f996b:

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


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


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

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

 drivers/gpu/drm/i915/display/intel_dp.c|  3 ++
 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c | 56 ++
 drivers/gpu/drm/i915/i915_params.c |  2 +-
 3 files changed, 52 insertions(+), 9 deletions(-)
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx


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

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

Fixes use-after free on display global state tracking.

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

Two scheduler fixes with deps that are Cc: stable.

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

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

Regards, Joonas

***

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

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

The following changes since commit d96536f0fe699729a0974eb5b65eb0d87cc747e1:

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

are available in the Git repository at:

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

for you to fetch changes up to f8665d797b1ce9bd81f7ed7744ef3a18d6b186ea:

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


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


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

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

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

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

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

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

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


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

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

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

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

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

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

Regards, Joonas

***

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

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

The following changes since commit d96536f0fe699729a0974eb5b65eb0d87cc747e1:

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

are available in the Git repository at:

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

for you to fetch changes up to 757a9395f33c51c4e6eff2c7c0fbd50226a58224:

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


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


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

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


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

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

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

CI results for your viewing:

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

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

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

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

Regards, Joonas

***

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

Fix for TypeC power domain toggling on resets (Cc: stable).
Two compile time warning fixes.

The following changes since commit 230982d8d8df7f9d9aa216840ea2db1df6ad5d37:

  drm/i915: Update DRIVER_DATE to 20200430 (2020-04-30 11:13:21 +0300)

are available in the Git repository at:

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

for you to fetch changes up to d96536f0fe699729a0974eb5b65eb0d87cc747e1:

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


Fix for TypeC power domain toggling on resets (Cc: stable).
Two compile time warning fixes.


Arnd Bergmann (1):
  drm/i915: avoid unused scale_user_to_hw() warning

Chris Wilson (40):
  drm/i915/gt: Move the batch buffer pool from the engine to the gt
  drm/i915/pmu: Keep a reference to module while active
  drm/i915/gt: Make timeslicing an explicit engine property
  drm/i915: Implement vm_ops->access for gdb access into mmaps
  drm/i915/gem: Use chained reloc batches
  drm/i915/gem: Use a single chained reloc batches for a single execbuf
  drm/i915/gem: Try an alternate engine for relocations
  drm/i915/gt: Sanitize RPS interrupts upon resume
  drm/i915/gem: Lazily acquire the device wakeref for freeing objects
  drm/i915: Allow some leniency in PCU reads
  drm/i915/gem: Specify address type for chained reloc batches
  drm/i915/gem: Implement legacy MI_STORE_DATA_IMM
  drm/i915/display: Warn if the FBC is still writing to stolen on removal
  drm/i915/selftests: Repeat the rps clock frequency measurement
  drm/i915/gt: Small tidy of gen8+ breadcrumb emission
  drm/i915/execlists: Record the active CCID from before reset
  drm/i915/gt: Stop holding onto the pinned_default_state
  drm/i915: Propagate error from completed fences
  drm/i915: Mark concurrent submissions with a weak-dependency
  drm/i915: Remove wait priority boosting
  drm/i915: Ignore submit-fences on the same timeline
  drm/i915: Pull waiting on an external dma-fence into its routine
  drm/i915/gt: Improve precision on defer_request assert
  drm/i915: Prevent using semaphores to chain up to external fences
  drm/i915: Replace the hardcoded I915_FENCE_TIMEOUT
  drm/i915/gt: Mark up the racy read of execlists->context_tag
  drm/i915: Tidy awaiting on dma-fences
  drm/i915: Emit await(batch) before MI_BB_START
  drm/i915/selftests: Always flush before unpining after writing
  drm/i915/gt: Restore Cherryview back to full-ppgtt
  drm/i915: Handle idling during i915_gem_evict_something busy loops
  drm/i915/gt: Reset execlists registers before HWSP
  drm/i915/gt: Suspend tasklets before resume sanitization
  drm/i915/gem: Remove redundant exec_fence
  drm/i915: Mark the addition of the initial-breadcrumb in the request
  drm/i915: Drop I915_RESET_TIMEOUT and friends
  drm/i915: Drop no-semaphore boosting
  drm/i915: Show per-engine default property values in sysfs
  drm/i915/selftests: Always call the provided engine->emit_init_breadcrumb
  drm/i915/gt: Transfer old virtual breadcrumbs to irq_worker

Gustavo A. R. Silva (1):
  drm/i915: Replace zero-length array with flexible-array

Gwan-gyeong Mun (14):
  video/hdmi: Add Unpack only function for DRM infoframe
  drm/i915/dp: Read out DP SDPs
  drm: Add logging function for DP VSC SDP
  drm/i915: Include HDMI DRM infoframe in the crtc state dump
  drm/i915: Include DP HDR Metadata Infoframe SDP in the crtc state dump
  drm/i915: Include DP VSC SDP in the crtc state dump
  drm/i915: Program DP SDPs with computed configs
  drm/i915: Add state readout for DP HDR Metadata Infoframe SDP
  drm/i915: Add state readout for DP VSC SDP
  drm/i915: Fix enabled infoframe states of lspcon
  drm/i915: Program DP SDPs on pipe updates
  drm/i915: Stop sending DP SDPs on ddi disable
  drm/i915/dp: Add compute routine for DP PSR VSC SDP
  drm/i915/psr: Use new DP VSC SDP compute routine on PSR

Imre Deak (2):
  drm/i915/tgl+: Fix interrupt handling for DP AUX transactions
  drm/i915: Fix AUX power domain toggling across TypeC mode resets

Joonas Lahtinen (3):
  Merge tag 

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

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

Couple display fixes, including vswing table and display TypeC
port in TBT mode fix for ICL+
A few GT/GEM alloc/reloc fixes with one to flush all the
reloc_gpu batch which has cc:stable #5.2

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

- Flush all the reloc_gpu batch (Chris)
- Ignore readonly failures when updating relocs (Chris)
- Fill all the unused space in the GGTT (Chris)
- Return the right vswing table (Jose)
- Don't enable DDI IO power on a TypeC port in TBT mode for ICL+ (Imre)

Thanks,
Rodrigo.

The following changes since commit 17d0c1062a0c60e17c96538adf4a84c208930d9d:

  Merge tag 'gvt-next-fixes-2020-03-31' of https://github.com/intel/gvt-linux 
into drm-intel-next-fixes (2020-03-31 09:25:15 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 1aaea8476d9f014667d2cb24819f9bcaf3ebb7a4:

  drm/i915/gem: Flush all the reloc_gpu batch (2020-04-06 10:31:38 -0700)


- Flush all the reloc_gpu batch (Chris)
- Ignore readonly failures when updating relocs (Chris)
- Fill all the unused space in the GGTT (Chris)
- Return the right vswing table (Jose)
- Don't enable DDI IO power on a TypeC port in TBT mode for ICL+ (Imre)


Chris Wilson (3):
  drm/i915/gt: Fill all the unused space in the GGTT
  drm/i915/gem: Ignore readonly failures when updating relocs
  drm/i915/gem: Flush all the reloc_gpu batch

Imre Deak (1):
  drm/i915/icl+: Don't enable DDI IO power on a TypeC port in TBT mode

José Roberto de Souza (1):
  drm/i915/dp: Return the right vswing tables

 drivers/gpu/drm/i915/display/intel_ddi.c   | 11 +---
 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c | 14 +-
 drivers/gpu/drm/i915/gt/intel_ggtt.c   | 37 +++---
 3 files changed, 42 insertions(+), 20 deletions(-)
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx


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

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

Here goes drm-intel-next-fixes-2020-04-02:

Only gvt fixes on this round:

- Fix non-privilege access warning (Tina)
- Fix display port type (Tina)
- BDW cmd parser missed SWTESS_BASE_ADDRESS (Yan)
- Bypass length check of LRI (Yan)
- Fix one klocwork warning (Tina)

Thanks,
Rodrigo.

The following changes since commit 2bdd4c28baff29163808677a70942de2b45f17dc:

  drm/i915/display: Fix mode private_flags comparison at atomic_check 
(2020-03-26 10:21:30 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 17d0c1062a0c60e17c96538adf4a84c208930d9d:

  Merge tag 'gvt-next-fixes-2020-03-31' of https://github.com/intel/gvt-linux 
into drm-intel-next-fixes (2020-03-31 09:25:15 -0700)


Only gvt fixes on this round:

- Fix non-privilege access warning (Tina)
- Fix display port type (Tina)
- BDW cmd parser missed SWTESS_BASE_ADDRESS (Yan)
- Bypass length check of LRI (Yan)
- Fix one klocwork warning (Tina)


Rodrigo Vivi (1):
  Merge tag 'gvt-next-fixes-2020-03-31' of 
https://github.com/intel/gvt-linux into drm-intel-next-fixes

Tina Zhang (3):
  drm/i915/gvt: Add some regs to force-to-nonpriv whitelist
  drm/i915/gvt: Fix display port type issue
  drm/i915/gvt: Fix klocwork issues about data size

Yan Zhao (2):
  drm/i915/gvt: add support to command SWTESS_BASE_ADDRESS
  drm/i915/gvt: do not check len & max_len for lri

 drivers/gpu/drm/i915/gvt/cmd_parser.c | 16 
 drivers/gpu/drm/i915/gvt/display.c|  6 +++---
 drivers/gpu/drm/i915/gvt/handlers.c   |  8 ++--
 drivers/gpu/drm/i915/gvt/scheduler.c  |  4 ++--
 4 files changed, 15 insertions(+), 19 deletions(-)
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx


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

2020-03-27 Thread Rodrigo Vivi
Hi Dave and Daniel,

Here goes drm-intel-next-fixes-2020-03-27:

Fixes for instability on Baytrail and Haswell;
Ice Lake RPS; Sandy Bridge RC6; and few others around
GT hangchec/reset; livelock; and a null dereference.

Thanks,
Rodrigo.

The following changes since commit cb7adfd6ad12a11902ebe374bec7fd4efa2cec1c:

  Merge tag 'mediatek-drm-next-5.7' of 
https://github.com/ckhu-mediatek/linux.git-tags into drm-next (2020-03-20 
13:08:38 +1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2020-03-27

for you to fetch changes up to 2bdd4c28baff29163808677a70942de2b45f17dc:

  drm/i915/display: Fix mode private_flags comparison at atomic_check 
(2020-03-26 10:21:30 -0700)


Fixes for instability on Baytrail and Haswell;
Ice Lake RPS; Sandy Bridge RC6; and few others around
GT hangchec/reset; livelock; and a null dereference.


Chris Wilson (8):
  drm/i915/gt: Restrict gen7 w/a batch to Haswell
  drm/i915/gem: Check for a closed context when looking up an engine
  drm/i915: Use explicit flag to mark unreachable intel_context
  drm/i915/gt: Cancel a hung context if already closed
  drm/i915/gt: Treat idling as a RPS downclock event
  drm/i915: Avoid live-lock with i915_vma_parked()
  drm/i915/gt: Select the deepest available parking mode for rc6
  drm/i915/gt: Stage the transfer of the virtual breadcrumb

Uma Shankar (1):
  drm/i915/display: Fix mode private_flags comparison at atomic_check

Umesh Nerlige Ramappa (1):
  drm/i915/perf: Invalidate OA TLB on when closing perf stream

 drivers/gpu/drm/i915/display/intel_display.c|  4 ++--
 drivers/gpu/drm/i915/gem/i915_gem_context.c |  2 +-
 drivers/gpu/drm/i915/gem/i915_gem_context.h |  8 +--
 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c  |  2 +-
 drivers/gpu/drm/i915/gt/intel_context.c |  2 ++
 drivers/gpu/drm/i915/gt/intel_context.h |  5 +
 drivers/gpu/drm/i915/gt/intel_context_types.h   |  9 
 drivers/gpu/drm/i915/gt/intel_lrc.c | 20 -
 drivers/gpu/drm/i915/gt/intel_rc6.c | 10 -
 drivers/gpu/drm/i915/gt/intel_reset.c   |  5 +
 drivers/gpu/drm/i915/gt/intel_ring_submission.c |  2 +-
 drivers/gpu/drm/i915/gt/intel_rps.c | 13 +++
 drivers/gpu/drm/i915/gt/selftest_rc6.c  | 23 
 drivers/gpu/drm/i915/i915_perf.c|  8 +++
 drivers/gpu/drm/i915/i915_reg.h |  2 ++
 drivers/gpu/drm/i915/i915_vma.c | 29 -
 16 files changed, 108 insertions(+), 36 deletions(-)
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx


[Intel-gfx] [PULL] drm-intel-next-fixes for v5.6-rc2

2020-02-13 Thread Jani Nikula

Hi Dave & Daniel -

Most of these were aimed at a "next fixes" pull already during the merge
window, but there were issues with the baseline I used, which resulted
in a lot of issues in CI. I've regenerated this stuff piecemeal now,
adding gradually to it, and it seems healthy now.

Due to the issues this is much bigger than I'd like. But it was
obviously necessary to take the time to ensure it's not garbage...

BR,
Jani.


The following changes since commit 9f880327160feb695de03caa29604883b0d00087:

  Merge tag 'amd-drm-next-5.6-2020-02-05' of 
git://people.freedesktop.org/~agd5f/linux into drm-next (2020-02-07 12:29:36 
+1000)

are available in the Git repository at:

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

for you to fetch changes up to 25ee1c3d624a5bcad4ee25f954559c565bc2:

  drm/i915: Mark the removal of the i915_request from the sched.link 
(2020-02-12 17:04:33 +0200)


drm/i915 fixes for v5.6-rc2


Chris Wilson (19):
  drm/i915/pmu: Correct the rc6 offset upon enabling
  drm/i915/gem: Take local vma references for the parser
  drm/i915/selftests: Add a mock i915_vma to the mock_ring
  drm/i915/gt: Use the BIT when checking the flags, not the index
  drm/i915/execlists: Leave resetting ring to intel_ring
  drm/i915/gem: Store mmap_offsets in an rbtree rather than a plain list
  drm/i915: Don't show the blank process name for internal/simulated errors
  drm/i915/gem: Detect overflow in calculating dumb buffer size
  drm/i915: Check activity on i915_vma after confirming pin_count==0
  drm/i915: Stub out i915_gpu_coredump_put
  drm/i915: Tighten atomicity of i915_active_acquire vs i915_active_release
  drm/i915/gt: Acquire ce->active before ce->pin_count/ce->pin_mutex
  drm/i915/gem: Tighten checks and acquiring the mmap object
  drm/i915: Keep track of request among the scheduling lists
  drm/i915/gt: Allow temporary suspension of inflight requests
  drm/i915/execlists: Offline error capture
  drm/i915/execlists: Take a reference while capturing the guilty request
  drm/i915/execlists: Reclaim the hanging virtual request
  drm/i915: Mark the removal of the i915_request from the sched.link

Igor Druzhinin (2):
  drm/i915/gvt: fix high-order allocation failure on late load
  drm/i915/gvt: more locking for ppgtt mm LRU list

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

José Roberto de Souza (1):
  drm/i915: Fix preallocated barrier list append

Vandita Kulkarni (1):
  drm/i915/bios: Fix the timing parameters

Ville Syrjälä (2):
  drm/i915: Fix post-fastset modeset check for port sync
  drm/i915: Make a copy of the ggtt view for slave plane

Vivek Kasireddy (2):
  drm/i915/dsi: Lookup the i2c bus from ACPI NS only if CONFIG_ACPI=y (v2)
  drm/i915/dsi: Ensure that the ACPI adapter lookup overrides the bus num

Zhang Xiaoxu (1):
  drm/i915: Fix i915_error_state_store error defination

 drivers/gpu/drm/i915/display/intel_bios.c|   6 +-
 drivers/gpu/drm/i915/display/intel_display.c |  44 ++-
 drivers/gpu/drm/i915/display/intel_dsi_vbt.c |  50 ++--
 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c   |  37 ++-
 drivers/gpu/drm/i915/gem/i915_gem_mman.c | 129 ++---
 drivers/gpu/drm/i915/gem/i915_gem_object.c   |  18 +-
 drivers/gpu/drm/i915/gem/i915_gem_object.h   |  12 +-
 drivers/gpu/drm/i915/gem/i915_gem_object_types.h |   6 +-
 drivers/gpu/drm/i915/gt/intel_context.c  |  46 +--
 drivers/gpu/drm/i915/gt/intel_engine_cs.c|  13 +
 drivers/gpu/drm/i915/gt/intel_engine_types.h |   1 +
 drivers/gpu/drm/i915/gt/intel_lrc.c  | 354 ++-
 drivers/gpu/drm/i915/gt/mock_engine.c|  17 +-
 drivers/gpu/drm/i915/gt/selftest_lrc.c   | 258 +
 drivers/gpu/drm/i915/gvt/firmware.c  |   4 +-
 drivers/gpu/drm/i915/gvt/gtt.c   |   4 +
 drivers/gpu/drm/i915/i915_active.c   |  35 ++-
 drivers/gpu/drm/i915/i915_active.h   |   6 +
 drivers/gpu/drm/i915/i915_gem.c  |   5 +-
 drivers/gpu/drm/i915/i915_gpu_error.c|   2 +-
 drivers/gpu/drm/i915/i915_gpu_error.h|   7 +-
 drivers/gpu/drm/i915/i915_pmu.c  |  12 +
 drivers/gpu/drm/i915/i915_request.c  |   6 +-
 drivers/gpu/drm/i915/i915_request.h  |  60 
 drivers/gpu/drm/i915/i915_scheduler.c|  22 +-
 drivers/gpu/drm/i915/i915_vma.c  |  14 +-
 26 files changed, 990 insertions(+), 178 deletions(-)

-- 
Jani Nikula, Intel Open Source Graphics Center
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org

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

2019-12-05 Thread Joonas Lahtinen
Hi Dave & Daniel,

Final one for 5.5-rc1.

A fix for EHL port D programming (DDI-D) and a couple of CI
fixes for GEM contexts.

This includes the GVT fixes PR with one command parser fix and
one WARN splat fix.

Regards, Joonas

***

drm-intel-next-fixes-2019-12-05:

- Includes gvt-next-fixes-2019-12-02 pull
- Fixes for CI spotted eadlock and a race condition in GEM contexts
- Fix for EHL port D programming

The following changes since commit 3cc44feb9861d2f5267af9b962ae92c5ea1b48fd:

  drm/i915: Reduce nested prepare_remote_context() to a trylock (2019-11-27 
10:12:19 +0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2019-12-05

for you to fetch changes up to 01bb630319337be15fc50c211126180198d4e157:

  drm/i915/ehl: Make icp_digital_port_connected() use phy instead of port 
(2019-12-03 13:06:05 +0200)


- Includes gvt-next-fixes-2019-12-02 pull
- Fixes for CI spotted eadlock and a race condition in GEM contexts
- Fix for EHL port D programming


Chris Wilson (1):
  drm/i915/gem: Take timeline->mutex to walk list-of-requests

Gao, Fred (2):
  drm/i915/gvt: Refine non privilege register address calucation
  drm/i915/gvt: Update force-to-nonpriv register whitelist

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

Matt Roper (1):
  drm/i915/ehl: Make icp_digital_port_connected() use phy instead of port

Zhenyu Wang (1):
  drm/i915/gvt: Fix cmd length check for MI_ATOMIC

 drivers/gpu/drm/i915/display/intel_dp.c | 12 +---
 drivers/gpu/drm/i915/gem/i915_gem_context.c |  4 ++--
 drivers/gpu/drm/i915/gvt/cmd_parser.c   |  6 +++---
 drivers/gpu/drm/i915/gvt/handlers.c |  5 +++--
 4 files changed, 13 insertions(+), 14 deletions(-)
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

2019-11-28 Thread Joonas Lahtinen
Hi Dave & Daniel,

Most importantly we have the fix to power regression that was
introduced by the security fixes. Then fix for query uAPI and
increase in request pre-emption timeout to accommodate super
heavy benchmarks.

Couple of display voltage programming fixes too.

Thanks to Chris for fixing the power regression on such tight schedule.

Regards, Joonas

***

drm-intel-next-fixes-2019-11-28:

- Important fix to uAPI alignment on query IOCTL
- Fixes for the power regression introduced by the previous security patches
- Avoid regressing super heavy benchmarks by increasing the default request 
pre-emption timeout from 100 ms to 640 ms to
- Resulting set of smaller fixes done while problem was inspected
- Display fixes for EHL voltage level programming and TGL DKL PHY vswing for 
HDMI

The following changes since commit 15b9cbb2c5e1cf22c13fe38bf513bab821b47630:

  Revert "drm/i915/gt: Wait for new requests in intel_gt_retire_requests()" 
(2019-11-22 17:24:22 +0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2019-11-28

for you to fetch changes up to 3cc44feb9861d2f5267af9b962ae92c5ea1b48fd:

  drm/i915: Reduce nested prepare_remote_context() to a trylock (2019-11-27 
10:12:19 +0200)


- Important fix to uAPI alignment on query IOCTL
- Fixes for the power regression introduced by the previous security patches
- Avoid regressing super heavy benchmarks by increasing the default request 
pre-emption timeout from 100 ms to 640 ms to
- Resulting set of smaller fixes done while problem was inspected
- Display fixes for EHL voltage level programming and TGL DKL PHY vswing for 
HDMI


Chris Wilson (12):
  drm/i915/gt: Fixup config ifdeffery for pm_suspend_target_state
  drm/i915: Wait until the intel_wakeref idle callback is complete
  drm/i915: Mark up the calling context for intel_wakeref_put()
  drm/i915/gt: Close race between engine_park and intel_gt_retire_requests
  drm/i915/gt: Unlock engine-pm after queuing the kernel context switch
  drm/i915/gt: Mark the execlists->active as the primary volatile access
  drm/i915/execlists: Fixup cancel_port_requests()
  drm/i915/gt: Adapt engine_park synchronisation rules for engine_retire
  drm/i915/gt: Schedule request retirement when timeline idles
  drm/i915/gt: Make intel_ring_unpin() safe for concurrent pint
  drm/i915: Default to a more lenient forced preemption timeout
  drm/i915: Reduce nested prepare_remote_context() to a trylock

Matt Roper (2):
  drm/i915/ehl: Update voltage level checks
  drm/i915/tgl: Add DKL PHY vswing table for HDMI

Tvrtko Ursulin (1):
  drm/i915/query: Align flavour of engine data lookup

 drivers/gpu/drm/i915/Kconfig.profile   |  2 +-
 drivers/gpu/drm/i915/display/intel_cdclk.c |  4 +-
 drivers/gpu/drm/i915/display/intel_ddi.c   | 29 +++--
 drivers/gpu/drm/i915/gt/intel_context.c| 21 +--
 drivers/gpu/drm/i915/gt/intel_engine.h |  4 +-
 drivers/gpu/drm/i915/gt/intel_engine_cs.c  |  8 ++-
 drivers/gpu/drm/i915/gt/intel_engine_pm.c  | 67 ++---
 drivers/gpu/drm/i915/gt/intel_engine_pm.h  | 10 
 drivers/gpu/drm/i915/gt/intel_engine_types.h   |  8 +++
 drivers/gpu/drm/i915/gt/intel_gt_pm.c  |  3 +-
 drivers/gpu/drm/i915/gt/intel_gt_pm.h  |  5 ++
 drivers/gpu/drm/i915/gt/intel_gt_requests.c| 83 --
 drivers/gpu/drm/i915/gt/intel_gt_requests.h|  7 +++
 drivers/gpu/drm/i915/gt/intel_lrc.c| 50 ++--
 drivers/gpu/drm/i915/gt/intel_reset.c  |  2 +-
 drivers/gpu/drm/i915/gt/intel_ring.c   | 13 ++--
 drivers/gpu/drm/i915/gt/intel_timeline.c   | 35 ---
 drivers/gpu/drm/i915/gt/intel_timeline_types.h |  5 +-
 drivers/gpu/drm/i915/gt/selftest_engine_pm.c   |  7 ++-
 drivers/gpu/drm/i915/i915_active.c |  5 +-
 drivers/gpu/drm/i915/i915_pmu.c|  6 +-
 drivers/gpu/drm/i915/i915_query.c  |  7 ++-
 drivers/gpu/drm/i915/intel_wakeref.c   | 21 +--
 drivers/gpu/drm/i915/intel_wakeref.h   | 45 +++---
 24 files changed, 354 insertions(+), 93 deletions(-)
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

2019-11-22 Thread Joonas Lahtinen
Hi Dave & Daniel,

A quick fixup amendment to the previous PR. gem_exec_reloc/basic-range
got broken in CI, so we've issued a patch revert the offending commit
for now.

Once the results for CI_DINF_163 appear here, and the timeouts seen
in last three CI_DINF_ are green, feel free to pull this:

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

It is rather a corner-case, so no impact beyond CI currently known.

Regards, Joonas

***

drm-intel-next-fixes-2019-11-22:

- Reverts a patch to avoid spinning forever when context's timeline
  is active but has no requests

The following changes since commit 0122baaa93cc681faace064ec25d16bb5c9825ab:

  Merge tag 'gvt-next-fixes-2019-11-12' of https://github.com/intel/gvt-linux 
into drm-intel-next-fixes (2019-11-20 13:21:38 +0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2019-11-22

for you to fetch changes up to 15b9cbb2c5e1cf22c13fe38bf513bab821b47630:

  Revert "drm/i915/gt: Wait for new requests in intel_gt_retire_requests()" 
(2019-11-22 17:24:22 +0200)


- Reverts a patch to avoid spinning forever when context's timeline
  is active but has no requests


Chris Wilson (1):
  Revert "drm/i915/gt: Wait for new requests in intel_gt_retire_requests()"

 drivers/gpu/drm/i915/gt/intel_gt_requests.c | 9 +++--
 1 file changed, 7 insertions(+), 2 deletions(-)
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

2019-11-22 Thread Joonas Lahtinen
Quoting Joonas Lahtinen (2019-11-20 22:40:35)
> Hi Dave & Daniel,
> 
> NOTE: CI shard results are delayed, bu I'm sending this
> already because I'll travel tomorrow. I'll let you know
> if the results look OK or not. Or you can look up
> CI_DINF_162 results check at:
> 
> https://intel-gfx-ci.01.org/tree/drm-intel-next-fixes/combined-alt.html

The results were not good. I'll send a new PR.

Regards, Joonas
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

2019-11-20 Thread Joonas Lahtinen
Hi Dave & Daniel,

NOTE: CI shard results are delayed, bu I'm sending this
already because I'll travel tomorrow. I'll let you know
if the results look OK or not. Or you can look up
CI_DINF_162 results check at:

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

This was rebased on top of drm-next to avoid conflicts with the security
fixes.

We have multiple user reported Bugzillas closed, broken plymouth
splash, RC6 lost when enabling HuC and one dmesg splat.

OA/perf coherency fix, a GVT dmesg splat and then CI found corner
case fixes.

Regards, Joonas

***

drm-intel-next-fixes-2019-11-20:

- Includes gvt-next-fixes-2019-11-12
- Fix Bugzilla #112051: Fix detection for a CMP-V PCH
- Fix Bugzilla #112256: Corrupted page table at address on plymouth splash
- Fix Bugzilla #111594: Avoid losing RC6 when HuC authentication is used
- Fix for OA/perf metric coherency, restore GT coarse power gating workaround
- Avoid atomic context on error capture
- Avoid MST bitmask overflowing to EDP/DPI input select
- Fixes to CI found dmesg splats

The following changes since commit 17cc51390c141662748dbbc2fe98f3ed10f2e13e:

  Merge branch 'vmwgfx-next' of git://people.freedesktop.org/~thomash/linux 
into drm-next (2019-11-15 12:34:45 +1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2019-11-20

for you to fetch changes up to 0122baaa93cc681faace064ec25d16bb5c9825ab:

  Merge tag 'gvt-next-fixes-2019-11-12' of https://github.com/intel/gvt-linux 
into drm-intel-next-fixes (2019-11-20 13:21:38 +0200)


- Includes gvt-next-fixes-2019-11-12
- Fix Bugzilla #112256: Corrupted page table at address on plymouth splash
- Fix Bugzilla #111594: Avoid losing RC6 when HuC authentication is used
- Fix Bugzilla #112051: Fix detection for a CMP-V PCH
- Fix for OA/perf metric coherency, restore GT coarse power gating workaround
- Avoid atomic context on error capture
- Avoid MST bitmask overflowing to EDP/DPI input select
- Fixes to CI found dmesg splats


Bruce Chang (1):
  drm/i915: Avoid atomic context for error capture

Chris Wilson (4):
  drm/i915: Flush context free work on cleanup
  drm/i915/fbdev: Restore physical addresses for fb_mmap()
  drm/i915/gt: Wait for new requests in intel_gt_retire_requests()
  drm/i915: Split i915_active.mutex into an irq-safe spinlock for the rbtree

Don Hiatt (1):
  drm/i915/guc: Skip suspend/resume GuC action on platforms w/o GuC 
submission

Imre Deak (2):
  drm/i915: Fix detection for a CMP-V PCH
  drm/i915: Restore GT coarse power gating workaround

Jani Nikula (1):
  drm/i915: fix accidental static variable use

Joonas Lahtinen (1):
  Merge tag 'gvt-next-fixes-2019-11-12' of 
https://github.com/intel/gvt-linux into drm-intel-next-fixes

José Roberto de Souza (1):
  drm/i915/display: Fix TRANS_DDI_MST_TRANSPORT_SELECT definition

Lionel Landwerlin (1):
  drm/i915/perf: don't forget noa wait after oa config

Tina Zhang (1):
  drm/i915/gvt: Stop initializing pvinfo through reading mmio

 drivers/gpu/drm/i915/display/intel_fbdev.c  |  9 +++--
 drivers/gpu/drm/i915/display/intel_sprite.c |  2 +-
 drivers/gpu/drm/i915/gem/i915_gem_context.c |  1 +
 drivers/gpu/drm/i915/gt/intel_gt_requests.c | 11 ++
 drivers/gpu/drm/i915/gt/intel_rc6.c |  9 -
 drivers/gpu/drm/i915/gt/uc/intel_guc.c  | 15 
 drivers/gpu/drm/i915/gvt/handlers.c |  4 ++
 drivers/gpu/drm/i915/i915_active.c  | 57 ++---
 drivers/gpu/drm/i915/i915_active_types.h|  1 +
 drivers/gpu/drm/i915/i915_drv.h |  6 +++
 drivers/gpu/drm/i915/i915_gpu_error.c   |  8 ++--
 drivers/gpu/drm/i915/i915_perf.c|  9 -
 drivers/gpu/drm/i915/i915_reg.h |  2 +-
 drivers/gpu/drm/i915/intel_pch.c|  6 ++-
 drivers/gpu/drm/i915/intel_pch.h|  2 +-
 15 files changed, 89 insertions(+), 53 deletions(-)
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

2019-11-14 Thread Joonas Lahtinen
Hi Dave & Daniel,

Here comes the set of fixes for drm-intel-next. Quite a few fixes
after a silent last week.

I'll do the backmerge of the BCX fixes from Linus's tree next and
send it as an extra PR.

Regards, Joonas

***

drm-intel-next-fixes-2019-11-14:

- PMU "Frequency" is reported as accumulated cycles
- Avoid OOPS in dumb_create IOCTL when no CRTCs
- Mitigation for userptr put_pages deadlock with trylock_page
- Fix to avoid freeing heartbeat request too early
- Fix LRC coherency issue
- Fix Bugzilla #112212: Avoid screen corruption on MST
- Error path fix to unlock context on failed context VM SETPARAM
- Always consider holding preemption a privileged op in perf/OA
- Preload LUTs if the hw isn't currently using them to avoid color flash on 
VLV/CHV
- Protect context while grabbing its name for the request
- Don't resize aliasing ppGTT size
- Smaller fixes picked by tooling

The following changes since commit d9dace9438945e7c13d91e62927c5c6c88a37ee5:

  drm/i915/selftests: Add intel_gt_suspend_prepare (2019-11-05 16:06:25 +0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2019-11-14

for you to fetch changes up to 789c4aea3f08026360d026c0ea69b33797ac88c2:

  drm/i915: Split a setting of MSA to MST and SST (2019-11-13 15:00:10 +0200)


- PMU "Frequency" is reported as accumulated cycles
- Avoid OOPS in dumb_create IOCTL when no CRTCs
- Mitigation for userptr put_pages deadlock with trylock_page
- Fix to avoid freeing heartbeat request too early
- Fix LRC coherency issue
- Fix Bugzilla #112212: Avoid screen corruption on MST
- Error path fix to unlock context on failed context VM SETPARAM
- Always consider holding preemption a privileged op in perf/OA
- Preload LUTs if the hw isn't currently using them to avoid color flash on 
VLV/CHV
- Protect context while grabbing its name for the request
- Don't resize aliasing ppGTT size
- Smaller fixes picked by tooling


Chris Wilson (7):
  drm/i915/gt: Only drop heartbeat.systole if the sole owner
  drm/i915/gem: Fix error path to unlock if the GEM context is closed
  drm/i915: Leave the aliasing-ppgtt size alone
  drm/i915: Protect context while grabbing its name for the request
  drm/i915/pmu: "Frequency" is reported as accumulated cycles
  drm/i915/userptr: Try to acquire the page lock around set_page_dirty()
  drm/i915/execlists: Move reset_active() from schedule-out to schedule-in

Gwan-gyeong Mun (1):
  drm/i915: Split a setting of MSA to MST and SST

Jani Nikula (1):
  drm/i915/display: only include intel_dp_link_training.h where needed

Lionel Landwerlin (1):
  drm/i915/perf: always consider holding preemption a privileged op

Ville Syrjälä (2):
  drm/i915: Don't oops in dumb_create ioctl if we have no crtcs
  drm/i915: Preload LUTs if the hw isn't currently using them

 drivers/gpu/drm/i915/display/intel_atomic.c|   1 +
 drivers/gpu/drm/i915/display/intel_color.c |  61 +++
 drivers/gpu/drm/i915/display/intel_ddi.c   |  10 +-
 drivers/gpu/drm/i915/display/intel_display.c   |  10 ++
 drivers/gpu/drm/i915/display/intel_display.h   |   1 -
 drivers/gpu/drm/i915/display/intel_display_types.h |   1 +
 drivers/gpu/drm/i915/display/intel_dp_mst.c|   2 +
 drivers/gpu/drm/i915/gem/i915_gem_context.c|   2 +-
 drivers/gpu/drm/i915/gem/i915_gem_userptr.c|  22 +++-
 drivers/gpu/drm/i915/gt/intel_engine_cs.c  |   2 +
 drivers/gpu/drm/i915/gt/intel_engine_heartbeat.c   |   4 +-
 drivers/gpu/drm/i915/gt/intel_lrc.c| 118 +++--
 drivers/gpu/drm/i915/i915_gem_gtt.c|   2 -
 drivers/gpu/drm/i915/i915_perf.c   |  20 ++--
 drivers/gpu/drm/i915/i915_pmu.c|   4 +-
 15 files changed, 181 insertions(+), 79 deletions(-)
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

2019-11-07 Thread Joonas Lahtinen
Hi Dave & Daniel,

A quiet start. Hopefully stays that way :)

RCU tracking fix and suspend GEM_BUG_ON fix with dependencies.

Regards, Joonas

***

drm-intel-next-fixes-2019-11-07:

One RCU fix and fix for suspend GEM_BUG_ON (with dependencies).

The following changes since commit 8a86b00a437ec06b298477463c7a9b8774570507:

  Merge tag 'drm-next-5.5-2019-11-01' of 
git://people.freedesktop.org/~agd5f/linux into drm-next (2019-11-04 10:22:53 
+1000)

are available in the Git repository at:

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

for you to fetch changes up to d9dace9438945e7c13d91e62927c5c6c88a37ee5:

  drm/i915/selftests: Add intel_gt_suspend_prepare (2019-11-05 16:06:25 +0200)


One RCU fix and fix for suspend GEM_BUG_ON (with dependencies).


Chris Wilson (7):
  drm/i915: Protect request peeking with RCU
  drm/i915/gt: Call intel_gt_sanitize() directly
  drm/i915/gem: Leave reloading kernel context on resume to GT
  drm/i915/gt: Move user_forcewake application to GT
  drm/i915: Defer rc6 shutdown to suspend_late
  drm/i915/gt: Drop false assertion on user_forcewake
  drm/i915/selftests: Add intel_gt_suspend_prepare

 drivers/gpu/drm/i915/gem/i915_gem_pm.c   | 61 +--
 drivers/gpu/drm/i915/gt/intel_gt.c   |  6 +-
 drivers/gpu/drm/i915/gt/intel_gt.h   |  2 +-
 drivers/gpu/drm/i915/gt/intel_gt_pm.c| 95 +++-
 drivers/gpu/drm/i915/gt/intel_gt_pm.h|  3 +-
 drivers/gpu/drm/i915/gt/intel_rc6.c  |  5 ++
 drivers/gpu/drm/i915/gt/selftest_gt_pm.c |  3 +-
 drivers/gpu/drm/i915/i915_drv.c  |  8 +-
 drivers/gpu/drm/i915/i915_drv.h  |  2 -
 drivers/gpu/drm/i915/i915_gem.c  | 37 -
 drivers/gpu/drm/i915/i915_scheduler.c|  9 ++-
 drivers/gpu/drm/i915/selftests/i915_gem.c|  1 -
 drivers/gpu/drm/i915/selftests/mock_gem_device.c |  1 -
 drivers/gpu/drm/i915/selftests/mock_gtt.c|  3 +-
 14 files changed, 118 insertions(+), 118 deletions(-)
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

2019-09-27 Thread Rodrigo Vivi
Hi Dave and Daniel,

This should've gone out yesterday, but apparently I had some issue with my mutt 
here.
Anyway, nothing that couldn't wait for rc2

Here goes drm-intel-next-fixes-2019-09-26:
- Fix concurrence on cases where requests where getting retired at same time as 
resubmitted to HW
- Fix gen9 display resolutions by setting the right max plane width
- Fix GPU hang on preemption
- Mark contents as dirty on a write fault. This was breaking cursor sprite with 
dumb buffers.

Thanks,
Rodrigo.

The following changes since commit 6e5c5272ca00809aae20817efb6f25881268b50b:

  drm/i915: Use NOEVICT for first pass on attemping to pin a GGTT mmap 
(2019-09-06 09:53:15 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2019-09-26

for you to fetch changes up to 458863e08e13ecf22b9ba1ee6d4baba0ce9990ea:

  drm/i915: Mark contents as dirty on a write fault (2019-09-24 09:57:28 -0700)


- Fix concurrence on cases where requests where getting retired at same time as 
resubmitted to HW
- Fix gen9 display resolutions by setting the right max plane width
- Fix GPU hang on preemption
- Mark contents as dirty on a write fault. This was breaking cursor sprite with 
dumb buffers.


Chris Wilson (8):
  drm/i915: Restore relaxed padding (OCL_OOB_SUPPRES_ENABLE) for skl+
  drm/i915/execlists: Remove incorrect BUG_ON for schedule-out
  drm/i915: Perform GGTT restore much earlier during resume
  drm/i915: Don't mix srcu tag and negative error codes
  drm/i915: Extend Haswell GT1 PSMI workaround to all
  drm/i915: Verify the engine after acquiring the active.lock
  drm/i915: Prevent bonded requests from overtaking each other on preemption
  drm/i915: Mark contents as dirty on a write fault

Kenneth Graunke (1):
  drm/i915: Whitelist COMMON_SLICE_CHICKEN2

Ville Syrjälä (1):
  drm/i915: Bump skl+ max plane width to 5k for linear/x-tiled

 drivers/gpu/drm/i915/display/intel_display.c | 15 ++-
 drivers/gpu/drm/i915/gem/i915_gem_mman.c | 12 +++-
 drivers/gpu/drm/i915/gem/i915_gem_pm.c   |  3 ---
 drivers/gpu/drm/i915/gt/intel_lrc.c  | 21 -
 drivers/gpu/drm/i915/gt/intel_reset.c|  8 +++-
 drivers/gpu/drm/i915/gt/intel_reset.h|  2 +-
 drivers/gpu/drm/i915/gt/intel_ringbuffer.c   |  2 +-
 drivers/gpu/drm/i915/gt/intel_workarounds.c  |  8 +++-
 drivers/gpu/drm/i915/i915_drv.c  |  5 +
 drivers/gpu/drm/i915/i915_request.c  | 25 ++---
 drivers/gpu/drm/i915/selftests/i915_gem.c|  6 ++
 11 files changed, 74 insertions(+), 33 deletions(-)
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

2019-09-19 Thread Rodrigo Vivi
Hi Dave and Daniel,

Here goes drm-intel-next-fixes-2019-09-19:
- Extend old HSW workaround to fix some GPU hangs on Haswell GT2
- Fix return error code on GEM mmap.
- White list a chicken bit register for push constants legacy mode on Mesa
- Fix resume issue related to GGTT restore
- Remove incorrect BUG_ON on execlist's schedule-out
- Fix unrecoverable GPU hangs with Vulkan compute workloads on SKL

Thanks,
Rodrigo.

The following changes since commit 6e5c5272ca00809aae20817efb6f25881268b50b:

  drm/i915: Use NOEVICT for first pass on attemping to pin a GGTT mmap 
(2019-09-06 09:53:15 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2019-09-19

for you to fetch changes up to a95819a173788bec7414d260f76f42a9934890b4:

  drm/i915: Extend Haswell GT1 PSMI workaround to all (2019-09-18 10:53:38 
-0700)


- Extend old HSW workaround to fix some GPU hangs on Haswell GT2
- Fix return error code on GEM mmap.
- White list a chicken bit register for push constants legacy mode on Mesa
- Fix resume issue related to GGTT restore
- Remove incorrect BUG_ON on execlist's schedule-out
- Fix unrecoverable GPU hangs with Vulkan compute workloads on SKL


Chris Wilson (5):
  drm/i915: Restore relaxed padding (OCL_OOB_SUPPRES_ENABLE) for skl+
  drm/i915/execlists: Remove incorrect BUG_ON for schedule-out
  drm/i915: Perform GGTT restore much earlier during resume
  drm/i915: Don't mix srcu tag and negative error codes
  drm/i915: Extend Haswell GT1 PSMI workaround to all

Kenneth Graunke (1):
  drm/i915: Whitelist COMMON_SLICE_CHICKEN2

 drivers/gpu/drm/i915/gem/i915_gem_mman.c| 6 ++
 drivers/gpu/drm/i915/gem/i915_gem_pm.c  | 3 ---
 drivers/gpu/drm/i915/gt/intel_lrc.c | 1 -
 drivers/gpu/drm/i915/gt/intel_reset.c   | 8 +++-
 drivers/gpu/drm/i915/gt/intel_reset.h   | 2 +-
 drivers/gpu/drm/i915/gt/intel_ringbuffer.c  | 2 +-
 drivers/gpu/drm/i915/gt/intel_workarounds.c | 8 +++-
 drivers/gpu/drm/i915/i915_drv.c | 5 +
 drivers/gpu/drm/i915/selftests/i915_gem.c   | 6 ++
 9 files changed, 21 insertions(+), 20 deletions(-)
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

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

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

Few fixes on GGTT and PPGTT around pin, locks, fence and vgpu.

This also includes GVT fixes with two recent fixes:
one for recent guest hang regression and another for guest reset fix.

Thanks,
Rodrigo.

The following changes since commit 578d2342ec702e5fb8a77983fabb3754ae3e9660:

  Merge tag 'drm-next-5.4-2019-08-23' of 
git://people.freedesktop.org/~agd5f/linux into drm-next (2019-08-27 17:22:15 
+1000)

are available in the Git repository at:

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

for you to fetch changes up to 6e5c5272ca00809aae20817efb6f25881268b50b:

  drm/i915: Use NOEVICT for first pass on attemping to pin a GGTT mmap 
(2019-09-06 09:53:15 -0700)


Few fixes on GGTT and PPGTT around pin, locks, fence and vgpu.

This also includes GVT fixes with two recent fixes:
one for recent guest hang regression and another for guest reset fix.


Chris Wilson (3):
  drm/i915: Hold irq-off for the entire fake lock period
  drm/i915: Flush the existing fence before GGTT read/write
  drm/i915: Use NOEVICT for first pass on attemping to pin a GGTT mmap

Rodrigo Vivi (1):
  Merge tag 'gvt-next-fixes-2019-09-06' of 
https://github.com/intel/gvt-linux into drm-intel-next-fixes

Weinan Li (1):
  drm/i915/gvt: update RING_START reg of vGPU when the context is submitted 
to i915

Xiaolin Zhang (2):
  drm/i915/gvt: update vgpu workload head pointer correctly
  drm/i915: to make vgpu ppgtt notificaiton as atomic operation

 drivers/gpu/drm/i915/gem/i915_gem_mman.c  |  2 +-
 drivers/gpu/drm/i915/gt/intel_engine_pm.c | 28 ---
 drivers/gpu/drm/i915/gt/intel_reset.c |  9 ---
 drivers/gpu/drm/i915/gt/intel_timeline.c  | 10 ---
 drivers/gpu/drm/i915/gvt/scheduler.c  | 45 ++-
 drivers/gpu/drm/i915/i915_drv.h   |  1 +
 drivers/gpu/drm/i915/i915_gem.c   | 23 +++-
 drivers/gpu/drm/i915/i915_gem_gtt.c   | 12 +
 drivers/gpu/drm/i915/i915_request.c   |  9 ---
 drivers/gpu/drm/i915/i915_vgpu.c  |  1 +
 10 files changed, 92 insertions(+), 48 deletions(-)
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

2019-05-15 Thread Joonas Lahtinen
Hi Dave & Daniel,

A fix to close a race opportunity between IRQ handler and RCU. 

Two fixes that are also stable, disabling FBC on GLK and HSW EDP fastset
correction.

These patches definitely caused conflicts when merged, resolutions should
be all good.

Regards, Joonas

***

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

- Disable framebuffer compression on Geminilake
- Fixes for HSW EDP fastset and a IRQ handler vs. RCU race

The following changes since commit 23372cce8fe7ee98a6458fd3d035a55b87f0c6fe:

  Merge tag 'gvt-next-fixes-2019-05-07' of https://github.com/intel/gvt-linux 
into drm-intel-next-fixes (2019-05-07 15:29:15 +0300)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2019-05-15

for you to fetch changes up to c36beba6b296b3c05a0f29753b04775e5ae23886:

  drm/i915: Seal races between async GPU cancellation, retirement and signaling 
(2019-05-13 13:53:35 +0300)


- Disable framebuffer compression on Geminilake
- Fixes for HSW EDP fastset and a IRQ handler vs. RCU race


Chris Wilson (1):
  drm/i915: Seal races between async GPU cancellation, retirement and 
signaling

Daniel Drake (1):
  drm/i915/fbc: disable framebuffer compression on GeminiLake

Ville Syrjälä (1):
  drm/i915: Fix fastset vs. pfit on/off on HSW EDP transcoder

 drivers/dma-buf/dma-fence.c |  1 +
 drivers/gpu/drm/i915/i915_request.c |  1 +
 drivers/gpu/drm/i915/intel_breadcrumbs.c| 78 +
 drivers/gpu/drm/i915/intel_display.c|  9 
 drivers/gpu/drm/i915/intel_fbc.c|  4 ++
 drivers/gpu/drm/i915/intel_guc_submission.c |  1 -
 drivers/gpu/drm/i915/intel_pipe_crc.c   | 13 +++--
 7 files changed, 82 insertions(+), 25 deletions(-)
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

2019-05-09 Thread Joonas Lahtinen
Hi Dave & Daniel,

Still rather quiet, most issues seem to have been fixed during CI testing.

For i915, just two fixes to the request semaphore ordering code.

For GVT a couple regression and static checker fixes.

Best Regards,
Joonas

***

drm-intel-next-fixes-2019-05-09:

- Two fixes for the freshly enabled semaphore ordering code
- Includes gvt-next-fixes-2019-05-07

The following changes since commit 9628e15ca9d5f7595ba886173e98a139d0a56cd1:

  drm/i915/icl: Whitelist GEN9_SLICE_COMMON_ECO_CHICKEN1 (2019-04-30 10:16:18 
+0300)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2019-05-09

for you to fetch changes up to 23372cce8fe7ee98a6458fd3d035a55b87f0c6fe:

  Merge tag 'gvt-next-fixes-2019-05-07' of https://github.com/intel/gvt-linux 
into drm-intel-next-fixes (2019-05-07 15:29:15 +0300)


- Two fixes for the freshly enabled semaphore ordering code
- Includes gvt-next-fixes-2019-05-07


Aleksei Gimbitskii (4):
  drm/i915/gvt: Remove typedef and let the enumeration starts from zero
  drm/i915/gvt: Do not copy the uninitialized pointer from fb_info
  drm/i915/gvt: Use snprintf() to prevent possible buffer overflow.
  drm/i915/gvt: Check if get_next_pt_type() always returns a valid value

Chris Wilson (2):
  drm/i915: Delay semaphore submission until the start of the signaler
  drm/i915: Disable semaphore busywaits on saturated systems

Colin Xu (1):
  drm/i915/gvt: Add in context mmio 0x20D8 to gen9 mmio list

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

Xiong Zhang (1):
  drm/i915/gvt: Change fb_info->size from pages to bytes

Zhao Yakui (1):
  drm/i915/gvt: Revert "drm/i915/gvt: Refine the snapshort range of I915 
MCHBAR to optimize gvt-g boot time"

 drivers/gpu/drm/i915/gvt/debugfs.c |  4 +-
 drivers/gpu/drm/i915/gvt/dmabuf.c  | 19 --
 drivers/gpu/drm/i915/gvt/gtt.c | 15 +---
 drivers/gpu/drm/i915/gvt/gtt.h | 16 
 drivers/gpu/drm/i915/gvt/handlers.c|  4 +-
 drivers/gpu/drm/i915/gvt/mmio_context.c|  1 +
 drivers/gpu/drm/i915/gvt/reg.h |  3 --
 drivers/gpu/drm/i915/gvt/scheduler.c   |  2 +-
 drivers/gpu/drm/i915/i915_request.c| 59 +-
 drivers/gpu/drm/i915/intel_context.c   |  1 +
 drivers/gpu/drm/i915/intel_context_types.h |  3 ++
 11 files changed, 93 insertions(+), 34 deletions(-)
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

2019-05-02 Thread Joonas Lahtinen
Hi Dave & Daniel,

A quick fix to unbreak media driver, worthy inclusion before the merge window.

Best Regards,
Joonas

***

drm-intel-next-fixes-2019-05-02:

- Whitelist a register to avoid media driver from hanging

The following changes since commit 879a4e70f96a26a9368a3caed2f552aa67105852:

  drm/i915: Fix ICL output CSC programming (2019-04-29 09:49:21 +0300)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2019-05-02

for you to fetch changes up to 9628e15ca9d5f7595ba886173e98a139d0a56cd1:

  drm/i915/icl: Whitelist GEN9_SLICE_COMMON_ECO_CHICKEN1 (2019-04-30 10:16:18 
+0300)


- Whitelist a register to avoid media driver from hanging


Tvrtko Ursulin (1):
  drm/i915/icl: Whitelist GEN9_SLICE_COMMON_ECO_CHICKEN1

 drivers/gpu/drm/i915/intel_workarounds.c | 7 +++
 1 file changed, 3 insertions(+), 4 deletions(-)
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

2019-04-30 Thread Joonas Lahtinen
Hi Dave & Daniel,

Just one fix to fix Icelake CSC programming (fixes loss of blue channel).

Best Regards, Joonas

***

drm-intel-next-fixes-2019-04-30:

- Fix to Icelake CSC losing blue channel

The following changes since commit 447811a686e8da7325516a78069ccfbd139ef1a7:

  drm/i915/icl: Fix MG_DP_MODE() register programming (2019-04-24 09:39:11 
+0300)

are available in the Git repository at:

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

for you to fetch changes up to 879a4e70f96a26a9368a3caed2f552aa67105852:

  drm/i915: Fix ICL output CSC programming (2019-04-29 09:49:21 +0300)


- Fix to Icelake CSC losing blue channel


Ville Syrjälä (1):
  drm/i915: Fix ICL output CSC programming

 drivers/gpu/drm/i915/intel_color.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

2019-04-25 Thread Joonas Lahtinen
Hi Dave & Daniel,

Just one use-after-free fix and Icelake DP programming fix.

Best Regards, Joonas

***

drm-intel-next-fixes-2019-04-25:

- Use after free fix during GEM_CREATE when reporting back object size
- Icelake DP register programming order fix

The following changes since commit 6ecac85eadb9d4065b9038fa3d3c66d49038e14b:

  drm/udl: move to embedding drm device inside udl device. (2019-04-24 13:48:45 
+1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2019-04-25

for you to fetch changes up to 447811a686e8da7325516a78069ccfbd139ef1a7:

  drm/i915/icl: Fix MG_DP_MODE() register programming (2019-04-24 09:39:11 
+0300)


- Use after free fix during GEM_CREATE when reporting back object size
- Icelake DP register programming order fix


Chris Wilson (1):
  drm/i915: Avoid use-after-free in reporting create.size

Imre Deak (1):
  drm/i915/icl: Fix MG_DP_MODE() register programming

 drivers/gpu/drm/i915/i915_gem.c  |  2 +-
 drivers/gpu/drm/i915/intel_ddi.c | 18 --
 2 files changed, 9 insertions(+), 11 deletions(-)
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

2019-03-12 Thread Rodrigo Vivi
Hi Dave and Daniel,

Here goes drm-intel-next-fixes-2019-03-12:

- HDCP state handling in ddi_update_pipe
- Protect i915_active iterators from the shrinker
- Reacquire priolist cache after dropping the engine lock
- (Selftest) Always free spinner on __sseu_prepare error
- Acquire breadcrumb ref before canceling
- Fix atomic state leak on HDMI link reset
- Relax mmap VMA check

Thanks,
Rodrigo.

The following changes since commit 8d451a4b6e9f4b52ae3d4cafe17486d8d0c6afb0:

  Merge tag 'drm-misc-next-2019-02-11' of 
git://anongit.freedesktop.org/drm/drm-misc into drm-next (2019-02-14 14:07:18 
+0100)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2019-03-12

for you to fetch changes up to ca22f32a6296cbfa29de56328c8505560a18cfa8:

  drm/i915: Relax mmap VMA check (2019-03-08 09:52:55 -0800)


- HDCP state handling in ddi_update_pipe
- Protect i915_active iterators from the shrinker
- Reacquire priolist cache after dropping the engine lock
- (Selftest) Always free spinner on __sseu_prepare error
- Acquire breadcrumb ref before canceling
- Fix atomic state leak on HDMI link reset
- Relax mmap VMA check


Chris Wilson (4):
  drm/i915: Protect i915_active iterators from the shrinker
  drm/i915: Reacquire priolist cache after dropping the engine lock
  drm/i915/selftests: Always free spinner on __sseu_prepare error
  drm/i915: Acquire breadcrumb ref before cancelling

José Roberto de Souza (1):
  drm/i915: Fix atomic state leak when resetting HDMI link

Ramalingam C (1):
  drm/i915: HDCP state handling in ddi_update_pipe

Tvrtko Ursulin (1):
  drm/i915: Relax mmap VMA check

 drivers/gpu/drm/i915/i915_active.c| 36 
 drivers/gpu/drm/i915/i915_gem.c   |  3 +-
 drivers/gpu/drm/i915/i915_scheduler.c | 27 +
 drivers/gpu/drm/i915/intel_breadcrumbs.c  | 18 +++---
 drivers/gpu/drm/i915/intel_ddi.c  | 14 +++--
 drivers/gpu/drm/i915/selftests/i915_gem_context.c | 69 +++
 6 files changed, 94 insertions(+), 73 deletions(-)
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

2018-12-26 Thread Jani Nikula

Hi Dave & Daniel -

These GVT fixes missed the main pull request.

drm-intel-next-fixes-2018-12-27:
GVT fixes for v4.21-rc1

BR,
Jani.

The following changes since commit e69aa5f9b97f7f871643336deb281db5cb14878b:

  Merge tag 'drm-misc-next-2018-12-06' of 
git://anongit.freedesktop.org/drm/drm-misc into drm-next (2018-12-07 11:23:05 
+1000)

are available in the git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2018-12-27

for you to fetch changes up to cb6f4c2c3478b2ff68bd5d0b6020394120075e30:

  Merge tag 'gvt-next-2018-12-07' of https://github.com/intel/gvt-linux into 
drm-intel-next-fixes (2018-12-11 11:48:44 +0200)


GVT fixes for v4.21-rc1


Colin Ian King (1):
  drm/i915/gvt: fix spelling mistake "Interupts" -> "Interrupts"

Jani Nikula (1):
  Merge tag 'gvt-next-2018-12-07' of https://github.com/intel/gvt-linux 
into drm-intel-next-fixes

Peng Hao (1):
  drm/i915/gvt: fix a typo: "registeration" -> "registration".

Xinyun Liu (1):
  drm/i915/gvt: fix typo in two MI cmd annotation

Xiong Zhang (1):
  drm/i915/gvt: Fix shadow ctx ppgtt destroy function

Zhao Yan (1):
  drm/i915/gvt: update force-to-nonpriv register whitelist

 drivers/gpu/drm/i915/gvt/cmd_parser.c |  6 +++---
 drivers/gpu/drm/i915/gvt/gvt.c|  2 +-
 drivers/gpu/drm/i915/gvt/gvt.h|  4 
 drivers/gpu/drm/i915/gvt/handlers.c   |  1 +
 drivers/gpu/drm/i915/gvt/interrupt.c  |  2 +-
 drivers/gpu/drm/i915/gvt/scheduler.c  | 33 +
 6 files changed, 43 insertions(+), 5 deletions(-)

-- 
Jani Nikula, Intel Open Source Graphics Center
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx


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

2018-10-25 Thread Joonas Lahtinen
Hi Dave,

One fix to avoid applying link retraining workaround on eDP monitors
that was missing Fixes: (kindly pointed out by Jani) in addition
to the patches in previous PR.

I also got GVT PR for -next-fixes, but it had an issue with S-o-bs,
so I'll include it then in -fixes pull.

Regards, Joonas

***

drm-intel-next-fixes-2018-10-25:
- Fix to avoid link retraining workaround on eDP (the other is a comment change)
The following changes since commit f2bfc71aee75feff33ca659322b72ffeed5a243d:

  Merge tag 'drm-intel-next-fixes-2018-10-18' of 
git://anongit.freedesktop.org/drm/drm-intel into drm-next (2018-10-19 14:28:11 
+1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2018-10-25

for you to fetch changes up to f9776280c29e77a18cbc7ebb6d48f7885e494990:

  drm/i915/dp: Restrict link retrain workaround to external monitors 
(2018-10-24 13:48:12 +0300)


- Fix to avoid link retraining workaround on eDP (the other is a comment change)


Dhinakaran Pandiyan (2):
  drm/i915/dp: Fix link retraining comment in intel_dp_long_pulse()
  drm/i915/dp: Restrict link retrain workaround to external monitors

Lyude Paul (4):
  drm/atomic_helper: Disallow new modesets on unregistered connectors
  drm/atomic_helper: Allow DPMS On<->Off changes for unregistered connectors
  drm/atomic_helper: Stop modesets on unregistered connectors harder
  drm/nouveau: Fix nv50_mstc->best_encoder()

 drivers/gpu/drm/drm_atomic_helper.c | 21 +-
 drivers/gpu/drm/drm_connector.c | 11 ++---
 drivers/gpu/drm/i915/intel_dp.c | 20 --
 drivers/gpu/drm/i915/intel_dp_mst.c |  8 ++--
 drivers/gpu/drm/nouveau/dispnv50/disp.c | 14 ++-
 include/drm/drm_connector.h | 71 -
 6 files changed, 110 insertions(+), 35 deletions(-)
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx


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

2018-10-19 Thread Daniel Vetter
On Fri, Oct 19, 2018 at 12:38 PM Joonas Lahtinen
 wrote:
>
> Hi Dave,
>
> Here are the promised MST fixes that were missing due to being
> in i915 tree, yet outside i915 directory.
>
> Further explanation in the previous PR's thread.

fwiw, lgtm.

Cheers, Daniel
>
> Regards, Joonas
>
> ***
>
> drm-intel-next-fixes-2018-10-19:
> - The missing 4 MST patches that tooling didn't pick from drm core/nouveau
> The following changes since commit f2bfc71aee75feff33ca659322b72ffeed5a243d:
>
>   Merge tag 'drm-intel-next-fixes-2018-10-18' of 
> git://anongit.freedesktop.org/drm/drm-intel into drm-next (2018-10-19 
> 14:28:11 +1000)
>
> are available in the Git repository at:
>
>   git://anongit.freedesktop.org/drm/drm-intel 
> tags/drm-intel-next-fixes-2018-10-19
>
> for you to fetch changes up to 7b0f61e91b6056c71649efa3204112a4b6cf5fc8:
>
>   drm/nouveau: Fix nv50_mstc->best_encoder() (2018-10-19 11:46:46 +0300)
>
> 
> - The missing 4 MST patches that tooling didn't pick from drm core/nouveau
>
> 
> Lyude Paul (4):
>   drm/atomic_helper: Disallow new modesets on unregistered connectors
>   drm/atomic_helper: Allow DPMS On<->Off changes for unregistered 
> connectors
>   drm/atomic_helper: Stop modesets on unregistered connectors harder
>   drm/nouveau: Fix nv50_mstc->best_encoder()
>
>  drivers/gpu/drm/drm_atomic_helper.c | 21 +-
>  drivers/gpu/drm/drm_connector.c | 11 ++---
>  drivers/gpu/drm/i915/intel_dp_mst.c |  8 ++--
>  drivers/gpu/drm/nouveau/dispnv50/disp.c | 14 ++-
>  include/drm/drm_connector.h | 71 
> -
>  5 files changed, 103 insertions(+), 22 deletions(-)



-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx


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

2018-10-19 Thread Joonas Lahtinen
Hi Dave,

Here are the promised MST fixes that were missing due to being
in i915 tree, yet outside i915 directory.

Further explanation in the previous PR's thread.

Regards, Joonas

***

drm-intel-next-fixes-2018-10-19:
- The missing 4 MST patches that tooling didn't pick from drm core/nouveau
The following changes since commit f2bfc71aee75feff33ca659322b72ffeed5a243d:

  Merge tag 'drm-intel-next-fixes-2018-10-18' of 
git://anongit.freedesktop.org/drm/drm-intel into drm-next (2018-10-19 14:28:11 
+1000)

are available in the Git repository at:

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

for you to fetch changes up to 7b0f61e91b6056c71649efa3204112a4b6cf5fc8:

  drm/nouveau: Fix nv50_mstc->best_encoder() (2018-10-19 11:46:46 +0300)


- The missing 4 MST patches that tooling didn't pick from drm core/nouveau


Lyude Paul (4):
  drm/atomic_helper: Disallow new modesets on unregistered connectors
  drm/atomic_helper: Allow DPMS On<->Off changes for unregistered connectors
  drm/atomic_helper: Stop modesets on unregistered connectors harder
  drm/nouveau: Fix nv50_mstc->best_encoder()

 drivers/gpu/drm/drm_atomic_helper.c | 21 +-
 drivers/gpu/drm/drm_connector.c | 11 ++---
 drivers/gpu/drm/i915/intel_dp_mst.c |  8 ++--
 drivers/gpu/drm/nouveau/dispnv50/disp.c | 14 ++-
 include/drm/drm_connector.h | 71 -
 5 files changed, 103 insertions(+), 22 deletions(-)
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx


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

2018-10-19 Thread Joonas Lahtinen
Quoting Daniel Vetter (2018-10-19 10:05:32)
> On Fri, Oct 19, 2018 at 8:59 AM Joonas Lahtinen
>  wrote:
> >
> > Quoting Daniel Vetter (2018-10-18 22:32:00)
> > > On Thu, Oct 18, 2018 at 6:57 PM Joonas Lahtinen
> > >  wrote:
> > > >
> > > > Hi Dave,
> > > >
> > > > Here comes the final set of fixes under -next-fixes umbrella.
> > > > Next one will be then from -fixes, assuming a release next Sun.
> > > >
> > > > Fixes for bunch of display related issues reported by users, then the
> > > > MST fixes that were dropped from Rodrigos PR + further Icelake fixes
> > > > and proactive improvements picked by tooling.
> > > >
> > > > Excuse for the slight accumulation as I skipped last week due to
> > > > travel like I warned.
> > > >
> > > > Regards, Joonas
> > > >
> > > > ***
> > > >
> > > > drm-intel-next-fixes-2018-10-18:
> > > > - Fix GPU hang on MacBook2,1 when booting in EFI mode (Bugzilla #105637)
> > > > - Fix garbled console on Y tiled BIOS framebuffer configs (Bugzilla 
> > > > #108264)
> > > > - Fix black screen on certain eDP panels eg. Dell XPS 9350 (Bugzilla 
> > > > #107489 and #105338)
> > > > - MST fixes that Rodrigo dropped from drm-intel-fixes and bunch of 
> > > > Icelake fixes
> > >
> > > This won't work because it doesn't contain Lyude's core fix (+ the 2
> > > fixups). You either need to cherry-pick all of them (and then probably
> > > include the nouveau one), or none of them. Did the cherry-pick script
> > > not propose them, or something else? They're all cc: stable.
> >
> > cherry-pick-next-fixes did not propose more. I did specifically ask
> > Rodrigo to drop the relevant stuff from drm-intel-fixes so that the
> > tooling would pick it up. What is there that is missing?
> 
> dim cherry-pick-branch is limited to drivers/gpu/drm/i915 :-(
> 
> Remove that (well at least only filter drm/) and you should see them.
> Ideally you put the core patch + 2 core fixups before the i915/nouveau
> patches.
> 
> I guess putting core patches that are bugfixes through drm-intel.git
> really isn't a good idea with our process ...

I've now done this now. Removal of the filter adding two patches, but I
had to track down the further Fixes: to Fixes: manually. Thanks to
Daniel for the assistance in pointing the missing patches.

As you already pulled this PR, the core fixes will end up after
the i915 fixes. If you end up wanting to rebase the order, note that
the Fixes: annotations will be wrecked. I'll send a further fixup PR.

I also amended the Fixes: tags to point to cherry-picked fixes, to
decrease the likelihood of falling through automated tooling (while
appending Cc: stable to one patch missing it).

So you want to avoid rebasing the patches in all circumstances (or
you have to update/remove the Fixes: lines beyond the line "(cherry
picked from ...".

Lovely thing to do on Friday :) Hopefully next week will be less
of a hassle.

Regards, Joonas

> -Daniel
> 
> >
> > Regards, Joonas
> >
> > > -Daniel
> > >
> > > > - Then assorted proactive code fixes caught by CI or developers
> > > >
> > > > The following changes since commit 
> > > > ca4b869240d5810ebac6b1570ad7beffcfbac2f5:
> > > >
> > > >   Merge branch 'drm-next-4.20' of 
> > > > git://people.freedesktop.org/~agd5f/linux into drm-next (2018-10-11 
> > > > 14:53:45 +1000)
> > > >
> > > > are available in the Git repository at:
> > > >
> > > >   git://anongit.freedesktop.org/drm/drm-intel 
> > > > tags/drm-intel-next-fixes-2018-10-18
> > > >
> > > > for you to fetch changes up to 835fe6d75d14c1513910ed7f5665127fee12acc8:
> > > >
> > > >   firmware/dmc/icl: Add missing MODULE_FIRMWARE() for Icelake. 
> > > > (2018-10-18 10:36:10 +0300)
> > > >
> > > > 
> > > > - Fix GPU hang on MacBook2,1 when booting in EFI mode (Bugzilla #105637)
> > > > - Fix garbled console on Y tiled BIOS framebuffer configs (Bugzilla 
> > > > #108264)
> > > > - Fix black screen on certain eDP panels eg. Dell XPS 9350 (Bugzilla 
> > > > #107489 and #105338)
> > > > - MST fixes that Rodrigo dropped from drm-intel-fixes and bunch of 
> > > > Icelake fixes
> > > > - Then assorted proactive code fixes caught by CI or developers
> > > >
> > > > 
> > > > Anusha Srivatsa (1):
> > > >   firmware/dmc/icl: Add missing MODULE_FIRMWARE() for Icelake.
> > > >
> > > > Chris Wilson (3):
> > > >   drm/i915: Only reset seqno if actually idle
> > > >   drm/i915/selftests: Disable shrinker across mmap-exhaustion
> > > >   drm/i915: Large page offsets for pread/pwrite
> > > >
> > > > Imre Deak (1):
> > > >   drm/i915/gen9+: Fix initial readout for Y tiled framebuffers
> > > >
> > > > Lyude Paul (3):
> > > >   drm/i915: Don't unset intel_connector->mst_port
> > > >   drm/i915: Skip vcpi allocation for MSTB ports that are gone
> > > >   drm/i915: Fix intel_dp_mst_best_encoder()
> > > >
> > > > Mahesh Kumar (2):
> > > >   drm/i915/icl: 

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

2018-10-19 Thread Daniel Vetter
On Fri, Oct 19, 2018 at 8:59 AM Joonas Lahtinen
 wrote:
>
> Quoting Daniel Vetter (2018-10-18 22:32:00)
> > On Thu, Oct 18, 2018 at 6:57 PM Joonas Lahtinen
> >  wrote:
> > >
> > > Hi Dave,
> > >
> > > Here comes the final set of fixes under -next-fixes umbrella.
> > > Next one will be then from -fixes, assuming a release next Sun.
> > >
> > > Fixes for bunch of display related issues reported by users, then the
> > > MST fixes that were dropped from Rodrigos PR + further Icelake fixes
> > > and proactive improvements picked by tooling.
> > >
> > > Excuse for the slight accumulation as I skipped last week due to
> > > travel like I warned.
> > >
> > > Regards, Joonas
> > >
> > > ***
> > >
> > > drm-intel-next-fixes-2018-10-18:
> > > - Fix GPU hang on MacBook2,1 when booting in EFI mode (Bugzilla #105637)
> > > - Fix garbled console on Y tiled BIOS framebuffer configs (Bugzilla 
> > > #108264)
> > > - Fix black screen on certain eDP panels eg. Dell XPS 9350 (Bugzilla 
> > > #107489 and #105338)
> > > - MST fixes that Rodrigo dropped from drm-intel-fixes and bunch of 
> > > Icelake fixes
> >
> > This won't work because it doesn't contain Lyude's core fix (+ the 2
> > fixups). You either need to cherry-pick all of them (and then probably
> > include the nouveau one), or none of them. Did the cherry-pick script
> > not propose them, or something else? They're all cc: stable.
>
> cherry-pick-next-fixes did not propose more. I did specifically ask
> Rodrigo to drop the relevant stuff from drm-intel-fixes so that the
> tooling would pick it up. What is there that is missing?

dim cherry-pick-branch is limited to drivers/gpu/drm/i915 :-(

Remove that (well at least only filter drm/) and you should see them.
Ideally you put the core patch + 2 core fixups before the i915/nouveau
patches.

I guess putting core patches that are bugfixes through drm-intel.git
really isn't a good idea with our process ...
-Daniel

>
> Regards, Joonas
>
> > -Daniel
> >
> > > - Then assorted proactive code fixes caught by CI or developers
> > >
> > > The following changes since commit 
> > > ca4b869240d5810ebac6b1570ad7beffcfbac2f5:
> > >
> > >   Merge branch 'drm-next-4.20' of 
> > > git://people.freedesktop.org/~agd5f/linux into drm-next (2018-10-11 
> > > 14:53:45 +1000)
> > >
> > > are available in the Git repository at:
> > >
> > >   git://anongit.freedesktop.org/drm/drm-intel 
> > > tags/drm-intel-next-fixes-2018-10-18
> > >
> > > for you to fetch changes up to 835fe6d75d14c1513910ed7f5665127fee12acc8:
> > >
> > >   firmware/dmc/icl: Add missing MODULE_FIRMWARE() for Icelake. 
> > > (2018-10-18 10:36:10 +0300)
> > >
> > > 
> > > - Fix GPU hang on MacBook2,1 when booting in EFI mode (Bugzilla #105637)
> > > - Fix garbled console on Y tiled BIOS framebuffer configs (Bugzilla 
> > > #108264)
> > > - Fix black screen on certain eDP panels eg. Dell XPS 9350 (Bugzilla 
> > > #107489 and #105338)
> > > - MST fixes that Rodrigo dropped from drm-intel-fixes and bunch of 
> > > Icelake fixes
> > > - Then assorted proactive code fixes caught by CI or developers
> > >
> > > 
> > > Anusha Srivatsa (1):
> > >   firmware/dmc/icl: Add missing MODULE_FIRMWARE() for Icelake.
> > >
> > > Chris Wilson (3):
> > >   drm/i915: Only reset seqno if actually idle
> > >   drm/i915/selftests: Disable shrinker across mmap-exhaustion
> > >   drm/i915: Large page offsets for pread/pwrite
> > >
> > > Imre Deak (1):
> > >   drm/i915/gen9+: Fix initial readout for Y tiled framebuffers
> > >
> > > Lyude Paul (3):
> > >   drm/i915: Don't unset intel_connector->mst_port
> > >   drm/i915: Skip vcpi allocation for MSTB ports that are gone
> > >   drm/i915: Fix intel_dp_mst_best_encoder()
> > >
> > > Mahesh Kumar (2):
> > >   drm/i915/icl: create function to identify combophy port
> > >   drm/i915/icl: Fix DDI/TC port clk_off bits
> > >
> > > Manasi Navare (1):
> > >   drm/i915/dp: Link train Fallback on eDP only if fallback link BW 
> > > can fit panel's native mode
> > >
> > > Rodrigo Vivi (1):
> > >   drm/i915/icl: Fix signal_levels
> > >
> > > Ville Syrjälä (3):
> > >   drm/i915: Check fb stride against plane max stride
> > >   drm/i915: Restore vblank interrupts earlier
> > >   drm/i915: Use the correct crtc when sanitizing plane mapping
> > >
> > >  drivers/gpu/drm/i915/i915_debugfs.c  |   2 +-
> > >  drivers/gpu/drm/i915/i915_gem.c  |  12 +-
> > >  drivers/gpu/drm/i915/i915_reg.h  |   3 +
> > >  drivers/gpu/drm/i915/intel_csr.c |   1 +
> > >  drivers/gpu/drm/i915/intel_ddi.c |  36 --
> > >  drivers/gpu/drm/i915/intel_display.c | 151 
> > > ---
> > >  drivers/gpu/drm/i915/intel_dp.c  |  32 -
> > >  drivers/gpu/drm/i915/intel_dp_link_training.c|  26 

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

2018-10-19 Thread Joonas Lahtinen
Quoting Daniel Vetter (2018-10-18 22:32:00)
> On Thu, Oct 18, 2018 at 6:57 PM Joonas Lahtinen
>  wrote:
> >
> > Hi Dave,
> >
> > Here comes the final set of fixes under -next-fixes umbrella.
> > Next one will be then from -fixes, assuming a release next Sun.
> >
> > Fixes for bunch of display related issues reported by users, then the
> > MST fixes that were dropped from Rodrigos PR + further Icelake fixes
> > and proactive improvements picked by tooling.
> >
> > Excuse for the slight accumulation as I skipped last week due to
> > travel like I warned.
> >
> > Regards, Joonas
> >
> > ***
> >
> > drm-intel-next-fixes-2018-10-18:
> > - Fix GPU hang on MacBook2,1 when booting in EFI mode (Bugzilla #105637)
> > - Fix garbled console on Y tiled BIOS framebuffer configs (Bugzilla #108264)
> > - Fix black screen on certain eDP panels eg. Dell XPS 9350 (Bugzilla 
> > #107489 and #105338)
> > - MST fixes that Rodrigo dropped from drm-intel-fixes and bunch of Icelake 
> > fixes
> 
> This won't work because it doesn't contain Lyude's core fix (+ the 2
> fixups). You either need to cherry-pick all of them (and then probably
> include the nouveau one), or none of them. Did the cherry-pick script
> not propose them, or something else? They're all cc: stable.

cherry-pick-next-fixes did not propose more. I did specifically ask
Rodrigo to drop the relevant stuff from drm-intel-fixes so that the
tooling would pick it up. What is there that is missing?

Regards, Joonas

> -Daniel
> 
> > - Then assorted proactive code fixes caught by CI or developers
> >
> > The following changes since commit ca4b869240d5810ebac6b1570ad7beffcfbac2f5:
> >
> >   Merge branch 'drm-next-4.20' of git://people.freedesktop.org/~agd5f/linux 
> > into drm-next (2018-10-11 14:53:45 +1000)
> >
> > are available in the Git repository at:
> >
> >   git://anongit.freedesktop.org/drm/drm-intel 
> > tags/drm-intel-next-fixes-2018-10-18
> >
> > for you to fetch changes up to 835fe6d75d14c1513910ed7f5665127fee12acc8:
> >
> >   firmware/dmc/icl: Add missing MODULE_FIRMWARE() for Icelake. (2018-10-18 
> > 10:36:10 +0300)
> >
> > 
> > - Fix GPU hang on MacBook2,1 when booting in EFI mode (Bugzilla #105637)
> > - Fix garbled console on Y tiled BIOS framebuffer configs (Bugzilla #108264)
> > - Fix black screen on certain eDP panels eg. Dell XPS 9350 (Bugzilla 
> > #107489 and #105338)
> > - MST fixes that Rodrigo dropped from drm-intel-fixes and bunch of Icelake 
> > fixes
> > - Then assorted proactive code fixes caught by CI or developers
> >
> > 
> > Anusha Srivatsa (1):
> >   firmware/dmc/icl: Add missing MODULE_FIRMWARE() for Icelake.
> >
> > Chris Wilson (3):
> >   drm/i915: Only reset seqno if actually idle
> >   drm/i915/selftests: Disable shrinker across mmap-exhaustion
> >   drm/i915: Large page offsets for pread/pwrite
> >
> > Imre Deak (1):
> >   drm/i915/gen9+: Fix initial readout for Y tiled framebuffers
> >
> > Lyude Paul (3):
> >   drm/i915: Don't unset intel_connector->mst_port
> >   drm/i915: Skip vcpi allocation for MSTB ports that are gone
> >   drm/i915: Fix intel_dp_mst_best_encoder()
> >
> > Mahesh Kumar (2):
> >   drm/i915/icl: create function to identify combophy port
> >   drm/i915/icl: Fix DDI/TC port clk_off bits
> >
> > Manasi Navare (1):
> >   drm/i915/dp: Link train Fallback on eDP only if fallback link BW can 
> > fit panel's native mode
> >
> > Rodrigo Vivi (1):
> >   drm/i915/icl: Fix signal_levels
> >
> > Ville Syrjälä (3):
> >   drm/i915: Check fb stride against plane max stride
> >   drm/i915: Restore vblank interrupts earlier
> >   drm/i915: Use the correct crtc when sanitizing plane mapping
> >
> >  drivers/gpu/drm/i915/i915_debugfs.c  |   2 +-
> >  drivers/gpu/drm/i915/i915_gem.c  |  12 +-
> >  drivers/gpu/drm/i915/i915_reg.h  |   3 +
> >  drivers/gpu/drm/i915/intel_csr.c |   1 +
> >  drivers/gpu/drm/i915/intel_ddi.c |  36 --
> >  drivers/gpu/drm/i915/intel_display.c | 151 
> > ---
> >  drivers/gpu/drm/i915/intel_dp.c  |  32 -
> >  drivers/gpu/drm/i915/intel_dp_link_training.c|  26 ++--
> >  drivers/gpu/drm/i915/intel_dp_mst.c  |  41 +++---
> >  drivers/gpu/drm/i915/intel_drv.h |   2 +
> >  drivers/gpu/drm/i915/intel_sprite.c  |  22 
> >  drivers/gpu/drm/i915/selftests/i915_gem_object.c |   3 +
> >  12 files changed, 227 insertions(+), 104 deletions(-)
> 
> 
> 
> -- 
> Daniel Vetter
> Software Engineer, Intel Corporation
> +41 (0) 79 365 57 48 - http://blog.ffwll.ch
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx


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

2018-10-18 Thread Daniel Vetter
On Thu, Oct 18, 2018 at 6:57 PM Joonas Lahtinen
 wrote:
>
> Hi Dave,
>
> Here comes the final set of fixes under -next-fixes umbrella.
> Next one will be then from -fixes, assuming a release next Sun.
>
> Fixes for bunch of display related issues reported by users, then the
> MST fixes that were dropped from Rodrigos PR + further Icelake fixes
> and proactive improvements picked by tooling.
>
> Excuse for the slight accumulation as I skipped last week due to
> travel like I warned.
>
> Regards, Joonas
>
> ***
>
> drm-intel-next-fixes-2018-10-18:
> - Fix GPU hang on MacBook2,1 when booting in EFI mode (Bugzilla #105637)
> - Fix garbled console on Y tiled BIOS framebuffer configs (Bugzilla #108264)
> - Fix black screen on certain eDP panels eg. Dell XPS 9350 (Bugzilla #107489 
> and #105338)
> - MST fixes that Rodrigo dropped from drm-intel-fixes and bunch of Icelake 
> fixes

This won't work because it doesn't contain Lyude's core fix (+ the 2
fixups). You either need to cherry-pick all of them (and then probably
include the nouveau one), or none of them. Did the cherry-pick script
not propose them, or something else? They're all cc: stable.
-Daniel

> - Then assorted proactive code fixes caught by CI or developers
>
> The following changes since commit ca4b869240d5810ebac6b1570ad7beffcfbac2f5:
>
>   Merge branch 'drm-next-4.20' of git://people.freedesktop.org/~agd5f/linux 
> into drm-next (2018-10-11 14:53:45 +1000)
>
> are available in the Git repository at:
>
>   git://anongit.freedesktop.org/drm/drm-intel 
> tags/drm-intel-next-fixes-2018-10-18
>
> for you to fetch changes up to 835fe6d75d14c1513910ed7f5665127fee12acc8:
>
>   firmware/dmc/icl: Add missing MODULE_FIRMWARE() for Icelake. (2018-10-18 
> 10:36:10 +0300)
>
> 
> - Fix GPU hang on MacBook2,1 when booting in EFI mode (Bugzilla #105637)
> - Fix garbled console on Y tiled BIOS framebuffer configs (Bugzilla #108264)
> - Fix black screen on certain eDP panels eg. Dell XPS 9350 (Bugzilla #107489 
> and #105338)
> - MST fixes that Rodrigo dropped from drm-intel-fixes and bunch of Icelake 
> fixes
> - Then assorted proactive code fixes caught by CI or developers
>
> 
> Anusha Srivatsa (1):
>   firmware/dmc/icl: Add missing MODULE_FIRMWARE() for Icelake.
>
> Chris Wilson (3):
>   drm/i915: Only reset seqno if actually idle
>   drm/i915/selftests: Disable shrinker across mmap-exhaustion
>   drm/i915: Large page offsets for pread/pwrite
>
> Imre Deak (1):
>   drm/i915/gen9+: Fix initial readout for Y tiled framebuffers
>
> Lyude Paul (3):
>   drm/i915: Don't unset intel_connector->mst_port
>   drm/i915: Skip vcpi allocation for MSTB ports that are gone
>   drm/i915: Fix intel_dp_mst_best_encoder()
>
> Mahesh Kumar (2):
>   drm/i915/icl: create function to identify combophy port
>   drm/i915/icl: Fix DDI/TC port clk_off bits
>
> Manasi Navare (1):
>   drm/i915/dp: Link train Fallback on eDP only if fallback link BW can 
> fit panel's native mode
>
> Rodrigo Vivi (1):
>   drm/i915/icl: Fix signal_levels
>
> Ville Syrjälä (3):
>   drm/i915: Check fb stride against plane max stride
>   drm/i915: Restore vblank interrupts earlier
>   drm/i915: Use the correct crtc when sanitizing plane mapping
>
>  drivers/gpu/drm/i915/i915_debugfs.c  |   2 +-
>  drivers/gpu/drm/i915/i915_gem.c  |  12 +-
>  drivers/gpu/drm/i915/i915_reg.h  |   3 +
>  drivers/gpu/drm/i915/intel_csr.c |   1 +
>  drivers/gpu/drm/i915/intel_ddi.c |  36 --
>  drivers/gpu/drm/i915/intel_display.c | 151 
> ---
>  drivers/gpu/drm/i915/intel_dp.c  |  32 -
>  drivers/gpu/drm/i915/intel_dp_link_training.c|  26 ++--
>  drivers/gpu/drm/i915/intel_dp_mst.c  |  41 +++---
>  drivers/gpu/drm/i915/intel_drv.h |   2 +
>  drivers/gpu/drm/i915/intel_sprite.c  |  22 
>  drivers/gpu/drm/i915/selftests/i915_gem_object.c |   3 +
>  12 files changed, 227 insertions(+), 104 deletions(-)



-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx


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

2018-10-18 Thread Joonas Lahtinen
Hi Dave,

Here comes the final set of fixes under -next-fixes umbrella.
Next one will be then from -fixes, assuming a release next Sun.

Fixes for bunch of display related issues reported by users, then the
MST fixes that were dropped from Rodrigos PR + further Icelake fixes
and proactive improvements picked by tooling.

Excuse for the slight accumulation as I skipped last week due to
travel like I warned.

Regards, Joonas

***

drm-intel-next-fixes-2018-10-18:
- Fix GPU hang on MacBook2,1 when booting in EFI mode (Bugzilla #105637)
- Fix garbled console on Y tiled BIOS framebuffer configs (Bugzilla #108264)
- Fix black screen on certain eDP panels eg. Dell XPS 9350 (Bugzilla #107489 
and #105338)
- MST fixes that Rodrigo dropped from drm-intel-fixes and bunch of Icelake fixes
- Then assorted proactive code fixes caught by CI or developers

The following changes since commit ca4b869240d5810ebac6b1570ad7beffcfbac2f5:

  Merge branch 'drm-next-4.20' of git://people.freedesktop.org/~agd5f/linux 
into drm-next (2018-10-11 14:53:45 +1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2018-10-18

for you to fetch changes up to 835fe6d75d14c1513910ed7f5665127fee12acc8:

  firmware/dmc/icl: Add missing MODULE_FIRMWARE() for Icelake. (2018-10-18 
10:36:10 +0300)


- Fix GPU hang on MacBook2,1 when booting in EFI mode (Bugzilla #105637)
- Fix garbled console on Y tiled BIOS framebuffer configs (Bugzilla #108264)
- Fix black screen on certain eDP panels eg. Dell XPS 9350 (Bugzilla #107489 
and #105338)
- MST fixes that Rodrigo dropped from drm-intel-fixes and bunch of Icelake fixes
- Then assorted proactive code fixes caught by CI or developers


Anusha Srivatsa (1):
  firmware/dmc/icl: Add missing MODULE_FIRMWARE() for Icelake.

Chris Wilson (3):
  drm/i915: Only reset seqno if actually idle
  drm/i915/selftests: Disable shrinker across mmap-exhaustion
  drm/i915: Large page offsets for pread/pwrite

Imre Deak (1):
  drm/i915/gen9+: Fix initial readout for Y tiled framebuffers

Lyude Paul (3):
  drm/i915: Don't unset intel_connector->mst_port
  drm/i915: Skip vcpi allocation for MSTB ports that are gone
  drm/i915: Fix intel_dp_mst_best_encoder()

Mahesh Kumar (2):
  drm/i915/icl: create function to identify combophy port
  drm/i915/icl: Fix DDI/TC port clk_off bits

Manasi Navare (1):
  drm/i915/dp: Link train Fallback on eDP only if fallback link BW can fit 
panel's native mode

Rodrigo Vivi (1):
  drm/i915/icl: Fix signal_levels

Ville Syrjälä (3):
  drm/i915: Check fb stride against plane max stride
  drm/i915: Restore vblank interrupts earlier
  drm/i915: Use the correct crtc when sanitizing plane mapping

 drivers/gpu/drm/i915/i915_debugfs.c  |   2 +-
 drivers/gpu/drm/i915/i915_gem.c  |  12 +-
 drivers/gpu/drm/i915/i915_reg.h  |   3 +
 drivers/gpu/drm/i915/intel_csr.c |   1 +
 drivers/gpu/drm/i915/intel_ddi.c |  36 --
 drivers/gpu/drm/i915/intel_display.c | 151 ---
 drivers/gpu/drm/i915/intel_dp.c  |  32 -
 drivers/gpu/drm/i915/intel_dp_link_training.c|  26 ++--
 drivers/gpu/drm/i915/intel_dp_mst.c  |  41 +++---
 drivers/gpu/drm/i915/intel_drv.h |   2 +
 drivers/gpu/drm/i915/intel_sprite.c  |  22 
 drivers/gpu/drm/i915/selftests/i915_gem_object.c |   3 +
 12 files changed, 227 insertions(+), 104 deletions(-)
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx


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

2018-10-04 Thread Joonas Lahtinen
Hi Dave,

Here comes -fixes for drm-next.

One compiler warning fix and adding back a removed max stride
check, nothing end user visible.

Regards, Joonas

PS. Travelling next week, so I'll skip PR unless there's
something big.

---

drm-intel-next-fixes-2018-10-04:

Compiler warning fix and adding back a removed max stride check for sprite 
planes.

The following changes since commit 87c2ee740c07f1edae9eec8bc45cb9b32a68f323:

  Merge branch 'drm-next-4.20' of git://people.freedesktop.org/~agd5f/linux 
into drm-next (2018-09-28 09:48:40 +1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2018-10-04

for you to fetch changes up to 98a9bce38b3d93082353fda561abb73a4d7b8d94:

  drm/i915: Avoid compiler warning for maybe unused gu_misc_iir (2018-10-01 
11:58:17 +0300)


Compiler warning fix and adding back a removed max stride check for sprite 
planes.


Chris Wilson (1):
  drm/i915: Avoid compiler warning for maybe unused gu_misc_iir

Ville Syrjälä (1):
  drm/i915: Check fb stride against plane max stride

 drivers/gpu/drm/i915/i915_irq.c  | 33 -
 drivers/gpu/drm/i915/intel_display.c | 14 ++
 drivers/gpu/drm/i915/intel_drv.h |  1 +
 drivers/gpu/drm/i915/intel_sprite.c  | 22 ++
 4 files changed, 49 insertions(+), 21 deletions(-)
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx


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

2018-08-24 Thread Rodrigo Vivi
Hi Dave,

This is the pull request that I tried to send
few days ago, but apparently I had some issue
with my mutt/smtp and it didn't go through.

Well, I don't think that there is anything critical
that cannot wait another week or -rc2
Anyway I'm sending just in case, for the record,
and to try out my dim changes that allow
to do pull requests with old generated tags. :)

Here goes drm-intel-next-fixes-2018-08-22:

One important fix for display affecting NUCs with LSPCON and
other 3 small fixes for:
- audio hook when display is disabled
- icl's has_csr definition
- vma stop holding ppgtt reference

Thanks,
Rodrigo.

The following changes since commit 4795ac626a2fe5ce99ff788080ace343faf4c886:

  Merge tag 'gvt-next-fixes-2018-08-14' of https://github.com/intel/gvt-linux 
into drm-intel-next-fixes (2018-08-15 13:42:32 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2018-08-22

for you to fetch changes up to 2693efd99cad2509522a88722e04162b7e869333:

  drm/i915/audio: Hook up component bindings even if displays are disabled 
(2018-08-20 17:24:55 -0700)


One important fix for display affecting NUCs with LSPCON and
other 3 small fixes for:
- audio hook when display is disabled
- icl's has_csr definition
- vma stop holding ppgtt reference


Anusha Srivatsa (1):
  drm/i915: Do not redefine the has_csr parameter.

Chris Wilson (2):
  drm/i915: Stop holding a ref to the ppgtt from each vma
  drm/i915/audio: Hook up component bindings even if displays are disabled

Fredrik Schön (1):
  drm/i915: Increase LSPCON timeout

 drivers/gpu/drm/i915/i915_pci.c | 1 -
 drivers/gpu/drm/i915/i915_vma.c | 4 
 drivers/gpu/drm/i915/intel_audio.c  | 3 ---
 drivers/gpu/drm/i915/intel_lspcon.c | 2 +-
 4 files changed, 1 insertion(+), 9 deletions(-)
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx


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

2018-08-16 Thread Rodrigo Vivi
Hi Dave,

Here goes drm-intel-next-fixes-2018-08-16-1:

Fixes for:
- DP full color range.
- selftest for gem_object
- forcewake on suspend
- GPU reset

This also include accumulated fixes from GVT:
- Fix an error code in gvt_dma_map_page() (Dan)
- Fix off by one error in intel_vgpu_write_fence() (Dan)
- Fix potential Spectre v1 (Gustavo)
- Fix workload free in vgpu release (Henry)
- Fix cleanup sequence in intel_gvt_clean_device (Henry)
- dmabuf mutex init place fix (Henry)
- possible memory leak in intel_vgpu_ioctl() err path (Yi)
- return error on cmd access check failure (Yan)

Thanks,
Rodrigo.

The following changes since commit 557ce95051c8eff67af48612ab350d8408aa0541:

  Merge branch 'drm-next-4.19' of git://people.freedesktop.org/~agd5f/linux 
into drm-next (2018-08-10 11:43:02 +1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2018-08-16-1

for you to fetch changes up to 4795ac626a2fe5ce99ff788080ace343faf4c886:

  Merge tag 'gvt-next-fixes-2018-08-14' of https://github.com/intel/gvt-linux 
into drm-intel-next-fixes (2018-08-15 13:42:32 -0700)


Fixes for:
- DP full color range.
- selftest for gem_object
- forcewake on suspend
- GPU reset

This also include accumulated fixes from GVT:
- Fix an error code in gvt_dma_map_page() (Dan)
- Fix off by one error in intel_vgpu_write_fence() (Dan)
- Fix potential Spectre v1 (Gustavo)
- Fix workload free in vgpu release (Henry)
- Fix cleanup sequence in intel_gvt_clean_device (Henry)
- dmabuf mutex init place fix (Henry)
- possible memory leak in intel_vgpu_ioctl() err path (Yi)
- return error on cmd access check failure (Yan)


Chris Wilson (3):
  drm/i915: Unmask user interrupts writes into HWSP on snb/ivb/vlv/hsw
  drm/i915: Restore user forcewake domains across suspend
  drm/i915/selftests: Hold rpm for unparking

Dan Carpenter (2):
  drm/i915/kvmgt: fix an error code in gvt_dma_map_page()
  drm/i915/gvt: Off by one in intel_vgpu_write_fence()

Gustavo A. R. Silva (1):
  drm/i915/kvmgt: Fix potential Spectre v1

Hang Yuan (3):
  drm/i915/gvt: free workload in vgpu release
  drm/i915/gvt: fix cleanup sequence in intel_gvt_clean_device
  drm/i915/gvt: initialize dmabuf mutex in vgpu_create

Jani Nikula (1):
  drm/i915: set DP Main Stream Attribute for color range on DDI platforms

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

Yi Wang (1):
  drm/i915/gvt: fix memory leak in intel_vgpu_ioctl()

Zhao Yan (1):
  drm/i915/gvt: return error on cmd access

 drivers/gpu/drm/i915/gvt/aperture_gm.c   |  2 +-
 drivers/gpu/drm/i915/gvt/cmd_parser.c|  2 +-
 drivers/gpu/drm/i915/gvt/gvt.c   | 15 
 drivers/gpu/drm/i915/gvt/gvt.h   |  4 ++-
 drivers/gpu/drm/i915/gvt/kvmgt.c | 26 +-
 drivers/gpu/drm/i915/gvt/scheduler.c |  7 ++--
 drivers/gpu/drm/i915/gvt/scheduler.h |  3 ++
 drivers/gpu/drm/i915/gvt/vgpu.c  | 23 ++--
 drivers/gpu/drm/i915/i915_reg.h  |  1 +
 drivers/gpu/drm/i915/intel_ddi.c |  4 +++
 drivers/gpu/drm/i915/intel_ringbuffer.c  | 14 ++--
 drivers/gpu/drm/i915/intel_uncore.c  | 46 +---
 drivers/gpu/drm/i915/intel_uncore.h  |  1 +
 drivers/gpu/drm/i915/selftests/i915_gem_object.c | 20 +++
 drivers/gpu/drm/i915/selftests/intel_uncore.c|  2 +-
 15 files changed, 117 insertions(+), 53 deletions(-)
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx


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

2018-08-06 Thread Rodrigo Vivi
Hi Dave,

Initial fixes for 4.19. Starting by the one where gvt compilation gets
broken after a silent conflict between next and fixes.

Here goes drm-intel-next-fixes-2018-08-06:
- Fix gvt compilation broken on a silent conflict on fixes vs next merge
- Fix runtime PM for LPE audio
- Revert on ICL workaround
- Interactive RPS mode
- Fix for PSR sink status report

Thanks,
Rodrigo.

The following changes since commit 15da09500a7053612e4ab049ff998e99a77a8df0:

  Merge branch 'drm-armada-devel' of git://git.armlinux.org.uk/~rmk/linux-arm 
into drm-next (2018-08-01 09:02:16 +1000)

are available in the Git repository at:

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

for you to fetch changes up to 3237c0dbe21f8d2ca2feaa3891aff3619873cd30:

  drm/i915/kvmgt: Fix compilation error (2018-08-06 11:28:35 -0700)


- Fix gvt compilation broken on a silent conflict on fixes vs next merge
- Fix runtime PM for LPE audio
- Revert on ICL workaround
- Interactive RPS mode
- Fix for PSR sink status report


Chris Wilson (2):
  drm/i915: Interactive RPS mode
  drm/i915/lpe: Mark LPE audio runtime pm as "no callbacks"

Michał Winiarski (1):
  drm/i915/kvmgt: Fix compilation error

Mika Kuoppala (1):
  Revert "drm/i915/icl: WaEnableFloatBlendOptimization"

Rodrigo Vivi (1):
  drm/i915: Fix psr sink status report.

 drivers/gpu/drm/i915/gvt/kvmgt.c |   6 --
 drivers/gpu/drm/i915/i915_debugfs.c  |  26 +---
 drivers/gpu/drm/i915/i915_drv.h  |  16 +++--
 drivers/gpu/drm/i915/i915_irq.c  |   4 +-
 drivers/gpu/drm/i915/i915_reg.h  |   3 -
 drivers/gpu/drm/i915/intel_display.c |  20 ++
 drivers/gpu/drm/i915/intel_drv.h |   2 +
 drivers/gpu/drm/i915/intel_lpe_audio.c   |   4 +-
 drivers/gpu/drm/i915/intel_pm.c  | 101 ---
 drivers/gpu/drm/i915/intel_workarounds.c |   3 -
 10 files changed, 123 insertions(+), 62 deletions(-)
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx


[Intel-gfx] [PULL] drm-intel-next-fixes for drm-next/v4.18

2018-06-08 Thread Jani Nikula

Hi Dave, these missed the main drm-next pull request.

drm-intel-next-fixes-2018-06-08-2:
First batch of i915 fixes for v4.18:
- gvt fixes that missed v4.17, potentially need to be backported
- eDP resolution regression revert
- remove broken nv12 special casing
- remove stale asserts from find active requests

BR,
Jani.

The following changes since commit 315852b422972e6ebb1dfddaadada09e46a2681a:

  drm: rcar-du: Fix build failure (2018-05-17 15:03:40 +1000)

are available in the git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2018-06-08-2

for you to fetch changes up to 807cba6559cf333a74df1fbd74f0597e8e7fa020:

  Merge tag 'gvt-fixes-2018-04-19' of https://github.com/intel/gvt-linux into 
drm-intel-next-fixes (2018-06-07 12:06:07 +0300)


First batch of i915 fixes for v4.18:
- gvt fixes that missed v4.17, potentially need to be backported
- eDP resolution regression revert
- remove broken nv12 special casing
- remove stale asserts from find active requests


Changbin Du (2):
  drm/i915/gvt: Fix the validation on size field of dp aux header
  drm/i915/kvmgt: Check the pfn got from vfio_pin_pages

Chris Wilson (2):
  drm/i915: Nul-terminate legacy debug string
  drm/i915: Remove stale asserts from i915_gem_find_active_request()

Colin Ian King (1):
  drm/i915/gvt: fix memory leak of a cmd_entry struct on error exit path

Jani Nikula (2):
  Revert "drm/i915/edp: Allow alternate fixed mode for eDP if available."
  Merge tag 'gvt-fixes-2018-04-19' of https://github.com/intel/gvt-linux 
into drm-intel-next-fixes

Mahesh Kumar (2):
  drm/i915/icl: fix icl_unmap/map_plls_to_ports
  drm/i915/icl: Don't update enabled dbuf slices struct until updated in hw

Ville Syrjälä (1):
  drm/i915: Remove bogus NV12 PLANE_COLOR_CTL setup

Xiong Zhang (1):
  drm/i915/gvt: Dereference msi eventfd_ctx when it isn't used anymore

Zhenyu Wang (1):
  Back merge 'drm-intel-fixes' into gvt-fixes

 drivers/gpu/drm/i915/gvt/cmd_parser.c  |  1 +
 drivers/gpu/drm/i915/gvt/display.h |  2 +-
 drivers/gpu/drm/i915/gvt/handlers.c| 13 
 drivers/gpu/drm/i915/gvt/kvmgt.c   | 34 +-
 drivers/gpu/drm/i915/i915_gem.c| 17 +++
 drivers/gpu/drm/i915/intel_ddi.c   |  6 --
 drivers/gpu/drm/i915/intel_display.c   |  7 +--
 drivers/gpu/drm/i915/intel_dp.c| 38 +-
 drivers/gpu/drm/i915/intel_drv.h   |  2 --
 drivers/gpu/drm/i915/intel_dsi.c   |  2 +-
 drivers/gpu/drm/i915/intel_dvo.c   |  2 +-
 drivers/gpu/drm/i915/intel_engine_cs.c |  2 +-
 drivers/gpu/drm/i915/intel_lvds.c  |  3 +--
 drivers/gpu/drm/i915/intel_panel.c |  6 --
 drivers/gpu/drm/i915/intel_pm.c|  1 -
 15 files changed, 66 insertions(+), 70 deletions(-)

-- 
Jani Nikula, Intel Open Source Graphics Center
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx


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

2018-04-19 Thread Joonas Lahtinen
Hi Dave,

I was travelling last week, and thought you wouldn't be back until this week,
but you were :) So, my PR is against older drm-next for that I don't want to
make GVT folks redo their PR twice.

It's looking good on CI. Biggest things are the fix to be tolerant against bad
BIOSes (FDO #105549) and fix on GVT regression.

Next week should be a normal PR, then!

Regards, Joonas

drm-intel-next-fixes-2018-04-19:
- Fix for FDO #105549: Avoid OOPS on bad VBT (Jani)
- Fix rare pre-emption race (Chris)
- Fix RC6 race against PM transitions (Tvrtko)

gvt-fixes-2018-04-03

- fix unhandled vfio ioctl return value (Gerd)
- no-op user interrupt for vGPU (Zhipeng)
- fix ggtt dma unmap (Changbin)
- fix warning in fb decoder (Xiong)
- dmabuf drm_format_mod fix (Tina)
- misc cleanup

The following changes since commit 694f54f680f7fd8e9561928fbfc537d9afbc3d79:

  Merge branch 'drm-misc-next-fixes' of 
git://anongit.freedesktop.org/drm/drm-misc into drm-next (2018-03-29 09:25:13 
+1000)

are available in the Git repository at:

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

for you to fetch changes up to b4615730530be85fc45ab4631c2ad6d8e2d0b97d:

  drm/i915/audio: Fix audio detection issue on GLK (2018-04-18 14:26:15 +0300)


- Fix for FDO #105549: Avoid OOPS on bad VBT (Jani)
- Fix rare pre-emption race (Chris)
- Fix RC6 race against PM transitions (Tvrtko)


Changbin Du (2):
  drm/i915/gvt: Missed to cancel dma map for ggtt entries
  drm/i915/gvt: Cancel dma map when resetting ggtt entries

Chris Wilson (2):
  drm/i915/execlists: Clear user-active flag on preemption completion
  drm/i915: Call i915_perf_fini() on init_hw error unwind

Gaurav K Singh (1):
  drm/i915/audio: Fix audio detection issue on GLK

Gerd Hoffmann (1):
  drm/i915/gvt: throw error on unhandled vfio ioctls

Gustavo A. R. Silva (1):
  drm/i915/gvt: Mark expected switch fall-through in handle_g2v_notification

Jani Nikula (1):
  drm/i915/bios: filter out invalid DDC pins from VBT child devices

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

Tina Zhang (1):
  drm/i915/gvt: Add drm_format_mod update

Tvrtko Ursulin (1):
  drm/i915/pmu: Inspect runtime PM state more carefully while estimating RC6

Xidong Wang (1):
  drm/i915: Do no use kfree() to free a kmem_cache_alloc() return value

Xiong Zhang (2):
  drm/i915/gvt: Delete redundant error message in fb_decode.c
  drm/i915/gvt: Disable primary/sprite/cursor plane at virtual display 
initialization

Zhipeng Gong (1):
  drm/i915/gvt: Make MI_USER_INTERRUPT nop in cmd parser

 drivers/gpu/drm/i915/gvt/cmd_parser.c  |  1 +
 drivers/gpu/drm/i915/gvt/display.c | 10 ++
 drivers/gpu/drm/i915/gvt/dmabuf.c  |  1 +
 drivers/gpu/drm/i915/gvt/fb_decoder.c  | 27 ++--
 drivers/gpu/drm/i915/gvt/gtt.c | 52 ++
 drivers/gpu/drm/i915/gvt/gtt.h |  2 +-
 drivers/gpu/drm/i915/gvt/handlers.c|  1 +
 drivers/gpu/drm/i915/gvt/kvmgt.c   |  2 +-
 drivers/gpu/drm/i915/i915_drv.c| 27 +---
 drivers/gpu/drm/i915/i915_gem_execbuffer.c |  2 +-
 drivers/gpu/drm/i915/i915_pmu.c| 37 +++--
 drivers/gpu/drm/i915/intel_audio.c |  2 +-
 drivers/gpu/drm/i915/intel_bios.c  | 13 +---
 drivers/gpu/drm/i915/intel_lrc.c   |  9 ++
 14 files changed, 131 insertions(+), 55 deletions(-)

___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx


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

2018-03-27 Thread Joonas Lahtinen
Hi Dave,

Two human-reported bugs to close for display and a more rare fix
that could result in GPU hang.

There was some unclarity about the GVT pull, so I'm not including
it here.

Happy Easter holidays!

Regards, Joonas

drm-intel-next-fixes-2018-03-27:
- Display fixes for booting with MST hub lid closed and display
  freezing after hibernation (fd.o bugs 105470 & 105196)
- Fix for a very rare interrupt handling race resulting in GPU hang

The following changes since commit 33d009cd889490838c5db9b9339856c9e3d3facc:

  Merge branch 'drm-next-4.17' of git://people.freedesktop.org/~agd5f/linux 
into drm-next (2018-03-26 10:01:11 +1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2018-03-27

for you to fetch changes up to 300efa9eea451bdcf3b5a1eb29e06e85bb2c:

  drm/i915: Fix hibernation with ACPI S0 target state (2018-03-27 11:20:06 
+0300)


- Display fixes for booting with MST hub lid closed and display
  freezing after hibernation (fd.o bugs 105470 & 105196)
- Fix for a very rare interrupt handling race resulting in GPU hang


Chris Wilson (2):
  drm/i915: Specify which engines to reset following semaphore/event lockups
  drm/i915/execlists: Use a locked clear_bit() for synchronisation with 
interrupt

Dhinakaran Pandiyan (1):
  drm/i915/dp: Write to SET_POWER dpcd to enable MST hub.

Imre Deak (1):
  drm/i915: Fix hibernation with ACPI S0 target state

 drivers/gpu/drm/i915/i915_drv.c| 22 ++
 drivers/gpu/drm/i915/i915_drv.h|  2 +-
 drivers/gpu/drm/i915/intel_ddi.c   |  7 ++-
 drivers/gpu/drm/i915/intel_hangcheck.c |  4 ++--
 drivers/gpu/drm/i915/intel_lrc.c   | 21 -
 5 files changed, 23 insertions(+), 33 deletions(-)

___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx


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

2018-03-22 Thread Joonas Lahtinen
Hi Dave,

One GVT regression fix and a fix for race condition declaring GPU wedged,
found in CI. The rest are smaller fixes.

Expect next week's pull bit earlier in prep for Easter holidays.

Regards, Joonas

The following changes since commit 963976cfe9c54d4d9e725e61c90c47a4af6b5ea2:

  Merge tag 'drm-intel-next-2018-03-08' of 
git://anongit.freedesktop.org/drm/drm-intel into drm-next (2018-03-14 14:53:01 
+1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2018-03-22

for you to fetch changes up to 8c5cb3c1c5701df8b8bcefb151547148378841e5:

  Merge tag 'gvt-next-fixes-2018-03-20' of https://github.com/intel/gvt-linux 
into drm-intel-next-fixes (2018-03-21 16:25:16 +0200)



GVT regression fix that caused guest VM GPU hang.
Fix for race conditions in declaring GPU wedged (hit in CI).


Changbin Du (1):
  drm/i915/kvmgt: Handle kzalloc failure

Chris Wilson (2):
  drm/i915: Wrap engine->schedule in RCU locks for set-wedge protection
  drm/i915: Only call tasklet_kill() on the first prepare_reset

Colin Ian King (1):
  drm/i915/gvt: fix spelling mistake: "destoried" -> "destroyed"

Colin Xu (1):
  drm/i915/gvt: Remove reduntant printing of untracked mmio

Jani Nikula (1):
  drm/i915/icl: do not save DDI A/E sharing bit for ICL

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

Tvrtko Ursulin (1):
  drm/i915/pmu: Work around compiler warnings on some kernel configs

Zhenyu Wang (1):
  drm/i915/gvt: force to set all context control bits from guest

Zhi Wang (2):
  drm/i915/gvt: Invalidate vGPU PPGTT mm objects during a vGPU reset.
  drm/i915/gvt: Update PDPs after a vGPU mm object is pinned.

 drivers/gpu/drm/i915/gvt/gtt.c   | 24 ++-
 drivers/gpu/drm/i915/gvt/gtt.h   |  1 +
 drivers/gpu/drm/i915/gvt/handlers.c  |  9 +
 drivers/gpu/drm/i915/gvt/kvmgt.c | 22 ++---
 drivers/gpu/drm/i915/gvt/scheduler.c | 37 
 drivers/gpu/drm/i915/gvt/vgpu.c  |  1 +
 drivers/gpu/drm/i915/i915_gem.c  | 23 +++---
 drivers/gpu/drm/i915/i915_pmu.c  | 32 +--
 drivers/gpu/drm/i915/i915_request.c  |  2 ++
 drivers/gpu/drm/i915/intel_ddi.c |  9 ++---
 10 files changed, 119 insertions(+), 41 deletions(-)

___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx


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

2018-02-07 Thread Rodrigo Vivi
Hi Dave,

Here goes drm-intel-next-fixes-2018-02-07:

Fix for pcode timeouts on BXT and GLK, cmdparser fixes and fixes
for new vbt version on CFL and CNL.

GVT contains vGPU reset enhancement, which refines vGPU reset flow
and the support of virtual aperture read/write when x-no-mmap=on
is set in KVM, which is required by a test case from Redhat and
also another fix for virtual OpRegion.

Thanks,
Rodrigo.

The following changes since commit b8a89f530f5692c70778c965f0bc8f5a61fbe703:

  Merge branch 'linux-4.16' of git://github.com/skeggsb/linux into drm-next 
(2018-02-06 06:33:04 +1000)

are available in the git repository at:

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

for you to fetch changes up to 6dd3104e78943685d5183efe883d83a5f2361bf1:

  drm/i915/bios: add DP max link rate to VBT child device struct (2018-02-07 
12:32:14 -0800)


Fix for pcode timeouts on BXT and GLK, cmdparser fixes and fixes
for new vbt version on CFL and CNL.

GVT contains vGPU reset enhancement, which refines vGPU reset flow
and the support of virtual aperture read/write when x-no-mmap=on
is set in KVM, which is required by a test case from Redhat and
also another fix for virtual OpRegion.


Changbin Du (1):
  drm/i915/gvt: Fix aperture read/write emulation when enable x-no-mmap=on

Imre Deak (1):
  drm/i915/bxt, glk: Increase PCODE timeouts during CDCLK freq changing

Jani Nikula (1):
  drm/i915/bios: add DP max link rate to VBT child device struct

Michal Srb (2):
  drm/i915/cmdparser: Check reg_table_count before derefencing.
  drm/i915/cmdparser: Do not check past the cmd length.

Rodrigo Vivi (2):
  drm/i915/cnp: Ignore VBT request for know invalid DDC pin.
  drm/i915/cnp: Properly handle VBT ddc pin out of bounds.

Tina Zhang (1):
  drm/i915/gvt: Use KVM r/w to access guest opregion

Weinan Li (2):
  drm/i915/gvt: refine intel_vgpu_submission_ops as per engine ops
  drm/i915/gvt: only reset execlist state of one engine during VM engine 
reset

 drivers/gpu/drm/i915/gvt/cfg_space.c| 15 +
 drivers/gpu/drm/i915/gvt/execlist.c | 22 
 drivers/gpu/drm/i915/gvt/gvt.h  |  6 +-
 drivers/gpu/drm/i915/gvt/handlers.c |  7 +--
 drivers/gpu/drm/i915/gvt/kvmgt.c| 36 +++-
 drivers/gpu/drm/i915/gvt/mmio.c | 42 --
 drivers/gpu/drm/i915/gvt/opregion.c | 98 +++--
 drivers/gpu/drm/i915/gvt/sched_policy.c | 14 -
 drivers/gpu/drm/i915/gvt/scheduler.c| 19 ---
 drivers/gpu/drm/i915/gvt/scheduler.h|  1 +
 drivers/gpu/drm/i915/gvt/vgpu.c |  3 +-
 drivers/gpu/drm/i915/i915_cmd_parser.c  | 10 +++-
 drivers/gpu/drm/i915/i915_drv.h |  6 +-
 drivers/gpu/drm/i915/intel_bios.c   | 20 +--
 drivers/gpu/drm/i915/intel_cdclk.c  | 22 ++--
 drivers/gpu/drm/i915/intel_pm.c |  6 +-
 drivers/gpu/drm/i915/intel_vbt_defs.h   |  2 +
 17 files changed, 193 insertions(+), 136 deletions(-)
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx


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

2018-02-01 Thread Rodrigo Vivi
Hi Dave,

I didn't send sooner because I wasn't happy with the
CI results running on drm-intel-next-fixes, but now
everything looks greener there.

Here goes drm-intel-next-fixes-2018-02-01:

Fixes for GPU hangs and other bugs around hangcheck and result;
Fix for regression on suspend case with vgaswitcheroo;
Fixes for eDP and HDMI blank screens
Fix for protecting WC allocation to avoid overflow on page vec;
Cleanup around unpublished GLK firmware blobs, and other small fixes.

This also contains GVT pull request mostly with regression
fixes on vGPU display dmabuf, mmio switch and other misc changes.

Thanks,
Rodrigo.

The following changes since commit 24b8ef699e8221d2b7f813adaab13eec053e1507:

  drm/ast: Load lut in crtc_commit (2018-02-01 11:35:46 +1000)

are available in the git repository at:

  git://anongit.freedesktop.org/drm/drm-intel 
tags/drm-intel-next-fixes-2018-02-01

for you to fetch changes up to 751b01cb07ebf0dbbe4a4fbfeaa509388e4a2b0a:

  drm/i915/ppgtt: Pin page directories before allocation (2018-02-01 07:33:04 
-0800)


Fixes for GPU hangs and other bugs around hangcheck and result;
Fix for regression on suspend case with vgaswitcheroo;
Fixes for eDP and HDMI blank screens
Fix for protecting WC allocation to avoid overflow on page vec;
Cleanup around unpublished GLK firmware blobs, and other small fixes.

This also contains GVT pull request mostly with regression
fixes on vGPU display dmabuf, mmio switch and other misc changes.


Anusha Srivatsa (1):
  drm/i915/glk: Disable Guc and HuC on GLK

Chris Wilson (5):
  drm/i915/pmu: Reconstruct active state on starting busy-stats
  drm/i915: Only attempt to scan the requested number of shrinker slabs
  drm/i915: Protect WC stash allocation against direct reclaim
  drm/i915: Always run hangcheck while the GPU is busy
  drm/i915/ppgtt: Pin page directories before allocation

Hang Yuan (1):
  drm/i915/gvt: validate gfn before set shadow page entry

Imre Deak (1):
  drm/i915: Fix using BIT_ULL() vs. BIT() for power domain masks

Lionel Landwerlin (1):
  Revert "drm/i915: mark all device info struct with __initconst"

Maarten Lankhorst (1):
  drm/i915: Always call to intel_display_set_init_power() in resume_early.

Manasi Navare (1):
  drm/i915/edp: Do not do link training fallback or prune modes on EDP

Michel Thierry (1):
  drm/i915/gvt: Do not use I915_NUM_ENGINES to iterate over the mocs regs 
array

Mika Kahola (1):
  drm/i915: Check for fused or unused pipes

Oscar Mateo (1):
  drm/i915: Stop getting the fault address from RING_FAULT_REG

Pei Zhang (1):
  drm/i915/gvt: add PLANE_KEYMAX regs to mmio track list

Sagar Arun Kamble (1):
  drm/i915/guc: Add uc_fini_wq in gem_init unwind path

Stefan Brüns (1):
  drm/i915: Try EDID bitbanging on HDMI after failed read

Tina Zhang (1):
  drm/i915/gvt: Keep obj->dma_buf link NULL during exporting

Xiong Zhang (1):
  drm/i915/gvt: Fix gen8/9_render_mmio_list[0] don't take effect

Zhenyu Wang (2):
  drm/i915/gvt: cancel virtual vblank timer when no vGPU exists
  drm/i915/gvt: cancel scheduler timer when no vGPU exists

 drivers/gpu/drm/i915/gvt/dmabuf.c |  1 -
 drivers/gpu/drm/i915/gvt/gtt.c| 24 +--
 drivers/gpu/drm/i915/gvt/handlers.c   |  3 +
 drivers/gpu/drm/i915/gvt/hypercall.h  |  1 +
 drivers/gpu/drm/i915/gvt/kvmgt.c  | 16 +
 drivers/gpu/drm/i915/gvt/mmio_context.c   | 10 +--
 drivers/gpu/drm/i915/gvt/mpt.h| 17 +
 drivers/gpu/drm/i915/gvt/sched_policy.c   |  7 ++
 drivers/gpu/drm/i915/gvt/vgpu.c   |  2 +
 drivers/gpu/drm/i915/i915_drv.c   |  2 +
 drivers/gpu/drm/i915/i915_gem.c   |  9 +--
 drivers/gpu/drm/i915/i915_gem_gtt.c   | 61 +
 drivers/gpu/drm/i915/i915_gem_request.c   |  2 +
 drivers/gpu/drm/i915/i915_gem_shrinker.c  |  4 +-
 drivers/gpu/drm/i915/i915_pci.c   | 94 +--
 drivers/gpu/drm/i915/i915_reg.h   |  2 +
 drivers/gpu/drm/i915/intel_audio.c|  2 +-
 drivers/gpu/drm/i915/intel_breadcrumbs.c  | 11 
 drivers/gpu/drm/i915/intel_display.c  |  6 +-
 drivers/gpu/drm/i915/intel_dp_link_training.c | 26 +---
 drivers/gpu/drm/i915/intel_engine_cs.c| 16 -
 drivers/gpu/drm/i915/intel_guc_fw.c   |  9 ---
 drivers/gpu/drm/i915/intel_hangcheck.c|  7 +-
 drivers/gpu/drm/i915/intel_hdmi.c | 14 +++-
 drivers/gpu/drm/i915/intel_huc.c  | 11 
 drivers/gpu/drm/i915/intel_uc.c   |  2 -
 26 files changed, 226 insertions(+), 133 deletions(-)
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

2017-11-23 Thread Jani Nikula

Hi Dave, some early fixes for v4.15 and stable.

BR,
Jani.

The following changes since commit e8c49fa96838101435b9e4884d49b30da7a4e0c6:

  drm/i915: Reorder context-close to avoid calling i915_vma_close() under RCU 
(2017-11-09 16:18:37 +0200)

are available in the git repository at:

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

for you to fetch changes up to 3572f04c69ed4369da5d3c65d84fb18774aa60b6:

  drm/i915: Fix init_clock_gating for resume (2017-11-21 11:40:12 +0200)


drm/i915 fixes for v4.15


Chris Wilson (2):
  drm/i915: Clear breadcrumb node when cancelling signaling
  drm/i915: Mark the userptr invalidate workqueue as WQ_MEM_RECLAIM

Colin Ian King (1):
  drm/i915/gvt: ensure -ve return value is handled correctly

Hans de Goede (2):
  drm/i915: Fix false-positive assert_rpm_wakelock_held in 
i915_pmic_bus_access_notifier v2
  drm/i915: Re-register PMIC bus access notifier on runtime resume

Ville Syrjälä (1):
  drm/i915: Fix init_clock_gating for resume

 drivers/gpu/drm/i915/gvt/cmd_parser.c|  2 +-
 drivers/gpu/drm/i915/i915_drv.c  |  3 +++
 drivers/gpu/drm/i915/i915_gem_userptr.c  |  6 --
 drivers/gpu/drm/i915/intel_breadcrumbs.c |  1 +
 drivers/gpu/drm/i915/intel_uncore.c  | 13 +
 drivers/gpu/drm/i915/intel_uncore.h  |  1 +
 6 files changed, 23 insertions(+), 3 deletions(-)

-- 
Jani Nikula, Intel Open Source Technology Center
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx


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

2017-11-10 Thread Jani Nikula

Hi Dave, the first batch of i915 fixes for drm-next/v4.15.

BR,
Jani.

The following changes since commit 8a6fb5b5823d863b07f670dc9e791d4622d5b7e9:

  Merge branch 'drm-next-4.15' of git://people.freedesktop.org/~agd5f/linux 
into drm-next (2017-11-06 16:18:59 +1000)

are available in the git repository at:

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

for you to fetch changes up to e8c49fa96838101435b9e4884d49b30da7a4e0c6:

  drm/i915: Reorder context-close to avoid calling i915_vma_close() under RCU 
(2017-11-09 16:18:37 +0200)


drm/i915 fixes for v4.15


Chris Wilson (6):
  drm/i915: Filter out spurious execlists context-switch interrupts
  drm/i915/execlists: Remove the priority "optimisation"
  drm/i915: Lock llist_del_first() vs llist_del_all()
  drm/i915: Idle the GPU before shinking everything
  drm/i915: Prune the reservation shared fence array
  drm/i915: Reorder context-close to avoid calling i915_vma_close() under 
RCU

Joonas Lahtinen (1):
  drm/i915: Disable lazy PPGTT page table optimization for vGPU

Maarten Lankhorst (1):
  drm/i915: Calculate ironlake intermediate watermarks correctly, v2.

Ville Syrjälä (1):
  drm/i915: Move init_clock_gating() back to where it was

 drivers/gpu/drm/i915/i915_gem.c|  8 -
 drivers/gpu/drm/i915/i915_gem_context.c| 12 +++
 drivers/gpu/drm/i915/i915_gem_gtt.c|  2 +-
 drivers/gpu/drm/i915/i915_gem_shrinker.c   | 12 +++
 drivers/gpu/drm/i915/i915_guc_submission.c |  3 ++
 drivers/gpu/drm/i915/i915_irq.c|  6 ++--
 drivers/gpu/drm/i915/i915_vma.c|  7 
 drivers/gpu/drm/i915/intel_display.c   | 14 ++--
 drivers/gpu/drm/i915/intel_engine_cs.c |  5 +--
 drivers/gpu/drm/i915/intel_lrc.c   | 29 +++-
 drivers/gpu/drm/i915/intel_pm.c| 53 +++---
 drivers/gpu/drm/i915/intel_ringbuffer.h| 34 +--
 12 files changed, 133 insertions(+), 52 deletions(-)

-- 
Jani Nikula, Intel Open Source Technology Center
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx


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

2017-07-11 Thread Jani Nikula

Hi Dave, drm/i915 fixes for v4.13-rc1. Almost half of them for stable
kernels, the rest for issues in this merge window. Two batches of GVT
fixes, otherwise fixes all around.

BR,
Jani.

The following changes since commit bdbbf7d619d1fd2f1fa9eb529b7817e4faf73f5e:

  drm/i915: Clear execbuf's vma backpointer upon release (2017-06-26 10:38:43 
+0200)

are available in the git repository at:

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

for you to fetch changes up to eafbc20701243d21989c9c9aff5e5d9488e1890a:

  Merge tag 'gvt-fixes-2017-07-11' of https://github.com/01org/gvt-linux into 
drm-intel-next-fixes (2017-07-11 12:52:14 +0300)


drm/i915 fixes for v4.13-rc1


Changbin Du (1):
  drm/i915/gvt: Make function dpy_reg_mmio_readx safe

Chris Wilson (2):
  drm/i915: Avoid undefined behaviour of "u32 >> 32"
  drm/i915/fbdev: Check for existence of ifbdev->vma before operations

Christophe JAILLET (1):
  drm/i915: Fix an error checking test

Chuanxiao Dong (4):
  drm/i915/gvt: Fix possible recursive locking issue
  drm/i915/gvt: Fix inconsistent locks holding sequence
  drm/i915/gvt: Revert "drm/i915/gvt: Fix possible recursive locking issue"
  drm/i915/gvt: Use fence error from GVT request for workload status

Gabriel Krisman Bertazi (1):
  drm/i915: reintroduce VLV/CHV PFI programming power domain workaround

Jani Nikula (2):
  Merge tag 'gvt-fixes-2017-06-29' of https://github.com/01org/gvt-linux 
into drm-intel-next-fixes
  Merge tag 'gvt-fixes-2017-07-11' of https://github.com/01org/gvt-linux 
into drm-intel-next-fixes

Maarten Lankhorst (1):
  drm/i915: Make DP-MST connector info work

Navare, Manasi D (1):
  drm/i915/cnl: Fix the CURSOR_COEFF_MASK used in DDI Vswing Programming

Ping Gao (1):
  drm/i915/gvt: Audit the command buffer address

Rodrigo Vivi (1):
  drm/i915/cfl: Fix Workarounds.

Ville Syrjälä (1):
  drm/i915: Disable MSI for all pre-gen5

Weinan Li (1):
  drm/i915/gvt: remove scheduler_mutex in per-engine workload_thread

Xiong Zhang (2):
  drm/i915/gvt: Set initial PORT_CLK_SEL vreg for BDW
  drm/i915/gvt: Don't read ADPA_CRT_HOTPLUG_MONITOR from host

Zhou, Wenjia (1):
  drm/i915/gvt: Fix a memory leak in intel_gvt_init_gtt()

sagar.a.kam...@intel.com (1):
  drm/i915: Hold RPM wakelock while initializing OA buffer

 drivers/gpu/drm/i915/gvt/cmd_parser.c| 10 +++
 drivers/gpu/drm/i915/gvt/display.c   | 22 ++
 drivers/gpu/drm/i915/gvt/gtt.c   |  2 ++
 drivers/gpu/drm/i915/gvt/handlers.c  | 37 ---
 drivers/gpu/drm/i915/gvt/kvmgt.c | 14 +
 drivers/gpu/drm/i915/gvt/scheduler.c | 28 -
 drivers/gpu/drm/i915/i915_debugfs.c  |  2 +-
 drivers/gpu/drm/i915/i915_drv.c  |  8 +++--
 drivers/gpu/drm/i915/i915_gem_execbuffer.c   | 38 +++-
 drivers/gpu/drm/i915/i915_perf.c | 12 
 drivers/gpu/drm/i915/i915_reg.h  |  2 +-
 drivers/gpu/drm/i915/intel_cdclk.c   | 20 +
 drivers/gpu/drm/i915/intel_engine_cs.c   | 14 -
 drivers/gpu/drm/i915/intel_fbdev.c   | 11 +++
 drivers/gpu/drm/i915/selftests/i915_gem_dmabuf.c |  6 ++--
 15 files changed, 148 insertions(+), 78 deletions(-)

-- 
Jani Nikula, Intel Open Source Technology Center
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx


  1   2   >