Re: [PULL] drm-intel-fixes

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

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

Everything looking good there.

Thanks,
Rodrigo.

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

RE: [PULL] drm-intel-fixes

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

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

Regards,
Ewelina

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

Hi Dave and Sima,

Here goes our first PR of this round.

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

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

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

Thanks,
Rodrigo

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

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

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

Thanks,
Rodrigo.

The following changes since commit 4cece764965020c22cff7665b18a012006359095:

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

are available in the Git repository at:

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

for you to fetch changes up to 32e39bab59934bfd3f37097d4dd85ac5eb0fd549:

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


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

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


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

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

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

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

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

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

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

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

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

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

Re: [PULL] drm-intel-fixes

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

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

The vrr stuff in particular might go wonky otherwise.

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

-- 
Ville Syrjälä
Intel


Re: [PULL] drm-intel-fixes

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

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

J.

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

-- 
Jani Nikula, Intel Open Source Graphics Center


Re: [PULL] drm-intel-fixes

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

Pulled, thanks

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

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


Re: [PULL] drm-intel-fixes

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

Pulled, thanks

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

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


Re: [PULL] drm-intel-fixes

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

Pulled, thanks.

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

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


Re: [PULL] drm-intel-fixes

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

Pulled, thanks.
-Daniel

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

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


Re: [PULL] drm-intel-fixes

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

Pulled, thanks a lot.
-Daniel

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

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


Re: [PULL] drm-intel-fixes

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

Cheers to you too!

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

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

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

Just a quick comment, this one has

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

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

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

Cheers, Daniel

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

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


Re: [PULL] drm-intel-fixes

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

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

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

Or should dim consider all reverts as Fixes?

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

Thanks for the heads up,
Rodrigo.

> 
> Regards,
> Jason



Re: [PULL] drm-intel-fixes

2021-10-01 Thread Daniel Vetter
On Thu, Sep 30, 2021 at 11:50:20AM +0300, Jani Nikula wrote:
> 
> Hi Dave & Daniel -
> 
> drm-intel-fixes-2021-09-30:
> drm/i915 fixes for v5.15-rc4:
> - Fix GVT scheduler ww lock usage
> - Fix pdfdocs documentation build
> - Fix request early tracepoints
> - Fix an invalid warning from rps worker
> 
> BR,
> Jani.
> 
> The following changes since commit 5816b3e6577eaa676ceb00a848f0fd65fe2adc29:
> 
>   Linux 5.15-rc3 (2021-09-26 14:08:19 -0700)
> 
> are available in the Git repository at:
> 
>   git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2021-09-30
> 
> for you to fetch changes up to 4b8bcaf8a6d6ab5db51e30865def5cb694eb2966:
> 
>   drm/i915: Remove warning from the rps worker (2021-09-27 12:46:40 +0300)

Merged into drm-fixes, apologies for being a bit late, I was held up in a
drm-misc-fixes chaos.
-Daniel

> 
> 
> drm/i915 fixes for v5.15-rc4:
> - Fix GVT scheduler ww lock usage
> - Fix pdfdocs documentation build
> - Fix request early tracepoints
> - Fix an invalid warning from rps worker
> 
> 
> Akira Yokosawa (1):
>   drm/i915/guc, docs: Fix pdfdocs build error by removing nested grid
> 
> Jani Nikula (1):
>   Merge tag 'gvt-fixes-2021-09-18' of https://github.com/intel/gvt-linux 
> into drm-intel-fixes
> 
> Matthew Auld (1):
>   drm/i915/request: fix early tracepoints
> 
> Tejas Upadhyay (1):
>   drm/i915: Remove warning from the rps worker
> 
> Zhi A Wang (1):
>   drm/i915/gvt: fix the usage of ww lock in gvt scheduler.
> 
>  drivers/gpu/drm/i915/gt/intel_rps.c |  2 --
>  drivers/gpu/drm/i915/gt/uc/abi/guc_communication_ctb_abi.h  | 10 +-
>  drivers/gpu/drm/i915/gt/uc/abi/guc_communication_mmio_abi.h | 10 +-
>  drivers/gpu/drm/i915/gvt/scheduler.c|  4 ++--
>  drivers/gpu/drm/i915/i915_request.c | 11 ++-
>  5 files changed, 14 insertions(+), 23 deletions(-)
> 
> -- 
> Jani Nikula, Intel Open Source Graphics Center

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


Re: [PULL] drm-intel-fixes

2021-04-15 Thread Daniel Vetter
On Thu, Apr 15, 2021 at 08:59:11AM -0400, Rodrigo Vivi wrote:
> Hi Dave and Daniel,
> 
> Here goes drm-intel-fixes-2021-04-15:
> 
> Display panel & power related fixes:
> 
> - Backlight fix (Lyude)
> - Display watermark fix (Ville)
> - VLV panel power fix (Hans)
> 
> Thanks,
> Rodrigo.
> 
> The following changes since commit d434405aaab7d0ebc516b68a8fc4100922d7f5ef:
> 
>   Linux 5.12-rc7 (2021-04-11 15:16:13 -0700)
> 
> are available in the Git repository at:
> 
>   git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2021-04-15
> 
> for you to fetch changes up to aee6f25e9c911323aa89a200e1bb160c1613ed3d:
> 
>   drm/i915/display/vlv_dsi: Do not skip panel_pwr_cycle_delay when disabling 
> the panel (2021-04-12 08:00:33 -0400)

Applied to drm-fixes, thanks for the pull.
-Daniel

> 
> 
> Display panel & power related fixes:
> 
> - Backlight fix (Lyude)
> - Display watermark fix (Ville)
> - VLV panel power fix (Hans)
> 
> 
> Hans de Goede (1):
>   drm/i915/display/vlv_dsi: Do not skip panel_pwr_cycle_delay when 
> disabling the panel
> 
> Lyude Paul (1):
>   drm/i915/dpcd_bl: Don't try vesa interface unless specified by VBT
> 
> Ville Syrjälä (1):
>   drm/i915: Don't zero out the Y plane's watermarks
> 
>  drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c | 1 -
>  drivers/gpu/drm/i915/display/vlv_dsi.c| 4 ++--
>  drivers/gpu/drm/i915/intel_pm.c   | 4 ++--
>  3 files changed, 4 insertions(+), 5 deletions(-)

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


Re: [PULL] drm-intel-fixes

2021-03-11 Thread Rodrigo Vivi
On Fri, Mar 12, 2021 at 11:36:51AM +1000, Dave Airlie wrote:
> On Thu, 11 Mar 2021 at 21:28, Rodrigo Vivi  wrote:
> >
> > Hi Dave and Daniel,
> >
> > Things are very quiet. Only 1 fix this round.
> > Since I will be out next week, if this trend continues I will
> > accumulate 2 weeks and send when in -rc4.
> >
> > Here goes drm-intel-fixes-2021-03-11:
> >
> > - Wedge the GPU if command parser setup fails (Tvrtko)
> >
> > Thanks,
> > Rodrigo.
> >
> > The following changes since commit fe07bfda2fb9cdef8a4d4008a409bb02f35f1bd8:
> >
> >   Linux 5.12-rc1 (2021-02-28 16:05:19 -0800)
> 
> This was based on 5.12-rc1 against my request earlier in the week to
> not do that. but since it was a single patch I just cherry-picked it
> across.

I'm really sorry about that! It is so unusual to have this low influx
of patches at this round that I'm not used and end up forgetting to rebase.

> 
> Can we make sure no fixes or next based on rc1 arrive please.

Sure thing.

> 
> Dave.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [PULL] drm-intel-fixes

2021-03-11 Thread Dave Airlie
On Thu, 11 Mar 2021 at 21:28, Rodrigo Vivi  wrote:
>
> Hi Dave and Daniel,
>
> Things are very quiet. Only 1 fix this round.
> Since I will be out next week, if this trend continues I will
> accumulate 2 weeks and send when in -rc4.
>
> Here goes drm-intel-fixes-2021-03-11:
>
> - Wedge the GPU if command parser setup fails (Tvrtko)
>
> Thanks,
> Rodrigo.
>
> The following changes since commit fe07bfda2fb9cdef8a4d4008a409bb02f35f1bd8:
>
>   Linux 5.12-rc1 (2021-02-28 16:05:19 -0800)

This was based on 5.12-rc1 against my request earlier in the week to
not do that. but since it was a single patch I just cherry-picked it
across.

Can we make sure no fixes or next based on rc1 arrive please.

Dave.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [PULL] drm-intel-fixes

2021-01-07 Thread Daniel Vetter
On Thu, Jan 07, 2021 at 09:50:28AM +0200, Jani Nikula wrote:
> 
> Hi Dave & Daniel -
> 
> Pretty quiet still, but here's some cc: stable fixes.

Pulled, thanks.
-Daniel

> 
> (Well, one doesn't have the explicit stable tag, but the Fixes tag
> points at a commit in v3.9...)
> 
> drm-intel-fixes-2021-01-07:
> drm/i915 fixes for v5.11-rc3:
> - Use per-connector PM QoS tracking for DP aux communication
> - GuC firmware fix for older Cometlakes
> - Clear the gpu reloc and shadow batches
> 
> BR,
> Jani.
> 
> The following changes since commit e71ba9452f0b5b2e8dc8aa5445198cd9214a6a62:
> 
>   Linux 5.11-rc2 (2021-01-03 15:55:30 -0800)
> 
> are available in the Git repository at:
> 
>   git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2021-01-07
> 
> for you to fetch changes up to 9397d66212cdf7a21c66523f1583e5d63a609e84:
> 
>   drm/i915/dp: Track pm_qos per connector (2021-01-05 10:25:03 +0200)
> 
> 
> drm/i915 fixes for v5.11-rc3:
> - Use per-connector PM QoS tracking for DP aux communication
> - GuC firmware fix for older Cometlakes
> - Clear the gpu reloc and shadow batches
> 
> 
> Chris Wilson (2):
>   drm/i915/gt: Define guc firmware blob for older Cometlakes
>   drm/i915/dp: Track pm_qos per connector
> 
> Matthew Auld (2):
>   drm/i915: clear the shadow batch
>   drm/i915: clear the gpu reloc batch
> 
>  drivers/gpu/drm/i915/display/intel_display_types.h |  3 +++
>  drivers/gpu/drm/i915/display/intel_dp.c|  8 +--
>  drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c |  4 +++-
>  drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c   |  1 +
>  drivers/gpu/drm/i915/i915_cmd_parser.c | 27 
> --
>  drivers/gpu/drm/i915/i915_drv.c|  5 
>  drivers/gpu/drm/i915/i915_drv.h|  3 ---
>  7 files changed, 22 insertions(+), 29 deletions(-)
> 
> -- 
> Jani Nikula, Intel Open Source Graphics Center

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


Re: [PULL] drm-intel-fixes v2

2020-12-09 Thread Vivi, Rodrigo
On Wed, 2020-12-09 at 14:11 +0200, Ville Syrjälä wrote:
> On Thu, Dec 03, 2020 at 05:47:05AM -0800, Rodrigo Vivi wrote:
> > Hi Dave and Daniel,
> > 
> > Please ignore the pull request I had sent yesterday and use only
> > this one.
> > 
> > I had missed one patch: 14d1eaf08845 ("drm/i915/gt: Protect context
> > lifetime with RCU").
> > 
> > Also, please notice that the commit 6db58901c2aa
> > ("drm/i915/display: return earlier from
> > +intel_modeset_init() without display") was not actually a crucial
> > fix, but it
> > +allowed a clean pick of the use-after-free one.
> > 
> > Here goes drm-intel-fixes-2020-12-03:
> > Fixes for GPU hang, null dereference, suspend-resume, power
> > consumption, and use-after-free.
> > 
> > - Program mocs:63 for cache eviction on gen9 (Chris)
> > - Protect context lifetime with RCU (Chris)
> > - Split the breadcrumb spinlock between global and contexts (Chris)
> > - Retain default context state across shrinking (Venkata)
> > - Limit frequency drop to RPe on parking (Chris)
> > - Return earlier from intel_modeset_init() without display (Jani)
> > - Defer initial modeset until after GGTT is initialized (Chris)
> > 
> > Thanks,
> > Rodrigo.
> > 
> > The following changes since commit
> > b65054597872ce3aefbc6a666385eabdf9e288da:
> > 
> >   Linux 5.10-rc6 (2020-11-29 15:50:50 -0800)
> > 
> > are available in the Git repository at:
> > 
> >   git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-
> > 2020-12-03
> > 
> > for you to fetch changes up to
> > ccc9e67ab26feda7e62749bb54c05d7abe07dca9:
> > 
> >   drm/i915/display: Defer initial modeset until after GGTT is
> > initialised (2020-12-02 17:05:58 -0800)
> > 
> > 
> > Fixes for GPU hang, null dereference, suspend-resume, power
> > consumption, and use-after-free.
> > 
> > - Program mocs:63 for cache eviction on gen9 (Chris)
> > - Protect context lifetime with RCU (Chris)
> > - Split the breadcrumb spinlock between global and contexts (Chris)
> > - Retain default context state across shrinking (Venkata)
> > - Limit frequency drop to RPe on parking (Chris)
> > - Return earlier from intel_modeset_init() without display (Jani)
> > - Defer initial modeset until after GGTT is initialized (Chris)
> > 
> > 
> > Chris Wilson (5):
> >   drm/i915/gt: Program mocs:63 for cache eviction on gen9
> 
> That also needs
> commit 444fbf5d7058 ("drm/i915/gt: Declare gen9 has 64 mocs
> entries!")
> which seems to have not made it into this pull.

yeap, I'm sorry I have missed that one.
dim doesn't deal very well with fixes for fixes and I end up missing
that.

It is now on dif and will be part of this week's pull request.

Thanks for the heads up,
Rodrigo.

> 
> >   drm/i915/gt: Protect context lifetime with RCU
> >   drm/i915/gt: Split the breadcrumb spinlock between global and
> > contexts
> >   drm/i915/gt: Limit frequency drop to RPe on parking
> >   drm/i915/display: Defer initial modeset until after GGTT is
> > initialised
> > 
> > Jani Nikula (1):
> >   drm/i915/display: return earlier from intel_modeset_init()
> > without display
> > 
> > Venkata Ramana Nayana (1):
> >   drm/i915/gt: Retain default context state across shrinking
> > 
> >  drivers/gpu/drm/i915/display/intel_display.c  |  24 ++--
> >  drivers/gpu/drm/i915/gt/intel_breadcrumbs.c   | 168
> > ++
> >  drivers/gpu/drm/i915/gt/intel_breadcrumbs_types.h |   6 +-
> >  drivers/gpu/drm/i915/gt/intel_context.c   |  15 +-
> >  drivers/gpu/drm/i915/gt/intel_context_types.h |  23 ++-
> >  drivers/gpu/drm/i915/gt/intel_mocs.c  |  14 +-
> >  drivers/gpu/drm/i915/gt/intel_rps.c   |   4 +
> >  drivers/gpu/drm/i915/gt/shmem_utils.c |   7 +-
> >  drivers/gpu/drm/i915/i915_request.h   |   6 +-
> >  9 files changed, 143 insertions(+), 124 deletions(-)
> > ___
> > dim-tools mailing list
> > dim-to...@lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/dim-tools
> 

___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [PULL] drm-intel-fixes v2

2020-12-09 Thread Ville Syrjälä
On Thu, Dec 03, 2020 at 05:47:05AM -0800, Rodrigo Vivi wrote:
> Hi Dave and Daniel,
> 
> Please ignore the pull request I had sent yesterday and use only this one.
> 
> I had missed one patch: 14d1eaf08845 ("drm/i915/gt: Protect context lifetime 
> with RCU").
> 
> Also, please notice that the commit 6db58901c2aa ("drm/i915/display: return 
> earlier from
> +intel_modeset_init() without display") was not actually a crucial fix, but it
> +allowed a clean pick of the use-after-free one.
> 
> Here goes drm-intel-fixes-2020-12-03:
> Fixes for GPU hang, null dereference, suspend-resume, power consumption, and 
> use-after-free.
> 
> - Program mocs:63 for cache eviction on gen9 (Chris)
> - Protect context lifetime with RCU (Chris)
> - Split the breadcrumb spinlock between global and contexts (Chris)
> - Retain default context state across shrinking (Venkata)
> - Limit frequency drop to RPe on parking (Chris)
> - Return earlier from intel_modeset_init() without display (Jani)
> - Defer initial modeset until after GGTT is initialized (Chris)
> 
> Thanks,
> Rodrigo.
> 
> The following changes since commit b65054597872ce3aefbc6a666385eabdf9e288da:
> 
>   Linux 5.10-rc6 (2020-11-29 15:50:50 -0800)
> 
> are available in the Git repository at:
> 
>   git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2020-12-03
> 
> for you to fetch changes up to ccc9e67ab26feda7e62749bb54c05d7abe07dca9:
> 
>   drm/i915/display: Defer initial modeset until after GGTT is initialised 
> (2020-12-02 17:05:58 -0800)
> 
> 
> Fixes for GPU hang, null dereference, suspend-resume, power consumption, and 
> use-after-free.
> 
> - Program mocs:63 for cache eviction on gen9 (Chris)
> - Protect context lifetime with RCU (Chris)
> - Split the breadcrumb spinlock between global and contexts (Chris)
> - Retain default context state across shrinking (Venkata)
> - Limit frequency drop to RPe on parking (Chris)
> - Return earlier from intel_modeset_init() without display (Jani)
> - Defer initial modeset until after GGTT is initialized (Chris)
> 
> 
> Chris Wilson (5):
>   drm/i915/gt: Program mocs:63 for cache eviction on gen9

That also needs
commit 444fbf5d7058 ("drm/i915/gt: Declare gen9 has 64 mocs entries!")
which seems to have not made it into this pull.

>   drm/i915/gt: Protect context lifetime with RCU
>   drm/i915/gt: Split the breadcrumb spinlock between global and contexts
>   drm/i915/gt: Limit frequency drop to RPe on parking
>   drm/i915/display: Defer initial modeset until after GGTT is initialised
> 
> Jani Nikula (1):
>   drm/i915/display: return earlier from intel_modeset_init() without 
> display
> 
> Venkata Ramana Nayana (1):
>   drm/i915/gt: Retain default context state across shrinking
> 
>  drivers/gpu/drm/i915/display/intel_display.c  |  24 ++--
>  drivers/gpu/drm/i915/gt/intel_breadcrumbs.c   | 168 
> ++
>  drivers/gpu/drm/i915/gt/intel_breadcrumbs_types.h |   6 +-
>  drivers/gpu/drm/i915/gt/intel_context.c   |  15 +-
>  drivers/gpu/drm/i915/gt/intel_context_types.h |  23 ++-
>  drivers/gpu/drm/i915/gt/intel_mocs.c  |  14 +-
>  drivers/gpu/drm/i915/gt/intel_rps.c   |   4 +
>  drivers/gpu/drm/i915/gt/shmem_utils.c |   7 +-
>  drivers/gpu/drm/i915/i915_request.h   |   6 +-
>  9 files changed, 143 insertions(+), 124 deletions(-)
> ___
> dim-tools mailing list
> dim-to...@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dim-tools

-- 
Ville Syrjälä
Intel
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [PULL] drm-intel-fixes

2020-12-02 Thread Rodrigo Vivi
On Wed, Dec 02, 2020 at 04:36:24PM -0800, Rodrigo Vivi wrote:
> Hi Dave and Daniel,
> 
> Fixes for GPU hang, null dereference, suspend-resume, power consumption, and 
> use-after-free.
> 
> The commit 6db58901c2aa ("drm/i915/display: return earlier from 
> intel_modeset_init() without display") was not actually a crucial fix, but it 
> allowed a clean pick of the use-after-free one.
> 
> Here goes drm-intel-fixes-2020-12-02:
> 
> Fixes for GPU hang, null dereference, suspend-resume, power consumption, and 
> use-after-free.
> 
> - Program mocs:63 for cache eviction on gen9 (Chris)
> - Split the breadcrumb spinlock between global and contexts (Chris)

Please ignore this for now. I was informed that I missed one patch
that helps this one here. So I'm going to push a new fixes branch now
and will prepare another pull request tomorrow.

> - Retain default context state across shrinking (Venkata)
> - Limit frequency drop to RPe on parking (Chris)
> - Return earlier from intel_modeset_init() without display (Jani)
> - Defer initial modeset until after GGTT is initialized (Chris).
> 
> Thanks,
> Rodrigo.
> 
> The following changes since commit b65054597872ce3aefbc6a666385eabdf9e288da:
> 
>   Linux 5.10-rc6 (2020-11-29 15:50:50 -0800)
> 
> are available in the Git repository at:
> 
>   git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2020-12-02
> 
> for you to fetch changes up to f2f2b21feadcb1eb08687a8b20dcf6442d22be18:
> 
>   drm/i915/display: Defer initial modeset until after GGTT is initialised 
> (2020-12-01 08:36:37 -0800)
> 
> 
> Fixes for GPU hang, null dereference, suspend-resume, power consumption, and 
> use-after-free.
> 
> - Program mocs:63 for cache eviction on gen9 (Chris)
> - Split the breadcrumb spinlock between global and contexts (Chris)
> - Retain default context state across shrinking (Venkata)
> - Limit frequency drop to RPe on parking (Chris)
> - Return earlier from intel_modeset_init() without display (Jani)
> - Defer initial modeset until after GGTT is initialized (Chris).
> 
> 
> Chris Wilson (4):
>   drm/i915/gt: Program mocs:63 for cache eviction on gen9
>   drm/i915/gt: Split the breadcrumb spinlock between global and contexts
>   drm/i915/gt: Limit frequency drop to RPe on parking
>   drm/i915/display: Defer initial modeset until after GGTT is initialised
> 
> Jani Nikula (1):
>   drm/i915/display: return earlier from intel_modeset_init() without 
> display
> 
> Venkata Ramana Nayana (1):
>   drm/i915/gt: Retain default context state across shrinking
> 
>  drivers/gpu/drm/i915/display/intel_display.c  |  24 ++--
>  drivers/gpu/drm/i915/gt/intel_breadcrumbs.c   | 168 
> ++
>  drivers/gpu/drm/i915/gt/intel_breadcrumbs_types.h |   6 +-
>  drivers/gpu/drm/i915/gt/intel_context.c   |   3 +-
>  drivers/gpu/drm/i915/gt/intel_context_types.h |  12 +-
>  drivers/gpu/drm/i915/gt/intel_mocs.c  |  14 +-
>  drivers/gpu/drm/i915/gt/intel_rps.c   |   4 +
>  drivers/gpu/drm/i915/gt/shmem_utils.c |   7 +-
>  drivers/gpu/drm/i915/i915_request.h   |   6 +-
>  9 files changed, 124 insertions(+), 120 deletions(-)
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [PULL] drm-intel-fixes

2020-11-12 Thread Vivi, Rodrigo



> On Nov 12, 2020, at 4:32 PM, Dave Airlie  wrote:
> 
> On Fri, 13 Nov 2020 at 09:08, Rodrigo Vivi  wrote:
>> 
>> Hi Dave and Daniel,
>> 
>> This is the same set as last week + couple new fixes targeting stable.
>> 
> 
> But I merged last weeks set and it's in rc3, maybe you can generate
> the pull request relative to origin/master or drm/drm-fixes because
> I'm not sure which bits to edit out here.

oh, of course... bad rebase on my part. Sorry...
Please ignore this one. I'm going to generate another one soon.

> 
> Dave.
> 
>> Thanks,
>> Rodrigo.
>> 
>> drm-intel-fixes-2020-11-12-1:
>> - GVT fixes including vGPU suspend/resume fixes and workaround for APL guest 
>> GPU hang.
>> - Fix set domain's cache coherency (Chris)
>> - Fixes around breadcrumbs (Chris)
>> - Fix encoder lookup during PSR atomic (Imre)
>> - Hold onto an explicit ref to i915_vma_work.pinned (Chris)
>> - Pull phys pread/pwrite implementations to the backend (Chris)
>> - Correctly set SFC capability for video engines
>> The following changes since commit 3cea11cd5e3b00d91caf0b4730194039b45c5891:
>> 
>>  Linux 5.10-rc2 (2020-11-01 14:43:51 -0800)
>> 
>> are available in the Git repository at:
>> 
>>  git://anongit.freedesktop.org/drm/drm-intel 
>> tags/drm-intel-fixes-2020-11-12-1
>> 
>> for you to fetch changes up to a4264790f4c2f0062d27d8173344c914bc7884e0:
>> 
>>  drm/i915: Correctly set SFC capability for video engines (2020-11-12 
>> 16:41:54 -0500)
>> 
>> 
>> - GVT fixes including vGPU suspend/resume fixes and workaround for APL guest 
>> GPU hang.
>> - Fix set domain's cache coherency (Chris)
>> - Fixes around breadcrumbs (Chris)
>> - Fix encoder lookup during PSR atomic (Imre)
>> - Hold onto an explicit ref to i915_vma_work.pinned (Chris)
>> - Pull phys pread/pwrite implementations to the backend (Chris)
>> - Correctly set SFC capability for video engines
>> 
>> 
>> Chris Wilson (6):
>>  drm/i915/gem: Flush coherency domains on first set-domain-ioctl
>>  drm/i915/gt: Use the local HWSP offset during submission
>>  drm/i915/gt: Expose more parameters for emitting writes into the ring
>>  drm/i915/gt: Flush xcs before tgl breadcrumbs
>>  drm/i915: Hold onto an explicit ref to i915_vma_work.pinned
>>  drm/i915/gem: Pull phys pread/pwrite implementations to the backend
>> 
>> Colin Xu (4):
>>  drm/i915/gvt: Allow zero out HWSP addr on hws_pga_write
>>  drm/i915/gvt: Set SNOOP for PAT3 on BXT/APL to workaround GPU BB hang
>>  drm/i915/gvt: Only pin/unpin intel_context along with workload
>>  drm/i915/gvt: Fix mmio handler break on BXT/APL.
>> 
>> Imre Deak (1):
>>  drm/i915: Fix encoder lookup during PSR atomic check
>> 
>> Matthew Auld (1):
>>  drm/i915/gem: Allow backends to override pread implementation
>> 
>> Venkata Sandeep Dhanalakota (1):
>>  drm/i915: Correctly set SFC capability for video engines
>> 
>> drivers/gpu/drm/i915/display/intel_psr.c |  2 +-
>> drivers/gpu/drm/i915/gem/i915_gem_domain.c   | 28 ++--
>> drivers/gpu/drm/i915/gem/i915_gem_object_types.h |  2 +
>> drivers/gpu/drm/i915/gem/i915_gem_phys.c | 55 
>> 
>> drivers/gpu/drm/i915/gt/intel_engine.h   | 55 
>> +++-
>> drivers/gpu/drm/i915/gt/intel_engine_cs.c|  3 +-
>> drivers/gpu/drm/i915/gt/intel_lrc.c  | 31 +
>> drivers/gpu/drm/i915/gt/intel_timeline.c | 18 
>> drivers/gpu/drm/i915/gt/intel_timeline_types.h   |  2 +
>> drivers/gpu/drm/i915/gvt/handlers.c  | 47 ++--
>> drivers/gpu/drm/i915/gvt/scheduler.c | 15 ---
>> drivers/gpu/drm/i915/i915_gem.c  | 32 +++---
>> drivers/gpu/drm/i915/i915_vma.c  |  6 ++-
>> 13 files changed, 204 insertions(+), 92 deletions(-)

___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [PULL] drm-intel-fixes

2020-11-12 Thread Dave Airlie
On Fri, 13 Nov 2020 at 09:08, Rodrigo Vivi  wrote:
>
> Hi Dave and Daniel,
>
> This is the same set as last week + couple new fixes targeting stable.
>

But I merged last weeks set and it's in rc3, maybe you can generate
the pull request relative to origin/master or drm/drm-fixes because
I'm not sure which bits to edit out here.

Dave.

> Thanks,
> Rodrigo.
>
> drm-intel-fixes-2020-11-12-1:
> - GVT fixes including vGPU suspend/resume fixes and workaround for APL guest 
> GPU hang.
> - Fix set domain's cache coherency (Chris)
> - Fixes around breadcrumbs (Chris)
> - Fix encoder lookup during PSR atomic (Imre)
> - Hold onto an explicit ref to i915_vma_work.pinned (Chris)
> - Pull phys pread/pwrite implementations to the backend (Chris)
> - Correctly set SFC capability for video engines
> The following changes since commit 3cea11cd5e3b00d91caf0b4730194039b45c5891:
>
>   Linux 5.10-rc2 (2020-11-01 14:43:51 -0800)
>
> are available in the Git repository at:
>
>   git://anongit.freedesktop.org/drm/drm-intel 
> tags/drm-intel-fixes-2020-11-12-1
>
> for you to fetch changes up to a4264790f4c2f0062d27d8173344c914bc7884e0:
>
>   drm/i915: Correctly set SFC capability for video engines (2020-11-12 
> 16:41:54 -0500)
>
> 
> - GVT fixes including vGPU suspend/resume fixes and workaround for APL guest 
> GPU hang.
> - Fix set domain's cache coherency (Chris)
> - Fixes around breadcrumbs (Chris)
> - Fix encoder lookup during PSR atomic (Imre)
> - Hold onto an explicit ref to i915_vma_work.pinned (Chris)
> - Pull phys pread/pwrite implementations to the backend (Chris)
> - Correctly set SFC capability for video engines
>
> 
> Chris Wilson (6):
>   drm/i915/gem: Flush coherency domains on first set-domain-ioctl
>   drm/i915/gt: Use the local HWSP offset during submission
>   drm/i915/gt: Expose more parameters for emitting writes into the ring
>   drm/i915/gt: Flush xcs before tgl breadcrumbs
>   drm/i915: Hold onto an explicit ref to i915_vma_work.pinned
>   drm/i915/gem: Pull phys pread/pwrite implementations to the backend
>
> Colin Xu (4):
>   drm/i915/gvt: Allow zero out HWSP addr on hws_pga_write
>   drm/i915/gvt: Set SNOOP for PAT3 on BXT/APL to workaround GPU BB hang
>   drm/i915/gvt: Only pin/unpin intel_context along with workload
>   drm/i915/gvt: Fix mmio handler break on BXT/APL.
>
> Imre Deak (1):
>   drm/i915: Fix encoder lookup during PSR atomic check
>
> Matthew Auld (1):
>   drm/i915/gem: Allow backends to override pread implementation
>
> Venkata Sandeep Dhanalakota (1):
>   drm/i915: Correctly set SFC capability for video engines
>
>  drivers/gpu/drm/i915/display/intel_psr.c |  2 +-
>  drivers/gpu/drm/i915/gem/i915_gem_domain.c   | 28 ++--
>  drivers/gpu/drm/i915/gem/i915_gem_object_types.h |  2 +
>  drivers/gpu/drm/i915/gem/i915_gem_phys.c | 55 
> 
>  drivers/gpu/drm/i915/gt/intel_engine.h   | 55 
> +++-
>  drivers/gpu/drm/i915/gt/intel_engine_cs.c|  3 +-
>  drivers/gpu/drm/i915/gt/intel_lrc.c  | 31 +
>  drivers/gpu/drm/i915/gt/intel_timeline.c | 18 
>  drivers/gpu/drm/i915/gt/intel_timeline_types.h   |  2 +
>  drivers/gpu/drm/i915/gvt/handlers.c  | 47 ++--
>  drivers/gpu/drm/i915/gvt/scheduler.c | 15 ---
>  drivers/gpu/drm/i915/i915_gem.c  | 32 +++---
>  drivers/gpu/drm/i915/i915_vma.c  |  6 ++-
>  13 files changed, 204 insertions(+), 92 deletions(-)
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [PULL] drm-intel-fixes

2020-01-09 Thread Joonas Lahtinen
Quoting Joonas Lahtinen (2020-01-09 15:34:58)
> Hi Dave & Daniel,
> 
> Happy New Year, now back from the holiday break.
> 
> A bunch of important fixes. Further fixes for the power/perf
> regressions caused by the past security fixes. Then fix for
> user reported GPU hang regression. Revert to avoid screen flicker
> caused by HDA audio. Then missing two W/A and uninitialized uAPI
> variable fix.

Forgot to mention:

Fix for GitLab issue #5: Avoid multiple WARN_ON on 2p2c display teardown

Regards, Joonas
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [PULL] drm-intel-fixes

2019-12-23 Thread Chris Wilson
Quoting Joonas Lahtinen (2019-12-19 12:46:35)
> Hi Dave & Daniel,
> 
> Another -rc, another CI fire due to regressions elsewhere.
> 
> Our CI needed the following patches to get machines boot with -rc2:
> 
> Revert "devtmpfs: use do_mount() instead of ksys_mount()"
> (commit 5e787dbf659fe77d56215be74044f85e01b3920f)
> 
> Revert "initrd: use do_mount() instead of ksys_mount()"
> (commit d4440aac83d12f87df9bcc51e992b9c28c7f4fa5)
> 
> Revert "init: use do_mount() instead of ksys_mount()"
> (commit cccaa5e33525fc07f4a2ce0518e50b9ddf435e47)
> 
> I have queued CI_DIF_433 with this PR contents + reverts to get any
> CI results:
> 
> https://intel-gfx-ci.01.org/tree/drm-intel-fixes/CI_DIF_433/git-log.txt
> 
> Nothing appears in the UI for the failed-to-boot runs, so don't be
> confused. CI_DIF_433 is equal to this PR + 3 reverts needed to mitigate
> the -rc2 regressions.
> 
> Due to the CI fires, it may take a while to get the full results. Due to
> my holidays, I'll defer to Chris to let you know if the results are good
> or not. There have been some GEM bugs tackled in drm-tip, so have to make
> sure they are under control.

Nothing unexpected turned up by CI, i.e. its as good as can be.
-Chris
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [PULL] drm-intel-fixes

2019-10-03 Thread Ville Syrjälä
On Thu, Oct 03, 2019 at 10:58:52AM -0700, Rodrigo Vivi wrote:
> Hi Dave and Daniel,
> 
> I know you are on XDC and I was even considering not send any this week,
> but let me send this before I forget.
> 
> There are the drm-intel-next-fixes pull requests that I had sent
> that are still needed and it would be good if you could pull those.
> 
> Besides we have more 2 fixes here.
> 
> If necessary and easier I can send all fixes together next week, including
> the ones missed on -rc1 and these ones here plus any upcoming.
> 
> Just let me know how you prefer.
> 
> Here goes drm-intel-fixes-2019-10-03:
> 
> - Fix dsc dpp calculations
> - Fix g4x sprite scaling stride check with GTT remapping

Where is e838bfa8e170 ("Revert "drm/i915: Fix DP-MST crtc_mask"") ?
I can't see it in any fixes branch. That needs to get in ASAP.

> 
> Thanks,
> Rodrigo.
> 
> The following changes since commit 54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c:
> 
>   Linux 5.4-rc1 (2019-09-30 10:35:40 -0700)
> 
> are available in the Git repository at:
> 
>   git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2019-10-03
> 
> for you to fetch changes up to eb0192fed016db1c5a9701cd6ca47233ff4a43e5:
> 
>   drm/i915: Fix g4x sprite scaling stride check with GTT remapping 
> (2019-10-02 22:20:33 -0700)
> 
> 
> - Fix dsc dpp calculations
> - Fix g4x sprite scaling stride check with GTT remapping
> 
> 
> Maarten Lankhorst (1):
>   drm/i915/dp: Fix dsc bpp calculations, v5.
> 
> Ville Syrjälä (1):
>   drm/i915: Fix g4x sprite scaling stride check with GTT remapping
> 
>  drivers/gpu/drm/i915/display/intel_display.c |  12 +-
>  drivers/gpu/drm/i915/display/intel_display.h |   2 +-
>  drivers/gpu/drm/i915/display/intel_dp.c  | 184 
> ++-
>  drivers/gpu/drm/i915/display/intel_dp.h  |   6 +-
>  drivers/gpu/drm/i915/display/intel_dp_mst.c  |   2 +-
>  drivers/gpu/drm/i915/display/intel_sprite.c  |   5 +-
>  6 files changed, 110 insertions(+), 101 deletions(-)
> ___
> dim-tools mailing list
> dim-to...@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dim-tools

-- 
Ville Syrjälä
Intel
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PULL] drm-intel-fixes

2019-08-15 Thread Daniel Vetter
On Thu, Aug 15, 2019 at 9:42 AM Jani Nikula  wrote:
>
>
> Hi Dave & Daniel -
>
> One use after free fix for GVT.
>
> It doesn't have a Link: tag because dim doesn't check that while
> applying the pull, and, for some reason, it was also not checked when I
> pushed out the branch. Possibly because it's in a merge? Anyway, I only
> got the complaint when making the pull request, which is too late.

Hm, sounds like the flag settings for the checker are wrong, for
"foreign" trees dim doesn't insist on the Link: tag. So maybe need to
flip that around to match what we do on the receiving end of a pull?
-Daniel

>
> drm-intel-fixes-2019-08-15:
> drm/i915 fixes for v5.4-rc5:
> - GVT use-after-free fix
>
> BR,
> Jani.
>
> The following changes since commit d45331b00ddb179e291766617259261c112db872:
>
>   Linux 5.3-rc4 (2019-08-11 13:26:41 -0700)
>
> are available in the Git repository at:
>
>   git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2019-08-15
>
> for you to fetch changes up to daa37200d48906d71c63ce178bf7d410b7e07082:
>
>   Merge tag 'gvt-fixes-2019-08-13' of https://github.com/intel/gvt-linux into 
> drm-intel-fixes (2019-08-13 16:26:34 +0300)
>
> 
> drm/i915 fixes for v5.4-rc5:
> - GVT use-after-free fix
>
> 
> Dan Carpenter (1):
>   drm/i915: Use after free in error path in intel_vgpu_create_workload()
>
> Jani Nikula (1):
>   Merge tag 'gvt-fixes-2019-08-13' of https://github.com/intel/gvt-linux 
> into drm-intel-fixes
>
>  drivers/gpu/drm/i915/gvt/scheduler.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> --
> Jani Nikula, Intel Open Source Graphics Center



-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PULL] drm-intel-fixes

2019-08-02 Thread Gerd Hoffmann
  Hi,

> I apologize for not having fixes for a couple of weeks, and then showing
> up late with a bunch of them. I saw Dave make the fixes pull to Linus
> for -rc3 already, but I must humbly ask you to accommodate an extra
> fixes pull.

If there is an extra -rc3 fixes pull anyway it would be nice to also
pick up the drm-misc-fixes patches to unbreak qemu stdvga fbcon.

thanks,
  Gerd

___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PULL] drm-intel-fixes

2019-06-13 Thread Daniel Vetter
On Thu, Jun 13, 2019 at 12:32:39PM +0300, Jani Nikula wrote:
> 
> Hi Dave, Daniel, on behalf of Joonas,
> 
> drm-intel-fixes-2019-06-13:
> drm/i915 fixes for v5.2-rc5:
> - Fix DMC firmware input validation to avoid buffer overflow
> - Fix perf register access whitelist for userspace
> - Fix DSI panel on GPD MicroPC
> - Fix per-pixel alpha with CCS
> - Fix HDMI audio for SDVO

Pulled, thanks.
-Daniel

> 
> BR,
> Jani.
> 
> The following changes since commit d1fdb6d8f6a4109a4263176c84b899076a5f8008:
> 
>   Linux 5.2-rc4 (2019-06-08 20:24:46 -0700)
> 
> are available in the Git repository at:
> 
>   git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2019-06-13
> 
> for you to fetch changes up to c5cc0bf870cfb80b27899e916b4397ce11c61d96:
> 
>   drm/i915/perf: fix whitelist on Gen10+ (2019-06-12 10:42:22 +0300)
> 
> 
> drm/i915 fixes for v5.2-rc5:
> - Fix DMC firmware input validation to avoid buffer overflow
> - Fix perf register access whitelist for userspace
> - Fix DSI panel on GPD MicroPC
> - Fix per-pixel alpha with CCS
> - Fix HDMI audio for SDVO
> 
> 
> Hans de Goede (1):
>   drm/i915/dsi: Use a fuzzy check for burst mode clock check
> 
> Lionel Landwerlin (1):
>   drm/i915/perf: fix whitelist on Gen10+
> 
> Lucas De Marchi (1):
>   drm/i915/dmc: protect against reading random memory
> 
> Ville Syrjälä (2):
>   drm/i915: Fix per-pixel alpha with CCS
>   drm/i915/sdvo: Implement proper HDMI audio support for SDVO
> 
>  drivers/gpu/drm/i915/i915_perf.c   |  1 +
>  drivers/gpu/drm/i915/i915_reg.h|  1 +
>  drivers/gpu/drm/i915/intel_csr.c   | 18 +++
>  drivers/gpu/drm/i915/intel_display.c   | 14 +---
>  drivers/gpu/drm/i915/intel_drv.h   |  1 +
>  drivers/gpu/drm/i915/intel_dsi_vbt.c   | 11 +++
>  drivers/gpu/drm/i915/intel_sdvo.c  | 58 
> +++---
>  drivers/gpu/drm/i915/intel_sdvo_regs.h |  3 ++
>  8 files changed, 91 insertions(+), 16 deletions(-)
> 
> -- 
> Jani Nikula, Intel Open Source Graphics Center

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

Re: [PULL] drm-intel-fixes

2019-03-28 Thread Jani Nikula
On Thu, 28 Mar 2019, Jani Nikula  wrote:
> Hi Dave and Daniel, a fairly normal fixes pull.
>
> drm-intel-fixes-2019-03-28:
> drm/i915 fixes for v5.2-rc3:
> - fix mmap range checks
> - fix gvt ppgtt mm LRU list access races
> - fix selftest error pointer check
> - fix a macro definition (pre-emptive for potential further backports)
> - fix one AML SKU ULX status

Hum, the log dim opened in gitk failed to include some of the gvt
changes listed in the changelog below. The gvt merge commit additionally
lists:

- Fix MI_FLUSH_DW cmd parser on index check (Zhenyu)
- Fix Windows guest font render error (Colin)
- Fix unexpected workload submission for inactive vGPU (Weinan)
- Fix incorrect workload submission in error path (Zhenyu)
- Fix warning for shadow ppgtt mm reclaim list walk with locking (Zhenyu)

BR,
Jani.

>
> BR,
> Jani.
>
> The following changes since commit 000c4f90e3f0194eef218ff2c6a8fd8ca1de4313:
>
>   drm/i915: Sanity check mmap length against object size (2019-03-18 13:59:42 
> -0700)
>
> are available in the Git repository at:
>
>   git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2019-03-28
>
> for you to fetch changes up to 26cdaac4793c49357d2c731f2190632cefb7efb1:
>
>   drm/i915/icl: Fix VEBOX mismatch BUG_ON() (2019-03-28 15:36:40 +0200)
>
> 
> drm/i915 fixes for v5.2-rc3:
> - fix mmap range checks
> - fix gvt ppgtt mm LRU list access races
> - fix selftest error pointer check
> - fix a macro definition (pre-emptive for potential further backports)
> - fix one AML SKU ULX status
>
> 
> Colin Xu (1):
>   drm/i915/gvt: Add in context mmio 0x20D8 to gen9 mmio list
>
> Dan Carpenter (1):
>   drm/i915/selftests: Fix an IS_ERR() vs NULL check
>
> José Roberto de Souza (1):
>   drm/i915/icl: Fix VEBOX mismatch BUG_ON()
>
> Manasi Navare (1):
>   drm/i915/icl: Fix the TRANS_DDI_FUNC_CTL2 bitfield macro
>
> Rodrigo Vivi (1):
>   Merge tag 'gvt-fixes-2019-03-21' of https://github.com/intel/gvt-linux 
> into drm-intel-fixes
>
> Ville Syrjälä (1):
>   drm/i915: Mark AML 0x87CA as ULX
>
> Weinan Li (1):
>   drm/i915/gvt: stop scheduling workload when vgpu is inactive
>
> Zhenyu Wang (4):
>   drm/i915/gvt: Fix MI_FLUSH_DW parsing with correct index check
>   drm/i915/gvt: Don't submit request for error workload dispatch
>   drm/i915/gvt: Only assign ppgtt root at dispatch time
>   drm/i915/gvt: Add mutual lock for ppgtt mm LRU list
>
>  drivers/gpu/drm/i915/gvt/cmd_parser.c   |  2 +-
>  drivers/gpu/drm/i915/gvt/gtt.c  | 14 -
>  drivers/gpu/drm/i915/gvt/gtt.h  |  1 +
>  drivers/gpu/drm/i915/gvt/mmio_context.c |  1 +
>  drivers/gpu/drm/i915/gvt/scheduler.c| 28 
> ++---
>  drivers/gpu/drm/i915/i915_drv.h |  3 ++-
>  drivers/gpu/drm/i915/i915_reg.h |  4 ++--
>  drivers/gpu/drm/i915/selftests/i915_gem_evict.c |  2 +-
>  8 files changed, 41 insertions(+), 14 deletions(-)

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

Re: [PULL] drm-intel-fixes

2019-01-11 Thread Daniel Vetter
On Fri, Jan 11, 2019 at 11:18:22AM +0200, Jani Nikula wrote:
> 
> Hi Dave & Daniel -
> 
> drm-intel-fixes-2019-01-11:
> i915 fixes for v5.0-rc2:
> - Disable PSR for Apple panels
> - Broxton ERR_PTR error state fix
> - Kabylake VECS workaround fix
> - Unwind failure on pinning the gen7 ppgtt
> - GVT workload request allocation fix

Applied, thanks.
-Daniel

> 
> BR,
> Jani.
> 
> The following changes since commit bfeffd155283772bbe78c6a05dec7c0128ee500c:
> 
>   Linux 5.0-rc1 (2019-01-06 17:08:20 -0800)
> 
> are available in the Git repository at:
> 
>   git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2019-01-11
> 
> for you to fetch changes up to f299e0bdbaeb60fd8829f42e53a7457cc5a6f4a2:
> 
>   drm: Fix documentation generation for DP_DPCD_QUIRK_NO_PSR (2019-01-10 
> 15:12:48 +0200)
> 
> 
> i915 fixes for v5.0-rc2:
> - Disable PSR for Apple panels
> - Broxton ERR_PTR error state fix
> - Kabylake VECS workaround fix
> - Unwind failure on pinning the gen7 ppgtt
> - GVT workload request allocation fix
> 
> 
> Chris Wilson (2):
>   drm/i915: Skip the ERR_PTR error state
>   drm/i915: Unwind failure on pinning the gen7 ppgtt
> 
> Daniele Ceraolo Spurio (1):
>   drm/i915: init per-engine WAs for all engines
> 
> Jani Nikula (1):
>   Merge tag 'gvt-fixes-2019-01-09' of https://github.com/intel/gvt-linux 
> into drm-intel-fixes
> 
> José Roberto de Souza (2):
>   drm/i915: Disable PSR in Apple panels
>   drm: Fix documentation generation for DP_DPCD_QUIRK_NO_PSR
> 
> Zhenyu Wang (1):
>   drm/i915/gvt: Fix workload request allocation before request add
> 
>  drivers/gpu/drm/drm_dp_helper.c   |  2 ++
>  drivers/gpu/drm/i915/gvt/scheduler.c  | 64 
> +++
>  drivers/gpu/drm/i915/gvt/scheduler.h  |  1 +
>  drivers/gpu/drm/i915/i915_debugfs.c   | 12 +--
>  drivers/gpu/drm/i915/i915_gem_gtt.c   | 15 ++--
>  drivers/gpu/drm/i915/i915_gpu_error.c | 23 -
>  drivers/gpu/drm/i915/i915_sysfs.c |  4 ++-
>  drivers/gpu/drm/i915/intel_lrc.c  |  3 +-
>  drivers/gpu/drm/i915/intel_psr.c  |  6 
>  include/drm/drm_dp_helper.h   |  7 
>  10 files changed, 98 insertions(+), 39 deletions(-)
> 
> -- 
> Jani Nikula, Intel Open Source Graphics Center

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


Re: [PULL] drm-intel-fixes

2017-09-20 Thread Jani Nikula
On Wed, 20 Sep 2017, Dave Airlie  wrote:
> On 20 September 2017 at 15:43, Dave Airlie  wrote:
>> On 20 September 2017 at 09:03, Rodrigo Vivi  wrote:
>>> Hi Dave,
>>
>> Hi Rodrigo,
>>
>> This pull request is generated wrongly, it contains some commits from
>> drm-next in it.
>
> Sorry contains some commits from drm-fixes in it.
>>
>> Please regenerate it, I'm assuming you generated against 4.14-rc1 and
>> not against drm-next.
>
> not against drm-fixes :-)

I believe the issue is that Rodrigo rebased drm-intel-fixes on top of
drm-fixes, not Linus' tags like we've used to do this. Rodrigo, when you
do this, you need to pass drm-fixes as the upstream for 'dim
pull-request-fixes'. It defaults to Linus' tree for the fixes pulls.

But going forward, I think we'll prefer Linus' tags as baseline for
fixes pulls like before. And I think the lesson is to always have a
sanity check glance at the shortlog.

Anyway, I promised better docs for Rodrigo and Joonas before -rc1, my
fail.

BR,
Jani.


-- 
Jani Nikula, Intel Open Source Technology Center
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [PULL] drm-intel-fixes

2017-09-19 Thread Dave Airlie
On 20 September 2017 at 15:43, Dave Airlie  wrote:
> On 20 September 2017 at 09:03, Rodrigo Vivi  wrote:
>> Hi Dave,
>
> Hi Rodrigo,
>
> This pull request is generated wrongly, it contains some commits from
> drm-next in it.

Sorry contains some commits from drm-fixes in it.
>
> Please regenerate it, I'm assuming you generated against 4.14-rc1 and
> not against drm-next.

not against drm-fixes :-)

Dave.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [PULL] drm-intel-fixes

2017-09-19 Thread Dave Airlie
On 20 September 2017 at 09:03, Rodrigo Vivi  wrote:
> Hi Dave,

Hi Rodrigo,

This pull request is generated wrongly, it contains some commits from
drm-next in it.

Please regenerate it, I'm assuming you generated against 4.14-rc1 and
not against drm-next.

Dave.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [PULL] drm-intel-fixes

2017-04-12 Thread Daniel Vetter
On Wed, Apr 12, 2017 at 4:06 PM, Jani Nikula  wrote:
>
> Hi Dave, I've had most of these ready for more than a week now, but
> there was no use sending them as you were away. Fixes all around, except
> not so much display stuff this time. Hopefully winding down for this
> cycle now.

The rcu fix from Joonas was discussed quite a bit on the m-l, and
should fix the 4.11 stability regression a bunch of people reported.
Just wanted to highlight that one, it's an interesting debug story.
-Daniel
>
> BR,
> Jani.
>
> The following changes since commit 0abfe7e2570d7c729a7662e82c09a23f00f29346:
>
>   drm/i915: Restore marking context objects as dirty on pinning (2017-03-27 
> 11:56:27 +0300)
>
> are available in the git repository at:
>
>   git://anongit.freedesktop.org/git/drm-intel tags/drm-intel-fixes-2017-04-12
>
> for you to fetch changes up to c053b5a506d3afc038c485a86e3d461f6c7fb207:
>
>   drm/i915: Don't call synchronize_rcu_expedited under struct_mutex 
> (2017-04-11 13:25:18 +0300)
>
> 
> drm/i915 fixes for v4.11-rc7
>
> 
> Changbin Du (1):
>   drm/i915/gvt: exclude cfg space from failsafe mode
>
> Chris Wilson (5):
>   drm/i915: Align "unfenced" tiled access on gen2, early gen3
>   drm/i915/execlists: Wrap tail pointer after reset tweaking
>   drm/i915: Avoid lock dropping between rescheduling
>   drm/i915: Ironlake do_idle_maps w/a may be called w/o struct_mutex
>   drm/i915: Use a dummy timeline name for a signaled fence
>
> Jani Nikula (2):
>   Merge tag 'gvt-fixes-2017-04-01' of https://github.com/01org/gvt-linux 
> into drm-intel-fixes
>   Merge tag 'gvt-fixes-2017-04-07' of https://github.com/01org/gvt-linux 
> into drm-intel-fixes
>
> Joonas Lahtinen (1):
>   drm/i915: Don't call synchronize_rcu_expedited under struct_mutex
>
> Matthew Auld (2):
>   drm/i915/perf: destroy stream on sample_flags mismatch
>   drm/i915/perf: remove user triggerable warn
>
> Min He (1):
>   drm/i915/gvt: set the correct default value of CTX STATUS PTR
>
> Sagar Arun Kamble (1):
>   drm/i915: Suspend GuC prior to GPU Reset during GEM suspend
>
> Tina Zhang (1):
>   drm/i915/gvt: remove the redundant info NULL check
>
> Zhenyu Wang (1):
>   drm/i915/gvt: adjust mem size for low resolution type
>
> Zhi Wang (2):
>   drm/i915/gvt: Activate/de-activate vGPU in mdev ops.
>   drm/i915/gvt: Fix firmware loading interface for GVT-g golden HW state
>
>  drivers/gpu/drm/i915/gvt/cfg_space.c   |  3 --
>  drivers/gpu/drm/i915/gvt/execlist.c|  3 +-
>  drivers/gpu/drm/i915/gvt/firmware.c|  9 +++--
>  drivers/gpu/drm/i915/gvt/gvt.c |  2 ++
>  drivers/gpu/drm/i915/gvt/gvt.h |  5 ++-
>  drivers/gpu/drm/i915/gvt/kvmgt.c   | 11 +++---
>  drivers/gpu/drm/i915/gvt/vgpu.c| 45 +++
>  drivers/gpu/drm/i915/i915_drv.c|  2 --
>  drivers/gpu/drm/i915/i915_drv.h|  1 +
>  drivers/gpu/drm/i915/i915_gem.c|  2 ++
>  drivers/gpu/drm/i915/i915_gem_execbuffer.c |  4 ++-
>  drivers/gpu/drm/i915/i915_gem_gtt.c|  2 +-
>  drivers/gpu/drm/i915/i915_gem_request.c| 11 ++
>  drivers/gpu/drm/i915/i915_gem_shrinker.c   | 26 --
>  drivers/gpu/drm/i915/i915_pci.c|  5 +++
>  drivers/gpu/drm/i915/i915_perf.c   | 11 --
>  drivers/gpu/drm/i915/intel_lrc.c   | 57 
> ++
>  drivers/gpu/drm/i915/intel_ringbuffer.h|  8 -
>  18 files changed, 138 insertions(+), 69 deletions(-)
>
> --
> Jani Nikula, Intel Open Source Technology Center



-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [PULL] drm-intel-fixes

2013-09-06 Thread Daniel Vetter
Blergh, forgotten to cc: mailing lists ...
-Daniel

On Fri, Sep 6, 2013 at 9:48 AM, Daniel Vetter dan...@ffwll.ch wrote:
 Hi Dave,

 Already a decent pile of fixes and a few stragglers for the merge window.
 Nothing in here though to appease Linus :(
 - Early stolen mem reservation from Jesse in x86 boot code. Acked by Ingo
   and hpa.  This was ready much earlier but somehow I've thought it'd go
   in through x86 trees, hence why this is late. Avoids the pci resource
   code to plant mmiobars in the middle of stolen mem and other ugliness.
 - vgaarb improvements from Alex Williamson plus the fix from Ville for the
   vgacon-fbcon smooth transition feature.
 - Render pageflips on ivb/hsw to avoid stalls due to the ring switching
   when only flipping on the blitter (Chris).
 - Deadlock fixes around our flush_workqueue which crept back in - lockdep
   isn't clever enough :(
 - Shrinker recursion fix from Chris - this is the thing that blew the vma
   patches from Ben I've taken out of 3.12.
 - Fixup for the relocation refactoring. Also an igt testcase to make sure
   we don't break this again.
 - Pile of smaller fixups all over, shortlog has full details.

 Cheers, Daniel


 The following changes since commit f33bcab9e816c5bf56b74c3007790f2a256910eb:

   drm/radeon: support render nodes (2013-09-02 10:51:53 +1000)

 are available in the git repository at:

   git://people.freedesktop.org/~danvet/drm-intel 
 tags/drm-intel-fixes-2013-09-06

 for you to fetch changes up to cac6a5ae0118832936eb162ec4cedb30f2422bcc:

   drm/i915: try not to lose backlight CBLV precision (2013-09-06 09:41:20 
 +0200)

 
 Alex Williamson (3):
   vgaarb: Don't disable resources that are not owned
   vgaarb: Fix VGA decodes changes
   i915: Update VGA arbiter support for newer devices

 Chris Wilson (9):
   drm/i915: Adjust available RPS information through sysfs for vlv
   drm/i915: Apply the force-detect VGA w/a to Valleyview
   drm/i915: Report requested frequency alongside current frequency in 
 debugfs
   drm/i915: Embed the ring-private within the struct intel_ring_buffer
   drm/i915: Use RCS flips on Ivybridge+
   drm/i915: Pin pages whilst mapping the dma-buf
   drm/i915: Hold an object reference whilst we shrink it
   drm/i915: Skip stolen region initialisation if none is reserved
   drm/i915: Confine page flips to BCS on Valleyview

 Damien Lespiau (1):
   drm/i915: Don't call sg_free_table() if sg_alloc_table() fails

 Daniel Vetter (6):
   drm/i915: tune down hangcheck noise
   drm/i915: fix up the relocate_entry refactoring
   drm/i915: fix hpd work vs. flush_work in the pageflip code deadlock
   drm/i915: handle sdvo input pixel multiplier correctly again
   drm/i915: fix i9xx_crtc_clock_get for multiplied pixels
   drm/i915: fix gpu hang vs. flip stall deadlocks

 Imre Deak (1):
   drm/i915: fix lvds/dp panel fitter setting

 Jani Nikula (1):
   drm/i915: try not to lose backlight CBLV precision

 Jesse Barnes (2):
   drm/i915: split PCI IDs out into i915_drm.h v4
   x86: add early quirk for reserving Intel graphics stolen memory v5

 Joe Perches (1):
   i915_gem: Convert kmem_cache_alloc(...GFP_ZERO) to kmem_cache_zalloc

 Mika Kuoppala (2):
   drm/i915: Don't mask EI UP interrupt on IVB|SNB
   drm/i915: sanitize forcewake registers on reset

 Paulo Zanoni (1):
   drm/i915: enable trickle feed on Haswell

 Ville Syrjälä (1):
   drm/i915: Fix pipe config warnings when dealing with LVDS fixed mode

  arch/x86/kernel/early-quirks.c | 154 +
  drivers/gpu/drm/i915/i915_debugfs.c|  11 +-
  drivers/gpu/drm/i915/i915_dma.c|   9 +-
  drivers/gpu/drm/i915/i915_drv.c| 164 +-
  drivers/gpu/drm/i915/i915_drv.h|   7 +
  drivers/gpu/drm/i915/i915_gem.c|  48 +--
  drivers/gpu/drm/i915/i915_gem_dmabuf.c |  41 +++---
  drivers/gpu/drm/i915/i915_gem_execbuffer.c |   3 +
  drivers/gpu/drm/i915/i915_gem_stolen.c |   3 +
  drivers/gpu/drm/i915/i915_gpu_error.c  |   2 +-
  drivers/gpu/drm/i915/i915_irq.c|  23 +++-
  drivers/gpu/drm/i915/i915_reg.h|  34 +++--
  drivers/gpu/drm/i915/i915_sysfs.c  |  36 -
  drivers/gpu/drm/i915/intel_crt.c   |   2 +-
  drivers/gpu/drm/i915/intel_display.c   |  78 +--
  drivers/gpu/drm/i915/intel_drv.h   |   2 +-
  drivers/gpu/drm/i915/intel_lvds.c  |   8 +-
  drivers/gpu/drm/i915/intel_opregion.c  |   2 +-
  drivers/gpu/drm/i915/intel_panel.c |  14 +-
  drivers/gpu/drm/i915/intel_pm.c|  14 +-
  drivers/gpu/drm/i915/intel_ringbuffer.c|  99 --
  drivers/gpu/drm/i915/intel_ringbuffer.h|   6 +-
  drivers/gpu/drm/i915/intel_sdvo.c  |  17 +--
  drivers/gpu/drm/i915/intel_sprite.c|   7 +-
  

Re: [PULL] drm-intel-fixes

2013-09-06 Thread Daniel Vetter
On Fri, Sep 06, 2013 at 09:49:06AM +0200, Daniel Vetter wrote:
 Blergh, forgotten to cc: mailing lists ...

And then Ville pointed out on irc that I'm actually missing the
vgacon-fbcon takeover fix. Fail friday it seems, new pull request below.

-Daniel


The following changes since commit f33bcab9e816c5bf56b74c3007790f2a256910eb:

  drm/radeon: support render nodes (2013-09-02 10:51:53 +1000)

are available in the git repository at:

  git://people.freedesktop.org/~danvet/drm-intel tags/drm-intel-fixes-2013-09-06

for you to fetch changes up to 6e1b4fdad5157bb9e88777d525704aba24389bee:

  drm/i915: Delay disabling of VGA memory until vgacon-fbcon handoff is done 
(2013-09-06 23:27:03 +0200)


Alex Williamson (3):
  vgaarb: Don't disable resources that are not owned
  vgaarb: Fix VGA decodes changes
  i915: Update VGA arbiter support for newer devices

Chris Wilson (9):
  drm/i915: Adjust available RPS information through sysfs for vlv
  drm/i915: Apply the force-detect VGA w/a to Valleyview
  drm/i915: Report requested frequency alongside current frequency in 
debugfs
  drm/i915: Embed the ring-private within the struct intel_ring_buffer
  drm/i915: Use RCS flips on Ivybridge+
  drm/i915: Pin pages whilst mapping the dma-buf
  drm/i915: Hold an object reference whilst we shrink it
  drm/i915: Skip stolen region initialisation if none is reserved
  drm/i915: Confine page flips to BCS on Valleyview

Damien Lespiau (1):
  drm/i915: Don't call sg_free_table() if sg_alloc_table() fails

Daniel Vetter (6):
  drm/i915: tune down hangcheck noise
  drm/i915: fix up the relocate_entry refactoring
  drm/i915: fix hpd work vs. flush_work in the pageflip code deadlock
  drm/i915: handle sdvo input pixel multiplier correctly again
  drm/i915: fix i9xx_crtc_clock_get for multiplied pixels
  drm/i915: fix gpu hang vs. flip stall deadlocks

Imre Deak (1):
  drm/i915: fix lvds/dp panel fitter setting

Jani Nikula (1):
  drm/i915: try not to lose backlight CBLV precision

Jesse Barnes (2):
  drm/i915: split PCI IDs out into i915_drm.h v4
  x86: add early quirk for reserving Intel graphics stolen memory v5

Joe Perches (1):
  i915_gem: Convert kmem_cache_alloc(...GFP_ZERO) to kmem_cache_zalloc

Mika Kuoppala (2):
  drm/i915: Don't mask EI UP interrupt on IVB|SNB
  drm/i915: sanitize forcewake registers on reset

Paulo Zanoni (1):
  drm/i915: enable trickle feed on Haswell

Ville Syrjälä (2):
  drm/i915: Fix pipe config warnings when dealing with LVDS fixed mode
  drm/i915: Delay disabling of VGA memory until vgacon-fbcon handoff is 
done

 arch/x86/kernel/early-quirks.c | 154 +
 drivers/gpu/drm/i915/i915_debugfs.c|  11 +-
 drivers/gpu/drm/i915/i915_dma.c|  15 +-
 drivers/gpu/drm/i915/i915_drv.c| 164 +-
 drivers/gpu/drm/i915/i915_drv.h|   7 +
 drivers/gpu/drm/i915/i915_gem.c|  48 +--
 drivers/gpu/drm/i915/i915_gem_dmabuf.c |  41 +++---
 drivers/gpu/drm/i915/i915_gem_execbuffer.c |   3 +
 drivers/gpu/drm/i915/i915_gem_stolen.c |   3 +
 drivers/gpu/drm/i915/i915_gpu_error.c  |   2 +-
 drivers/gpu/drm/i915/i915_irq.c|  23 +++-
 drivers/gpu/drm/i915/i915_reg.h|  34 +++--
 drivers/gpu/drm/i915/i915_sysfs.c  |  36 -
 drivers/gpu/drm/i915/intel_crt.c   |   2 +-
 drivers/gpu/drm/i915/intel_display.c   |  83 ++--
 drivers/gpu/drm/i915/intel_drv.h   |   3 +-
 drivers/gpu/drm/i915/intel_lvds.c  |   8 +-
 drivers/gpu/drm/i915/intel_opregion.c  |   2 +-
 drivers/gpu/drm/i915/intel_panel.c |  14 +-
 drivers/gpu/drm/i915/intel_pm.c|  14 +-
 drivers/gpu/drm/i915/intel_ringbuffer.c|  99 --
 drivers/gpu/drm/i915/intel_ringbuffer.h|   6 +-
 drivers/gpu/drm/i915/intel_sdvo.c  |  17 +--
 drivers/gpu/drm/i915/intel_sprite.c|   7 +-
 drivers/gpu/drm/i915/intel_uncore.c|   9 +-
 drivers/gpu/vga/vgaarb.c   |  51 +++
 include/drm/i915_drm.h |  34 +
 include/drm/i915_pciids.h  | 211 +
 include/linux/vgaarb.h |   7 +
 29 files changed, 774 insertions(+), 334 deletions(-)
 create mode 100644 include/drm/i915_pciids.h
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [PULL] drm-intel-fixes

2013-08-23 Thread Daniel Vetter
Argh, forgotten to cc lists!

On Fri, Aug 23, 2013 at 10:42:37AM +0200, Daniel Vetter wrote:
 Hi Dave,
 
 Just one patch that soaked for quite a bit to fix a resume issue,
 resulting in gpu hangs (or worse) due to tlb containing garbage.
 
 Cheers, Daniel
 
 
 The following changes since commit 63b66e5ba54b15a6592be00555d762db6db739ce:
 
   drm/i915: Don't deref pipe-cpu_transcoder in the hangcheck code 
 (2013-08-14 20:26:49 +0200)
 
 are available in the git repository at:
 
   git://people.freedesktop.org/~danvet/drm-intel 
 tags/drm-intel-fixes-2013-08-23
 
 for you to fetch changes up to 884020bf3d2a3787a1cc6df902e98e0eec60330b:
 
   drm/i915: Invalidate TLBs for the rings after a reset (2013-08-18 19:37:41 
 +0200)
 
 
 Chris Wilson (1):
   drm/i915: Invalidate TLBs for the rings after a reset
 
  drivers/gpu/drm/i915/i915_reg.h |  2 ++
  drivers/gpu/drm/i915/intel_ringbuffer.c | 12 
  2 files changed, 14 insertions(+)
 -- 
 Daniel Vetter
 Software Engineer, Intel Corporation
 +41 (0) 79 365 57 48 - http://blog.ffwll.ch

-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [PULL] drm-intel-fixes

2013-07-11 Thread Daniel Vetter
Cc lists this time around ...
-Daniel

On Thu, Jul 11, 2013 at 2:06 PM, Daniel Vetter dan...@ffwll.ch wrote:
 Hi Dave,

 One feature latecomer, I've forgotten to merge the patch to reeanble the
 Haswell power well feature now that the audio interaction is fixed up.
 Since that was the only unfixed issue with it I've figured I could throw
 it in a bit late, and it's trivial to revert in case I'm wrong.

 Otherwise all bug/regression fixes:
 - Fix status page reinit after gpu hangs, spotted by more paranoid igt
   checks.
 - Fix object list walking fumble regression in the shrinker (only the
   counting part, the actual shrinking code was correct so no Oops
   potential), from Xiong Zhang.
 - Fix DP 1.2 bw limits (Imre).
 - Restore legacy forcewake on ivb, too many broken biosen out there. We
   dump a warn though that recent userspace might fall over with that
   config (Guenter Roeck).
 - Patch up the gen2 cs tlb w/a.
 - Improve the fence coherency w/a now that we have a better understanding
   what's going on. The removed wbinvd+ipi should make -rt folks happy. Big
   thanks to Jon Bloomfield for figuring this out, patches from Chris.
 - Fix write-read race when switching ring (Chris). Spotted with code
   inspection, but now we also have an igt for it.

 There's an ugly regression we're still working on introduced between
 3.10-rc7 and 3.10.0. Unfortunately we can't just revert the offender since
 that one fixes another regression :( I've asked Steven to include my
 -fixes branch into linux-next to prevent such fallout in the future,
 hopefully.

 Otherwise pretty calm thus far.

 Cheers, Daniel

 The following changes since commit 446f8d81ca2d9cefb614e87f2fabcc996a9e4e7e:

   drm/i915: Don't try to tear down the stolen drm_mm if it's not there 
 (2013-07-02 11:47:19 +0200)

 are available in the git repository at:

   git://people.freedesktop.org/~danvet/drm-intel 
 tags/drm-intel-fixes-2013-07-11

 for you to fetch changes up to 46a0b638f35b45fc13d3dc0deb6a7e17988170b2:

   Revert drm/i915: Workaround incoherence between fences and LLC across 
 multiple CPUs (2013-07-10 15:31:12 +0200)

 
 Chris Wilson (3):
   drm/i915: Fix write-read race with multiple rings
   drm/i915: Fix incoherence with fence updates on Sandybridge+
   Revert drm/i915: Workaround incoherence between fences and LLC across 
 multiple CPUs

 Daniel Vetter (2):
   drm/i915: reinit status page registers after gpu reset
   drm/i915: fix up ring cleanup for the i830/i845 CS tlb w/a

 Guenter Roeck (1):
   Partially revert drm/i915: unconditionally use mt forcewake on hsw/ivb

 Imre Deak (1):
   drm/i915: fix lane bandwidth capping for DP 1.2 sinks

 Paulo Zanoni (1):
   drm/i915: switch disable_power_well default value to 1

 Xiong Zhang (1):
   drm/i915: Correct obj-mm_list link to 
 dev_priv-dev_priv-mm.inactive_list

  drivers/gpu/drm/i915/i915_drv.c |  4 +-
  drivers/gpu/drm/i915/i915_gem.c | 83 
 +
  drivers/gpu/drm/i915/intel_dp.c |  5 ++
  drivers/gpu/drm/i915/intel_pm.c | 31 +++-
  drivers/gpu/drm/i915/intel_ringbuffer.c | 38 +--
  5 files changed, 93 insertions(+), 68 deletions(-)
 --
 Daniel Vetter
 Software Engineer, Intel Corporation
 +41 (0) 79 365 57 48 - http://blog.ffwll.ch



--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [PULL] drm-intel-fixes

2013-05-28 Thread Daniel Vetter
On Thu, May 23, 2013 at 02:03:09PM +0200, Daniel Vetter wrote:
 Hi Dave,
 
 A few fixes, nothing shocking:
 - More Haswell pci ids. Includes a pile of marketing spare ids (which
   despite the spare moniker show up all over the place).
 - Fix a regression in handling modeset failures, resulting in black
   screens on 3 pipe setups when we've run out of pch plls (Chris).
 - Fix up the setcrtc semantics to unconditionally enable the outputs.
   Juding from git digging that has (kinda) always been the case and neatly
   fixes a few long-standing (i.e. forever) bug reports (Imre).
 - jiffies_timeout + 1 patches from Imre. They partially fix spurious
   wait_event failures in the interrupt-driven dp aux/i2c code. The other
   part is a core patch for the wait_event macros going in through -mm. A
   few patches more than strictly required since Imre is pushing for a
   general solution in 3.11.
 
 Cheers, Daniel

Update pull request (same sha1 but with a tag) so that I can pile new
patches on top (there's one I want to give some testing for a few days
first ...).

Cheers, Daniel


The following changes since commit c7788792a5e7b0d5d7f96d0766b4cb6112d47d75:

  Linux 3.10-rc2 (2013-05-20 14:37:38 -0700)

are available in the git repository at:

  git://people.freedesktop.org/~danvet/drm-intel tags/drm-intel-fixes-2013-05-28

for you to fetch changes up to 3598706b52cb45ba0a9e8aa99ce5ac59140f2b8b:

  drm/i915: avoid premature DP AUX timeouts (2013-05-22 13:51:26 +0200)


Chris Wilson (1):
  drm/i915: Propagate errors back from fb set-base

Imre Deak (5):
  drm/i915: force full modeset if the connector is in DPMS OFF mode
  drm/i915: add msecs_to_jiffies_timeout to guarantee minimum duration
  drm/i915: use msecs_to_jiffies_timeout instead of open coding the same
  drm/i915: avoid premature timeouts in __wait_seqno()
  drm/i915: avoid premature DP AUX timeouts

Rodrigo Vivi (1):
  drm/i915: Adding more reserved PCI IDs for Haswell.

 drivers/gpu/drm/i915/i915_drv.c  |   46 +++
 drivers/gpu/drm/i915/i915_drv.h  |   15 +++
 drivers/gpu/drm/i915/i915_gem.c  |2 +-
 drivers/gpu/drm/i915/intel_display.c |   49 ++
 drivers/gpu/drm/i915/intel_dp.c  |2 +-
 drivers/gpu/drm/i915/intel_i2c.c |5 ++--
 6 files changed, 87 insertions(+), 32 deletions(-)
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [pull] drm-intel-fixes

2013-05-22 Thread Daniel Vetter
On Wed, May 22, 2013 at 3:24 AM, Stéphane Marchesin
stephane.marche...@gmail.com wrote:
 On Mon, Sep 10, 2012 at 12:28 AM, Daniel Vetter dan...@ffwll.ch wrote:
 Hi Dave,

 You're pull just reminded me that I've been sitting on a few small -fixes,
 too. Nothing really major at all:
 - fixup edp setup sequence (Dave)
 - disable sdvo hotplug for real, this is a fixup for a messed-up
   regression fixer (Jani)
 - don't expose dysfunctional backlight driver (Jani)

 Hi Daniel,

 This change (don't expose dysfunctional backlight driver) regresses
 the backlight on Chromebooks, where we don't run the vbios.

Presuming the patch works as advertised it only stops publishing an
intel backlight driver which won't work. How does that break stuff?

Or do you somehow update the max blc stuff only once i915.ko is loaded?

I'm decently confused how that one blows up ...

Yours, Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [pull] drm-intel-fixes

2013-05-22 Thread Stéphane Marchesin
On Wed, May 22, 2013 at 12:13 AM, Daniel Vetter dan...@ffwll.ch wrote:
 On Wed, May 22, 2013 at 3:24 AM, Stéphane Marchesin
 stephane.marche...@gmail.com wrote:
 On Mon, Sep 10, 2012 at 12:28 AM, Daniel Vetter dan...@ffwll.ch wrote:
 Hi Dave,

 You're pull just reminded me that I've been sitting on a few small -fixes,
 too. Nothing really major at all:
 - fixup edp setup sequence (Dave)
 - disable sdvo hotplug for real, this is a fixup for a messed-up
   regression fixer (Jani)
 - don't expose dysfunctional backlight driver (Jani)

 Hi Daniel,

 This change (don't expose dysfunctional backlight driver) regresses
 the backlight on Chromebooks, where we don't run the vbios.

 Presuming the patch works as advertised it only stops publishing an
 intel backlight driver which won't work. How does that break stuff?


Well it probably works as advertised to avoid exposing some broken
backlight, but the problem is that it also stops exposing a working
backlight on Chromebooks. However it sounds like the initial patch is
specific to a broken machine, so maybe a dmi match is more
appropriate?

 Or do you somehow update the max blc stuff only once i915.ko is loaded?


Yup that's what used to happen.

Stéphane


 I'm decently confused how that one blows up ...

 Yours, Daniel
 --
 Daniel Vetter
 Software Engineer, Intel Corporation
 +41 (0) 79 365 57 48 - http://blog.ffwll.ch
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [pull] drm-intel-fixes

2013-05-22 Thread Daniel Vetter
On Wed, May 22, 2013 at 5:25 PM, Stéphane Marchesin
stephane.marche...@gmail.com wrote:
 On Wed, May 22, 2013 at 12:13 AM, Daniel Vetter dan...@ffwll.ch wrote:
 On Wed, May 22, 2013 at 3:24 AM, Stéphane Marchesin
 stephane.marche...@gmail.com wrote:
 On Mon, Sep 10, 2012 at 12:28 AM, Daniel Vetter dan...@ffwll.ch wrote:
 Hi Dave,

 You're pull just reminded me that I've been sitting on a few small -fixes,
 too. Nothing really major at all:
 - fixup edp setup sequence (Dave)
 - disable sdvo hotplug for real, this is a fixup for a messed-up
   regression fixer (Jani)
 - don't expose dysfunctional backlight driver (Jani)

 Hi Daniel,

 This change (don't expose dysfunctional backlight driver) regresses
 the backlight on Chromebooks, where we don't run the vbios.

 Presuming the patch works as advertised it only stops publishing an
 intel backlight driver which won't work. How does that break stuff?


 Well it probably works as advertised to avoid exposing some broken
 backlight, but the problem is that it also stops exposing a working
 backlight on Chromebooks. However it sounds like the initial patch is
 specific to a broken machine, so maybe a dmi match is more
 appropriate?

I prefer a dmi match for chromebooks since the behaviour of fixing up
the backlight after i915.ko is loaded seems rather peculiar to your
setup.

 Or do you somehow update the max blc stuff only once i915.ko is loaded?


 Yup that's what used to happen.

What/when exactly does that happen?
-Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [pull] drm-intel-fixes

2013-05-22 Thread Stéphane Marchesin
On Wed, May 22, 2013 at 8:51 AM, Daniel Vetter dan...@ffwll.ch wrote:
 On Wed, May 22, 2013 at 5:25 PM, Stéphane Marchesin
 stephane.marche...@gmail.com wrote:
 On Wed, May 22, 2013 at 12:13 AM, Daniel Vetter dan...@ffwll.ch wrote:
 On Wed, May 22, 2013 at 3:24 AM, Stéphane Marchesin
 stephane.marche...@gmail.com wrote:
 On Mon, Sep 10, 2012 at 12:28 AM, Daniel Vetter dan...@ffwll.ch wrote:
 Hi Dave,

 You're pull just reminded me that I've been sitting on a few small -fixes,
 too. Nothing really major at all:
 - fixup edp setup sequence (Dave)
 - disable sdvo hotplug for real, this is a fixup for a messed-up
   regression fixer (Jani)
 - don't expose dysfunctional backlight driver (Jani)

 Hi Daniel,

 This change (don't expose dysfunctional backlight driver) regresses
 the backlight on Chromebooks, where we don't run the vbios.

 Presuming the patch works as advertised it only stops publishing an
 intel backlight driver which won't work. How does that break stuff?


 Well it probably works as advertised to avoid exposing some broken
 backlight, but the problem is that it also stops exposing a working
 backlight on Chromebooks. However it sounds like the initial patch is
 specific to a broken machine, so maybe a dmi match is more
 appropriate?

 I prefer a dmi match for chromebooks since the behaviour of fixing up
 the backlight after i915.ko is loaded seems rather peculiar to your
 setup.

It has nothing to do with Chromebooks though, but more with the fact
that we don't run vbios. This isn't a property of the hardware.


 Or do you somehow update the max blc stuff only once i915.ko is loaded?


 Yup that's what used to happen.

 What/when exactly does that happen?

Before the regression, the code was:

if (max == 0) {
  i915_set_default_max_backlight

which would make it work. And now that doesn't run and therefore it breaks.

Stéphane


 -Daniel
 --
 Daniel Vetter
 Software Engineer, Intel Corporation
 +41 (0) 79 365 57 48 - http://blog.ffwll.ch
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [pull] drm-intel-fixes

2013-05-21 Thread Stéphane Marchesin
On Mon, Sep 10, 2012 at 12:28 AM, Daniel Vetter dan...@ffwll.ch wrote:
 Hi Dave,

 You're pull just reminded me that I've been sitting on a few small -fixes,
 too. Nothing really major at all:
 - fixup edp setup sequence (Dave)
 - disable sdvo hotplug for real, this is a fixup for a messed-up
   regression fixer (Jani)
 - don't expose dysfunctional backlight driver (Jani)

Hi Daniel,

This change (don't expose dysfunctional backlight driver) regresses
the backlight on Chromebooks, where we don't run the vbios.

Stéphane


 - properly init spinlock (only used by hsw/vlv code) from Alexander
   Shishkin

 Wrt regression we have a new case of rc6-no-longer-working (times time it
 breaks after resume, investigation still going on) and one of the
 infoframe patches broke a screen on ilk (Paulo is looking into this one
 already).

 Cheers, Daniel

 The following changes since commit 4cbe5a555fa58a79b6ecbb6c531b8bab0650778d:

   Linux 3.6-rc4 (2012-09-01 10:39:58 -0700)

 are available in the git repository at:

   git://people.freedesktop.org/~danvet/drm-intel drm-intel-fixes

 for you to fetch changes up to 99d0b1db6ccd0c0e554398e8a579ff3dd4d119ee:

   drm/i915: initialize dpio_lock spin lock (2012-09-08 19:04:04 +0200)

 
 Alexander Shishkin (1):
   drm/i915: initialize dpio_lock spin lock

 Dave Airlie (1):
   drm/i915/edp: get the panel delay before powering up

 Jani Nikula (2):
   drm/i915: only enable sdvo hotplug irq if needed
   drm/i915: do not expose a dysfunctional backlight interface to userspace

  drivers/gpu/drm/i915/i915_dma.c|1 +
  drivers/gpu/drm/i915/intel_dp.c|   11 +++
  drivers/gpu/drm/i915/intel_panel.c |   31 ++-
  drivers/gpu/drm/i915/intel_sdvo.c  |   15 ++-
  4 files changed, 36 insertions(+), 22 deletions(-)
 --
 Daniel Vetter
 Software Engineer, Intel Corporation
 +41 (0) 79 365 57 48 - http://blog.ffwll.ch
 ___
 dri-devel mailing list
 dri-devel@lists.freedesktop.org
 http://lists.freedesktop.org/mailman/listinfo/dri-devel
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [PULL] drm-intel-fixes

2013-05-08 Thread Daniel Vetter
On Sat, May 04, 2013 at 08:11:25PM +0200, Daniel Vetter wrote:
 Hi Dave,
 
 A few intel fixes for smaller issues and one revert for an sdv hack which
 we've wanted to kill anyway. Plus two drm patches included for your
 convenience, both regression fixers for mine own screw-ups.

I've smashed a few more fixes on top, both fixes for stolen mem handling.
-Daniel

The following changes since commit 43b27290dd42b40f3f23f49677a7faa5a4eb1eff:

  drm/i915: correct the calculation of first_pd_entry_in_global_pt (2013-04-27 
14:07:16 +0200)

are available in the git repository at:

  git://people.freedesktop.org/~danvet/drm-intel for-linux-next

for you to fetch changes up to 1ffc5289bfcf7f4c4e4213240bb4be68c48ce603:

  drm/i915: clear the stolen fb before resuming (2013-05-07 22:25:11 +0200)


Ben Widawsky (1):
  Revert drm/i915: Calculate correct stolen size for GEN7+

Chris Wilson (1):
  drm/i915: Always normalize return timeout for wait_timeout_ioctl

Daniel Vetter (3):
  drm/mm: fix dump table BUG
  drm: don't check modeset locks in panic handler
  Revert drm/i915: revert eDP bpp clamping code changes

Imre Deak (1):
  drm/i915: hsw: fix link training for eDP on port-A

Jani Nikula (1):
  drm/i915: clear the stolen fb before resuming

Ville Syrjälä (1):
  drm/i915: Fix pipe enabled mask for pipe C in WM calculations

 drivers/gpu/drm/drm_crtc.c  |4 ++
 drivers/gpu/drm/drm_mm.c|   34 
 drivers/gpu/drm/i915/i915_gem.c |8 ++--
 drivers/gpu/drm/i915/i915_gem_gtt.c |   15 +--
 drivers/gpu/drm/i915/i915_reg.h |2 -
 drivers/gpu/drm/i915/intel_ddi.c|5 +++
 drivers/gpu/drm/i915/intel_dp.c |   77 ++-
 drivers/gpu/drm/i915/intel_drv.h|1 +
 drivers/gpu/drm/i915/intel_fb.c |   16 +++-
 drivers/gpu/drm/i915/intel_pm.c |   44 ++--
 10 files changed, 116 insertions(+), 90 deletions(-)
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [pull] drm-intel-fixes

2012-10-19 Thread Daniel Vetter
Hi Dave,

Two more fixes from Chris on top, updated overview below

On Thu, Oct 18, 2012 at 12:56:44PM +0200, Daniel Vetter wrote:
 The big thing is the disabling of the hsw support by default, cc: stable.
 We've aimed for basic hsw support in 3.6, but due to a few bad
 happenstances we've screwed up and only 3.8 will have better modeset
 support than vesa. To avoid yet another round of fallout from such a
 gaffle on for the next platform we've added a module option to disable
 early hw support by default. That should also give us more flexibility in
 bring-up.
 
 Otherwise just small fixes:
 - 3 fixes from Egbert for sdvo corner cases
 - invert-brightness quirk entry from Egbert
 - revert a dp link training change, it regresses some setups
 - and shut up a spurious WARN in our gem fault handler.
- regression fix for an oops on bit17 swizzling machines, introduce in 3.7
- another no-lvds quirk

Cheers, Daniel

The following changes since commit be3cd5e37716bcf1579f63bdd919345a1f9692b9:

  drm/i915: fix non-DP-D eDP backlight cleanup and module reload (2012-10-12 
10:59:12 +0200)

are available in the git repository at:

  git://people.freedesktop.org/~danvet/drm-intel drm-intel-fixes

for you to fetch changes up to 74ce6b6c63262defba91c4d790b3f91074793c0d:

  drm/i915: Initialize obj-pages before use by 
i915_gem_object_do_bit17_swizzle() (2012-10-19 21:52:52 +0200)


Chris Wilson (2):
  drm/i915: Add no-lvds quirk for Supermicro X7SPA-H
  drm/i915: Initialize obj-pages before use by 
i915_gem_object_do_bit17_swizzle()

Daniel Vetter (2):
  Revert drm/i915: Try harder to complete DP training pattern 1
  drm/i915: shut up spurious WARN in the gtt fault handler

Egbert Eich (4):
  DRM/i915: Don't delete DPLL Multiplier during DAC init.
  DRM/i915: Add QUIRK_INVERT_BRIGHTNESS for NCR machines.
  DRM/i915: Don't clone SDVO LVDS with analog.
  DRM/i915: Restore sdvo_flags after dtd-mode-dtd Roundrtrip.

Rodrigo Vivi (1):
  drm/i915: Insert i915_preliminary_hw_support variable.

 drivers/gpu/drm/i915/i915_drv.c  |   13 +
 drivers/gpu/drm/i915/i915_drv.h  |1 +
 drivers/gpu/drm/i915/i915_gem.c  |7 +--
 drivers/gpu/drm/i915/intel_crt.c |   15 +--
 drivers/gpu/drm/i915/intel_display.c |   32 
 drivers/gpu/drm/i915/intel_dp.c  |   15 ++-
 drivers/gpu/drm/i915/intel_lvds.c|8 
 drivers/gpu/drm/i915/intel_sdvo.c|   14 ++
 8 files changed, 80 insertions(+), 25 deletions(-)
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [pull] drm-intel-fixes

2012-10-04 Thread Daniel Vetter
On Thu, Oct 04, 2012 at 03:21:47PM +0200, Daniel Vetter wrote:
 Hi Dave,
 
 One more, as discussed on irc.
 
 Bigger -fixes pile, mostly because I've included Ajax' DP dongle stuff,
 as discussed on irc. Otherwise just small things:
 - regression fix to finally make 6bpc auto-dither on dp work (Jani)
 - reinstate an snb ctx w/a that accidentally got lost in a rework (Chris)
 - fixup the DP train sequence, logic-goof-up uncovered by Coverty (Chris)
 - fix set_caching locking (Ben)
 - fix spurious segfault on con-current gtt mmap faulting (Dimitry and Mika)
 - some pageflip correctness fixes (still hunting down some issues, but
   these are the worst offenders of confused code that we've tracked down
   thus far) from Chris and me
 - fixup swizzling settings on vlv (Jesse)
 - gt_mode w/a from Ben added, fixes snb gt1 rc6+hw ctx hangs.

I've failed to add cc: stable to the snb gt1 fix. Pull updated:

The following changes since commit f531dcb23f9a5c6ad77e451459df965dc9a0c0c8:

  drm/i915: Wrap external callers to IPS state with appropriate locks 
(2012-09-26 09:24:54 +0200)

are available in the git repository at:

  git://people.freedesktop.org/~danvet/drm-intel drm-intel-fixes

for you to fetch changes up to f8f2ac9a76b0f80a6763ca316116a7bab8486997:

  drm/i915: Fix GT_MODE default value (2012-10-04 18:44:13 +0200)


Adam Jackson (6):
  drm: Export drm_probe_ddc()
  drm/dp: Update DPCD defines
  drm/i915/dp: Fetch downstream port info if needed during DPCD fetch
  drm/i915/dp: Be smarter about connection sense for branch devices
  drm/dp: Document DP spec versions for various DPCD registers
  drm/dp: Make sink count DP 1.2 aware

Ben Widawsky (2):
  drm/i915: Fix set_caching locking
  drm/i915: Fix GT_MODE default value

Chris Wilson (3):
  drm/i915: Actually invalidate the TLB for the SandyBridge HW contexts w/a
  drm/i915: Flush the pending flips on the CRTC before modification
  drm/i915: Try harder to complete DP training pattern 1

Daniel Vetter (2):
  drm/i915: call drm_handle_vblank before finish_page_flip
  drm/i915: don't frob the vblank ts in finish_page_flip

Dmitry Rogozhkin (1):
  drm/i915: EBUSY status handling added to i915_gem_fault().

Jani Nikula (1):
  drm/i915: use adjusted_mode instead of mode for checking the 6bpc force 
flag

Jesse Barnes (1):
  drm/i915: set swizzling to none on VLV

Mika Kuoppala (1):
  drm/i915: print warning if vmi915_gem_fault error is not handled

 drivers/gpu/drm/drm_edid.c  |3 +-
 drivers/gpu/drm/i915/i915_gem.c |   14 +++--
 drivers/gpu/drm/i915/i915_gem_context.c |2 +-
 drivers/gpu/drm/i915/i915_gem_tiling.c  |5 +-
 drivers/gpu/drm/i915/i915_irq.c |   16 ++---
 drivers/gpu/drm/i915/i915_reg.h |3 +
 drivers/gpu/drm/i915/intel_display.c|   52 
 drivers/gpu/drm/i915/intel_dp.c |   73 +-
 drivers/gpu/drm/i915/intel_drv.h|2 +
 drivers/gpu/drm/i915/intel_pm.c |5 ++
 include/drm/drm_crtc.h  |1 +
 include/drm/drm_dp_helper.h |  101 +--
 12 files changed, 202 insertions(+), 75 deletions(-)
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [pull] drm-intel-fixes

2012-09-11 Thread Daniel Vetter
On Mon, Sep 10, 2012 at 09:34:36PM +0200, Daniel Vetter wrote:
 On Mon, Sep 10, 2012 at 09:28:17AM +0200, Daniel Vetter wrote:
  Hi Dave,
  
  You're pull just reminded me that I've been sitting on a few small -fixes,
  too. Nothing really major at all:
  - fixup edp setup sequence (Dave)
  - disable sdvo hotplug for real, this is a fixup for a messed-up
regression fixer (Jani)
  - don't expose dysfunctional backlight driver (Jani)
  - properly init spinlock (only used by hsw/vlv code) from Alexander
Shishkin
 
 Added one more:
 - fix a regression in the gen3 pageflip complete irq handling after resume
   (only affects some configurations, we've forgotten to restore a reg
   value).
And another small patch to shut up an overzealous WARN.


The following changes since commit 4cbe5a555fa58a79b6ecbb6c531b8bab0650778d:

  Linux 3.6-rc4 (2012-09-01 10:39:58 -0700)

are available in the git repository at:

  git://people.freedesktop.org/~danvet/drm-intel drm-intel-fixes

for you to fetch changes up to 75c5da279e06577190abba52cabf0dc2a56edb97:

  drm/i915: fix up the IBX transcoder B check (2012-09-11 17:25:14 +0200)


Alexander Shishkin (1):
  drm/i915: initialize dpio_lock spin lock

Daniel Vetter (2):
  drm/i915: set the right gen3 flip_done mode also at resume
  drm/i915: fix up the IBX transcoder B check

Dave Airlie (1):
  drm/i915/edp: get the panel delay before powering up

Jani Nikula (2):
  drm/i915: only enable sdvo hotplug irq if needed
  drm/i915: do not expose a dysfunctional backlight interface to userspace

 drivers/gpu/drm/i915/i915_dma.c  |1 +
 drivers/gpu/drm/i915/i915_irq.c  |3 ---
 drivers/gpu/drm/i915/intel_display.c |6 --
 drivers/gpu/drm/i915/intel_dp.c  |   11 +++
 drivers/gpu/drm/i915/intel_panel.c   |   31 ++-
 drivers/gpu/drm/i915/intel_pm.c  |3 +++
 drivers/gpu/drm/i915/intel_sdvo.c|   15 ++-
 7 files changed, 43 insertions(+), 27 deletions(-)
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [pull] drm-intel-fixes

2012-09-10 Thread Daniel Vetter
On Mon, Sep 10, 2012 at 09:28:17AM +0200, Daniel Vetter wrote:
 Hi Dave,
 
 You're pull just reminded me that I've been sitting on a few small -fixes,
 too. Nothing really major at all:
 - fixup edp setup sequence (Dave)
 - disable sdvo hotplug for real, this is a fixup for a messed-up
   regression fixer (Jani)
 - don't expose dysfunctional backlight driver (Jani)
 - properly init spinlock (only used by hsw/vlv code) from Alexander
   Shishkin

Added one more:
- fix a regression in the gen3 pageflip complete irq handling after resume
  (only affects some configurations, we've forgotten to restore a reg
  value).

Cheers, Daniel

The following changes since commit 4cbe5a555fa58a79b6ecbb6c531b8bab0650778d:

  Linux 3.6-rc4 (2012-09-01 10:39:58 -0700)

are available in the git repository at:

  git://people.freedesktop.org/~danvet/drm-intel drm-intel-fixes

for you to fetch changes up to 974a3b0f9f05b748fe11f1afc31efc32aa5160cb:

  drm/i915: set the right gen3 flip_done mode also at resume (2012-09-10 
21:30:03 +0200)


Alexander Shishkin (1):
  drm/i915: initialize dpio_lock spin lock

Daniel Vetter (1):
  drm/i915: set the right gen3 flip_done mode also at resume

Dave Airlie (1):
  drm/i915/edp: get the panel delay before powering up

Jani Nikula (2):
  drm/i915: only enable sdvo hotplug irq if needed
  drm/i915: do not expose a dysfunctional backlight interface to userspace

 drivers/gpu/drm/i915/i915_dma.c|1 +
 drivers/gpu/drm/i915/i915_irq.c|3 ---
 drivers/gpu/drm/i915/intel_dp.c|   11 +++
 drivers/gpu/drm/i915/intel_panel.c |   31 ++-
 drivers/gpu/drm/i915/intel_pm.c|3 +++
 drivers/gpu/drm/i915/intel_sdvo.c  |   15 ++-
 6 files changed, 39 insertions(+), 25 deletions(-)
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [PULL] drm-intel-fixes

2012-08-29 Thread Daniel Vetter
Per usual, I've forgotten all the cc's ... I really need to script this,
I'm too dumb to remember.
-Daniel

On Wed, Aug 29, 2012 at 10:29:43AM +0200, Daniel Vetter wrote:
 Hi Dave,
 
 Just a few smaller things:
 - Fix up a pipe vs. plane confusion from a refactoring, fixes a regression
   from 3.1 (Anhua Xu).
 - Fix ivb sprite pixel formats (Vijay).
 - Fixup ppgtt pde placement for machines where the Bios artifically limits
   the availbale gtt space in the name of ... product differentiation
   (Chris). This fixes an oops.
 - Yet another no_lvds quirk entry.
 
 Otherwise nothing outstanding afaik, things are as boring as they should
 be ;-)
 
 Cheers, Daniel
 
 The following changes since commit fea7a08acb13524b47711625eebea40a0ede69a0:
 
   Linux 3.6-rc3 (2012-08-22 13:29:06 -0700)
 
 are available in the git repository at:
 
   git://people.freedesktop.org/~danvet/drm-intel drm-intel-fixes
 
 for you to fetch changes up to a51d4ed01e5bb39d2cf36a12f9976ab08872c192:
 
   i915: Quirk no_lvds on Gigabyte GA-D525TUD ITX motherboard (2012-08-24 
 14:40:09 +0200)
 
 
 Calvin Walton (1):
   i915: Quirk no_lvds on Gigabyte GA-D525TUD ITX motherboard
 
 Chris Wilson (1):
   drm/i915: Use the correct size of the GTT for placing the per-process 
 entries
 
 Vijay Purushothaman (1):
   drm/i915: fix color order for BGR formats on IVB
 
 Xu, Anhua (1):
   drm/i915: fix wrong order of parameters in port checking functions
 
  drivers/gpu/drm/i915/i915_gem_gtt.c  |2 +-
  drivers/gpu/drm/i915/intel_display.c |   12 ++--
  drivers/gpu/drm/i915/intel_lvds.c|8 
  drivers/gpu/drm/i915/intel_sprite.c  |4 ++--
  4 files changed, 17 insertions(+), 9 deletions(-)
 -- 
 Daniel Vetter
 Mail: dan...@ffwll.ch
 Mobile: +41 (0)79 365 57 48

-- 
Daniel Vetter
Mail: dan...@ffwll.ch
Mobile: +41 (0)79 365 57 48
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [pull] drm-intel-fixes

2012-08-08 Thread Daniel Vetter
On Tue, Aug 07, 2012 at 02:08:18PM +0200, Daniel Vetter wrote:
 Hi Dave,
 
 - Regression fixer for an OOPS at boot when i915.ko is built-in and
   CONFIG_PM=n, introduce in 3.5 (patch from Hunt Xu)
 - Regression fixer for occlusion query failures, the required w/a wasn't
   applied in all cases (thanks to Eric for tracking this on down).
 - dmar vs. dma_buf imprt fix (Dave Airlie)
 - 2 patches to fight down forcewake issues on snb. This is the stuff I've
   talked about 2 weeks ago already, it's a minefield. Investigation still
   going on, but afaict this is the best we have for now.
 - a few minor things to keep covertycompiler happy (Alan, Davendra,
   Stéphane)
 - tons of hsw pci ids - this one is a bit late because internal approval
   sometimes takes a while, but ppl in charge finally agreed that world+dog
   already knows about ult and crw haswell variants ;-)

As discussed on irc, one more fix:
- fix ring init sequence (only reported by QA afaict).

Yours, Daniel


The following changes since commit e8aeaee7b012f1cdb382765d17307445385aa87c:

  drm/i915: unbreak lastclose for failed driver init (2012-07-25 10:40:00 +0200)

are available in the git repository at:

  git://people.freedesktop.org/~danvet/drm-intel drm-intel-fixes

for you to fetch changes up to 0d8957c8a90bbb5d34fab9a304459448a5131e06:

  drm/i915: correctly order the ring init sequence (2012-08-08 10:23:35 +0200)


Alan Cox (3):
  vlv: it might be wise if we initialised the flag value...
  i915: fix error path leak in intel_sdvo_write_cmd
  i915: Remove silly test

Chris Wilson (1):
  drm/i915: Workaround hang with BSD and forcewake on SandyBridge

Daniel Vetter (2):
  drm/i915: fix forcewake related hangs on snb
  drm/i915: correctly order the ring init sequence

Dave Airlie (1):
  i915: don't map imported dma-bufs for dmar.

Devendra Naga (1):
  drm/i915: remove unused variable

Eric Anholt (1):
  drm/i915: Don't forget to apply SNB PIPE_CONTROL GTT workaround.

Hunt Xu (1):
  drm/i915: make rc6 in sysfs functions conditional

Paulo Zanoni (1):
  drm/i915: add more Haswell PCI IDs

Stéphane Marchesin (1):
  drm/i915: Make intel_panel_get_backlight static.

 drivers/char/agp/intel-agp.h   |   39 +++---
 drivers/char/agp/intel-gtt.c   |   60 +++-
 drivers/gpu/drm/i915/i915_drv.c|   31 +-
 drivers/gpu/drm/i915/i915_gem_context.c|1 -
 drivers/gpu/drm/i915/i915_gem_execbuffer.c |   20 +-
 drivers/gpu/drm/i915/i915_gem_gtt.c|3 +-
 drivers/gpu/drm/i915/i915_sysfs.c  |   12 ++
 drivers/gpu/drm/i915/intel_display.c   |1 +
 drivers/gpu/drm/i915/intel_drv.h   |   20 +-
 drivers/gpu/drm/i915/intel_i2c.c   |3 --
 drivers/gpu/drm/i915/intel_panel.c |2 +-
 drivers/gpu/drm/i915/intel_pm.c|6 ++-
 drivers/gpu/drm/i915/intel_ringbuffer.c|7 +++-
 drivers/gpu/drm/i915/intel_sdvo.c  |5 ++-
 14 files changed, 172 insertions(+), 38 deletions(-)
-- 
Daniel Vetter
Mail: dan...@ffwll.ch
Mobile: +41 (0)79 365 57 48
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [PULL] drm-intel-fixes for 3.6

2012-07-25 Thread Daniel Vetter
On Wed, Jul 25, 2012 at 10:17:33AM +0200, Daniel Vetter wrote:
 Hi Dave,
 
 First pile of fixes for 3.6 already, and I'm afraid it's a bit larger than
 what I'd wish for. But I've moved all the feature-y stuff to -next, so
 this really is all -fixes. Most of it is handling fallout from the hw
 context stuff, discovered now that mesa git has started using them for
 real. Otherwise all just small fixes:
 - unbreak modeset=0 on gen6+ (regressed in next)
 - const mismatch fix for -mode_fixup
 - simplify overly clever lvds modeset code (current code can totally
   confuse backlights, resulting in broken panels until a full power draw
   restores them).
 - fix some fallout from the flushing_list disabling (regression only
   introduced in -next)
 - DP link train improvements (this also kills the last 3.2 dp regression
   afaik)
 - bugfix for the new ddc VGA detection on newer platforms
 - minor backlight fixes (one of them a -next regression)
 - only enable the required PM interrupts (to avoid waking up the cpu
   unnecessarily)
 - some really minor bits (workaround clarification, make coverty happy,
   hsw init fix)
 
 Fyi I'll be on vacation next week, so you need to yell at someone else if
 stuff blows up ;-) But with this -fixes pile I'm not aware of any issues
 in the patches for 3.6, so I don't expect anything to blow up ...

I've just noticed that one of the issues QA reported yesterday on the
first 3.7 patches testing round is caused by one of the patches in here
(I've thought preliminary triaging by them said that it works in -fixes,
but alas). It's a rather nasty issue around rc6 wake-ups on snb, and the
offending patch already tried to work around a much rarer, but similar
issue (but only affecting the video decoding ring).

I guess this will take us 1-2 days to sort out, so for now I've just taken
out the offending patch, new pull request below.

Yours, Daniel


The following changes since commit 83bc5fd29afff5898cadf87fb29eb9260eecc63e:

  drm/sis: fixup sis_mm ioctl structs (2012-07-19 22:51:58 -0400)

are available in the git repository at:

  git://people.freedesktop.org/~danvet/drm-intel drm-intel-fixes

for you to fetch changes up to e8aeaee7b012f1cdb382765d17307445385aa87c:

  drm/i915: unbreak lastclose for failed driver init (2012-07-25 10:40:00 +0200)


Ander Conselvan de Oliveira (1):
  drm/i915: mask tiled bit when updating ILK sprites

Ben Widawsky (3):
  drm/i915/context/: s/CTX/CXT
  drm/i915/context: Add missing IVB context sizes
  drm/i915: missing error case in init status page

Chris Wilson (8):
  drm/i915: Only request PM interrupts for the events we handled
  drm/i915: Disable the BLT on pre-production SNB hardware
  drm/i915: Add comments to explain the BSD tail write workaround
  drm/i915: Insert a flush between batches if the breadcrumb was dropped
  drm/i915: Make the lock for pageflips interruptible
  drm/i915: Flush the context object from the CPU caches upon switching
  drm/i915: Add -EIO to the list of known errors for __wait_seqno
  drm/i915: fix invalid reference handling of the default ctx obj

Dan Carpenter (1):
  drm/i915: dereferencing an error pointer

Daniel Vetter (6):
  drm/i915: fix up PCH backlight #define mixup
  drm/i915: check whether we actually received an edid in detect_ddc
  drm/i915: kill intel_ddc_probe
  drm/i915/lvds: ditch -prepare special case
  drm/i915: constify mode in crtc_mode_fixup
  drm/i915: unbreak lastclose for failed driver init

Eric Anholt (1):
  drm/i915: Set the context before setting up regs for the context.

Eugeni Dodonov (1):
  drm/i915: initialize power wells in modeset_init_hw

Paulo Zanoni (2):
  drm/i915: try to train DP even harder
  drm/i915: don't forget the PCH backlight registers

 drivers/gpu/drm/i915/i915_debugfs.c|1 +
 drivers/gpu/drm/i915/i915_dma.c|8 +-
 drivers/gpu/drm/i915/i915_drv.h|1 +
 drivers/gpu/drm/i915/i915_gem.c|   19 +-
 drivers/gpu/drm/i915/i915_gem_context.c|   37 +++-
 drivers/gpu/drm/i915/i915_gem_execbuffer.c |   17 -
 drivers/gpu/drm/i915/i915_irq.c|1 +
 drivers/gpu/drm/i915/i915_reg.h|   32 +---
 drivers/gpu/drm/i915/intel_crt.c   |   33 +++--
 drivers/gpu/drm/i915/intel_display.c   |   12 +++--
 drivers/gpu/drm/i915/intel_dp.c|2 +-
 drivers/gpu/drm/i915/intel_drv.h   |2 +-
 drivers/gpu/drm/i915/intel_lvds.c  |8 +-
 drivers/gpu/drm/i915/intel_modes.c |   28 -
 drivers/gpu/drm/i915/intel_panel.c |   15 ++-
 drivers/gpu/drm/i915/intel_pm.c|   14 +--
 drivers/gpu/drm/i915/intel_ringbuffer.c|   28 +++--
 

Re: [pull] drm-intel-fixes

2012-06-16 Thread Dave Airlie

   why the previous thing blew up for Linus and why this one shouldn't, so
   I think we can risk this ;-)

yeah no, you get one go at that, I'm no more detection fixed in -fixes 
ever again, unless they are a pure revert.

The detection logic is just to flaky and impossible to test on enough 
systems.

Dave.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [pull] drm-intel-fixes

2012-06-16 Thread Daniel Vetter
On Sat, Jun 16, 2012 at 02:16:29PM +0100, Dave Airlie wrote:
 
why the previous thing blew up for Linus and why this one shouldn't, so
I think we can risk this ;-)
 
 yeah no, you get one go at that, I'm no more detection fixed in -fixes 
 ever again, unless they are a pure revert.

Patche moved to -next, same for the hsw vga fix witch isn't
super-critical.
-Daniel


The following changes since commit cfaf025112d3856637ff34a767ef785ef5cf2ca9:

  Linux 3.5-rc2 (2012-06-08 18:40:09 -0700)

are available in the git repository at:

  git://people.freedesktop.org/~danvet/drm-intel drm-intel-fixes

for you to fetch changes up to d6f24d0fa6cdf3431a2fe3330a74bc6c5871f496:

  drm/i915: cache the EDID for eDP panels (2012-06-16 15:39:02 +0200)


Daniel Vetter (2):
  drm/i915: eDP aux needs vdd
  Revert drm/i915/dp: Use auxch precharge value of 5 everywhere

Jesse Barnes (2):
  drm/i915: don't enumerate HDMID if an eDP panel is already active on the 
port
  drm/i915: cache the EDID for eDP panels

 drivers/gpu/drm/i915/intel_display.c |2 +-
 drivers/gpu/drm/i915/intel_dp.c  |   60 ++
 2 files changed, 54 insertions(+), 8 deletions(-)
-- 
Daniel Vetter
Mail: dan...@ffwll.ch
Mobile: +41 (0)79 365 57 48
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [PULL] drm-intel-fixes

2012-06-05 Thread Daniel Vetter
Meh, I've forgotten to cc the appropriate set of lists.
-Daniel

On Tue, Jun 5, 2012 at 9:18 PM, Daniel Vetter dan...@ffwll.ch wrote:
 Hi Dave

 A few fixes for 3.5. Most of them make corner-cases a bit more robust
 (hotplug for b0rked kvm switches, driver init/reset/resume), almost all of
 them are cc stable. The tip patch fixes up pageflip on the 3rd crtc for
 ivb. No, don't ask how much our QA and testing needs to suck so that we
 happily ship with totally broken pageflip. And to add insult to injury
 pageflip was broken across much many machines :(

 On the upside we now have an automated i-g-t test for this and pageflips
 should really work everywhere now ...

 Yours, Daniel

 The following changes since commit 1c780f2cfec8b533b9cfda77209b4e3e7adaddbf:

  drm/udl: remove unused variables. (2012-05-29 13:47:59 +0100)

 are available in the git repository at:

  git://people.freedesktop.org/~danvet/drm-intel drm-intel-fixes

 for you to fetch changes up to cb05d8dedefa3066bf5d74ef88c6ca6cf4bd1c87:

  drm/i915: fix up ivb plane 3 pageflips (2012-06-05 21:05:21 +0200)

 
 Chris Wilson (3):
      drm/i915: Reset last_retired_head when resetting ring
      drm/i915/crt: Do not rely upon the HPD presence pin
      drm/i915: Mark the ringbuffers as being in the GTT domain

 Daniel Vetter (2):
      drm/i915: hold forcewake around ring hw init
      drm/i915: fix up ivb plane 3 pageflips

  drivers/gpu/drm/i915/i915_drv.c         |   13 +
  drivers/gpu/drm/i915/i915_drv.h         |    3 +++
  drivers/gpu/drm/i915/i915_reg.h         |    8 
  drivers/gpu/drm/i915/intel_crt.c        |    8 +---
  drivers/gpu/drm/i915/intel_display.c    |   19 ++-
  drivers/gpu/drm/i915/intel_ringbuffer.c |   21 ++---
  6 files changed, 61 insertions(+), 11 deletions(-)



-- 
Daniel Vetter
daniel.vet...@ffwll.ch - +41 (0) 79 364 57 48 - http://blog.ffwll.ch
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [pull] drm-intel-fixes for 3.5

2012-05-25 Thread Daniel Vetter
On Thu, May 24, 2012 at 05:56:24PM +0200, Daniel Vetter wrote:
 Hi Dave,
 
 A set of fixes for 3.5:
 - Fixes for regressions in 3.5: fix spurious gmbus NAK, fix module unload,
   fix pch pll asserts.
 - Fix up eDP panel power sequencing - turns out we need to keep vdd on
   while switching everything off.
 - Reject doubleclocked modes on dp.
 - Fixup sdvo interlaced handling. It never worked, but the missing bits
   are just a tiny patch.
 - Re-add some accidentally killed tv modes, also re-add
   a vblank wait in the tv detect code that we've lost somewhere around
   2.6.36.
 - Preliminary ducttape for gpu turbo on snb+ - we're working the hw guys
   to figure out what's missing, because this code /should/ be the same the
   windows driver does. But that usually takes a while ...
 - Fixup turbo for media workloads on snb+.
 - And a no-lvds quirk.

As dicussed on irc I've smashed 3 more patches onto this:
- Shut up the noisy rps turbo message.
- Don't complain about unbinding pinned buffers any more - we now use that
  check intentionally.
- Limit broadwater/crestline (i.e. vintage i965g/gm) to DMA32 for shmfs.
  Note that this requires, like gma500 the improved shmfs code to make it
  really tight. But otoh the only a few indirect states can't be above 4G,
  so this should be sufficient in all but the most contrived cases.

Yours, Daniel


The following changes since commit f15b4ca2ccbc0a4661c35a744d254e1e32dd1e15:

  Merge tag 'drm-intel-next-2012-05-20' of 
git://people.freedesktop.org/~danvet/drm-intel into drm-core-next (2012-05-21 
08:17:42 +0100)

are available in the git repository at:


  git://people.freedesktop.org/~danvet/drm-intel drm-intel-fixes

for you to fetch changes up to ef12dab779acdb907eb4c3fa723e1c6f035ee13c:

  drm/i915: tune down the noise of the RP irq limit fail (2012-05-25 10:29:15 
+0200)


Chris Wilson (4):
  drm/i915: Always update RPS interrupts thresholds along with frequency
  drm/i915: Fix PCH PLL assertions to not assume CRTC:PLL relationship
  drm/i915: Limit page allocations to lowmem (dma32) for i965
  drm/i915: Remove the error message for unbinding pinned buffers

Daniel Vetter (7):
  drm/i915: be more careful when returning -ENXIO in gmbus transfer
  drm/i915: fix module unload since error_state rework
  drm/i915: properly handle interlaced bit for sdvo dtd conversion
  drm/i915: enable vdd when switching off the eDP panel
  drm/i915: wait for a vblank to pass after tv detect
  drm/i915: reject doubleclocked cea modes on dp
  drm/i915: tune down the noise of the RP irq limit fail

Jan-Benedict Glaw (1):
  drm/i915: no lvds quirk for HP t5740e Thin Client

Jesse Barnes (1):
  drm/i915: always use RPNSWREQ for turbo change requests

Rodrigo Vivi (1):
  drm/i915: Adding TV Out Missing modes.

 drivers/gpu/drm/i915/i915_debugfs.c|2 +
 drivers/gpu/drm/i915/i915_gem.c|   16 +---
 drivers/gpu/drm/i915/i915_irq.c|   37 --
 drivers/gpu/drm/i915/intel_display.c   |   56 
 drivers/gpu/drm/i915/intel_dp.c|   24 +++-
 drivers/gpu/drm/i915/intel_i2c.c   |   21 ++-
 drivers/gpu/drm/i915/intel_lvds.c  |8 
 drivers/gpu/drm/i915/intel_pm.c|   64 ++--
 drivers/gpu/drm/i915/intel_sdvo.c  |   12 --
 drivers/gpu/drm/i915/intel_sdvo_regs.h |5 +++
 drivers/gpu/drm/i915/intel_tv.c|   53 ++
 11 files changed, 197 insertions(+), 101 deletions(-)
-- 
Daniel Vetter
Mail: dan...@ffwll.ch
Mobile: +41 (0)79 365 57 48
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [pull] drm-intel-fixes for 3.4

2012-04-26 Thread Daniel Vetter
On Thu, Apr 26, 2012 at 05:35:01PM +0200, Daniel Vetter wrote:
 Hi Dave,
 
 Nothing major here and imo can wait a bit if you don't have anything
 important in drm-fixes yet:
 - VGA load-detect fix. This bug seems to be as old as the load-detect code
   (2.6.30), but needs stupid userspace (upowerd trying to detect
   connectors on dpms-off outputs) to actually kill the machine. And
   obviously a machine without VGA-hotplug, otherwise we don't do load
   detect.
 - 2 interger overflow fixes for unpriviledged ioctls from Xi Wang.

A tested-by for a regression fix just arrived, so I've thrown that in, too:
- Fix SDVO regression for low-res (pixelclock  100MHz) digital outputs,
  introduce in 2.6.36.

Cheers, Daniel

The following changes since commit 66f75a5d028beaf67c931435fdc3e7823125730c:

  Linux 3.4-rc4 (2012-04-21 14:47:52 -0700)

are available in the git repository at:

  git://people.freedesktop.org/~danvet/drm-intel drm-intel-fixes

for you to fetch changes up to 6651819b4b4fc3caa6964c5d825eb4bb996f3905:

  drm/i915: handle input/output sdvo timings separately in mode_set (2012-04-26 
18:56:26 +0200)


Daniel Vetter (2):
  drm/i915: fixup load-detect on enabled, but not active pipe
  drm/i915: handle input/output sdvo timings separately in mode_set

Xi Wang (2):
  drm/i915: fix integer overflow in i915_gem_execbuffer2()
  drm/i915: fix integer overflow in i915_gem_do_execbuffer()

 drivers/gpu/drm/i915/i915_gem_execbuffer.c |8 ++-
 drivers/gpu/drm/i915/intel_crt.c   |   29 +---
 drivers/gpu/drm/i915/intel_sdvo.c  |   34 +++-
 3 files changed, 36 insertions(+), 35 deletions(-)
-- 
Daniel Vetter
Mail: dan...@ffwll.ch
Mobile: +41 (0)79 365 57 48
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [PULL] drm-intel-fixes (drm/i915 driver)

2011-10-07 Thread Woody Suwalski

Keith Packard wrote:

On Thu, 6 Oct 2011 10:12:57 -0700, Linus 
Torvaldstorva...@linux-foundation.org  wrote:


   [drm:ironlake_update_pch_refclk] *ERROR* enabling SSC on PCH

Thanks. I've got a patch series that fixes a pile of refclk bugs which
is still out for review that should fix this. This error should be
harmless, but still..


And what about blanking (black screen) issue reported Sep21?
I confirm that disabling the blanking e.g. commenting out
/* intel_panel_set_backlight(dev, 0); */
in intel_panel.c is somehow working on EeePC as well as Dell machine.

I guess Linus has stopped using EeePCs ;-)

Woody

___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [PULL] drm-intel-fixes (drm/i915 driver)

2011-10-06 Thread Keith Packard
On Thu, 6 Oct 2011 10:12:57 -0700, Linus Torvalds 
torva...@linux-foundation.org wrote:

   [drm:ironlake_update_pch_refclk] *ERROR* enabling SSC on PCH

Thanks. I've got a patch series that fixes a pile of refclk bugs which
is still out for review that should fix this. This error should be
harmless, but still..

-- 
keith.pack...@intel.com


pgp3JJTCtFwmq.pgp
Description: PGP signature
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel