[Intel-gfx] [PATCH 1/3] drm/i915: Create dumb buffer from LMEM

2019-09-25 Thread Ramalingam C
When LMEM is supported, dumb buffer preferred to be created from LMEM. This is developed on top of v3 LMEM series https://patchwork.freedesktop.org/series/56683/. v2: Parameters are reshuffled. [Chris] Signed-off-by: Ramalingam C cc: Matthew Auld --- drivers/gpu/drm/i915/i915_gem.c | 18

[Intel-gfx] [PATCH 3/3] drm/i915: FB backing gem obj should reside in LMEM

2019-09-25 Thread Ramalingam C
If Local memory is supported by hardware, we want framebuffer backing gem objects out of local memory. If local memory is supported and gem object if not from local memory we migrate the obj into local memory. And once framebuffer is created we block the migration of the associated object out of

[Intel-gfx] [PATCH 2/3] drm/i915: Allowed memory region for GEM obj

2019-09-25 Thread Ramalingam C
Each GEM object is initialized with allowed memory regions for it's migration across memory region. In future patch we are restricting the memory regions or few objects. This is developed on top of v3 LMEM series https://patchwork.freedesktop.org/series/56683/ CC: Matthew Auld Signed-off-by:

Re: [Intel-gfx] [PATCH 12/23] drm/i915: Enable big joiner support in enable and disable sequences.

2019-09-25 Thread Matt Roper
On Fri, Sep 20, 2019 at 01:42:24PM +0200, Maarten Lankhorst wrote: > Make vdsc work when no output is enabled. The big joiner needs VDSC > on the slave, so enable it and set the appropriate bits. > Also update timestamping constants, because slave crtc's are not > updated in

[Intel-gfx] ✗ Fi.CI.BUILD: warning for DC3CO Support for TGL (rev11)

2019-09-25 Thread Patchwork
== Series Details == Series: DC3CO Support for TGL (rev11) URL : https://patchwork.freedesktop.org/series/64923/ State : warning == Summary == CALLscripts/checksyscalls.sh CALLscripts/atomic/check-atomics.sh CHK include/generated/compile.h Kernel: arch/x86/boot/bzImage is

[Intel-gfx] ✗ Fi.CI.BAT: failure for DC3CO Support for TGL (rev11)

2019-09-25 Thread Patchwork
== Series Details == Series: DC3CO Support for TGL (rev11) URL : https://patchwork.freedesktop.org/series/64923/ State : failure == Summary == CI Bug Log - changes from CI_DRM_6963 -> Patchwork_14548 Summary --- **FAILURE**

[Intel-gfx] ✗ Fi.CI.SPARSE: warning for DC3CO Support for TGL (rev11)

2019-09-25 Thread Patchwork
== Series Details == Series: DC3CO Support for TGL (rev11) URL : https://patchwork.freedesktop.org/series/64923/ State : warning == Summary == $ dim sparse origin/drm-tip Sparse version: v0.6.0 Commit: drm/i915/tgl: Add DC3CO required register and bits Okay! Commit: drm/i915/tgl: Add DC3CO

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for DC3CO Support for TGL (rev11)

2019-09-25 Thread Patchwork
== Series Details == Series: DC3CO Support for TGL (rev11) URL : https://patchwork.freedesktop.org/series/64923/ State : warning == Summary == $ dim checkpatch origin/drm-tip 805a6f5f1e23 drm/i915/tgl: Add DC3CO required register and bits 5e43f1ddfa09 drm/i915/tgl: Add DC3CO mask to

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Small joiner RAM buffer size is platform-specific (rev3)

2019-09-25 Thread Patchwork
== Series Details == Series: drm/i915: Small joiner RAM buffer size is platform-specific (rev3) URL : https://patchwork.freedesktop.org/series/67195/ State : success == Summary == CI Bug Log - changes from CI_DRM_6963 -> Patchwork_14547

Re: [Intel-gfx] [PATCH V2 6/8] mdev: introduce virtio device and its device ops

2019-09-25 Thread Jason Wang
On 2019/9/25 下午9:21, Michael S. Tsirkin wrote: On Wed, Sep 25, 2019 at 08:45:21PM +0800, Jason Wang wrote: On 2019/9/25 下午5:09, Tian, Kevin wrote: From: Jason Wang [mailto:jasow...@redhat.com] Sent: Tuesday, September 24, 2019 9:54 PM This patch implements basic support for mdev driver that

[Intel-gfx] [PATCH v9 3/7] drm/i915/tgl: Enable DC3CO state in "DC Off" power well

2019-09-25 Thread Anshuman Gupta
Add target_dc_state and tgl_set_target_dc_state() API in order to enable DC3CO state with existing DC states. target_dc_state will enable/disable the desired DC state in DC_STATE_EN reg when "DC Off" power well gets disable/enable. v2: commit log improvement. v3: Used intel_wait_for_register to

Re: [Intel-gfx] [PATCH 11/23] drm/i915: Try to make bigjoiner work in atomic check.

2019-09-25 Thread Matt Roper
On Fri, Sep 20, 2019 at 01:42:23PM +0200, Maarten Lankhorst wrote: > When the clock is higher than the dotclock, try with 2 pipes enabled. > If we can enable 2, then we will go into big joiner mode, and steal > the adjacent crtc. > > This only links the crtc's in software, no hardware or plane >

Re: [Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915: Small joiner RAM buffer size is platform-specific (rev2)

2019-09-25 Thread Matt Roper
On Thu, Sep 26, 2019 at 01:26:22AM +, Patchwork wrote: > == Series Details == > > Series: drm/i915: Small joiner RAM buffer size is platform-specific (rev2) > URL : https://patchwork.freedesktop.org/series/67195/ > State : failure > > == Summary == > > CI Bug Log - changes from

[Intel-gfx] ✓ Fi.CI.BAT: success for series starting with [v11,1/2] drm/i915: Introduce async plane update to i915

2019-09-25 Thread Patchwork
== Series Details == Series: series starting with [v11,1/2] drm/i915: Introduce async plane update to i915 URL : https://patchwork.freedesktop.org/series/67254/ State : success == Summary == CI Bug Log - changes from CI_DRM_6961 -> Patchwork_14546

[Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915: Small joiner RAM buffer size is platform-specific (rev2)

2019-09-25 Thread Patchwork
== Series Details == Series: drm/i915: Small joiner RAM buffer size is platform-specific (rev2) URL : https://patchwork.freedesktop.org/series/67195/ State : failure == Summary == CI Bug Log - changes from CI_DRM_6961 -> Patchwork_14545

[Intel-gfx] [PATCH v11 2/2] drm/i915: update cursors asynchronously through atomic

2019-09-25 Thread Helen Koike
From: Gustavo Padovan Replace the legacy cursor implementation by the async callbacks Signed-off-by: Gustavo Padovan Signed-off-by: Enric Balletbo i Serra Signed-off-by: Helen Koike --- Changes in v11: None Changes in v10: None Changes in v9: - v8:

[Intel-gfx] [PATCH v11 1/2] drm/i915: Introduce async plane update to i915

2019-09-25 Thread Helen Koike
From: Gustavo Padovan Add implementation for async plane update callbacks Signed-off-by: Gustavo Padovan Signed-off-by: Enric Balletbo i Serra Signed-off-by: Tina Zhang Signed-off-by: Helen Koike Tested-by: Tina Zhang --- Hi, I ran the following tests and no regressions were found:

[Intel-gfx] ✓ Fi.CI.BAT: success for TGL TC enabling (rev4)

2019-09-25 Thread Patchwork
== Series Details == Series: TGL TC enabling (rev4) URL : https://patchwork.freedesktop.org/series/66695/ State : success == Summary == CI Bug Log - changes from CI_DRM_6961 -> Patchwork_14544 Summary --- **SUCCESS** No

[Intel-gfx] ✗ Fi.CI.IGT: failure for series starting with [01/27] dma-fence: Serialise signal enabling (dma_fence_enable_sw_signaling)

2019-09-25 Thread Patchwork
== Series Details == Series: series starting with [01/27] dma-fence: Serialise signal enabling (dma_fence_enable_sw_signaling) URL : https://patchwork.freedesktop.org/series/67206/ State : failure == Summary == CI Bug Log - changes from CI_DRM_6954_full -> Patchwork_14527_full

Re: [Intel-gfx] [PATCH V2 6/8] mdev: introduce virtio device and its device ops

2019-09-25 Thread Tian, Kevin
> From: Jason Wang > Sent: Wednesday, September 25, 2019 8:45 PM > > > On 2019/9/25 下午5:09, Tian, Kevin wrote: > >> From: Jason Wang [mailto:jasow...@redhat.com] > >> Sent: Tuesday, September 24, 2019 9:54 PM > >> > >> This patch implements basic support for mdev driver that supports > >> virtio

Re: [Intel-gfx] [PATCH 3/3] drm/dp/mst: Replace the fixed point thing with straight calculation

2019-09-25 Thread Lyude Paul
Reviewed-by: Lyude Paul Cc: Mikita Lipski - figured you'd want to know ahead of time you'll need to update your changes to drm_dp_calc_pbn_mode() to match On Wed, 2019-09-25 at 17:14 +0300, Ville Syrjala wrote: > From: Ville Syrjälä > > Get rid of the drm_fixp_from_fraction() usage and just

Re: [Intel-gfx] [PATCH 2/3] drm/dp/mst: Handle arbitrary DP_LINK_BW values

2019-09-25 Thread Lyude Paul
Reviewed-by: Lyude Paul On Wed, 2019-09-25 at 17:14 +0300, Ville Syrjala wrote: > From: Ville Syrjälä > > Make drm_dp_get_vc_payload() tolerate arbitrary DP_LINK_BW_* > values, just like drm_dp_bw_code_to_link_rate() does since commit > 57a1b0893782 ("drm: Make the bw/link rate calculations

[Intel-gfx] [PATCH v4 1/4] drm/i915/tc: Update DP_MODE programming

2019-09-25 Thread José Roberto de Souza
From: Clinton A Taylor BSpec was updated(r146548) with a new MG_DP_MODE Programming table, now taking in consideration the pin assignment and allowing us to optimize power by shutting down available but not needed lanes. It was tested on ICL and TGL, with adaptors that used pin assignment C and

[Intel-gfx] [CI] drm/i915: Small joiner RAM buffer size is platform-specific

2019-09-25 Thread Matt Roper
According to the bspec, GLK/CNL have a smaller small joiner RAM buffer than ICL+. This feels like something that could easily change again on future platforms, so let's just add a function to return the proper per-platform buffer size. That may also slightly simplify the upcoming bigjoiner

[Intel-gfx] [PATCH v4 0/4] TGL TC enabling v4

2019-09-25 Thread José Roberto de Souza
TGL TC enabling v4 v1: https://patchwork.freedesktop.org/series/66695/#rev1 v2: https://patchwork.freedesktop.org/series/66695/#rev2 v2 patches merged: https://patchwork.freedesktop.org/series/67022/ v3: https://patchwork.freedesktop.org/series/66695/#rev3 v3 patches merged:

[Intel-gfx] [PATCH v4 3/4] drm/i915/tgl: Fix dkl link training

2019-09-25 Thread José Roberto de Souza
Link training is failling when running link at 2.7GHz and 1.62GHz and following BSpec pll algorithm. Comparing the values calculated and the ones from the reference table it looks like MG_CLKTOP2_CORECLKCTL1_A_DIVRATIO should not always set to 5. For DP ports ICL mg pll algorithm sets it to 10 or

[Intel-gfx] [PATCH v4 4/4] drm/i915/tgl: initialize TC and TBT ports

2019-09-25 Thread José Roberto de Souza
From: Lucas De Marchi Now that TC support was added, initialize DDIs. Reviewed-by: José Roberto de Souza Acked-by: Lucas De Marchi Signed-off-by: Lucas De Marchi Signed-off-by: José Roberto de Souza --- drivers/gpu/drm/i915/display/intel_display.c | 7 ++- 1 file changed, 6

[Intel-gfx] [PATCH v4 2/4] drm/i915/tgl: Add dkl phy programming sequences

2019-09-25 Thread José Roberto de Souza
From: Clinton A Taylor Added DKL Phy sequences and helpers functions to program voltage swing, clock gating and dp mode. It is not written in DP enabling sequence but "PHY Clockgating programming" states that clock gating should be enabled after the link training but doing so causes all the

[Intel-gfx] ✓ Fi.CI.BAT: success for GuC engine reset support

2019-09-25 Thread Patchwork
== Series Details == Series: GuC engine reset support URL : https://patchwork.freedesktop.org/series/67251/ State : success == Summary == CI Bug Log - changes from CI_DRM_6958 -> Patchwork_14543 Summary --- **SUCCESS** No

[Intel-gfx] ✓ Fi.CI.IGT: success for series starting with [1/2] drm/i915/dp: Fix dsc bpp calculations, v5.

2019-09-25 Thread Patchwork
== Series Details == Series: series starting with [1/2] drm/i915/dp: Fix dsc bpp calculations, v5. URL : https://patchwork.freedesktop.org/series/67203/ State : success == Summary == CI Bug Log - changes from CI_DRM_6954_full -> Patchwork_14526_full

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/huc: fix version parsing from CSS header

2019-09-25 Thread Patchwork
== Series Details == Series: drm/i915/huc: fix version parsing from CSS header URL : https://patchwork.freedesktop.org/series/67248/ State : success == Summary == CI Bug Log - changes from CI_DRM_6958 -> Patchwork_14541 Summary ---

[Intel-gfx] [RFC PATCH 0/1] GuC engine reset support

2019-09-25 Thread Fernando Pacheco
Another attempt at providing GuC a list of registers to save/restore during engine resets [1]. The list we provide GuC should mirror, with possibly some exceptions, the list of registers applied during execlists_resume/enable_execlists. Any ideas on how to flag any discrepancies (yet flexible

[Intel-gfx] [RFC PATCH 1/1] drm/i915/guc: Provide mmio list to be saved/restored on engine reset

2019-09-25 Thread Fernando Pacheco
The driver must provide GuC with a list of mmio registers that should be saved/restored during a GuC-based engine reset. We provide a minimal set of registers that should get things working and extend as needed. Signed-off-by: Fernando Pacheco --- drivers/gpu/drm/i915/gt/intel_workarounds.c |

[Intel-gfx] ✗ Fi.CI.BUILD: failure for Panel rotation patches (rev8)

2019-09-25 Thread Patchwork
== Series Details == Series: Panel rotation patches (rev8) URL : https://patchwork.freedesktop.org/series/61870/ State : failure == Summary == Applying: drm/panel: Add helper for reading DT rotation Applying: drm/panel: set display info in panel attach error: sha1 information is lacking or

Re: [Intel-gfx] [PATCH] drm/i915/huc: fix version parsing from CSS header

2019-09-25 Thread Summers, Stuart
On Wed, 2019-09-25 at 15:21 -0700, Daniele Ceraolo Spurio wrote: > The HuC FW has silently switched to encoding the version the same way > as > the GuC FW does, i.e. major.minor.patch instead of just major.minor. > All > the current blobs follow the new scheme, but since minor and patch > are >

[Intel-gfx] [PATCH v8 3/4] drm/connector: Split out orientation quirk detection

2019-09-25 Thread Derek Basehore
Not every platform needs quirk detection for panel orientation, so split the drm_connector_init_panel_orientation_property into two functions. One for platforms without the need for quirks, and the other for platforms that need quirks. Signed-off-by: Derek Basehore Acked-by: Sam Ravnborg ---

[Intel-gfx] [PATCH v8 4/4] drm/mtk: add panel orientation property

2019-09-25 Thread Derek Basehore
This inits the panel orientation property for the mediatek dsi driver if the panel orientation (connector.display_info.panel_orientation) is not DRM_MODE_PANEL_ORIENTATION_UNKNOWN. Signed-off-by: Derek Basehore Acked-by: Sam Ravnborg Reviewed-by: CK Hu --- drivers/gpu/drm/mediatek/mtk_dsi.c |

[Intel-gfx] [PATCH v8 0/4] Panel rotation patches

2019-09-25 Thread Derek Basehore
This adds the plumbing for reading panel rotation from the devicetree and sets up adding a panel property for the panel orientation on Mediatek SoCs when a rotation is present. v8 changes: -added reviewed-by tags -fixed conflict with i915 patch that recently landed -Added additional documentation

[Intel-gfx] [PATCH v8 1/4] drm/panel: Add helper for reading DT rotation

2019-09-25 Thread Derek Basehore
This adds a helper function for reading the rotation (panel orientation) from the device tree. Signed-off-by: Derek Basehore Reviewed-by: Sam Ravnborg --- drivers/gpu/drm/drm_panel.c | 43 + include/drm/drm_panel.h | 9 2 files changed, 52

[Intel-gfx] [PATCH v8 2/4] drm/panel: set display info in panel attach

2019-09-25 Thread Derek Basehore
Devicetree systems can set panel orientation via a panel binding, but there's no way, as is, to propagate this setting to the connector, where the property need to be added. To address this, this patch sets orientation, as well as other fixed values for the panel, in the drm_panel_attach function.

Re: [Intel-gfx] [PATCH 1/2] drm/i915/dp: Fix dsc bpp calculations, v5.

2019-09-25 Thread Sasha Levin
Hi, [This is an automated email] This commit has been processed because it contains a "Fixes:" tag, fixing commit: d9218c8f6cf4 drm/i915/dp: Add helpers for Compressed BPP and Slice Count for DSC. The bot has tested the following trees: v5.3.1, v5.2.17. v5.3.1: Build OK! v5.2.17: Failed to

Re: [Intel-gfx] [PATCH v2] drm/i915/tgl: Add memory type decoding for bandwidth checking

2019-09-25 Thread James Ausmus
On Wed, Sep 25, 2019 at 03:35:28PM -0700, Summers, Stuart wrote: > On Wed, 2019-09-25 at 08:35 -0700, James Ausmus wrote: > > On Wed, Sep 25, 2019 at 07:33:38AM -0700, Summers, Stuart wrote: > > > On Tue, 2019-09-24 at 15:28 -0700, James Ausmus wrote: > > > > The memory type values have changed in

Re: [Intel-gfx] [PATCH v2] drm/i915/tgl: Add memory type decoding for bandwidth checking

2019-09-25 Thread Summers, Stuart
On Wed, 2019-09-25 at 08:35 -0700, James Ausmus wrote: > On Wed, Sep 25, 2019 at 07:33:38AM -0700, Summers, Stuart wrote: > > On Tue, 2019-09-24 at 15:28 -0700, James Ausmus wrote: > > > The memory type values have changed in TGL, so we need to > > > translate > > > them > > > differently than

[Intel-gfx] [PATCH] drm/i915/huc: fix version parsing from CSS header

2019-09-25 Thread Daniele Ceraolo Spurio
The HuC FW has silently switched to encoding the version the same way as the GuC FW does, i.e. major.minor.patch instead of just major.minor. All the current blobs follow the new scheme, but since minor and patch are both zero there is no difference in the end results and we happily load them. New

Re: [Intel-gfx] [PATCH 07/23] drm/i915: Remove begin/finish_crtc_commit.

2019-09-25 Thread Manasi Navare
Hi Maarten, Could you hold off on merging this patch and big joiner enabling patch else my 2p2p series which is almost ready to merge except for the final r-b from you on the HW state patch will need to rebased and that will delay the landing of the series. Manasi On Fri, Sep 20, 2019 at

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Add feature flag for platforms with DRAM

2019-09-25 Thread Patchwork
== Series Details == Series: drm/i915: Add feature flag for platforms with DRAM URL : https://patchwork.freedesktop.org/series/67244/ State : success == Summary == CI Bug Log - changes from CI_DRM_6958 -> Patchwork_14540 Summary ---

Re: [Intel-gfx] [PATCH] drm/i915: Small joiner RAM buffer size is platform-specific

2019-09-25 Thread Manasi Navare
On Tue, Sep 24, 2019 at 10:53:11PM -0700, Matt Roper wrote: > According to the bspec, GLK/CNL have a smaller small joiner RAM buffer > than ICL+. This feels like something that could easily change again on > future platforms, so let's just add a function to return the proper > per-platform buffer

Re: [Intel-gfx] [PATCH 10/23] drm/i915/dp: Allow big joiner modes in intel_dp_mode_valid()

2019-09-25 Thread Manasi Navare
On Tue, Sep 24, 2019 at 10:30:39PM -0700, Matt Roper wrote: > On Fri, Sep 20, 2019 at 01:42:22PM +0200, Maarten Lankhorst wrote: > > Small changes to intel_dp_mode_valid(), allow listing modes that > > can only be supported in the bigjoiner configuration, which is > > not supported yet. > > > >

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Add feature flag for platforms with DRAM

2019-09-25 Thread Patchwork
== Series Details == Series: drm/i915: Add feature flag for platforms with DRAM URL : https://patchwork.freedesktop.org/series/67244/ State : warning == Summary == $ dim checkpatch origin/drm-tip 099fb95d6ff3 drm/i915: Add feature flag for platforms with DRAM -:7: WARNING:COMMIT_MESSAGE:

Re: [Intel-gfx] [PATCH 3/4] drm/i915: Complete sw/hw split, v2.

2019-09-25 Thread Matt Roper
On Wed, Sep 25, 2019 at 04:59:00PM +0200, Maarten Lankhorst wrote: > Now that we separated everything into uapi and hw, it's > time to make the split definitive. Remove the union and > make a copy of the hw state on modeset and fastset. > > Color blobs are copied in crtc atomic_check(), right >

Re: [Intel-gfx] [PATCH 4/4] drm/i915: Remove begin/finish_crtc_commit, v2.

2019-09-25 Thread Matt Roper
On Wed, Sep 25, 2019 at 04:59:01PM +0200, Maarten Lankhorst wrote: > This can all be done from the intel_update_crtc function. Split out the > pipe update into a separate function, just like is done for the planes. > Pull in all the changes done during fastset as well. It makes no sense > for it

[Intel-gfx] ✓ Fi.CI.BAT: success for series starting with [1/3] drm/i915: Extract SAGV block time function

2019-09-25 Thread Patchwork
== Series Details == Series: series starting with [1/3] drm/i915: Extract SAGV block time function URL : https://patchwork.freedesktop.org/series/67240/ State : success == Summary == CI Bug Log - changes from CI_DRM_6958 -> Patchwork_14539

[Intel-gfx] [PATCH] drm/i915: Add feature flag for platforms with DRAM

2019-09-25 Thread Stuart Summers
Signed-off-by: Stuart Summers --- drivers/gpu/drm/i915/i915_drv.c | 2 +- drivers/gpu/drm/i915/i915_drv.h | 2 ++ drivers/gpu/drm/i915/i915_pci.c | 3 ++- drivers/gpu/drm/i915/intel_device_info.h | 1 + 4 files changed, 6 insertions(+), 2 deletions(-) diff --git

Re: [Intel-gfx] ✗ Fi.CI.IGT: failure for series starting with [CI,1/2] drm/i915/guc: Enable guc logging on guc log relay write

2019-09-25 Thread Fosha, Robert M
On 9/21/19 4:00 PM, Patchwork wrote: == Series Details == Series: series starting with [CI,1/2] drm/i915/guc: Enable guc logging on guc log relay write URL : https://patchwork.freedesktop.org/series/67009/ State : failure == Summary == CI Bug Log - changes from CI_DRM_6929_full ->

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/3] drm/i915: Extract SAGV block time function

2019-09-25 Thread Patchwork
== Series Details == Series: series starting with [1/3] drm/i915: Extract SAGV block time function URL : https://patchwork.freedesktop.org/series/67240/ State : warning == Summary == $ dim checkpatch origin/drm-tip 45bac93b7379 drm/i915: Extract SAGV block time function fffc1235b9c0

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/dmc: Update ICL DMC version to v1.09 (rev2)

2019-09-25 Thread Patchwork
== Series Details == Series: drm/i915/dmc: Update ICL DMC version to v1.09 (rev2) URL : https://patchwork.freedesktop.org/series/66560/ State : success == Summary == CI Bug Log - changes from CI_DRM_6958 -> Patchwork_14538 Summary ---

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915: Small joiner RAM buffer size is platform-specific

2019-09-25 Thread Patchwork
== Series Details == Series: drm/i915: Small joiner RAM buffer size is platform-specific URL : https://patchwork.freedesktop.org/series/67195/ State : success == Summary == CI Bug Log - changes from CI_DRM_6952_full -> Patchwork_14525_full

[Intel-gfx] [PATCH 3/3] drm/i915/tgl: Remove single pipe restriction from SAGV

2019-09-25 Thread James Ausmus
For Gen12, BSpec no longer tells us to disable SAGV when > 1 pipe is active. Update intel_can_enable_sagv to allow this, and loop through all active planes on all active crtcs to check against the interlaced and latency restrictions. BSpec: 49325 Cc: Ville Syrjälä Cc: Stanislav Lisovskiy Cc:

[Intel-gfx] [PATCH 2/3] drm/i915/tgl: Read SAGV block time from PCODE

2019-09-25 Thread James Ausmus
Starting from TGL, we now need to read the SAGV block time via a PCODE mailbox, rather than having a static value. BSpec: 49326 Cc: Ville Syrjälä Cc: Stanislav Lisovskiy Cc: Lucas De Marchi Signed-off-by: James Ausmus --- drivers/gpu/drm/i915/i915_reg.h | 1 +

[Intel-gfx] [PATCH 1/3] drm/i915: Extract SAGV block time function

2019-09-25 Thread James Ausmus
In prep for newer platforms having more complicated ways to determine the SAGV block time, extract the setting to a separate function. While we're at it, update the if ladder to follow the new gen -> old gen order preference, and warn on any non-specified gen. Cc: Ville Syrjälä Cc: Stanislav

[Intel-gfx] Add support for TGL in SAGV code paths

2019-09-25 Thread James Ausmus
Even though we can't actually turn on SAGV for TGL until HSDES 1409542895 is resolved, these patches prepare the code for enabling SAGV, so that once the HSDES is resolved, all we have to do is revert 8ffa4392a32e ("drm/i915/tgl: disable SAGV temporarily") to turn it on.

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/selftests: Exercise concurrent submission to all engines

2019-09-25 Thread Patchwork
== Series Details == Series: drm/i915/selftests: Exercise concurrent submission to all engines URL : https://patchwork.freedesktop.org/series/67237/ State : success == Summary == CI Bug Log - changes from CI_DRM_6958 -> Patchwork_14537

[Intel-gfx] [CI] drm/i915/dmc: Update ICL DMC version to v1.09

2019-09-25 Thread Daniele Ceraolo Spurio
From: Anusha Srivatsa We have a new version of DMC for ICL - v1.09. This version adds the Half Refresh Rate capability into DMC. Cc: José Roberto de Souza Signed-off-by: Anusha Srivatsa Reviewed-by: José Roberto de Souza Signed-off-by: Daniele Ceraolo Spurio Link:

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/selftests: Exercise concurrent submission to all engines

2019-09-25 Thread Patchwork
== Series Details == Series: drm/i915/selftests: Exercise concurrent submission to all engines URL : https://patchwork.freedesktop.org/series/67237/ State : warning == Summary == $ dim checkpatch origin/drm-tip 92cc309e8be5 drm/i915/selftests: Exercise concurrent submission to all engines

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915/dp: Fix DP MST error after unplugging TypeC cable (rev3)

2019-09-25 Thread Patchwork
== Series Details == Series: drm/i915/dp: Fix DP MST error after unplugging TypeC cable (rev3) URL : https://patchwork.freedesktop.org/series/66837/ State : success == Summary == CI Bug Log - changes from CI_DRM_6952_full -> Patchwork_14524_full

[Intel-gfx] [PATCH] drm/i915/selftests: Exercise concurrent submission to all engines

2019-09-25 Thread Chris Wilson
The simplest and most maximal submission we can do, a thread to submit requests unto each engine. Signed-off-by: Chris Wilson Cc: Mika Kuoppala --- drivers/gpu/drm/i915/selftests/i915_request.c | 125 ++ 1 file changed, 125 insertions(+) diff --git

Re: [Intel-gfx] ✓ Fi.CI.IGT: success for series starting with [CI,1/6] drm/i915/tgl: Add initial dkl pll support

2019-09-25 Thread Souza, Jose
On Wed, 2019-09-25 at 16:22 +, Patchwork wrote: > == Series Details == > > Series: series starting with [CI,1/6] drm/i915/tgl: Add initial dkl > pll support > URL : https://patchwork.freedesktop.org/series/67181/ > State : success > > == Summary == > > CI Bug Log - changes from

Re: [Intel-gfx] [PATCH 1/3] drm/dp/mst: Reduce nested ifs

2019-09-25 Thread Lyude Paul
Reviewed-by: Lyude Paul On Wed, 2019-09-25 at 17:14 +0300, Ville Syrjala wrote: > From: Ville Syrjälä > > Replace the nested ifs with a single if and a logical AND. > > Cc: Lyude Paul > Signed-off-by: Ville Syrjälä > --- > drivers/gpu/drm/drm_dp_mst_topology.c | 10 +- > 1 file

[Intel-gfx] ✗ Fi.CI.BUILD: failure for DC3CO Support for TGL (rev10)

2019-09-25 Thread Patchwork
== Series Details == Series: DC3CO Support for TGL (rev10) URL : https://patchwork.freedesktop.org/series/64923/ State : failure == Summary == CALLscripts/checksyscalls.sh CALLscripts/atomic/check-atomics.sh DESCEND objtool CHK include/generated/compile.h AR

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915/tgl: Add memory type decoding for bandwidth checking

2019-09-25 Thread Patchwork
== Series Details == Series: drm/i915/tgl: Add memory type decoding for bandwidth checking URL : https://patchwork.freedesktop.org/series/67186/ State : success == Summary == CI Bug Log - changes from CI_DRM_6952_full -> Patchwork_14522_full

Re: [Intel-gfx] [PATCH v3 3/6] drm/i915/display/icl: HW state readout for transcoder port sync config

2019-09-25 Thread Manasi Navare
On Wed, Sep 25, 2019 at 01:08:23PM +0300, Ville Syrjälä wrote: > On Tue, Sep 24, 2019 at 10:59:57AM -0700, Manasi Navare wrote: > > On Tue, Sep 24, 2019 at 05:38:00PM +0200, Maarten Lankhorst wrote: > > > Op 22-09-2019 om 19:08 schreef Manasi Navare: > > > > After the state is committed, we

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Don't skip debug messages when dp link config fails

2019-09-25 Thread Patchwork
== Series Details == Series: drm/i915: Don't skip debug messages when dp link config fails URL : https://patchwork.freedesktop.org/series/67232/ State : success == Summary == CI Bug Log - changes from CI_DRM_6956 -> Patchwork_14535 Summary

Re: [Intel-gfx] [PATCH 20/27] drm/i915: Remove logical HW ID

2019-09-25 Thread Matthew Brost
On Wed, Sep 25, 2019 at 10:59:32AM -0700, Daniele Ceraolo Spurio wrote: + Matt I've reviewed this patch and this affects some of the work I'm doing on the new GuC interface. For the new GuC interface I have two patches that rework the HW ID assignment. The first patch moves ownership of the

[Intel-gfx] [PATCH v9 5/7] drm/i915/tgl: DC3CO PSR2 helper

2019-09-25 Thread Anshuman Gupta
Disallow DC3CO state before PSR2 exit. Store dc3co_exitline from crtc state to psr dev_priv structure to use it easily whenever it requires. v1: Moved calling of tgl_enable_psr2_transcoder_exitline() to intel_psr_enable(). [Imre] v2: Moved tgl_psr2_deep_sleep_enable/disable function to

[Intel-gfx] [PATCH v9 7/7] drm/i915/tgl: Add DC3CO counter in i915_dmc_info

2019-09-25 Thread Anshuman Gupta
Adding DC3CO counter in i915_dmc_info debugfs will be useful for DC3CO validation. DMC firmware uses DMC_DEBUG3 register as DC3CO counter register on TGL, as per B.Specs DMC_DEBUG3 is general purpose register. Cc: Jani Nikula Cc: Imre Deak Cc: Animesh Manna Signed-off-by: Anshuman Gupta ---

[Intel-gfx] [PATCH v9 2/7] drm/i915/tgl: Add DC3CO mask to allowed_dc_mask and gen9_dc_mask

2019-09-25 Thread Anshuman Gupta
Enable dc3co state in enable_dc module param and add dc3co enable mask to allowed_dc_mask and gen9_dc_mask. v1: Adding enable_dc=3,4 options to enable DC3CO with DC5 and DC6 independently. [Animesh] v2: Using a switch statement for cleaner code. [Animesh] Cc: Jani Nikula Cc: Imre Deak Cc:

[Intel-gfx] [PATCH v9 4/7] drm/i915/tgl: Do modeset to enable and configure DC3CO exitline

2019-09-25 Thread Anshuman Gupta
DC3CO enabling B.Specs sequence requires to enable end configure exit scanlines to TRANS_EXITLINE register, programming this register has to be part of modeset sequence as this can't be change when transcoder or port is enabled. When system boots with only eDP panel there may not be real modeset

[Intel-gfx] [PATCH v9 0/7] DC3CO Support for TGL

2019-09-25 Thread Anshuman Gupta
v9 revision is a rework of series, which has fixed the review comments provided by Imre and added Animesh's RB on following two patches. 1.Add DC3CO required register and bits 2.Add DC3CO mask to allowed_dc_mask and gen9_dc_mask Anshuman Gupta (7): drm/i915/tgl: Add DC3CO required register and

[Intel-gfx] [PATCH v9 3/7] drm/i915/tgl: Enable DC3CO state in "DC Off" power well

2019-09-25 Thread Anshuman Gupta
Add target_dc_state and tgl_set_target_dc_state() API in order to enable DC3CO state with existing DC states. target_dc_state will enable/disable the desired DC state in DC_STATE_EN reg when "DC Off" power well gets disable/enable. v2: commit log improvement. v3: Used intel_wait_for_register to

[Intel-gfx] [PATCH v9 1/7] drm/i915/tgl: Add DC3CO required register and bits

2019-09-25 Thread Anshuman Gupta
Adding following definition to i915_reg.h 1. DC_STATE_EN register DC3CO bit fields and masks. DC3CO enable bit will be used by driver to make DC3CO ready for DMC f/w and status bit will be used as DC3CO entry status. 2. Transcoder EXITLINE register and its bit fields and mask.

[Intel-gfx] [PATCH v9 6/7] drm/i915/tgl: switch between dc3co and dc5 based on display idleness

2019-09-25 Thread Anshuman Gupta
DC3CO is useful power state, when DMC detects PSR2 idle frame while an active video playback, playing 30fps video on 60hz panel is the classic example of this use case. B.Specs:49196 has a restriction to enable DC3CO only for Video Playback. It will be worthy to enable DC3CO after completion of

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/tgl: Swap rps disable for rc6 disable (rev2)

2019-09-25 Thread Patchwork
== Series Details == Series: drm/i915/tgl: Swap rps disable for rc6 disable (rev2) URL : https://patchwork.freedesktop.org/series/67214/ State : success == Summary == CI Bug Log - changes from CI_DRM_6956 -> Patchwork_14534 Summary ---

Re: [Intel-gfx] [PATCH 20/27] drm/i915: Remove logical HW ID

2019-09-25 Thread Daniele Ceraolo Spurio
+ Matt On 9/25/19 5:41 AM, Tvrtko Ursulin wrote: [+ Daniele, I think he might want to have a look at this.] On 25/09/2019 11:01, Chris Wilson wrote: With the introduction of ctx->engines[] we allow multiple logical contexts to be used on the same engine (e.g. with virtual engines). Each

Re: [Intel-gfx] [PATCH] drm/i915: Don't skip debug messages when dp link config fails

2019-09-25 Thread Matt Roper
On Wed, Sep 25, 2019 at 10:39:32AM -0700, Matt Roper wrote: > If we don't have enough link bandwidth to support the requested mode, we > bail out of intel_dp_compute_link_config() early before the point it > prints the helpful debug messages containing the available/necessary > link bandwidth.

[Intel-gfx] [PATCH] drm/i915: Don't skip debug messages when dp link config fails

2019-09-25 Thread Matt Roper
If we don't have enough link bandwidth to support the requested mode, we bail out of intel_dp_compute_link_config() early before the point it prints the helpful debug messages containing the available/necessary link bandwidth. Since failures are when these messages are most useful, let the

[Intel-gfx] ✓ Fi.CI.BAT: success for series starting with [1/4] drm/i915: Prepare to split crtc state in uapi and hw state

2019-09-25 Thread Patchwork
== Series Details == Series: series starting with [1/4] drm/i915: Prepare to split crtc state in uapi and hw state URL : https://patchwork.freedesktop.org/series/67227/ State : success == Summary == CI Bug Log - changes from CI_DRM_6956 -> Patchwork_14533

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/4] drm/i915: Prepare to split crtc state in uapi and hw state

2019-09-25 Thread Patchwork
== Series Details == Series: series starting with [1/4] drm/i915: Prepare to split crtc state in uapi and hw state URL : https://patchwork.freedesktop.org/series/67227/ State : warning == Summary == $ dim checkpatch origin/drm-tip 4cc35a6ea9c7 drm/i915: Prepare to split crtc state in uapi

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/edid: Add new modes from CTA-861-G (rev2)

2019-09-25 Thread Patchwork
== Series Details == Series: drm/edid: Add new modes from CTA-861-G (rev2) URL : https://patchwork.freedesktop.org/series/63554/ State : success == Summary == CI Bug Log - changes from CI_DRM_6956 -> Patchwork_14532 Summary ---

Re: [Intel-gfx] [PATCH V2 5/8] mdev: introduce device specific ops

2019-09-25 Thread Alex Williamson
On Wed, 25 Sep 2019 10:11:00 -0400 Rob Miller wrote: > > > On Tue, 24 Sep 2019 21:53:29 +0800 > > > Jason Wang wrote: > > > > diff --git a/drivers/vfio/mdev/vfio_mdev.c > > > b/drivers/vfio/mdev/vfio_mdev.c > > > > index 891cf83a2d9a..95efa054442f 100644 > > > > ---

[Intel-gfx] ✓ Fi.CI.IGT: success for series starting with [CI,1/6] drm/i915/tgl: Add initial dkl pll support

2019-09-25 Thread Patchwork
== Series Details == Series: series starting with [CI,1/6] drm/i915/tgl: Add initial dkl pll support URL : https://patchwork.freedesktop.org/series/67181/ State : success == Summary == CI Bug Log - changes from CI_DRM_6952_full -> Patchwork_14521_full

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/edid: Add new modes from CTA-861-G (rev2)

2019-09-25 Thread Patchwork
== Series Details == Series: drm/edid: Add new modes from CTA-861-G (rev2) URL : https://patchwork.freedesktop.org/series/63554/ State : warning == Summary == $ dim checkpatch origin/drm-tip 196fa0d4dcc0 drm/edid: Abstract away cea_edid_modes[] -:131: CHECK:COMPARISON_TO_NULL: Comparison to

[Intel-gfx] ✓ Fi.CI.BAT: success for series starting with [1/3] drm/dp/mst: Reduce nested ifs

2019-09-25 Thread Patchwork
== Series Details == Series: series starting with [1/3] drm/dp/mst: Reduce nested ifs URL : https://patchwork.freedesktop.org/series/67222/ State : success == Summary == CI Bug Log - changes from CI_DRM_6956 -> Patchwork_14531 Summary

Re: [Intel-gfx] [PATCH 1/3] drm/dp/mst: Reduce nested ifs

2019-09-25 Thread Lucas De Marchi
On Wed, Sep 25, 2019 at 7:14 AM Ville Syrjala wrote: > > From: Ville Syrjälä > > Replace the nested ifs with a single if and a logical AND. > > Cc: Lyude Paul > Signed-off-by: Ville Syrjälä Reviewed-by: Lucas De Marchi Lucas De Marchi > --- > drivers/gpu/drm/drm_dp_mst_topology.c | 10

Re: [Intel-gfx] [PATCH v3 4/9] drm/i915/tgl: Add dkl phy programming sequences

2019-09-25 Thread Lucas De Marchi
On Tue, Sep 24, 2019 at 4:21 PM Souza, Jose wrote: > > On Tue, 2019-09-24 at 16:00 +0300, Imre Deak wrote: > > On Mon, Sep 23, 2019 at 03:02:54PM -0700, Lucas De Marchi wrote: > One odd thing that I notice is that we use port instead of tc_port in > most MG registers, those MG registers uses a

Re: [Intel-gfx] [PATCH 12/21] drm/i915: Mark up address spaces that may need to allocate

2019-09-25 Thread Tvrtko Ursulin
On 25/09/2019 09:23, Chris Wilson wrote: Quoting Tvrtko Ursulin (2019-09-23 09:10:26) On 20/09/2019 17:35, Chris Wilson wrote: Quoting Tvrtko Ursulin (2019-09-20 17:22:42) On 02/09/2019 05:02, Chris Wilson wrote: Since we cannot allocate underneath the vm->mutex (it is used in the

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/3] drm/dp/mst: Reduce nested ifs

2019-09-25 Thread Patchwork
== Series Details == Series: series starting with [1/3] drm/dp/mst: Reduce nested ifs URL : https://patchwork.freedesktop.org/series/67222/ State : warning == Summary == $ dim checkpatch origin/drm-tip 598d7ec6c643 drm/dp/mst: Reduce nested ifs 9105e49ef308 drm/dp/mst: Handle arbitrary

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/execlists: Simplify gen12_csb_parse

2019-09-25 Thread Patchwork
== Series Details == Series: drm/i915/execlists: Simplify gen12_csb_parse URL : https://patchwork.freedesktop.org/series/67216/ State : success == Summary == CI Bug Log - changes from CI_DRM_6956 -> Patchwork_14530 Summary ---

Re: [Intel-gfx] [PATCH v2] drm/i915/tgl: Add memory type decoding for bandwidth checking

2019-09-25 Thread James Ausmus
On Wed, Sep 25, 2019 at 07:33:38AM -0700, Summers, Stuart wrote: > On Tue, 2019-09-24 at 15:28 -0700, James Ausmus wrote: > > The memory type values have changed in TGL, so we need to translate > > them > > differently than ICL. While we're moving it, fix up the ICL > > translation > > for LPDDR4.

[Intel-gfx] ✓ Fi.CI.IGT: success for series starting with [v3,1/6] drm/i915/display/icl: Save Master transcoder in slave's crtc_state for Transcoder Port Sync (rev2)

2019-09-25 Thread Patchwork
== Series Details == Series: series starting with [v3,1/6] drm/i915/display/icl: Save Master transcoder in slave's crtc_state for Transcoder Port Sync (rev2) URL : https://patchwork.freedesktop.org/series/67043/ State : success == Summary == CI Bug Log - changes from CI_DRM_6952_full ->

Re: [Intel-gfx] [PATCH v3 7/9] drm/i915/tgl: Fix dkl link training

2019-09-25 Thread Imre Deak
On Wed, Sep 25, 2019 at 02:59:02AM +0300, Souza, Jose wrote: > On Tue, 2019-09-24 at 18:58 +0300, Imre Deak wrote: > > On Mon, Sep 23, 2019 at 12:55:11PM -0700, José Roberto de Souza > > wrote: > > > Link training is failling when running link at 2.7GHz and 1.62GHz > > > and > > > following BSpec

  1   2   3   >