[Intel-gfx] [PATCH 07/13] drm/i915: Tweak plane ddb allocation tracking

2020-11-19 Thread Ville Syrjala
From: Ville Syrjälä Let's store the plane allocation in a manner which more closely matches how the hw operates. That is, we store the packed/CbCr ddb in one struct, and the Y ddb in another. Currently we're storing packed/Y in one struct, CbCr in the other. This also works pretty well for icl+

[Intel-gfx] [PATCH 06/13] drm/i915: Extract skl_crtc_calc_dbuf_bw()

2020-11-19 Thread Ville Syrjala
From: Ville Syrjälä Extract the dbuf slice data_rate calculation into a small helper. Should make it a bit easier to handle the different color planes of planar formats correctly. Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/i915/display/intel_bw.c | 81 ++--- 1 file

[Intel-gfx] [PATCH 01/13] drm/i915: Drop pointless total_data_rate argument

2020-11-19 Thread Ville Syrjala
From: Ville Syrjälä skl_ddb_get_pipe_allocation_limits() has no need for the total relative data rate. Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/i915/intel_pm.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c index

Re: [Intel-gfx] [v2 1/2] drm/i915/display/tgl: Disable FBC with PSR2

2020-11-19 Thread Shankar, Uma
> -Original Message- > From: Ville Syrjälä > Sent: Thursday, November 19, 2020 9:12 PM > To: Shankar, Uma > Cc: intel-gfx@lists.freedesktop.org > Subject: Re: [v2 1/2] drm/i915/display/tgl: Disable FBC with PSR2 > > On Thu, Nov 19, 2020 at 09:20:49PM +0530, Uma Shankar wrote: > >

[Intel-gfx] [PATCH 02/13] drm/i915: Drop pointless dev_priv argument

2020-11-19 Thread Ville Syrjala
From: Ville Syrjälä skl_ddb_entry_init_from_hw() has no need for dev_priv. Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/i915/intel_pm.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c index

[Intel-gfx] [PATCH 03/13] drm/i915: Extract skl_ddb_entry_init()

2020-11-19 Thread Ville Syrjala
From: Ville Syrjälä Extract a small helper to populate a ddb entry. Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/i915/intel_pm.c | 48 + 1 file changed, 25 insertions(+), 23 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_pm.c

[Intel-gfx] [PATCH 04/13] drm/i915: Introduce skl_plane_ddb_iter

2020-11-19 Thread Ville Syrjala
From: Ville Syrjälä Collect a bit of the stuff used during the plane ddb allocation into a struct we can pass around. Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/i915/intel_pm.c | 94 - 1 file changed, 47 insertions(+), 47 deletions(-) diff --git

[Intel-gfx] [PATCH 05/13] drm/i915: Extract skl_allocate_plane_ddb()

2020-11-19 Thread Ville Syrjala
From: Ville Syrjälä Replace some copy-pasta with a function. Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/i915/intel_pm.c | 35 - 1 file changed, 21 insertions(+), 14 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_pm.c

[Intel-gfx] [PATCH 00/13] drm/i915: Clean up the plane data_rate stuff

2020-11-19 Thread Ville Syrjala
From: Ville Syrjälä Let's sort out the plane data_rate stuff properly by accounting each color plane independently. And we reuse the same code and approach for the relative data rate (which is used for plane ddb allocation). Currently it's not even obvious if the relative data rate is really

Re: [Intel-gfx] [PATCH] drm/i915/display: Whitespace cleanups

2020-11-19 Thread Navare, Manasi
Pushed to dinq Manasi On Thu, Nov 19, 2020 at 09:07:17AM +, Chris Wilson wrote: > drivers/gpu/drm/i915/display/intel_display.c:3634 > intel_find_initial_plane_obj() warn: inconsistent indenting > drivers/gpu/drm/i915/display/intel_display.c:15367 kill_bigjoiner_slave() > warn: inconsistent

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Clean up the plane data_rate stuff

2020-11-19 Thread Patchwork
== Series Details == Series: drm/i915: Clean up the plane data_rate stuff URL : https://patchwork.freedesktop.org/series/84075/ State : success == Summary == CI Bug Log - changes from CI_DRM_9362 -> Patchwork_18944 Summary ---

[Intel-gfx] [PATCH 08/13] drm/i915: Split plane data_rate into data_rate+data_rate_y

2020-11-19 Thread Ville Syrjala
From: Ville Syrjälä Split the currently combined plane data_rate into the proper Y vs. CbCr components. This matches how we now track the plane dbuf allocations, and thus will make the dbuf bandwidth calculations actually produce the correct numbers for each dbuf slice. Signed-off-by: Ville

[Intel-gfx] [PATCH 13/13] drm/i915: s/plane_res_b/blocks/ etc.

2020-11-19 Thread Ville Syrjala
From: Ville Syrjälä Rename a bunch of the skl+ watermark struct members to have sensible names. Avoids me having to think what plane_res_b/etc. means. Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/i915/display/intel_display.c | 48 ++--- .../drm/i915/display/intel_display_types.h|

[Intel-gfx] [PATCH 10/13] drm/i915: Reuse intel_adjusted_rate() for pfit pixel rate adjustment

2020-11-19 Thread Ville Syrjala
From: Ville Syrjälä Replace the hand rolled pfit downscale calculations with intel_adjusted_rate(). Signed-off-by: Ville Syrjälä --- .../gpu/drm/i915/display/intel_atomic_plane.c | 6 ++--- .../gpu/drm/i915/display/intel_atomic_plane.h | 4 drivers/gpu/drm/i915/display/intel_display.c

[Intel-gfx] [PATCH 11/13] drm/i915: Pre-calculate plane relative data rate

2020-11-19 Thread Ville Syrjala
From: Ville Syrjälä Handle the plane relative data rate in exactly the same way as we already handle the real data rate. Ie. pre-calculate it during intel_plane_atomic_check_with_state(), and assign/clear it for the Y plane as needed. This should guarantee that the tracking is 100% consistent,

[Intel-gfx] [PATCH 12/13] drm/i915: Remove total[] and uv_total[] from ddb allocation

2020-11-19 Thread Ville Syrjala
From: Ville Syrjälä There's really no need to maintain these total[] arrays to track the size of each plane's ddb allocation. We just stick the results straight into the crtc_state ddb tracking structures. The main annoyance with all this is the mismatch between wm_uv vs. ddb_y on pre-icl. If

[Intel-gfx] [PATCH 09/13] drm/i915: Extract intel_adjusted_rate()

2020-11-19 Thread Ville Syrjala
From: Ville Syrjälä Extract a small helper to calculate the downscaling adjusted pixel rate/data rate/etc. Signed-off-by: Ville Syrjälä --- .../gpu/drm/i915/display/intel_atomic_plane.c | 27 +-- 1 file changed, 19 insertions(+), 8 deletions(-) diff --git

Re: [Intel-gfx] [CI 4/6] drm/i915/gt: Show all active timelines for debugging

2020-11-19 Thread Tvrtko Ursulin
On 19/11/2020 16:56, Chris Wilson wrote: Include the active timelines for debugfs/i915_engine_info, so that we can see which have unready requests inflight which are not shown otherwise. Suggested-by: Tvrtko Ursulin Signed-off-by: Chris Wilson Reviewd-by: Chris Wilson Wrong paste, I

Re: [Intel-gfx] [PATCH] i915/gem_flink_race: Fix error in buffer usage

2020-11-19 Thread Chris Wilson
Quoting Hampson, Steven T (2020-11-19 18:18:14) > Chris, > > Is this acceptable? Can it be merged? It is of little use to print out that many numbers, so lets not and just show some statistics instead as this is just meant to be a guide to the reader as to whether the threads each received a

[Intel-gfx] ✗ Fi.CI.BAT: failure for series starting with [CI,1/6] drm/i915/gt: Include semaphore status in print_request()

2020-11-19 Thread Patchwork
== Series Details == Series: series starting with [CI,1/6] drm/i915/gt: Include semaphore status in print_request() URL : https://patchwork.freedesktop.org/series/84073/ State : failure == Summary == CI Bug Log - changes from CI_DRM_9362 -> Patchwork_18942

[Intel-gfx] [v3 1/2] drm/i915/display/tgl: Disable FBC with PSR2

2020-11-19 Thread Uma Shankar
There are some corner cases wrt underrun when we enable FBC with PSR2 on TGL. Recommendation from hardware is to keep this combination disabled. Bspec: 50422 HSD: 14010260002 v2: Added psr2 enabled check from crtc_state (Anshuman) Added Bspec link and HSD referneces (Jose) v3: Moved the logic

[Intel-gfx] [CI 6/6] drm/i915: Show timeline dependencies for debug

2020-11-19 Thread Chris Wilson
From: Tvrtko Ursulin Include the signalers each request in the timeline is waiting on, as a means to try and identify the cause of a stall. This can be quite verbose, even as for now we only show each request in the timeline and its immediate antecedents. This generates output like: Timeline

[Intel-gfx] [CI 2/6] drm/i915: Lift i915_request_show()

2020-11-19 Thread Chris Wilson
Extract i915_request_show for reuse in other request chain pretty printers. For a bonus point, quietly change the seqno format from %llx to %lld to match everywhere else. Signed-off-by: Chris Wilson Reviewed-by: Tvrtko Ursulin --- drivers/gpu/drm/i915/gt/intel_engine_cs.c | 47

[Intel-gfx] [CI 3/6] drm/i915/gt: Update request status flags for debug pretty-printer

2020-11-19 Thread Chris Wilson
We plan to expand upon the number of available statuses for when we pretty-print the requests along the timelines, and so need a new set of flags. We have settled upon: Unready [U] - initial status after being submitted, the request is not ready for execution as it

[Intel-gfx] [CI 4/6] drm/i915/gt: Show all active timelines for debugging

2020-11-19 Thread Chris Wilson
Include the active timelines for debugfs/i915_engine_info, so that we can see which have unready requests inflight which are not shown otherwise. Suggested-by: Tvrtko Ursulin Signed-off-by: Chris Wilson Reviewd-by: Chris Wilson --- drivers/gpu/drm/i915/gt/intel_timeline.c | 80

[Intel-gfx] [CI 5/6] drm/i915: Lift waiter/signaler iterators

2020-11-19 Thread Chris Wilson
Lift the list iteration defines for traversing the signaler/waiter lists into i915_scheduler.h for reuse. Signed-off-by: Chris Wilson Reviewed-by: Tvrtko Ursulin --- drivers/gpu/drm/i915/gt/intel_lrc.c | 10 -- drivers/gpu/drm/i915/i915_scheduler_types.h | 10 ++ 2

[Intel-gfx] [CI 1/6] drm/i915/gt: Include semaphore status in print_request()

2020-11-19 Thread Chris Wilson
When pretty-printing the requests for debug, also show the status of any semaphore waits as part of its runnable status. Signed-off-by: Chris Wilson Reviewed-by: Mika Kuoppala --- drivers/gpu/drm/i915/gt/intel_engine_cs.c | 1 + 1 file changed, 1 insertion(+) diff --git

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [CI,1/6] drm/i915/gt: Include semaphore status in print_request()

2020-11-19 Thread Patchwork
== Series Details == Series: series starting with [CI,1/6] drm/i915/gt: Include semaphore status in print_request() URL : https://patchwork.freedesktop.org/series/84073/ State : warning == Summary == $ dim checkpatch origin/drm-tip 93a1f698eabf drm/i915/gt: Include semaphore status in

Re: [Intel-gfx] [PATCH] i915/gem_flink_race: Fix error in buffer usage

2020-11-19 Thread Hampson, Steven T
Chris, Is this acceptable? Can it be merged? -Original Message- From: Hampson, Steven T Sent: Wednesday, November 18, 2020 12:41 PM To: 'Chris Wilson' Cc: intel-gfx@ Subject: RE: [Intel-gfx] [PATCH] i915/gem_flink_race: Fix error in buffer usage The problem is that the machine it

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915: Do not call hsw_set_frame_start_delay for dsi (rev2)

2020-11-19 Thread Patchwork
== Series Details == Series: drm/i915: Do not call hsw_set_frame_start_delay for dsi (rev2) URL : https://patchwork.freedesktop.org/series/84039/ State : success == Summary == CI Bug Log - changes from CI_DRM_9362_full -> Patchwork_18943_full

[Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915: Clean up the plane data_rate stuff

2020-11-19 Thread Patchwork
== Series Details == Series: drm/i915: Clean up the plane data_rate stuff URL : https://patchwork.freedesktop.org/series/84075/ State : failure == Summary == CI Bug Log - changes from CI_DRM_9362_full -> Patchwork_18944_full Summary

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Do not call hsw_set_frame_start_delay for dsi (rev2)

2020-11-19 Thread Patchwork
== Series Details == Series: drm/i915: Do not call hsw_set_frame_start_delay for dsi (rev2) URL : https://patchwork.freedesktop.org/series/84039/ State : success == Summary == CI Bug Log - changes from CI_DRM_9362 -> Patchwork_18943

Re: [Intel-gfx] [PATCH] drm/i915/display: Whitespace cleanups

2020-11-19 Thread Navare, Manasi
On Thu, Nov 19, 2020 at 09:07:17AM +, Chris Wilson wrote: > drivers/gpu/drm/i915/display/intel_display.c:3634 > intel_find_initial_plane_obj() warn: inconsistent indenting > drivers/gpu/drm/i915/display/intel_display.c:15367 kill_bigjoiner_slave() > warn: inconsistent indenting > >

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

2020-11-19 Thread Rodrigo Vivi
Hi Dave and Daniel, Here goes another round for 5.10 drm-intel-fixes-2020-11-19: - Fix tgl power gating issue (Rodrigo) - Memory leak fixes (Tvrtko, Chris) - Selftest fixes (Zhang) - Display bpc fix (Ville) - Fix TGL MOCS for PTE tracking (Chris) GVT Fixes: It temporarily disables VFIO edid

[Intel-gfx] ✗ Fi.CI.BAT: failure for Re-enable FBC on TGL (rev2)

2020-11-19 Thread Patchwork
== Series Details == Series: Re-enable FBC on TGL (rev2) URL : https://patchwork.freedesktop.org/series/83510/ State : failure == Summary == CI Bug Log - changes from CI_DRM_9362 -> Patchwork_18941 Summary --- **FAILURE** Serious

Re: [Intel-gfx] [CI 4/6] drm/i915/gt: Show all active timelines for debugging

2020-11-19 Thread Chris Wilson
Quoting Tvrtko Ursulin (2020-11-19 18:08:49) > > On 19/11/2020 16:56, Chris Wilson wrote: > > Include the active timelines for debugfs/i915_engine_info, so that we > > can see which have unready requests inflight which are not shown > > otherwise. > > > > Suggested-by: Tvrtko Ursulin > >

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Clean up the plane data_rate stuff

2020-11-19 Thread Patchwork
== Series Details == Series: drm/i915: Clean up the plane data_rate stuff URL : https://patchwork.freedesktop.org/series/84075/ State : warning == Summary == $ dim checkpatch origin/drm-tip c0d1ad9d577b drm/i915: Drop pointless total_data_rate argument 076ed52a6259 drm/i915: Drop pointless

[Intel-gfx] ✗ Fi.CI.BUILD: failure for drm/i915/gt: Update request status flags for debug pretty-printer (rev2)

2020-11-19 Thread Patchwork
== Series Details == Series: drm/i915/gt: Update request status flags for debug pretty-printer (rev2) URL : https://patchwork.freedesktop.org/series/84061/ State : failure == Summary == Applying: drm/i915/gt: Update request status flags for debug pretty-printer error: sha1 information is

[Intel-gfx] [PATCH v2] drm/i915: Do not call hsw_set_frame_start_delay for dsi

2020-11-19 Thread Manasi Navare
This should fix the boot oops for dsi v2: * Fix indent (Manasi) Fixes: 4e3cdb4535e7 ("drm/i915/dp: Master/Slave enable/disable sequence for bigjoiner") Signed-off-by: Manasi Navare --- drivers/gpu/drm/i915/display/intel_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[Intel-gfx] [PATCH v3] drm/i915: Do not call hsw_set_frame_start_delay for dsi

2020-11-19 Thread Manasi Navare
This should fix the boot oops for dsi v2: * Fix indent (Manasi) v3: * Remove redundant condition (Matt Roper) Fixes: 4e3cdb4535e7 ("drm/i915/dp: Master/Slave enable/disable sequence for bigjoiner") Signed-off-by: Manasi Navare --- drivers/gpu/drm/i915/display/intel_display.c | 8 +++- 1

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Do not call hsw_set_frame_start_delay for dsi (rev3)

2020-11-19 Thread Patchwork
== Series Details == Series: drm/i915: Do not call hsw_set_frame_start_delay for dsi (rev3) URL : https://patchwork.freedesktop.org/series/84039/ State : success == Summary == CI Bug Log - changes from CI_DRM_9364 -> Patchwork_18947

[Intel-gfx] [PATCH] i915/gem_flink_race.c: Use statistics over list of numbers

2020-11-19 Thread Steve Hampson
Print median and range instead of a list of numbers in function test_flink_name. Signed-off-by: Steve Hampson --- tests/i915/gem_flink_race.c | 18 +++--- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/tests/i915/gem_flink_race.c b/tests/i915/gem_flink_race.c index

Re: [Intel-gfx] [PATCH 06/21] drm/i915/adl_s: Add Interrupt Support

2020-11-19 Thread Matt Roper
On Tue, Nov 17, 2020 at 10:50:14AM -0800, Aditya Swarup wrote: > From: Anusha Srivatsa > > ADLS follows ICP/TGP like interrupts. > > v2: Use "INTEL_PCH_TYPE(dev_priv) >= PCH_ICP" of hpd_icp (Lucas) > > Cc: Lucas De Marchi > Cc: Jani Nikula > Cc: Ville Syrjälä > Cc: Imre Deak > Cc: Matt

[Intel-gfx] [PATCH] drm/i915/gt: Plug IPS into intel_rps_set

2020-11-19 Thread Chris Wilson
The old IPS interface did not match the RPS interface that we tried to plug it into (bool vs int return). Once repaired, our minimal selftesting is finally happy! Signed-off-by: Chris Wilson --- drivers/gpu/drm/i915/gt/intel_rps.c | 18 ++ 1 file changed, 10 insertions(+), 8

[Intel-gfx] [PATCH] drm/i915/gt: Plug IPS into intel_rps_set

2020-11-19 Thread Chris Wilson
The old IPS interface did not match the RPS interface that we tried to plug it into (bool vs int return). Once repaired, our minimal selftesting is finally happy! Signed-off-by: Chris Wilson --- drivers/gpu/drm/i915/gt/intel_rps.c | 34 +++-- 1 file changed, 22

Re: [Intel-gfx] [PATCH 10/21] drm/i915/adl_s: Add HTI support and initialize display for ADL-S

2020-11-19 Thread Matt Roper
On Tue, Nov 17, 2020 at 10:50:18AM -0800, Aditya Swarup wrote: > Initialize display outputs and add HTI support for ADL-S. ADL-S has 5 > display outputs -> 1 eDP, 2 HDMI and 2 DP++ outputs. > > Cc: Jani Nikula > Cc: Ville Syrjälä > Cc: Imre Deak > Cc: Matt Roper > Cc: Lucas De Marchi >

[Intel-gfx] ✓ Fi.CI.BAT: success for Re-enable FBC on TGL (rev3)

2020-11-19 Thread Patchwork
== Series Details == Series: Re-enable FBC on TGL (rev3) URL : https://patchwork.freedesktop.org/series/83510/ State : success == Summary == CI Bug Log - changes from CI_DRM_9364 -> Patchwork_18945 Summary --- **SUCCESS** No

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/gt: Plug IPS into intel_rps_set (rev2)

2020-11-19 Thread Patchwork
== Series Details == Series: drm/i915/gt: Plug IPS into intel_rps_set (rev2) URL : https://patchwork.freedesktop.org/series/84081/ State : success == Summary == CI Bug Log - changes from CI_DRM_9364 -> Patchwork_18946 Summary ---

Re: [Intel-gfx] [PATCH 07/21] drm/i915/adl_s: Add PHYs for Alderlake S

2020-11-19 Thread Matt Roper
On Tue, Nov 17, 2020 at 10:50:15AM -0800, Aditya Swarup wrote: > From: Anusha Srivatsa > > Alderlake-S has 5 combo phys, add reg definitions for > combo phys and update the port to phy helper for ADL-S. > > Cc: Lucas De Marchi > Cc: Jani Nikula > Cc: Ville Syrjälä > Cc: Imre Deak > Cc: Matt

[Intel-gfx] ✗ Fi.CI.BUILD: failure for i915/gem_flink_race.c: Use statistics over list of numbers

2020-11-19 Thread Patchwork
== Series Details == Series: i915/gem_flink_race.c: Use statistics over list of numbers URL : https://patchwork.freedesktop.org/series/84084/ State : failure == Summary == Applying: i915/gem_flink_race.c: Use statistics over list of numbers error: sha1 information is lacking or useless

Re: [Intel-gfx] [PATCH v2] drm/i915: Do not call hsw_set_frame_start_delay for dsi

2020-11-19 Thread Matt Roper
On Thu, Nov 19, 2020 at 10:20:57AM -0800, Manasi Navare wrote: > This should fix the boot oops for dsi > > v2: > * Fix indent (Manasi) > > Fixes: 4e3cdb4535e7 ("drm/i915/dp: Master/Slave enable/disable sequence for > bigjoiner") > Signed-off-by: Manasi Navare > --- >

Re: [Intel-gfx] [PATCH v3] drm/i915: Do not call hsw_set_frame_start_delay for dsi

2020-11-19 Thread Matt Roper
On Thu, Nov 19, 2020 at 03:26:15PM -0800, Manasi Navare wrote: > This should fix the boot oops for dsi > > v2: > * Fix indent (Manasi) > v3: > * Remove redundant condition (Matt Roper) > > Fixes: 4e3cdb4535e7 ("drm/i915/dp: Master/Slave enable/disable sequence for > bigjoiner") > Signed-off-by:

Re: [Intel-gfx] [PATCH v5] drm/i915/rkl: new rkl ddc map for different PCH

2020-11-19 Thread Matt Roper
On Tue, Nov 17, 2020 at 10:26:29PM +0800, Lee Shawn C wrote: > After boot into kernel. Driver configured ddc pin mapping based on > predefined table in parse_ddi_port(). Now driver configure rkl > ddc pin mapping depends on icp_ddc_pin_map[]. Then this table will > give incorrect gmbus port number

Re: [Intel-gfx] [PATCH v5] drm/i915/rkl: new rkl ddc map for different PCH

2020-11-19 Thread Lee, Shawn C
On Thu, Nov. 19, 2020 at 11:51 PM, Matt Roper wrote: >On Tue, Nov 17, 2020 at 10:26:29PM +0800, Lee Shawn C wrote: >> After boot into kernel. Driver configured ddc pin mapping based on >> predefined table in parse_ddi_port(). Now driver configure rkl ddc pin >> mapping depends on

Re: [Intel-gfx] [PATCH 05/21] drm/i915/adl_s: Add PCH support

2020-11-19 Thread Matt Roper
On Tue, Nov 17, 2020 at 10:50:13AM -0800, Aditya Swarup wrote: > From: Anusha Srivatsa > > Add support for Alderpoint(ADP) PCH used with Alderlake-S. > > v2: > - Use drm_dbg_kms and drm_WARN_ON based on Jani's feedback.(aswarup) > This patch looks okay, so Reviewed-by: Matt Roper but I'll

Re: [Intel-gfx] [PATCH 11/21] drm/i915/adl_s: Add adl-s ddc pin mapping

2020-11-19 Thread Matt Roper
On Tue, Nov 17, 2020 at 10:50:19AM -0800, Aditya Swarup wrote: > ADL-S requires TC pins to set up ddc for Combo PHY B, C, D and E. > Combo PHY A still uses the old ddc pin mapping. > > From VBT, ddc pin info suggests the following mapping: > VBT DRIVER > DDI

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915: Do not call hsw_set_frame_start_delay for dsi (rev3)

2020-11-19 Thread Patchwork
== Series Details == Series: drm/i915: Do not call hsw_set_frame_start_delay for dsi (rev3) URL : https://patchwork.freedesktop.org/series/84039/ State : success == Summary == CI Bug Log - changes from CI_DRM_9364_full -> Patchwork_18947_full

[Intel-gfx] ✓ Fi.CI.IGT: success for Re-enable FBC on TGL (rev3)

2020-11-19 Thread Patchwork
== Series Details == Series: Re-enable FBC on TGL (rev3) URL : https://patchwork.freedesktop.org/series/83510/ State : success == Summary == CI Bug Log - changes from CI_DRM_9364_full -> Patchwork_18945_full Summary --- **SUCCESS**

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915/gt: Plug IPS into intel_rps_set (rev2)

2020-11-19 Thread Patchwork
== Series Details == Series: drm/i915/gt: Plug IPS into intel_rps_set (rev2) URL : https://patchwork.freedesktop.org/series/84081/ State : success == Summary == CI Bug Log - changes from CI_DRM_9364_full -> Patchwork_18946_full Summary

Re: [Intel-gfx] [CI 00/15] Rebased remaining big joiner series

2020-11-19 Thread Saarinen, Jani
Hi, > -Original Message- > From: Intel-gfx On Behalf Of Navare, > Manasi > Sent: torstai 19. marraskuuta 2020 7.58 > To: intel-gfx@lists.freedesktop.org > Cc: Chris Wilson > Subject: Re: [Intel-gfx] [CI 00/15] Rebased remaining big joiner series > > On Wed, Nov 18, 2020 at 11:49:25AM

Re: [Intel-gfx] [PATCH] drm/i915: Do not call hsw_set_frame_start_delay for dsi

2020-11-19 Thread Petri Latvala
On Wed, Nov 18, 2020 at 11:13:31PM -0800, Manasi Navare wrote: > This should fix the boot oops for dsi > > Fixes: 4e3cdb4535e7 ("drm/i915/dp: Master/Slave enable/disable sequence for > bigjoiner") > Signed-off-by: Manasi Navare > --- > drivers/gpu/drm/i915/display/intel_display.c | 4 ++-- > 1

[Intel-gfx] [PULL] drm-misc-fixes

2020-11-19 Thread Maxime Ripard
Hi Dave, Daniel, Here's this week round of fixes for drm-misc Maxime drm-misc-fixes-2020-11-19: two patches to fix dw-hdmi bind and detection code, and one fix for sun4i shared with arm-soc The following changes since commit a6c40b8032b845f132abfcbcbed6bddebbcc3b4a: drm/mcde: Fix unbalanced

Re: [Intel-gfx] [PATCH v2 06/13] drm/dp_helper: Add support for Configuring DSC for HDMI2.1 Pcon

2020-11-19 Thread Shankar, Uma
> -Original Message- > From: Nautiyal, Ankit K > Sent: Sunday, November 1, 2020 3:37 PM > To: intel-gfx@lists.freedesktop.org > Cc: dri-de...@lists.freedesktop.org; Shankar, Uma ; > Kulkarni, Vandita ; ville.syrj...@linux.intel.com; > Sharma, Swati2 > Subject: [PATCH v2 06/13]

Re: [Intel-gfx] [CI 00/15] Rebased remaining big joiner series

2020-11-19 Thread Chris Wilson
Quoting Navare, Manasi (2020-11-19 05:58:03) > On Wed, Nov 18, 2020 at 11:49:25AM -0800, Navare, Manasi wrote: > > Series pushed to dinq > > > > Manasi > > By Chris Wilson: > > Oops on boot: > > <1>[ 44.315382] BUG: unable to handle page fault for address: > c90049e02100 > <1>[

[Intel-gfx] [PATCH] drm/i915/display: Whitespace cleanups

2020-11-19 Thread Chris Wilson
drivers/gpu/drm/i915/display/intel_display.c:3634 intel_find_initial_plane_obj() warn: inconsistent indenting drivers/gpu/drm/i915/display/intel_display.c:15367 kill_bigjoiner_slave() warn: inconsistent indenting Signed-off-by: Chris Wilson --- drivers/gpu/drm/i915/display/intel_display.c |

Re: [Intel-gfx] [PATCH 4/6] ath11k: make relay callbacks const

2020-11-19 Thread Jani Nikula
On Wed, 18 Nov 2020, Jani Nikula wrote: > Now that relay_open() accepts const callbacks, make relay callbacks > const. > > Cc: Kalle Valo > Cc: ath...@lists.infradead.org > Signed-off-by: Jani Nikula Kalle, thanks for the acks on the other two ath patches - can I have your ack on this one too

Re: [Intel-gfx] [PATCH] drm/i915: Do not call hsw_set_frame_start_delay for dsi

2020-11-19 Thread Hans de Goede
Hi, On 11/19/20 8:13 AM, Manasi Navare wrote: > This should fix the boot oops for dsi > > Fixes: 4e3cdb4535e7 ("drm/i915/dp: Master/Slave enable/disable sequence for > bigjoiner") > Signed-off-by: Manasi Navare > --- > drivers/gpu/drm/i915/display/intel_display.c | 4 ++-- > 1 file changed, 2

Re: [Intel-gfx] [PATCH v2 10/13] drm/i915: Add support for enabling link status and recovery

2020-11-19 Thread Shankar, Uma
> -Original Message- > From: Nautiyal, Ankit K > Sent: Sunday, November 1, 2020 3:37 PM > To: intel-gfx@lists.freedesktop.org > Cc: dri-de...@lists.freedesktop.org; Shankar, Uma ; > Kulkarni, Vandita ; ville.syrj...@linux.intel.com; > Sharma, Swati2 > Subject: [PATCH v2 10/13]

Re: [Intel-gfx] [PATCH v2 08/13] drm/i915: Add support for starting FRL training for HDMI2.1 via PCON

2020-11-19 Thread Shankar, Uma
> -Original Message- > From: Nautiyal, Ankit K > Sent: Sunday, November 1, 2020 3:37 PM > To: intel-gfx@lists.freedesktop.org > Cc: dri-de...@lists.freedesktop.org; Shankar, Uma ; > Kulkarni, Vandita ; ville.syrj...@linux.intel.com; > Sharma, Swati2 > Subject: [PATCH v2 08/13]

[Intel-gfx] [PATCH] drm/i915/gt: Update request status flags for debug pretty-printer

2020-11-19 Thread Chris Wilson
We plan to expand upon the number of available statuses for when we pretty-print the requests along the timelines, and so need a new set of flags. We have settled upon: Unready [U] - initial status after being submitted, the request is not ready for execution as it

Re: [Intel-gfx] [PATCH 08/28] drm/i915/gt: Show all active timelines for debugging

2020-11-19 Thread Chris Wilson
Quoting Tvrtko Ursulin (2020-11-18 15:51:41) > > On 17/11/2020 13:25, Chris Wilson wrote: > > Quoting Tvrtko Ursulin (2020-11-17 12:59:44) > >> > >> On 17/11/2020 11:30, Chris Wilson wrote: > >>> + if (show_request) { > >>> + list_for_each_entry_safe(rq, rn,

Re: [Intel-gfx] [PATCH 8/8] drm/i915/perf: Map OA buffer to user space for gen12 performance query

2020-11-19 Thread Maciejewski, Piotr
Hi, Indeed, we use i915 perf changes introduced by Umesh within Metrics Library (a common library used to obtain performance counters from various operating systems and graphics api). Metrics Library repo: https://github.com/intel/metrics-library Io controls usage:

Re: [Intel-gfx] [PATCH v2 09/13] drm/i915: Check for FRL training before DP Link training

2020-11-19 Thread Shankar, Uma
> -Original Message- > From: Nautiyal, Ankit K > Sent: Sunday, November 1, 2020 3:37 PM > To: intel-gfx@lists.freedesktop.org > Cc: dri-de...@lists.freedesktop.org; Shankar, Uma ; > Kulkarni, Vandita ; ville.syrj...@linux.intel.com; > Sharma, Swati2 > Subject: [PATCH v2 09/13]

Re: [Intel-gfx] [PATCH v2 11/13] drm/i915: Read DSC capabilities of the HDMI2.1 PCON encoder

2020-11-19 Thread Shankar, Uma
> -Original Message- > From: Nautiyal, Ankit K > Sent: Sunday, November 1, 2020 3:37 PM > To: intel-gfx@lists.freedesktop.org > Cc: dri-de...@lists.freedesktop.org; Shankar, Uma ; > Kulkarni, Vandita ; ville.syrj...@linux.intel.com; > Sharma, Swati2 > Subject: [PATCH v2 11/13]

Re: [Intel-gfx] [PATCH v2 07/13] drm/i915: Capture max frl rate for PCON in dfp cap structure

2020-11-19 Thread Shankar, Uma
> -Original Message- > From: Nautiyal, Ankit K > Sent: Sunday, November 1, 2020 3:37 PM > To: intel-gfx@lists.freedesktop.org > Cc: dri-de...@lists.freedesktop.org; Shankar, Uma ; > Kulkarni, Vandita ; ville.syrj...@linux.intel.com; > Sharma, Swati2 > Subject: [PATCH v2 07/13]

[Intel-gfx] ✗ Fi.CI.BUILD: failure for drm/i915: Do not call hsw_set_frame_start_delay for dsi

2020-11-19 Thread Patchwork
== Series Details == Series: drm/i915: Do not call hsw_set_frame_start_delay for dsi URL : https://patchwork.freedesktop.org/series/84039/ State : failure == Summary == CALLscripts/checksyscalls.sh CALLscripts/atomic/check-atomics.sh DESCEND objtool CHK

[Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915/lspcon: enter standby mode to enhance power saving (rev4)

2020-11-19 Thread Patchwork
== Series Details == Series: drm/i915/lspcon: enter standby mode to enhance power saving (rev4) URL : https://patchwork.freedesktop.org/series/83886/ State : failure == Summary == CI Bug Log - changes from CI_DRM_9360 -> Patchwork_18938

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/display: Whitespace cleanups

2020-11-19 Thread Patchwork
== Series Details == Series: drm/i915/display: Whitespace cleanups URL : https://patchwork.freedesktop.org/series/84054/ State : warning == Summary == $ dim checkpatch origin/drm-tip fa13fd9ed600 drm/i915/display: Whitespace cleanups -:45: CHECK:MULTIPLE_ASSIGNMENTS: multiple assignments

[Intel-gfx] [PATCH v2] drm/i915/gt: Update request status flags for debug pretty-printer

2020-11-19 Thread Chris Wilson
We plan to expand upon the number of available statuses for when we pretty-print the requests along the timelines, and so need a new set of flags. We have settled upon: Unready [U] - initial status after being submitted, the request is not ready for execution as it

Re: [Intel-gfx] [PATCH v2] drm/i915/gt: Update request status flags for debug pretty-printer

2020-11-19 Thread Chris Wilson
Quoting Tvrtko Ursulin (2020-11-19 13:18:10) > > On 19/11/2020 12:24, Chris Wilson wrote: > > We plan to expand upon the number of available statuses for when we > > pretty-print the requests along the timelines, and so need a new set of > > flags. We have settled upon: > > > > Unready [U]

Re: [Intel-gfx] [PATCH 14/28] drm/i915/gt: Free stale request on destroying the virtual engine

2020-11-19 Thread Tvrtko Ursulin
On 18/11/2020 12:10, Chris Wilson wrote: Quoting Tvrtko Ursulin (2020-11-18 11:38:43) On 18/11/2020 11:24, Chris Wilson wrote: Quoting Tvrtko Ursulin (2020-11-18 11:05:24) On 17/11/2020 11:30, Chris Wilson wrote: Since preempt-to-busy, we may unsubmit a request while it is still on the

Re: [Intel-gfx] [PATCH v2] drm/i915/gt: Update request status flags for debug pretty-printer

2020-11-19 Thread Tvrtko Ursulin
On 19/11/2020 12:24, Chris Wilson wrote: We plan to expand upon the number of available statuses for when we pretty-print the requests along the timelines, and so need a new set of flags. We have settled upon: Unready [U] - initial status after being submitted, the request

[Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915/display: Whitespace cleanups

2020-11-19 Thread Patchwork
== Series Details == Series: drm/i915/display: Whitespace cleanups URL : https://patchwork.freedesktop.org/series/84054/ State : failure == Summary == CI Bug Log - changes from CI_DRM_9360 -> Patchwork_18939 Summary --- **FAILURE**

Re: [Intel-gfx] [PATCH 14/28] drm/i915/gt: Free stale request on destroying the virtual engine

2020-11-19 Thread Chris Wilson
Quoting Tvrtko Ursulin (2020-11-19 14:06:00) > > On 18/11/2020 12:10, Chris Wilson wrote: > > Quoting Tvrtko Ursulin (2020-11-18 11:38:43) > >> > >> On 18/11/2020 11:24, Chris Wilson wrote: > >>> Quoting Tvrtko Ursulin (2020-11-18 11:05:24) > > On 17/11/2020 11:30, Chris Wilson wrote: >

[Intel-gfx] [v2 0/2] Re-enable FBC on TGL

2020-11-19 Thread Uma Shankar
FBC was disabled on TGL due to random underruns. It has been determined that FBC will not work reliably with PSR2. This series re-enables fbc along with taking care of the PSR2 limitations for TGL. Bspec: 50422 HSD: 14010260002 v2: Addressed review comments and added bspec links Uma Shankar

[Intel-gfx] [v2 1/2] drm/i915/display/tgl: Disable FBC with PSR2

2020-11-19 Thread Uma Shankar
There are some corner cases wrt underrun when we enable FBC with PSR2 on TGL. Recommendation from hardware is to keep this combination disabled. Bspec: 50422 HSD: 14010260002 v2: Added psr2 enabled check from crtc_state (Anshuman) Added Bspec link and HSD referneces (Jose) Signed-off-by: Uma

[Intel-gfx] [v2 2/2] Revert "drm/i915/display/fbc: Disable fbc by default on TGL"

2020-11-19 Thread Uma Shankar
FBC can be re-enabled on TGL with WA of keeping it disabled while PSR2 is enabled. This reverts commit 2982ded2ff5ce0cf1a49bc39a526da182782b664. Signed-off-by: Uma Shankar --- drivers/gpu/drm/i915/display/intel_fbc.c | 7 --- 1 file changed, 7 deletions(-) diff --git

Re: [Intel-gfx] [v2 1/2] drm/i915/display/tgl: Disable FBC with PSR2

2020-11-19 Thread Ville Syrjälä
On Thu, Nov 19, 2020 at 09:20:49PM +0530, Uma Shankar wrote: > There are some corner cases wrt underrun when we enable > FBC with PSR2 on TGL. Recommendation from hardware is to > keep this combination disabled. > > Bspec: 50422 HSD: 14010260002 > > v2: Added psr2 enabled check from crtc_state

Re: [Intel-gfx] [PATCH 14/28] drm/i915/gt: Free stale request on destroying the virtual engine

2020-11-19 Thread Tvrtko Ursulin
On 19/11/2020 14:22, Chris Wilson wrote: Quoting Tvrtko Ursulin (2020-11-19 14:06:00) On 18/11/2020 12:10, Chris Wilson wrote: Quoting Tvrtko Ursulin (2020-11-18 11:38:43) On 18/11/2020 11:24, Chris Wilson wrote: Quoting Tvrtko Ursulin (2020-11-18 11:05:24) On 17/11/2020 11:30, Chris