✗ Fi.CI.SPARSE: warning for Panel Replay eDP support (rev10)

2024-06-18 Thread Patchwork
== Series Details == Series: Panel Replay eDP support (rev10) URL : https://patchwork.freedesktop.org/series/133684/ State : warning == Summary == Error: dim sparse failed Sparse version: v0.6.2 Fast mode used, each commit won't be checked separately. +./arch/x86/include/asm/bitops.h:116:1: wa

[PATCH v9 11/11] drm/i915/psr: Modify dg2_activate_panel_replay to support eDP

2024-06-18 Thread Jouni Högander
There are couple of bits in PSR2_CTL which needs to be written in case of eDP Panel Replay Bspec: 68920 v2: use boolean instead of assuming eDP Panel Replay mean Early Transport Signed-off-by: Jouni Högander --- drivers/gpu/drm/i915/display/intel_psr.c | 13 + 1 file changed, 13 in

[PATCH v9 08/11] drm/i915/psr: Perform psr2 checks related to ALPM for Panel Replay

2024-06-18 Thread Jouni Högander
eDP1.5 support ALPM with Panel Replay as well. We need to check ALPM related things for Panel Replay as well. Bspec: 68920 v5: - instead of using crtc_state->has_panel_replay provide aux_less flag v4: - do not move _compute_psr2_sdp_prior_scanline_indication - move ALPM related checks to se

[PATCH v9 09/11] drm/i915/psr: Perform scanline indication check for Panel Replay as well

2024-06-18 Thread Jouni Högander
Scanline indication needs to be checked and configure for both PSR2 and Panel Replay Selective Update. Move this check to intel_sel_update_config_valid. Signed-off-by: Jouni Högander --- drivers/gpu/drm/i915/display/intel_psr.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-)

[PATCH v9 06/11] drm/i915/psr: HW will not allow PR on eDP when HDCP enabled

2024-06-18 Thread Jouni Högander
Take into account in Panel Replay compute config that HW will not allow PR on eDP when HDCP enabled. v2: add debug message to print out why Panel Replay is not possible Signed-off-by: Jouni Högander --- drivers/gpu/drm/i915/display/intel_psr.c | 14 ++ 1 file changed, 14 insertions

[PATCH v9 10/11] drm/i915/psr: Check Early Transport for Panel Replay as well

2024-06-18 Thread Jouni Högander
Move Early Transport validity check to be performed for Panel Replay as well and use Early Transport for eDP Panel Replay always. v2:set crtc_state->enable_psr2_su_region_et directly (not in if block) Signed-off-by: Jouni Högander --- drivers/gpu/drm/i915/display/intel_psr.c | 6 +++--- 1 file

[PATCH v9 05/11] drm/i915/psr: 128b/132b Panel Replay is not supported on eDP

2024-06-18 Thread Jouni Högander
Take into account that 128b/132b Panel Replay is not supported on eDP. Bspec: 68920 v2: - make crtc_state as const - add debug message to print out why Panel Replay is not possible Signed-off-by: Jouni Högander --- drivers/gpu/drm/i915/display/intel_psr.c | 21 +++-- 1 file

[PATCH v9 07/11] drm/i915/alpm: Make crtc_state as const in intel_alpm_compute_params

2024-06-18 Thread Jouni Högander
Intel_alpm_compute_params doesn't change crtc_state. Let's convert it as const. Signed-off-by: Jouni Högander --- drivers/gpu/drm/i915/display/intel_alpm.c | 9 + drivers/gpu/drm/i915/display/intel_alpm.h | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/

[PATCH v9 04/11] drm/i915/psr: Check panel Early Transport capability for eDP PR

2024-06-18 Thread Jouni Högander
Our HW doesn't support panel replay without Early Transport on eDP. Bspec: 68920 Signed-off-by: Jouni Högander --- drivers/gpu/drm/i915/display/intel_psr.c | 17 - 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/i915/display/intel_psr.c b/drivers/

[PATCH v9 03/11] drm/i915/psr: enable sink for eDP1.5 Panel Replay

2024-06-18 Thread Jouni Högander
eDP1.5 allows Panel Replay on eDP as well. Take this into account when enabling sink PSR/Panel Replay. Write also PANEL_REPLAY_CONFIG2 register accordingly. v3: - set DP_PANEL_REPLAY_CRC_VERIFICATION in PANEL_REPLAY_CONFIG2 - PANEL_REPLAY_CONFIG2 is available in DP2.1 as well v2: do not config

[PATCH v9 02/11] drm/i915/psr: Inform Panel Replay source support on eDP as well

2024-06-18 Thread Jouni Högander
Display version >= 20 support eDP 1.5. Inform Panel Replay source support on eDP for display version >= 20. Bspec: 68920 Signed-off-by: Jouni Högander --- drivers/gpu/drm/i915/display/intel_psr.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915/disp

[PATCH v9 00/11] Panel Replay eDP support

2024-06-18 Thread Jouni Högander
This patch set is implementing eDP1.5 Panel Replay for Intel hw and enabling it on LunarLake HW when eDP1.5 panel is available. Patches are tested using two differenet eDP1.5 panel models. IGT modifications for testing are under review and available here: https://patchwork.freedesktop.org/series/1

[PATCH v9 01/11] drm/i915/psr: Check panel ALPM capability for eDP Panel Replay

2024-06-18 Thread Jouni Högander
Our HW doesn't support Panel Replay without AUX_LESS ALPM on eDP. Check panel support for this and prevent eDP panel replay if it doesn't exits. Bspec: 68920 v2: use intel_alpm_aux_less_wake_supported Signed-off-by: Jouni Högander --- drivers/gpu/drm/i915/display/intel_psr.c | 7 +++ 1 fil

✗ Fi.CI.BAT: failure for Implement WA to fix increased power usage (rev2)

2024-06-18 Thread Patchwork
== Series Details == Series: Implement WA to fix increased power usage (rev2) URL : https://patchwork.freedesktop.org/series/134541/ State : failure == Summary == CI Bug Log - changes from CI_DRM_14966 -> Patchwork_134541v2 Summary ---

Re: [PATCH 0/9] Panel Replay eDP more prepare patches

2024-06-18 Thread Hogander, Jouni
On Tue, 2024-06-18 at 08:30 +0300, Jouni Högander wrote: > This is a subset of "Panel Replay eDP" patch set. It contains various > preparations and fixes for enabling Panel Replay eDP. These are seen > as safe to merge next and they are not yet enabling Panel Replay eDP. > > This patch set is also

[PATCH 2/2] drm/i915/psr: Implment WA to help reach PC10

2024-06-18 Thread Suraj Kandpal
To reach PC10 when PKG_C_LATENCY is configure we must do the following things 1) Enter PSR1 only when delayed_vblank < 6 lines and DC5 can be entered 2) Allow PSR2 deep sleep when DC5 can be entered 3) DC5 can be entered when all transocoder have either PSR1, PSR2 or eDP 1.5 PR ALPM enabled and VBI

[PATCH 1/2] drm/i915/psr: Add return bool value for hsw_activate_psr1

2024-06-18 Thread Suraj Kandpal
Convert hsw_activate_psr1 from void to bool as going forward there is a chance psr1 is not enabled. Signed-off-by: Suraj Kandpal --- drivers/gpu/drm/i915/display/intel_psr.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/i915/display/intel_psr.c b/d

[PATCH 0/2] Implement WA to fix increased power usage

2024-06-18 Thread Suraj Kandpal
When DPKGC is enabled we see an increase in power consumption for PSR1: When gap between vblank and delayed vblank is >= 6 PSR2: When deep sleep is enabled. WA adds condition to avoid the above conditions WA: 16023497226 Signed-off-by: Suraj Kandpal Suraj Kandpal (2): drm/i915/psr: Add return

Re: [PATCH 5/5] drm/i915/frontbuffer: make struct intel_frontbuffer opaque

2024-06-18 Thread kernel test robot
Hi Jani, kernel test robot noticed the following build errors: [auto build test ERROR on drm-intel/for-linux-next] [also build test ERROR on drm-intel/for-linux-next-fixes drm-tip/drm-tip drm-xe/drm-xe-next linus/master v6.10-rc4 next-20240618] [If your patch is applied to the wrong git tree

Re: [PATCH v7 2/9] drm: Support per-plane async flip configuration

2024-06-18 Thread André Almeida
Em 18/06/2024 14:43, Dmitry Baryshkov escreveu: On Tue, Jun 18, 2024 at 01:18:10PM GMT, André Almeida wrote: Em 18/06/2024 07:07, Dmitry Baryshkov escreveu: On Tue, 18 Jun 2024 at 12:38, Jani Nikula wrote: On Tue, 18 Jun 2024, André Almeida wrote: Drivers have different capabilities on wha

Re: [PATCH v2 1/2] drm/dp: Describe target_rr_divider in struct drm_dp_as_sdp

2024-06-18 Thread Rodrigo Vivi
On Fri, Jun 14, 2024 at 03:53:04PM -0400, Rodrigo Vivi wrote: > On Fri, Jun 14, 2024 at 09:55:57AM +0530, Mitul Golani wrote: > > Describe newly added parameter target_rr_divider in struct > > drm_dp_as_sdp. > > > > -v2: > > Remove extra line from commit message.(Lucas) > > > > Fixes: a20c6d954d7

RE: [PATCH v2 0/2] Sparse errors on the i915_gem_stolen

2024-06-18 Thread Cavitt, Jonathan
-Original Message- From: Andi Shyti Sent: Monday, June 17, 2024 11:43 AM To: intel-gfx ; dri-devel Cc: Andi Shyti ; Cavitt, Jonathan ; De Marchi, Lucas Subject: [PATCH v2 0/2] Sparse errors on the i915_gem_stolen > > Hi Jonathan, > > Commit 05da7d9f717b ("drm/i915/gem: Downgrade sto

Re: [PATCH v7 2/9] drm: Support per-plane async flip configuration

2024-06-18 Thread Dmitry Baryshkov
On Tue, Jun 18, 2024 at 01:18:10PM GMT, André Almeida wrote: > Em 18/06/2024 07:07, Dmitry Baryshkov escreveu: > > On Tue, 18 Jun 2024 at 12:38, Jani Nikula > > wrote: > > > > > > On Tue, 18 Jun 2024, André Almeida wrote: > > > > Drivers have different capabilities on what plane types they can

RE: [PATCH 1/5] drm/i915/dp: fix the Adaptive sync Operation mode for SDP

2024-06-18 Thread Golani, Mitulkumar Ajitkumar
> -Original Message- > From: Nautiyal, Ankit K > Sent: Monday, June 3, 2024 6:33 PM > To: intel-gfx@lists.freedesktop.org > Cc: jani.nik...@linux.intel.com; ville.syrj...@linux.intel.com; Golani, > Mitulkumar Ajitkumar > Subject: [PATCH 1/5] drm/i915/dp: fix the Adaptive sync Operation

✓ Fi.CI.BAT: success for drm/i915: PREEMPT_RT related fixups. (rev11)

2024-06-18 Thread Patchwork
== Series Details == Series: drm/i915: PREEMPT_RT related fixups. (rev11) URL : https://patchwork.freedesktop.org/series/95463/ State : success == Summary == CI Bug Log - changes from CI_DRM_14962 -> Patchwork_95463v11 Summary --- **

Re: [PATCH v7 2/9] drm: Support per-plane async flip configuration

2024-06-18 Thread André Almeida
Em 18/06/2024 07:07, Dmitry Baryshkov escreveu: On Tue, 18 Jun 2024 at 12:38, Jani Nikula wrote: On Tue, 18 Jun 2024, André Almeida wrote: Drivers have different capabilities on what plane types they can or cannot perform async flips. Create a plane::async_flip field so each driver can choos

✓ Fi.CI.BAT: success for drm/i915/display: platform identification with display->is.

2024-06-18 Thread Patchwork
== Series Details == Series: drm/i915/display: platform identification with display->is. URL : https://patchwork.freedesktop.org/series/135016/ State : success == Summary == CI Bug Log - changes from CI_DRM_14963 -> Patchwork_135016v1 Summa

✗ Fi.CI.SPARSE: warning for drm/i915/display: platform identification with display->is.

2024-06-18 Thread Patchwork
== Series Details == Series: drm/i915/display: platform identification with display->is. URL : https://patchwork.freedesktop.org/series/135016/ State : warning == Summary == Error: dim sparse failed Sparse version: v0.6.2 Fast mode used, each commit won't be checked separately.

✗ Fi.CI.CHECKPATCH: warning for drm/i915/display: platform identification with display->is.

2024-06-18 Thread Patchwork
== Series Details == Series: drm/i915/display: platform identification with display->is. URL : https://patchwork.freedesktop.org/series/135016/ State : warning == Summary == Error: dim checkpatch failed 818c210ecfa9 drm/i915/display: use a macro to initialize subplatforms a05b0a6226d3 drm/i915

[PATCH 6/6] drm/i915/display: remove the display platform enum as unnecessary

2024-06-18 Thread Jani Nikula
The display platform enums are not really needed for anything. Remove. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/intel_display_device.c | 12 +++- drivers/gpu/drm/i915/display/intel_display_device.h | 11 --- 2 files changed, 3 insertions(+), 20 deletions(-) di

[PATCH 5/6] drm/i915/display: add "is" member to struct intel_display

2024-06-18 Thread Jani Nikula
Facilitate using display->is.HASWELL etc. for identifying platforms and subplatforms. Merge platform and subplatform members together. Signed-off-by: Jani Nikula --- .../gpu/drm/i915/display/intel_display_core.h | 3 +++ .../drm/i915/display/intel_display_device.c | 19 +++ 2

[PATCH 4/6] drm/i915/display: add "display is" structure with platform members

2024-06-18 Thread Jani Nikula
Add a structure with a bitfield member for each platform and subplatform, and initialize them in platform and subplatform descs. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/intel_display_device.c | 8 ++-- drivers/gpu/drm/i915/display/intel_display_device.h | 8 2 fi

[PATCH 3/6] drm/i915/display: join the platform and subplatform macros

2024-06-18 Thread Jani Nikula
We'll want to use the subplatforms similar to platforms. Signed-off-by: Jani Nikula --- .../drm/i915/display/intel_display_device.c | 2 +- .../drm/i915/display/intel_display_device.h | 51 +-- 2 files changed, 25 insertions(+), 28 deletions(-) diff --git a/drivers/gpu/drm/

[PATCH 2/6] drm/i915/display: use a macro to define platform enumerations

2024-06-18 Thread Jani Nikula
We'll be needing a macro based list of platforms for more things in the future. Start by defining the platform enumerations with it. Signed-off-by: Jani Nikula --- .../drm/i915/display/intel_display_device.h | 115 ++ 1 file changed, 61 insertions(+), 54 deletions(-) diff --gi

[PATCH 1/6] drm/i915/display: use a macro to initialize subplatforms

2024-06-18 Thread Jani Nikula
Make it easier to change the underlying structures by using a macro similar to PLATFORM() for initialization. The subplatform names in debug logs change slightly as they now reflect the enum rather than manually entered names. For example, RAPTORLAKE_S rather than RPL-S. Signed-off-by: Jani Nikul

[PATCH 0/6] drm/i915/display: platform identification with display->is.

2024-06-18 Thread Jani Nikula
Long story short, we'll need to identify platforms in display code using some other way than i915 core IS_() macros if we ever want to make a strict separation between the display and non-display parts. I tossed some ideas around (see the bottom of this mail), Lucas liked something similar to what

Re: ✗ Fi.CI.BAT: failure for series starting with [v2,1/3] drm/i915: Move encoder suspend/shutdown helpers to intel_encoder.c

2024-06-18 Thread Imre Deak
Hi CI team, could you check the failure below, it looks unrelated: On Tue, Jun 18, 2024 at 01:30:14PM +, Patchwork wrote: > == Series Details == > > Series: series starting with [v2,1/3] drm/i915: Move encoder suspend/shutdown > helpers to intel_encoder.c > URL : https://patchwork.freedes

Re: [PATCH v2 3/3] drm/xe: Use the encoder suspend helper also used by the i915 driver

2024-06-18 Thread Jani Nikula
On Tue, 18 Jun 2024, Imre Deak wrote: > Use the suspend encoders helper which is also used by the i915 driver. > This fixes an issue in the xe driver where the encoder > suspend_complete() hook is not called and was an overlook when this hook > was added in commit b61fad5f7e5d ("drm/i915/tc: Call

Re: [PATCH v2 2/3] drm/i915: Pass intel_display to the encoder suspend/shutdown helpers

2024-06-18 Thread Jani Nikula
On Tue, 18 Jun 2024, Imre Deak wrote: > Pass intel_display to the encoder suspend/shutdown helpers instead of > drm_i915_private for better isolation. > > v2: Pass intel_display to HAS_DISPLAY() as well, update commit log > accordingly. (Jani) > > Cc: Jani Nikula > Reviewed-by: Rodrigo Vivi

✗ Fi.CI.BAT: failure for series starting with [v2,1/3] drm/i915: Move encoder suspend/shutdown helpers to intel_encoder.c

2024-06-18 Thread Patchwork
== Series Details == Series: series starting with [v2,1/3] drm/i915: Move encoder suspend/shutdown helpers to intel_encoder.c URL : https://patchwork.freedesktop.org/series/135014/ State : failure == Summary == CI Bug Log - changes from CI_DRM_14963 -> Patchwork_135014v1 =

RE: [PATCH 2/9] drm/i915/display: Wa 16021440873 is writing wrong register

2024-06-18 Thread Kahola, Mika
> -Original Message- > From: Hogander, Jouni > Sent: Tuesday, June 18, 2024 8:30 AM > To: intel-gfx@lists.freedesktop.org > Cc: Manna, Animesh ; Kahola, Mika > ; Hogander, Jouni > Subject: [PATCH 2/9] drm/i915/display: Wa 16021440873 is writing wrong > register > > Wa 16021440873 is wri

✗ Fi.CI.SPARSE: warning for series starting with [v2,1/3] drm/i915: Move encoder suspend/shutdown helpers to intel_encoder.c

2024-06-18 Thread Patchwork
== Series Details == Series: series starting with [v2,1/3] drm/i915: Move encoder suspend/shutdown helpers to intel_encoder.c URL : https://patchwork.freedesktop.org/series/135014/ State : warning == Summary == Error: dim sparse failed Sparse version: v0.6.2 Fast mode used, each commit won't

Re: [PATCH v2 3/8] drm/i915: Don't check for atomic context on PREEMPT_RT

2024-06-18 Thread Sebastian Andrzej Siewior
On 2024-06-18 10:00:09 [+0100], Tvrtko Ursulin wrote: > I did a re-test but am not 100% certain yet. CI looks frustratingly noisy at > the moment. > > igt@debugfs_test@read_all_entries appears to be a fluke which is not new. > > But igt@gem_exec_parallel@engines@basic from the latest run seem new

[PATCH v2 2/3] drm/i915: Pass intel_display to the encoder suspend/shutdown helpers

2024-06-18 Thread Imre Deak
Pass intel_display to the encoder suspend/shutdown helpers instead of drm_i915_private for better isolation. v2: Pass intel_display to HAS_DISPLAY() as well, update commit log accordingly. (Jani) Cc: Jani Nikula Reviewed-by: Rodrigo Vivi # v1 Signed-off-by: Imre Deak --- drivers/gpu/drm/i

[PATCH v2 3/3] drm/xe: Use the encoder suspend helper also used by the i915 driver

2024-06-18 Thread Imre Deak
Use the suspend encoders helper which is also used by the i915 driver. This fixes an issue in the xe driver where the encoder suspend_complete() hook is not called and was an overlook when this hook was added in commit b61fad5f7e5d ("drm/i915/tc: Call TypeC port flush_work/cleanup without modeset l

[PATCH v2 1/3] drm/i915: Move encoder suspend/shutdown helpers to intel_encoder.c

2024-06-18 Thread Imre Deak
Move the encoder suspend/shutdown helpers to intel_encoder.c, this being the logical place for encoder functions. This also allows sharing the above helpers with the xe driver, done in a follow-up patch. While at it rename the functions using the usual intel_encoder prefix and in the functions re

✓ Fi.CI.BAT: success for drm/i915/panelreplay: Panel replay workaround with VRR (rev7)

2024-06-18 Thread Patchwork
== Series Details == Series: drm/i915/panelreplay: Panel replay workaround with VRR (rev7) URL : https://patchwork.freedesktop.org/series/129632/ State : success == Summary == CI Bug Log - changes from CI_DRM_14963 -> Patchwork_129632v7 Sum

RE: [PATCH 5/9] drm/i915/psr: Disable PSR2 SU Region ET if enable_psr module parameter is set

2024-06-18 Thread Manna, Animesh
> -Original Message- > From: Hogander, Jouni > Sent: Tuesday, June 18, 2024 11:00 AM > To: intel-gfx@lists.freedesktop.org > Cc: Manna, Animesh ; Kahola, Mika > ; Hogander, Jouni > Subject: [PATCH 5/9] drm/i915/psr: Disable PSR2 SU Region ET if enable_psr > module parameter is set > >

RE: [PATCH 4/9] drm/i915/psr: Disable Panel Replay if PSR mode is set via module parameter

2024-06-18 Thread Manna, Animesh
> -Original Message- > From: Hogander, Jouni > Sent: Tuesday, June 18, 2024 11:00 AM > To: intel-gfx@lists.freedesktop.org > Cc: Manna, Animesh ; Kahola, Mika > ; Hogander, Jouni > Subject: [PATCH 4/9] drm/i915/psr: Disable Panel Replay if PSR mode is set > via module parameter > > If

RE: [PATCH 9/9] intel_alpm: Fix wrong offset for PORT_ALPM_* registers

2024-06-18 Thread Manna, Animesh
> -Original Message- > From: Hogander, Jouni > Sent: Tuesday, June 18, 2024 11:00 AM > To: intel-gfx@lists.freedesktop.org > Cc: Manna, Animesh ; Kahola, Mika > ; Hogander, Jouni > Subject: [PATCH 9/9] intel_alpm: Fix wrong offset for PORT_ALPM_* registers > > PORT_ALPM_* registers are

[PATCH v7] drm/i915/panelreplay: Panel replay workaround with VRR

2024-06-18 Thread Animesh Manna
Panel Replay VSC SDP not getting sent when VRR is enabled and W1 and W2 are 0. So Program Set Context Latency in TRANS_SET_CONTEXT_LATENCY register to at least a value of 1. HSD: 14015406119 v1: Initial version. v2: Update timings stored in adjusted_mode struct. [Ville] v3: Add WA in compute_conf

Re: [PATCH 2/3] drm/i915: Pass intel_display to the encoder suspend/shutdown helpers

2024-06-18 Thread Imre Deak
On Tue, Jun 18, 2024 at 12:05:16PM +0300, Jani Nikula wrote: > On Mon, 17 Jun 2024, Imre Deak wrote: > > Pass intel_display to the encoder suspend/shutdown helpers instead of > > drm_i915_private for better isolation. This assumes that HAS_DISPLAY() > > will also take an intel_display parameter in

Re: [PATCH 1/3] drm/i915: Move encoder suspend/shutdown helpers to intel_encoder.c

2024-06-18 Thread Imre Deak
On Tue, Jun 18, 2024 at 11:01:18AM +0300, Jani Nikula wrote: > On Mon, 17 Jun 2024, Imre Deak wrote: > > Move the encoder suspend/shutdown helpers to intel_encoder.c, this being > > the logical place for encoder functions. > > > > This also allows sharing the above helpers with the xe driver, done

Re: [PATCH 00/11] drm/i915/dsb: DSB prep stuff

2024-06-18 Thread Jani Nikula
On Tue, 11 Jun 2024, Ville Syrjala wrote: > From: Ville Syrjälä > > More prep work extracted from my upcoming DSB based plane > programming series. One nitpick, otherwise Reviewed-by: Jani Nikula on the series > > Ville Syrjälä (11): > drm/i915: Extract intel_crtc_arm_vblank_event() > d

Re: [PATCH 07/11] drm/i915/dsb: Convert the DSB code to use intel_display rather than i915

2024-06-18 Thread Jani Nikula
On Tue, 11 Jun 2024, Ville Syrjala wrote: > From: Ville Syrjälä > > The future direction will be to mainly use intel_display > rather than i915 in the display code. Start on that path > for the DSB code. Yay! \o/ > > Signed-off-by: Ville Syrjälä > --- > drivers/gpu/drm/i915/display/intel_dsb

Re: [PATCH 08/11] drm/i915/dsb: Add i915.enable_dsb module parameter

2024-06-18 Thread Jani Nikula
On Tue, 11 Jun 2024, Ville Syrjala wrote: > From: Ville Syrjälä > > As we extend the use of DSB for critical pipe/plane register > programming, it'll be nice to have an escape valve at hand, > in case things go very poorly. To that end, add a i915.enable_dsb > modparam by which we can force the d

✗ Fi.CI.SPARSE: warning for drm/i915: PREEMPT_RT related fixups. (rev11)

2024-06-18 Thread Patchwork
== Series Details == Series: drm/i915: PREEMPT_RT related fixups. (rev11) URL : https://patchwork.freedesktop.org/series/95463/ State : warning == Summary == Error: dim sparse failed Sparse version: v0.6.2 Fast mode used, each commit won't be checked separately.

✗ Fi.CI.CHECKPATCH: warning for drm/i915: PREEMPT_RT related fixups. (rev11)

2024-06-18 Thread Patchwork
== Series Details == Series: drm/i915: PREEMPT_RT related fixups. (rev11) URL : https://patchwork.freedesktop.org/series/95463/ State : warning == Summary == Error: dim checkpatch failed 5177644eee61 drm/i915: Use preempt_disable/enable_rt() where recommended -:7: WARNING:COMMIT_LOG_LONG_LINE:

RE: [PATCH 1/9] drm/i915/psr: Set SU area width as pipe src width

2024-06-18 Thread Kahola, Mika
> -Original Message- > From: Hogander, Jouni > Sent: Tuesday, June 18, 2024 8:30 AM > To: intel-gfx@lists.freedesktop.org > Cc: Manna, Animesh ; Kahola, Mika > ; Hogander, Jouni > Subject: [PATCH 1/9] drm/i915/psr: Set SU area width as pipe src width > > Currently SU area width is set as

Re: [PATCH v7 2/9] drm: Support per-plane async flip configuration

2024-06-18 Thread Dmitry Baryshkov
On Tue, 18 Jun 2024 at 12:38, Jani Nikula wrote: > > On Tue, 18 Jun 2024, André Almeida wrote: > > Drivers have different capabilities on what plane types they can or > > cannot perform async flips. Create a plane::async_flip field so each > > driver can choose which planes they allow doing async

Re: [PATCH v7 2/9] drm: Support per-plane async flip configuration

2024-06-18 Thread Jani Nikula
On Tue, 18 Jun 2024, André Almeida wrote: > Drivers have different capabilities on what plane types they can or > cannot perform async flips. Create a plane::async_flip field so each > driver can choose which planes they allow doing async flips. > > Signed-off-by: André Almeida > --- > include/d

✓ Fi.CI.IGT: success for drm/i915/gem: Return SIGBUS for wrong mapping parameters (rev2)

2024-06-18 Thread Patchwork
== Series Details == Series: drm/i915/gem: Return SIGBUS for wrong mapping parameters (rev2) URL : https://patchwork.freedesktop.org/series/134953/ State : success == Summary == CI Bug Log - changes from CI_DRM_14958_full -> Patchwork_134953v2_full =

Re: [PATCH v6] drm/i915/panelreplay: Panel replay workaround with VRR

2024-06-18 Thread Jani Nikula
On Mon, 10 Jun 2024, Animesh Manna wrote: > Panel Replay VSC SDP not getting sent when VRR is enabled > and W1 and W2 are 0. So Program Set Context Latency in > TRANS_SET_CONTEXT_LATENCY register to at least a value of 1. > > HSD: 14015406119 > > v1: Initial version. > v2: Update timings stored in

Re: [PATCH 2/3] drm/i915: Pass intel_display to the encoder suspend/shutdown helpers

2024-06-18 Thread Jani Nikula
On Mon, 17 Jun 2024, Imre Deak wrote: > Pass intel_display to the encoder suspend/shutdown helpers instead of > drm_i915_private for better isolation. This assumes that HAS_DISPLAY() > will also take an intel_display parameter in the future (or that the > HAS_DISPLAY() check will be moved to a cal

Re: [PATCH v2 3/8] drm/i915: Don't check for atomic context on PREEMPT_RT

2024-06-18 Thread Tvrtko Ursulin
On 17/06/2024 11:07, Sebastian Andrzej Siewior wrote: On 2024-06-14 13:19:25 [+0100], Tvrtko Ursulin wrote: So the question is why do you need to know if the context is atomic? The only impact is avoiding disabling preemption. Is it that important to avoid it? If so would cant_migrate() work?

✓ Fi.CI.IGT: success for Sparse errors on the i915_gem_stolen (rev2)

2024-06-18 Thread Patchwork
== Series Details == Series: Sparse errors on the i915_gem_stolen (rev2) URL : https://patchwork.freedesktop.org/series/134930/ State : success == Summary == CI Bug Log - changes from CI_DRM_14957_full -> Patchwork_134930v2_full Summary ---

✗ Fi.CI.IGT: failure for drm/i915/gt: Fix potential UAF by revoke of fence registers (rev5)

2024-06-18 Thread Patchwork
== Series Details == Series: drm/i915/gt: Fix potential UAF by revoke of fence registers (rev5) URL : https://patchwork.freedesktop.org/series/134411/ State : failure == Summary == CI Bug Log - changes from CI_DRM_14957_full -> Patchwork_134411v5_full ==

Re: [PATCH 1/3] drm/i915: Move encoder suspend/shutdown helpers to intel_encoder.c

2024-06-18 Thread Jani Nikula
On Mon, 17 Jun 2024, Imre Deak wrote: > Move the encoder suspend/shutdown helpers to intel_encoder.c, this being > the logical place for encoder functions. > > This also allows sharing the above helpers with the xe driver, done in a > follow-up patch. > > While at it rename the functions using the

Re: [PATCH 1/2] drm/i915/gem: Return -EINVAL instead of '0'

2024-06-18 Thread Andi Shyti
Hi Lucas, On Mon, Jun 17, 2024 at 05:29:24PM -0500, Lucas De Marchi wrote: > On Mon, Jun 17, 2024 at 08:38:20PM GMT, Andi Shyti wrote: > > On Mon, Jun 17, 2024 at 10:46:07AM -0500, Lucas De Marchi wrote: > > > On Mon, Jun 17, 2024 at 04:22:11PM GMT, Andi Shyti wrote: > > > > On Mon, Jun 17, 2024 a