✓ i915.CI.BAT: success for drm/i915/dp: dsc fix, refactoring and cleanups (rev3)

2025-01-31 Thread Patchwork
== Series Details == Series: drm/i915/dp: dsc fix, refactoring and cleanups (rev3) URL : https://patchwork.freedesktop.org/series/144179/ State : success == Summary == CI Bug Log - changes from CI_DRM_16053 -> Patchwork_144179v3 Summary ---

✗ i915.CI.BAT: failure for drm/i915/pmu: Drop custom hotplug code (rev3)

2025-01-31 Thread Patchwork
== Series Details == Series: drm/i915/pmu: Drop custom hotplug code (rev3) URL : https://patchwork.freedesktop.org/series/143636/ State : failure == Summary == CI Bug Log - changes from CI_DRM_16053 -> Patchwork_143636v3 Summary ---

✗ Fi.CI.CHECKPATCH: warning for drm/i915/dp: dsc fix, refactoring and cleanups (rev3)

2025-01-31 Thread Patchwork
== Series Details == Series: drm/i915/dp: dsc fix, refactoring and cleanups (rev3) URL : https://patchwork.freedesktop.org/series/144179/ State : warning == Summary == Error: dim checkpatch failed 91db7f941ad3 drm/i915/dp: Iterate DSC BPP from high to low on all platforms b3ff9dd1b09d drm/i915

✗ Fi.CI.SPARSE: warning for drm/i915/dp: dsc fix, refactoring and cleanups (rev3)

2025-01-31 Thread Patchwork
== Series Details == Series: drm/i915/dp: dsc fix, refactoring and cleanups (rev3) URL : https://patchwork.freedesktop.org/series/144179/ 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/a

Re: [PATCH] drm/i915/dmc_wl: Do not check for DMC payload

2025-01-31 Thread Lucas De Marchi
On Fri, Jan 31, 2025 at 05:16:29PM -0300, Gustavo Sousa wrote: Quoting Krzysztof Karas (2025-01-30 11:18:28-03:00) Hi Gustavo, [...] Let's remove that check, since it is unnecessary and causes the inconsistency illustrated above. Signed-off-by: Gustavo Sousa --- Would you add: Fixes: c01e7

✗ Fi.CI.SPARSE: warning for drm/i915/pmu: Drop custom hotplug code (rev3)

2025-01-31 Thread Patchwork
== Series Details == Series: drm/i915/pmu: Drop custom hotplug code (rev3) URL : https://patchwork.freedesktop.org/series/143636/ State : warning == Summary == Error: dim sparse failed Sparse version: v0.6.2 Fast mode used, each commit won't be checked separately.

[PATCH v2] drm/i915/dp: Add intel_dp_dsc_bpp_step_x16() helper to get DSC BPP precision

2025-01-31 Thread Jani Nikula
Add a platform independent helper for getting the supported DSC BPP step for the link. v2: Use fxp_q4_from_int(1) (Imre) Reviewed-by: Imre Deak Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/intel_dp.c | 21 - 1 file changed, 16 insertions(+), 5 deletions(-) d

[PATCH v2] drm/i915/pmu: Drop custom hotplug code

2025-01-31 Thread Lucas De Marchi
Since commit 4ba4f1afb6a9 ("perf: Generic hotplug support for a PMU with a scope"), there's generic support for system-wide counters and integration with cpu hotplug. The i915 counters are system-wide, even though the migration code is using the wrong topology mask: target = cpumask_any_b

Re: [PATCH] drm/i915/dmc_wl: Do not check for DMC payload

2025-01-31 Thread Gustavo Sousa
Quoting Krzysztof Karas (2025-01-30 11:18:28-03:00) >Hi Gustavo, > >[...] >> Let's remove that check, since it is unnecessary and causes the >> inconsistency illustrated above. >> >> Signed-off-by: Gustavo Sousa >> --- > >Would you add: >Fixes: c01e78a96e12 ("drm/i915/dmc_wl: Sanitize enable_dmc_

Re: [PATCH 01/14] drm/i915/dp: Iterate DSC BPP from high to low on all platforms

2025-01-31 Thread Nautiyal, Ankit K
On 1/31/2025 6:19 PM, Jani Nikula wrote: Commit 1c56e9a39833 ("drm/i915/dp: Get optimal link config to have best compressed bpp") tries to find the best compressed bpp for the link. However, it iterates from max to min bpp on display 13+, and from min to max on other platforms. This presumably

Re: [PATCH 14/14] drm/i915/mst: Convert intel_dp_mtp_tu_compute_config() to .4 format

2025-01-31 Thread Imre Deak
On Fri, Jan 31, 2025 at 02:50:07PM +0200, Jani Nikula wrote: > Move towards always using the fxp q4 or .4 fixed point format for > compressed bpp. We'll need to pass the more accurate bpp to this > function later on. > > Always use _x16 naming for variables that are in .4 fixed point for > clarity

✓ i915.CI.BAT: success for series starting with [1/2] drm/ttm: test private resv obj on release/destroy

2025-01-31 Thread Patchwork
== Series Details == Series: series starting with [1/2] drm/ttm: test private resv obj on release/destroy URL : https://patchwork.freedesktop.org/series/144188/ State : success == Summary == CI Bug Log - changes from CI_DRM_16050 -> Patchwork_144188v1 =

Re: [PATCH 13/14] drm/i915/dp: Pass connector state all the way to dsc_compute_link_config()

2025-01-31 Thread Imre Deak
On Fri, Jan 31, 2025 at 02:50:06PM +0200, Jani Nikula wrote: > Going forward, we'll need the connector state in > dsc_compute_link_config(). Pass it along through the chain. Maintain the > same parameter order where relevant. > > Signed-off-by: Jani Nikula > --- > drivers/gpu/drm/i915/display/in

Re: [PATCH 11/14] drm/i915/dp: Use int for compressed BPP in dsc_compute_link_config()

2025-01-31 Thread Imre Deak
On Fri, Jan 31, 2025 at 05:08:33PM +0200, Imre Deak wrote: > On Fri, Jan 31, 2025 at 02:50:04PM +0200, Jani Nikula wrote: > > Just use ints unless there are actual reasons to do otherwise. Here, > > there are not. > > > > Signed-off-by: Jani Nikula > > --- > > drivers/gpu/drm/i915/display/intel_

Re: [PATCH] drm/i915/dp: Return min bpc supported by source instead of 0

2025-01-31 Thread Rodrigo Vivi
On Fri, Jan 31, 2025 at 01:10:25AM -0500, Borah, Chaitanya Kumar wrote: > > > > -Original Message- > > From: Intel-xe On Behalf Of Ankit > > Nautiyal > > Sent: Friday, January 31, 2025 9:44 AM > > To: intel-gfx@lists.freedesktop.org; intel...@lists.freedesktop.org > > Cc: jani.nik...@lin

Re: [PATCH 05/14] drm/i915/dp: Move max DSC BPP reduction one level higher

2025-01-31 Thread Imre Deak
On Fri, Jan 31, 2025 at 02:49:58PM +0200, Jani Nikula wrote: > Now that {icl,xelpd}_dsc_compute_link_config() take .4 fixed point as > parameter, move the common max DSC BPP reduction one level higher. Use > intel_dp_dsc_bpp_step() to compute the step, and pass on to both > platform specific functi

✗ Fi.CI.SPARSE: warning for series starting with [1/2] drm/ttm: test private resv obj on release/destroy

2025-01-31 Thread Patchwork
== Series Details == Series: series starting with [1/2] drm/ttm: test private resv obj on release/destroy URL : https://patchwork.freedesktop.org/series/144188/ State : warning == Summary == Error: dim sparse failed Sparse version: v0.6.2 Fast mode used, each commit won't be checked separatel

✗ Fi.CI.CHECKPATCH: warning for series starting with [1/2] drm/ttm: test private resv obj on release/destroy

2025-01-31 Thread Patchwork
== Series Details == Series: series starting with [1/2] drm/ttm: test private resv obj on release/destroy URL : https://patchwork.freedesktop.org/series/144188/ State : warning == Summary == Error: dim checkpatch failed 881ca3736e5b drm/ttm: test private resv obj on release/destroy -:16: WARN

✓ i915.CI.BAT: success for drm/i915/dp: dsc fix, refactoring and cleanups (rev2)

2025-01-31 Thread Patchwork
== Series Details == Series: drm/i915/dp: dsc fix, refactoring and cleanups (rev2) URL : https://patchwork.freedesktop.org/series/144179/ State : success == Summary == CI Bug Log - changes from CI_DRM_16050 -> Patchwork_144179v2 Summary ---

Re: [PATCH 12/14] drm/i915/dp: Drop compute_pipe_bpp parameter from intel_dp_dsc_compute_config()

2025-01-31 Thread Imre Deak
On Fri, Jan 31, 2025 at 02:50:05PM +0200, Jani Nikula wrote: > The parameter is basically just a proxy for whether the function is > being called for DP SST or DP MST. We can figure this out from crtc > state. > > Signed-off-by: Jani Nikula Reviewed-by: Imre Deak > --- > drivers/gpu/drm/i915/

Re: [PATCH 11/14] drm/i915/dp: Use int for compressed BPP in dsc_compute_link_config()

2025-01-31 Thread Imre Deak
On Fri, Jan 31, 2025 at 02:50:04PM +0200, Jani Nikula wrote: > Just use ints unless there are actual reasons to do otherwise. Here, > there are not. > > Signed-off-by: Jani Nikula > --- > drivers/gpu/drm/i915/display/intel_dp.c | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > >

✗ Fi.CI.SPARSE: warning for drm/i915/dp: dsc fix, refactoring and cleanups (rev2)

2025-01-31 Thread Patchwork
== Series Details == Series: drm/i915/dp: dsc fix, refactoring and cleanups (rev2) URL : https://patchwork.freedesktop.org/series/144179/ 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/a

✗ Fi.CI.CHECKPATCH: warning for drm/i915/dp: dsc fix, refactoring and cleanups (rev2)

2025-01-31 Thread Patchwork
== Series Details == Series: drm/i915/dp: dsc fix, refactoring and cleanups (rev2) URL : https://patchwork.freedesktop.org/series/144179/ State : warning == Summary == Error: dim checkpatch failed 749fb59743db drm/i915/dp: Iterate DSC BPP from high to low on all platforms 849813d442dd drm/i915

Re: [PATCH 10/14] drm/i915/dp: Simplify input BPP checks in intel_dp_dsc_compute_pipe_bpp()

2025-01-31 Thread Imre Deak
On Fri, Jan 31, 2025 at 02:50:03PM +0200, Jani Nikula wrote: > Drop the extra local variables and simplify the conditions. We don't > have to try to special case the loop condition and break in the validity > checks. > > Signed-off-by: Jani Nikula Reviewed-by: Imre Deak > --- > drivers/gpu/dr

Re: [PATCH 09/14] drm/i915/dp: Inline do_dsc_compute_compressed_bpp()

2025-01-31 Thread Imre Deak
On Fri, Jan 31, 2025 at 02:50:02PM +0200, Jani Nikula wrote: > With just the one platform independent loop left in > do_dsc_compute_compressed_bpp(), we don't really need the extra function > that is simply becoming increasingly hard to even figure out a decent > name for. Just merge the whole thin

Re: [PATCH 08/14] drm/i915/dp: Unify DSC link config functions

2025-01-31 Thread Imre Deak
On Fri, Jan 31, 2025 at 02:50:01PM +0200, Jani Nikula wrote: > {icl,xelpd}_dsc_compute_link_config() are now effectively the same, and > can be unified to a single platform independent function. > > Signed-off-by: Jani Nikula Reviewed-by: Imre Deak > --- > drivers/gpu/drm/i915/display/intel_d

✗ i915.CI.BAT: failure for drm/i915/display: implement wa_18038517565

2025-01-31 Thread Patchwork
== Series Details == Series: drm/i915/display: implement wa_18038517565 URL : https://patchwork.freedesktop.org/series/144184/ State : failure == Summary == CI Bug Log - changes from CI_DRM_16050 -> Patchwork_144184v1 Summary --- **F

Re: [PATCH 07/14] drm/i915/dp: Move force_dsc_fractional_bpp_en check to intel_dp_dsc_valid_bpp()

2025-01-31 Thread Imre Deak
On Fri, Jan 31, 2025 at 02:50:00PM +0200, Jani Nikula wrote: > Add the fractional DSC BPP force check to intel_dp_dsc_valid_bpp(), and > use that in xelpd_dsc_compute_link_config(). This is another step closer > towards unifying the platform specific functions. > > Signed-off-by: Jani Nikula Rev

[PATCH 2/2] drm/amdgpu: remove all KFD fences from the BO on release

2025-01-31 Thread Christian König
Remove all KFD BOs from the private dma_resv object. This prevents the KFD from being evitec unecessarily when an exported BO is released. Signed-off-by: Christian König Reviewed-and-Tested-by: James Zhu Reviewed-by: Felix Kuehling --- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h| 5 +- ..

Trivial patch to run through CI

2025-01-31 Thread Christian König
One trivial TTM patch which fixes a bug for AMDKFD. As far as I can see shouldn't have any effect on i915 nor XE, but better save than sorry. Christian.

[PATCH 1/2] drm/ttm: test private resv obj on release/destroy

2025-01-31 Thread Christian König
Test the fences in the private dma_resv object instead of the pointer to a potentially shared dma_resv object. This only matters for imported BOs with an SG table since those don't get their dma_resv pointer replaced on release. Signed-off-by: Christian König Reviewed-and-Tested-by: James Zhu R

Re: [PATCH 06/14] drm/i915/dp: Change icl_dsc_compute_link_config() DSC BPP iteration

2025-01-31 Thread Imre Deak
On Fri, Jan 31, 2025 at 02:49:59PM +0200, Jani Nikula wrote: > Instead of iterating the valid BPP array directly, switch to the same > approach as xelpd_dsc_compute_link_config(), with a separate function to > check if the DSC BPP is valid. This prepares us for unifying the > platform specific func

Re: [PATCHv3 02/11] drm/i915/gem: Convert __shmem_writeback() to folios

2025-01-31 Thread Matthew Wilcox
On Thu, Jan 30, 2025 at 12:00:40PM +0200, Kirill A. Shutemov wrote: > Use folios instead of pages. > > This is preparation for removing PG_reclaim. Well, this is a horrid little function. Rather than iterating just the dirty folios, it iterates all folios, then locks them before checking whether

Re: [PATCH 02/14] drm/i915/dp: Add intel_dp_dsc_bpp_step_x16() helper to get DSC BPP precision

2025-01-31 Thread Jani Nikula
On Fri, 31 Jan 2025, Imre Deak wrote: > On Fri, Jan 31, 2025 at 02:49:55PM +0200, Jani Nikula wrote: >> Add a platform independent helper for getting the supported DSC BPP step >> for the link. >> >> Signed-off-by: Jani Nikula >> --- >> drivers/gpu/drm/i915/display/intel_dp.c | 21 +

Re: [PATCH 04/14] drm/i915/dp: Pass .4 BPP values to {icl,xelpd}_dsc_compute_link_config()

2025-01-31 Thread Imre Deak
On Fri, Jan 31, 2025 at 02:49:57PM +0200, Jani Nikula wrote: > Try to keep the variables in the same domain a bit longer to reduce > juggling between integers and .4 fixed point. Change parameter order to > min, max while at it. > > For now, keep the juggling in dsc_compute_compressed_bpp() ensure

Re: [PATCH 03/14] drm/i915/dp: Rename some variables in xelpd_dsc_compute_link_config()

2025-01-31 Thread Imre Deak
On Fri, Jan 31, 2025 at 02:49:56PM +0200, Jani Nikula wrote: > Use the _x16 suffix for all .4 fixed point variables. Drop compressed_ > prefix, as it's implied from the precision suffix. > > As dsc_min_bpp and dsc_max_bpp change domain from int to .4 in the > middle of the function, they remain th

Re: [PATCHv3 03/11] drm/i915/gem: Use PG_dropbehind instead of PG_reclaim

2025-01-31 Thread Andi Shyti
Hi Kirill, On Thu, Jan 30, 2025 at 12:00:41PM +0200, Kirill A. Shutemov wrote: > The recently introduced PG_dropbehind allows for freeing folios > immediately after writeback. Unlike PG_reclaim, it does not need vmscan > to be involved to get the folio freed. > > Instead of using folio_set_reclai

Re: [PATCH 02/14] drm/i915/dp: Add intel_dp_dsc_bpp_step_x16() helper to get DSC BPP precision

2025-01-31 Thread Imre Deak
On Fri, Jan 31, 2025 at 02:49:55PM +0200, Jani Nikula wrote: > Add a platform independent helper for getting the supported DSC BPP step > for the link. > > Signed-off-by: Jani Nikula > --- > drivers/gpu/drm/i915/display/intel_dp.c | 21 - > 1 file changed, 16 insertions(+), 5

Re: [PATCHv3 02/11] drm/i915/gem: Convert __shmem_writeback() to folios

2025-01-31 Thread Andi Shyti
Hi Kirill, On Thu, Jan 30, 2025 at 12:00:40PM +0200, Kirill A. Shutemov wrote: > Use folios instead of pages. > > This is preparation for removing PG_reclaim. > > Signed-off-by: Kirill A. Shutemov > Acked-by: David Hildenbrand looks good: Reviewed-by: Andi Shyti Thanks, Andi

✗ i915.CI.BAT: failure for drm/i915/dp: dsc fix, refactoring and cleanups

2025-01-31 Thread Patchwork
== Series Details == Series: drm/i915/dp: dsc fix, refactoring and cleanups URL : https://patchwork.freedesktop.org/series/144179/ State : failure == Summary == CI Bug Log - changes from CI_DRM_16049 -> Patchwork_144179v1 Summary ---

Re: [PATCH 01/14] drm/i915/dp: Iterate DSC BPP from high to low on all platforms

2025-01-31 Thread Imre Deak
On Fri, Jan 31, 2025 at 02:49:54PM +0200, Jani Nikula wrote: > Commit 1c56e9a39833 ("drm/i915/dp: Get optimal link config to have best > compressed bpp") tries to find the best compressed bpp for the > link. However, it iterates from max to min bpp on display 13+, and from > min to max on other pla

Re: [PATCH i-g-t v7 3/3] tests/xe/pmu: Add pmu tests for gt-c6

2025-01-31 Thread Kamil Konieczny
Hi Vinay, On 2025-01-30 at 13:30:28 -0800, Vinay Belgaumkar wrote: > Simple tests for validating the PMU implementation for GT C6 > residencies. > > v2: Rename rc6-residency-* to gt-c6-residency and remove freq tests. > v3: Keep just gt-c6 tests, add frequency tests later. > v4: Review comments (R

✗ Fi.CI.SPARSE: warning for drm/i915/dp: dsc fix, refactoring and cleanups

2025-01-31 Thread Patchwork
== Series Details == Series: drm/i915/dp: dsc fix, refactoring and cleanups URL : https://patchwork.freedesktop.org/series/144179/ 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/bito

✗ Fi.CI.CHECKPATCH: warning for drm/i915/dp: dsc fix, refactoring and cleanups

2025-01-31 Thread Patchwork
== Series Details == Series: drm/i915/dp: dsc fix, refactoring and cleanups URL : https://patchwork.freedesktop.org/series/144179/ State : warning == Summary == Error: dim checkpatch failed d8a74947ea11 drm/i915/dp: Iterate DSC BPP from high to low on all platforms f3d7d3afbebc drm/i915/dp: Ad

[PATCH] drm/i915/display: implement wa_18038517565

2025-01-31 Thread Vinod Govindapillai
Disable FBC compressor clock gating before enabling FBC and clear it after disabling FBC. Bspec: 74212, 69741, 6 Signed-off-by: Vinod Govindapillai --- drivers/gpu/drm/i915/display/intel_fbc.c | 15 +++ drivers/gpu/drm/i915/i915_reg.h | 6 ++ 2 files changed, 21 ins

[PATCH 14/14] drm/i915/mst: Convert intel_dp_mtp_tu_compute_config() to .4 format

2025-01-31 Thread Jani Nikula
Move towards always using the fxp q4 or .4 fixed point format for compressed bpp. We'll need to pass the more accurate bpp to this function later on. Always use _x16 naming for variables that are in .4 fixed point for clarity. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/intel_dp

[PATCH 13/14] drm/i915/dp: Pass connector state all the way to dsc_compute_link_config()

2025-01-31 Thread Jani Nikula
Going forward, we'll need the connector state in dsc_compute_link_config(). Pass it along through the chain. Maintain the same parameter order where relevant. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/intel_dp.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) di

[PATCH 12/14] drm/i915/dp: Drop compute_pipe_bpp parameter from intel_dp_dsc_compute_config()

2025-01-31 Thread Jani Nikula
The parameter is basically just a proxy for whether the function is being called for DP SST or DP MST. We can figure this out from crtc state. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/intel_dp.c | 14 ++ drivers/gpu/drm/i915/display/intel_dp.h | 3 +-- dri

[PATCH 11/14] drm/i915/dp: Use int for compressed BPP in dsc_compute_link_config()

2025-01-31 Thread Jani Nikula
Just use ints unless there are actual reasons to do otherwise. Here, there are not. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/intel_dp.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/d

[PATCH 10/14] drm/i915/dp: Simplify input BPP checks in intel_dp_dsc_compute_pipe_bpp()

2025-01-31 Thread Jani Nikula
Drop the extra local variables and simplify the conditions. We don't have to try to special case the loop condition and break in the validity checks. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/intel_dp.c | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --gi

[PATCH 09/14] drm/i915/dp: Inline do_dsc_compute_compressed_bpp()

2025-01-31 Thread Jani Nikula
With just the one platform independent loop left in do_dsc_compute_compressed_bpp(), we don't really need the extra function that is simply becoming increasingly hard to even figure out a decent name for. Just merge the whole thing to dsc_compute_compressed_bpp(). Good riddance to the short lived d

[PATCH 08/14] drm/i915/dp: Unify DSC link config functions

2025-01-31 Thread Jani Nikula
{icl,xelpd}_dsc_compute_link_config() are now effectively the same, and can be unified to a single platform independent function. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/intel_dp.c | 49 +++-- 1 file changed, 5 insertions(+), 44 deletions(-) diff --git a/

[PATCH 07/14] drm/i915/dp: Move force_dsc_fractional_bpp_en check to intel_dp_dsc_valid_bpp()

2025-01-31 Thread Jani Nikula
Add the fractional DSC BPP force check to intel_dp_dsc_valid_bpp(), and use that in xelpd_dsc_compute_link_config(). This is another step closer towards unifying the platform specific functions. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/intel_dp.c | 10 +++--- 1 file change

[PATCH 06/14] drm/i915/dp: Change icl_dsc_compute_link_config() DSC BPP iteration

2025-01-31 Thread Jani Nikula
Instead of iterating the valid BPP array directly, switch to the same approach as xelpd_dsc_compute_link_config(), with a separate function to check if the DSC BPP is valid. This prepares us for unifying the platform specific functions. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display

[PATCH 02/14] drm/i915/dp: Add intel_dp_dsc_bpp_step_x16() helper to get DSC BPP precision

2025-01-31 Thread Jani Nikula
Add a platform independent helper for getting the supported DSC BPP step for the link. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/intel_dp.c | 21 - 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/driv

[PATCH 05/14] drm/i915/dp: Move max DSC BPP reduction one level higher

2025-01-31 Thread Jani Nikula
Now that {icl,xelpd}_dsc_compute_link_config() take .4 fixed point as parameter, move the common max DSC BPP reduction one level higher. Use intel_dp_dsc_bpp_step() to compute the step, and pass on to both platform specific functions. (Though it's unused for now in icl_dsc_compute_link_config()).

[PATCH 04/14] drm/i915/dp: Pass .4 BPP values to {icl, xelpd}_dsc_compute_link_config()

2025-01-31 Thread Jani Nikula
Try to keep the variables in the same domain a bit longer to reduce juggling between integers and .4 fixed point. Change parameter order to min, max while at it. For now, keep the juggling in dsc_compute_compressed_bpp() ensure min/max will always have 0 fractional part. To be fixed later. Signed

[PATCH 03/14] drm/i915/dp: Rename some variables in xelpd_dsc_compute_link_config()

2025-01-31 Thread Jani Nikula
Use the _x16 suffix for all .4 fixed point variables. Drop compressed_ prefix, as it's implied from the precision suffix. As dsc_min_bpp and dsc_max_bpp change domain from int to .4 in the middle of the function, they remain the same for now. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/

[PATCH 01/14] drm/i915/dp: Iterate DSC BPP from high to low on all platforms

2025-01-31 Thread Jani Nikula
Commit 1c56e9a39833 ("drm/i915/dp: Get optimal link config to have best compressed bpp") tries to find the best compressed bpp for the link. However, it iterates from max to min bpp on display 13+, and from min to max on other platforms. This presumably leads to minimum compressed bpp always being

[PATCH 00/14] drm/i915/dp: dsc fix, refactoring and cleanups

2025-01-31 Thread Jani Nikula
This started off as preparation for UHBR SST DSC enabling, but escalated quickly. The SST DSC code is unnecessarily complicated with the platform differences and ints and fixed points being mixed. Clean it up quite a bit, reducing the number of lines in the process. BR, Jani. Jani Nikula (14):

RE: ✗ i915.CI.BAT: failure for drm/i915/selftests: avoid using uninitialized context (rev3)

2025-01-31 Thread Illipilli, TejasreeX
Hi, https://patchwork.freedesktop.org/series/143990/ - Re-reported. Thanks, Tejasree -Original Message- From: I915-ci-infra On Behalf Of Krzysztof Karas Sent: Thursday, January 30, 2025 5:54 PM To: i915-ci-in...@lists.freedesktop.org Cc: intel-gfx@lists.freedesktop.org Subject: Re: ✗ i

✓ i915.CI.BAT: success for drm/i915/selftests: avoid using uninitialized context (rev3)

2025-01-31 Thread Patchwork
== Series Details == Series: drm/i915/selftests: avoid using uninitialized context (rev3) URL : https://patchwork.freedesktop.org/series/143990/ State : success == Summary == CI Bug Log - changes from CI_DRM_16041 -> Patchwork_143990v3 Summ

✓ i915.CI.BAT: success for drm/i915/gt: Use spin_lock_irqsave() in interruptible context (rev2)

2025-01-31 Thread Patchwork
== Series Details == Series: drm/i915/gt: Use spin_lock_irqsave() in interruptible context (rev2) URL : https://patchwork.freedesktop.org/series/143600/ State : success == Summary == CI Bug Log - changes from CI_DRM_16048 -> Patchwork_143600v2 ==

Re: [PATCH 6/6] drm/i915/mst: use min_array() and max_array() instead of hand-rolling

2025-01-31 Thread Raag Jadav
On Fri, Jan 31, 2025 at 11:20:22AM +0200, Jani Nikula wrote: > On Thu, 30 Jan 2025, Imre Deak wrote: > > On Thu, Jan 30, 2025 at 04:35:06PM +0200, Imre Deak wrote: > >> On Wed, Jan 29, 2025 at 04:46:38PM +0200, Jani Nikula wrote: > >> > Improve code clarity by using existing min_array() and max_ar

Re: [PATCH 6/6] drm/i915/mst: use min_array() and max_array() instead of hand-rolling

2025-01-31 Thread Jani Nikula
On Thu, 30 Jan 2025, Imre Deak wrote: > On Thu, Jan 30, 2025 at 04:35:06PM +0200, Imre Deak wrote: >> On Wed, Jan 29, 2025 at 04:46:38PM +0200, Jani Nikula wrote: >> > Improve code clarity by using existing min_array() and max_array() >> > helpers to find the lowest and highest values in an array.

Re: [PATCH i-g-t v7 3/3] tests/xe/pmu: Add pmu tests for gt-c6

2025-01-31 Thread Riana Tauro
Hi Vinay On 1/31/2025 3:00 AM, Vinay Belgaumkar wrote: Simple tests for validating the PMU implementation for GT C6 residencies. v2: Rename rc6-residency-* to gt-c6-residency and remove freq tests. v3: Keep just gt-c6 tests, add frequency tests later. v4: Review comments (Riana) v5: Review comm

Re: [PATCH i-g-t v7 2/3] lib/igt_perf: Add utils to extract PMU event info

2025-01-31 Thread Riana Tauro
On 1/31/2025 3:00 AM, Vinay Belgaumkar wrote: Functions to parse event ID and GT bit shift for PMU events. v2: Review comments (Riana) v3: Review comments (Lucas) Cc: Riana Tauro Cc: Lucas De Marchi Cc: Kamil Konieczny Cc: Rodrigo Vivi Signed-off-by: Vinay Belgaumkar Looks good to me