Re: [Intel-gfx] [PATCH v1] drm/i915: Add IOCTL Param to control data port coherency.

2018-06-21 Thread Chris Wilson
Quoting Tomasz Lis (2018-06-20 16:03:07) > diff --git a/drivers/gpu/drm/i915/intel_lrc.c > b/drivers/gpu/drm/i915/intel_lrc.c > index 33bc914..c69dc26 100644 > --- a/drivers/gpu/drm/i915/intel_lrc.c > +++ b/drivers/gpu/drm/i915/intel_lrc.c > @@ -258,6 +258,57 @@ intel_lr_context_descriptor_update(

Re: [Intel-gfx] [PATCH v2 00/12] drm: Add generic fbdev emulation

2018-06-21 Thread Daniel Vetter
On Wed, Jun 20, 2018 at 05:28:10PM +0200, Noralf Trønnes wrote: > > Den 20.06.2018 15.52, skrev Noralf Trønnes: > > > > Den 20.06.2018 11.34, skrev Daniel Vetter: > > > On Mon, Jun 18, 2018 at 04:17:27PM +0200, Noralf Trønnes wrote: > > > > This patchset adds generic fbdev emulation for drivers t

[Intel-gfx] [PATCH] drm/i915: Ignore applying the self-relocation BIAS if no relocations

2018-06-21 Thread Chris Wilson
We only need to apply the BIAS for self-relocations into the batchbuffer iff the execobject has any relocations. This suppresses some warnings we may get with a full gtt (so the batch object has wound up at 0 from a previous invocation), but doesn't fix the underlying problem of how we tried to mo

Re: [Intel-gfx] [PATCH v1] drm/i915: Add IOCTL Param to control data port coherency.

2018-06-21 Thread Dunajski, Bartosz
I would like to add few things that were mentioned previously. According to adoption plan. Our plan is to drop dependency on LLVM 4.0.1 (with custom patches) and instead compile with unpatched (either system or vanilla) LLVM 6.0. Work to transition our compiler stack to LLVM 6 is expected to com

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Ignore applying the self-relocation BIAS if no relocations

2018-06-21 Thread Patchwork
== Series Details == Series: drm/i915: Ignore applying the self-relocation BIAS if no relocations URL : https://patchwork.freedesktop.org/series/45140/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4356 -> Patchwork_9377 = == Summary - SUCCESS == No regressions found.

[Intel-gfx] [PATCH] drm/i915: Redefine EINVAL for debugging

2018-06-21 Thread Chris Wilson
To aide debugging spurious EINVALs, include a debug message every time we emit one from execbuf. References: https://bugs.freedesktop.org/show_bug.cgi?id=106744 Signed-off-by: Chris Wilson Cc: Joonas Lahtinen --- drivers/gpu/drm/i915/i915_gem_execbuffer.c | 9 + 1 file changed, 9 insert

Re: [Intel-gfx] [PATCH] drm/i915: mark expected switch fall-through

2018-06-21 Thread Jani Nikula
On Wed, 20 Jun 2018, "Gustavo A. R. Silva" wrote: > On 06/20/2018 02:06 PM, Rodrigo Vivi wrote: >> On Wed, Jun 20, 2018 at 08:31:00AM -0500, Gustavo A. R. Silva wrote: >>> In preparation to enabling -Wimplicit-fallthrough, mark switch cases >>> where we are expecting to fall through. >>> >>> Addre

[Intel-gfx] [PATCH] drm/i915/psr: Add psr1 live status

2018-06-21 Thread vathsala nagaraju
From: Vathsala Nagaraju Prints live state of psr1.Extending the existing PSR2 live state function to cover psr1. Tested on KBL with psr2 and psr1 panel. v2: rebase v3: DK Rename psr2_live_status to psr_source_status. v4: DK Move EDP_PSR_STATUS_STATE_SHIFT below EDP_PSR_STATUS_STATE_MASK

[Intel-gfx] ✓ Fi.CI.IGT: success for series starting with [1/2] drm/i915/fbc/cnl: Add GLK and CNL+ hardware tracking size

2018-06-21 Thread Patchwork
== Series Details == Series: series starting with [1/2] drm/i915/fbc/cnl: Add GLK and CNL+ hardware tracking size URL : https://patchwork.freedesktop.org/series/45129/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4355_full -> Patchwork_9376_full = == Summary - WARNING ==

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Redefine EINVAL for debugging

2018-06-21 Thread Patchwork
== Series Details == Series: drm/i915: Redefine EINVAL for debugging URL : https://patchwork.freedesktop.org/series/45142/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4356 -> Patchwork_9378 = == Summary - SUCCESS == No regressions found. External URL: https://patch

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/psr: Add psr1 live status

2018-06-21 Thread Patchwork
== Series Details == Series: drm/i915/psr: Add psr1 live status URL : https://patchwork.freedesktop.org/series/45143/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4356 -> Patchwork_9379 = == Summary - SUCCESS == No regressions found. External URL: https://patchwork.

Re: [Intel-gfx] [PATCH v1] drm/i915: Add IOCTL Param to control data port coherency.

2018-06-21 Thread Joonas Lahtinen
+ Dave Airlie (The DRM subsystem maintainer) for FYI Quoting Dunajski, Bartosz (2018-06-21 10:31:57) > I would like to add few things that were mentioned previously. > > According to adoption plan. > Our plan is to drop dependency on LLVM 4.0.1 (with custom patches) and > instead compile with un

Re: [Intel-gfx] [PATCH] drm/i915: Redefine EINVAL for debugging

2018-06-21 Thread Joonas Lahtinen
Quoting Chris Wilson (2018-06-21 11:01:50) > To aide debugging spurious EINVALs, include a debug message every time > we emit one from execbuf. > > References: https://bugs.freedesktop.org/show_bug.cgi?id=106744 > Signed-off-by: Chris Wilson > Cc: Joonas Lahtinen That's special kind of evil. Bu

Re: [Intel-gfx] [PATCH 1/2] drm/i915/fbc/cnl: Add GLK and CNL+ hardware tracking size

2018-06-21 Thread Jani Nikula
On Wed, 20 Jun 2018, José Roberto de Souza wrote: Please add a commit message, always. Please make the subject prefix just "drm/i915/fbc" because cnl is misleading there. BR, Jani. > Signed-off-by: José Roberto de Souza > --- > drivers/gpu/drm/i915/intel_fbc.c | 5 - > 1 file changed, 4

Re: [Intel-gfx] [PATCH] drm/i915: Ignore applying the self-relocation BIAS if no relocations

2018-06-21 Thread Joonas Lahtinen
Quoting Chris Wilson (2018-06-21 10:32:05) > We only need to apply the BIAS for self-relocations into the batchbuffer > iff the execobject has any relocations. > > This suppresses some warnings we may get with a full gtt (so the batch > object has wound up at 0 from a previous invocation), but doe

Re: [Intel-gfx] [PATCH] drm/i915/psr: Add psr1 live status

2018-06-21 Thread Jani Nikula
On Thu, 21 Jun 2018, vathsala nagaraju wrote: > From: Vathsala Nagaraju > > Prints live state of psr1.Extending the existing > PSR2 live state function to cover psr1. > > Tested on KBL with psr2 and psr1 panel. > > v2: rebase > v3: DK > Rename psr2_live_status to psr_source_status. > v4: DK >

Re: [Intel-gfx] [PATCH] drm/i915: Redefine EINVAL for debugging

2018-06-21 Thread Chris Wilson
Quoting Joonas Lahtinen (2018-06-21 09:53:20) > Quoting Chris Wilson (2018-06-21 11:01:50) > > To aide debugging spurious EINVALs, include a debug message every time > > we emit one from execbuf. > > > > References: https://bugs.freedesktop.org/show_bug.cgi?id=106744 > > Signed-off-by: Chris Wilso

Re: [Intel-gfx] [PULL] drm-misc-next

2018-06-21 Thread Christian König
Hi Gustavo, Am 21.06.2018 um 02:58 schrieb Gustavo Padovan: Hi Dave, our first pull for 4.19, over 90 patches here, probably the most important ones are for the writeback connector support. Then we have a bunch of fixes to drivers, some interesting core cleanups and new panel drivers. This cont

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915: Ignore applying the self-relocation BIAS if no relocations

2018-06-21 Thread Patchwork
== Series Details == Series: drm/i915: Ignore applying the self-relocation BIAS if no relocations URL : https://patchwork.freedesktop.org/series/45140/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4356_full -> Patchwork_9377_full = == Summary - WARNING == Minor unknown

Re: [Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Ignore applying the self-relocation BIAS if no relocations

2018-06-21 Thread Chris Wilson
Quoting Patchwork (2018-06-21 08:51:28) > Possible fixes > > igt@gem_exec_gttfill@basic: > fi-byt-n2820: FAIL (fdo#106744) -> PASS Flipper be gone, thanks for the kind review, -Chris ___ Intel-gfx mailing list Intel-gfx@lis

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

2018-06-21 Thread Gustavo Padovan
drm-misc-next-2018-06-21: drm-misc-next for 4.19: Cross-subsystem Changes: - fix compile breakage on ION due to the dma-buf cleanups (Christian König) The following changes since commit daf0678c2036c918f01e4aa6035629d2debc2f30: Merge branch 'drm-next-4.18' of git://people.freedesktop.org/~agd5f

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915: Redefine EINVAL for debugging

2018-06-21 Thread Patchwork
== Series Details == Series: drm/i915: Redefine EINVAL for debugging URL : https://patchwork.freedesktop.org/series/45142/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4356_full -> Patchwork_9378_full = == Summary - WARNING == Minor unknown changes coming with Patchwork

[Intel-gfx] [PATCH] kernel: Show panic string after panic-notifiers

2018-06-21 Thread Chris Wilson
A problem we encounter with using ftrace-dump-on-oops is that our tracing overflows the pstore, losing the vital information of what caused the panic. Let's print that information after the traces instead of before so it should end up in the pstore for post-mortem. Signed-off-by: Chris Wilson Cc:

[Intel-gfx] [PATCH] drm/i915: read EU powergating status from command streamer

2018-06-21 Thread Lionel Landwerlin
Powergating of the EU array is configured as part of the context image. This seems to imply we need a context to have run before we can read the slice/subslice/EU powergating status. This change captures the values of the powergating status registers from the command streamer to ensure a valid we

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for kernel: Show panic string after panic-notifiers

2018-06-21 Thread Patchwork
== Series Details == Series: kernel: Show panic string after panic-notifiers URL : https://patchwork.freedesktop.org/series/45160/ State : warning == Summary == $ dim checkpatch origin/drm-tip 390deb98237f kernel: Show panic string after panic-notifiers -:36: WARNING:EMBEDDED_FUNCTION_NAME: Pr

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915/psr: Add psr1 live status

2018-06-21 Thread Patchwork
== Series Details == Series: drm/i915/psr: Add psr1 live status URL : https://patchwork.freedesktop.org/series/45143/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4356_full -> Patchwork_9379_full = == Summary - WARNING == Minor unknown changes coming with Patchwork_9379

[Intel-gfx] ✓ Fi.CI.BAT: success for kernel: Show panic string after panic-notifiers

2018-06-21 Thread Patchwork
== Series Details == Series: kernel: Show panic string after panic-notifiers URL : https://patchwork.freedesktop.org/series/45160/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4359 -> Patchwork_9380 = == Summary - SUCCESS == No regressions found. External URL: https

Re: [Intel-gfx] [PATCH] drm/i915: read EU powergating status from command streamer

2018-06-21 Thread Chris Wilson
Quoting Lionel Landwerlin (2018-06-21 12:27:12) > Powergating of the EU array is configured as part of the context > image. This seems to imply we need a context to have run before we can > read the slice/subslice/EU powergating status. > > This change captures the values of the powergating status

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: read EU powergating status from command streamer

2018-06-21 Thread Patchwork
== Series Details == Series: drm/i915: read EU powergating status from command streamer URL : https://patchwork.freedesktop.org/series/45161/ State : warning == Summary == $ dim checkpatch origin/drm-tip ce6bc683714c drm/i915: read EU powergating status from command streamer -:53: CHECK:LINE_S

[Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm/i915: read EU powergating status from command streamer

2018-06-21 Thread Patchwork
== Series Details == Series: drm/i915: read EU powergating status from command streamer URL : https://patchwork.freedesktop.org/series/45161/ State : warning == Summary == $ dim sparse origin/drm-tip Commit: drm/i915: read EU powergating status from command streamer -O:drivers/gpu/drm/i915/i91

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

2018-06-21 Thread Jani Nikula
Hi Dave, i915 fixes, nothing out of the ordinary. drm-intel-fixes-2018-06-21: drm/i915 fixes for v4.18-rc2: - Mostly cc: stable display fixes, including a DBLSCAN regression fix - GEM fixes for this merge window BR, Jani. The following changes since commit ce397d215ccd07b8ae3f71db689aedb85d56ab

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: read EU powergating status from command streamer

2018-06-21 Thread Patchwork
== Series Details == Series: drm/i915: read EU powergating status from command streamer URL : https://patchwork.freedesktop.org/series/45161/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4359 -> Patchwork_9381 = == Summary - WARNING == Minor unknown changes coming with

[Intel-gfx] [PATCH] drm/i915/crt: make intel_crt_reset() static again

2018-06-21 Thread Jani Nikula
Commit 9504a8924759 ("drm/i915/vlv: Reset the ADPA in vlv_display_power_well_init()") started calling intel_crt_reset() directly, while we could just as well use the hooks and keep the function static. Cc: Lyude Cc: Ville Syrjälä Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/intel_crt.c

Re: [Intel-gfx] [PATCH] drm/i915: read EU powergating status from command streamer

2018-06-21 Thread Lionel Landwerlin
On 21/06/18 12:54, Chris Wilson wrote: Quoting Lionel Landwerlin (2018-06-21 12:27:12) Powergating of the EU array is configured as part of the context image. This seems to imply we need a context to have run before we can read the slice/subslice/EU powergating status. This change captures the

Re: [Intel-gfx] [PATCH] drm/i915: read EU powergating status from command streamer

2018-06-21 Thread Chris Wilson
Quoting Lionel Landwerlin (2018-06-21 14:14:52) > On 21/06/18 12:54, Chris Wilson wrote: > > Other than questioning your sanity here at doing this rather than just > > deleting the debugfs, there's nothing inherently broken. I would do it > > for gen8 as well, no point leaving the odd one out. > >

[Intel-gfx] [PATCH] drm/i915: Enable hw workaround to bypass alpha

2018-06-21 Thread Vandita Kulkarni
Alpha blending with alpha 0 and 0xff passes through alpha math and rounding logic causing differences compared to fully transparent or opaque plane,resulting in CRC mismatch. This WA on icl and above enables hardware to bypass alpha math and rounding for per pixel alpha values of 00 and 0xff Signe

[Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915/crt: make intel_crt_reset() static again

2018-06-21 Thread Patchwork
== Series Details == Series: drm/i915/crt: make intel_crt_reset() static again URL : https://patchwork.freedesktop.org/series/45167/ State : failure == Summary == = CI Bug Log - changes from CI_DRM_4359 -> Patchwork_9382 = == Summary - FAILURE == Serious unknown changes coming with Patchwo

Re: [Intel-gfx] [PATCH v1] drm/i915: Add IOCTL Param to control data port coherency.

2018-06-21 Thread Lis, Tomasz
On 2018-06-21 09:05, Chris Wilson wrote: Quoting Tomasz Lis (2018-06-20 16:03:07) diff --git a/drivers/gpu/drm/i915/intel_lrc.c b/drivers/gpu/drm/i915/intel_lrc.c index 33bc914..c69dc26 100644 --- a/drivers/gpu/drm/i915/intel_lrc.c +++ b/drivers/gpu/drm/i915/intel_lrc.c @@ -258,6 +258,57 @@ in

Re: [Intel-gfx] [PATCH v1] drm/i915: Add IOCTL Param to control data port coherency.

2018-06-21 Thread Lis, Tomasz
On 2018-06-21 08:39, Joonas Lahtinen wrote: Changelog would be much appreciated. And this is not the first version of the series. It helps to remind the reviewer that original implementation was changed into IOCTl based on feedback. Please see the git log in i915 for some examples. Will add. I

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Enable hw workaround to bypass alpha

2018-06-21 Thread Patchwork
== Series Details == Series: drm/i915: Enable hw workaround to bypass alpha URL : https://patchwork.freedesktop.org/series/45173/ State : warning == Summary == $ dim checkpatch origin/drm-tip 1c10ad664cb9 drm/i915: Enable hw workaround to bypass alpha -:27: CHECK:SPACING: spaces preferred arou

Re: [Intel-gfx] [PATCH] drm/i915/crt: make intel_crt_reset() static again

2018-06-21 Thread Ville Syrjälä
On Thu, Jun 21, 2018 at 04:03:30PM +0300, Jani Nikula wrote: > Commit 9504a8924759 ("drm/i915/vlv: Reset the ADPA in > vlv_display_power_well_init()") started calling intel_crt_reset() > directly, while we could just as well use the hooks and keep the > function static. > > Cc: Lyude > Cc: Ville

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

2018-06-21 Thread Maarten Lankhorst
drm-misc-fixes-2018-06-21: Fixes for v4.18-rc2: - A reversion of a commit in drm/sun4i to fix a run-time fault. - Various fixes to the sii8620 bridge. - Small bugfix to correctly check stride in atmel-hlcdc. The following changes since commit c32048d9e93a5ab925d745396c63e7b912147f0a: drm/bridge/

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Enable hw workaround to bypass alpha

2018-06-21 Thread Patchwork
== Series Details == Series: drm/i915: Enable hw workaround to bypass alpha URL : https://patchwork.freedesktop.org/series/45173/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4359 -> Patchwork_9383 = == Summary - WARNING == Minor unknown changes coming with Patchwork_93

[Intel-gfx] [PATCH i-g-t] lib: Report file cache as available system memory

2018-06-21 Thread Chris Wilson
sysinfo() doesn't include all reclaimable memory. In particular it excludes the majority of global_node_page_state(NR_FILE_PAGES), reclaimable pages that are a copy of on-disk files It seems the only way to obtain this counter is by parsing /proc/meminfo. For comparison, check vm_enough_memory() wh

[Intel-gfx] [PATCH i-g-t] lib: Report file cache as available system memory

2018-06-21 Thread Chris Wilson
sysinfo() doesn't include all reclaimable memory. In particular it excludes the majority of global_node_page_state(NR_FILE_PAGES), reclaimable pages that are a copy of on-disk files It seems the only way to obtain this counter is by parsing /proc/meminfo. For comparison, check vm_enough_memory() wh

Re: [Intel-gfx] [RFC PATCH] drm/i915/guc: New interface files for GuC starting in Gen11

2018-06-21 Thread Rodrigo Vivi
On Thu, Jun 14, 2018 at 10:48:01PM +, Srivatsa, Anusha wrote: Overall I don't see any biggest issue with this file and I agree with most of Michal's comments, specially with the nameless bitfields. Well, maybe the nameless is a big issue if it breaks compilers out there. But I'm responding h

[Intel-gfx] [v2] drm/i915: Enable hw workaround to bypass alpha

2018-06-21 Thread Vandita Kulkarni
Alpha blending with alpha 0 and 0xff passes through alpha math and rounding logic causing differences compared to fully transparent or opaque plane,resulting in CRC mismatch. This WA on icl and above enables hardware to bypass alpha math and rounding for per pixel alpha values of 00 and 0xff v2: F

Re: [Intel-gfx] [RFC] drm/i915: Fix assert_plane() warning on bootup with external display

2018-06-21 Thread Ville Syrjälä
On Thu, Jun 21, 2018 at 01:00:48AM +, Shaikh, Azhar wrote: > > > >-Original Message- > >From: Ville Syrjälä [mailto:ville.syrj...@linux.intel.com] > >Sent: Tuesday, June 19, 2018 5:00 AM > >To: Shaikh, Azhar > >Cc: Jani Nikula ; > >intel-gfx@lists.freedesktop.org > >Subject: Re: [In

[Intel-gfx] [PATCH 1/2] drm/i915/ddi: Get AUX power domain for DP main link too

2018-06-21 Thread Imre Deak
So far we got an AUX power domain reference only for the duration of DP AUX transfers. However, the followings suggest that we also need these for main link functionality: - The specification doesn't state whether it's needed or not for main link functionality, but suggests that these power wells

[Intel-gfx] [PATCH 2/2] drm/i915/cnl: Don't get separate AUX power domain ref for DP PSR

2018-06-21 Thread Imre Deak
After the previous patch we don't need to get an explicit AUX power reference for PSR functionality, since we hold now an AUX reference whenever the main link is active on any DP ports. Cc: Ville Syrjälä Cc: Dhinakaran Pandiyan Cc: Paulo Zanoni Signed-off-by: Imre Deak --- drivers/gpu/drm/i91

Re: [Intel-gfx] [PATCH v2] drm/i915: remove check for aux irq

2018-06-21 Thread Ville Syrjälä
On Tue, Jun 19, 2018 at 08:24:33AM -0700, Lucas De Marchi wrote: > On Tue, Jun 19, 2018 at 7:06 AM Ville Syrjälä > wrote: > > > > On Fri, Jun 15, 2018 at 02:51:06PM -0700, Lucas De Marchi wrote: > > > On Fri, Jun 15, 2018 at 08:58:28PM +0300, Ville Syrjälä wrote: > > > > On Wed, May 23, 2018 at 11

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Enable hw workaround to bypass alpha (rev2)

2018-06-21 Thread Patchwork
== Series Details == Series: drm/i915: Enable hw workaround to bypass alpha (rev2) URL : https://patchwork.freedesktop.org/series/45173/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4359 -> Patchwork_9384 = == Summary - SUCCESS == No regressions found. External URL:

Re: [Intel-gfx] ✗ Fi.CI.BAT: failure for series starting with [1/2] drm/i915/icl: Fix MG PLL setup when refclk is 38.4MHz (rev3)

2018-06-21 Thread Imre Deak
On Tue, Jun 19, 2018 at 05:13:26PM +, Patchwork wrote: > == Series Details == > > Series: series starting with [1/2] drm/i915/icl: Fix MG PLL setup when refclk > is 38.4MHz (rev3) > URL : https://patchwork.freedesktop.org/series/44836/ > State : failure Thanks for the reviews pushed both p

Re: [Intel-gfx] [PATCH 2/2] drm/i915/cnl: Don't get separate AUX power domain ref for DP PSR

2018-06-21 Thread Ville Syrjälä
On Thu, Jun 21, 2018 at 06:58:30PM +0300, Imre Deak wrote: > After the previous patch we don't need to get an explicit AUX power > reference for PSR functionality, since we hold now an AUX reference > whenever the main link is active on any DP ports. > > Cc: Ville Syrjälä > Cc: Dhinakaran Pandiya

[Intel-gfx] ✓ Fi.CI.IGT: success for kernel: Show panic string after panic-notifiers

2018-06-21 Thread Patchwork
== Series Details == Series: kernel: Show panic string after panic-notifiers URL : https://patchwork.freedesktop.org/series/45160/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4359_full -> Patchwork_9380_full = == Summary - SUCCESS == No regressions found. == Known

Re: [Intel-gfx] [PATCH 2/2] drm/i915/cnl: Don't get separate AUX power domain ref for DP PSR

2018-06-21 Thread Imre Deak
On Thu, Jun 21, 2018 at 07:13:51PM +0300, Ville Syrjälä wrote: > On Thu, Jun 21, 2018 at 06:58:30PM +0300, Imre Deak wrote: > > After the previous patch we don't need to get an explicit AUX power > > reference for PSR functionality, since we hold now an AUX reference > > whenever the main link is a

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915: read EU powergating status from command streamer

2018-06-21 Thread Patchwork
== Series Details == Series: drm/i915: read EU powergating status from command streamer URL : https://patchwork.freedesktop.org/series/45161/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4359_full -> Patchwork_9381_full = == Summary - SUCCESS == No regressions found.

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/2] drm/i915/ddi: Get AUX power domain for DP main link too

2018-06-21 Thread Patchwork
== Series Details == Series: series starting with [1/2] drm/i915/ddi: Get AUX power domain for DP main link too URL : https://patchwork.freedesktop.org/series/45181/ State : warning == Summary == $ dim checkpatch origin/drm-tip 2fcf2866905b drm/i915/ddi: Get AUX power domain for DP main link

Re: [Intel-gfx] [PATCH v2] drm/i915: remove check for aux irq

2018-06-21 Thread Lucas De Marchi
On Tue, Jun 19, 2018 at 01:17:10PM -0700, Dhinakaran Pandiyan wrote: > On Tue, 2018-06-19 at 08:24 -0700, Lucas De Marchi wrote: > > On Tue, Jun 19, 2018 at 7:06 AM Ville Syrjälä > > wrote: > > > > > > > > > On Fri, Jun 15, 2018 at 02:51:06PM -0700, Lucas De Marchi wrote: > > > > > > > > On Fri

[Intel-gfx] [PATCH v2] drm/i915/ddi: Get AUX power domain for DP main link too

2018-06-21 Thread Imre Deak
So far we got an AUX power domain reference only for the duration of DP AUX transfers. However, the following suggests that we also need these for main link functionality: - The specification doesn't state whether it's needed or not for main link functionality, but suggests that these power wells

[Intel-gfx] ✓ Fi.CI.BAT: success for series starting with [1/2] drm/i915/ddi: Get AUX power domain for DP main link too

2018-06-21 Thread Patchwork
== Series Details == Series: series starting with [1/2] drm/i915/ddi: Get AUX power domain for DP main link too URL : https://patchwork.freedesktop.org/series/45181/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4362 -> Patchwork_9385 = == Summary - SUCCESS == No regres

Re: [Intel-gfx] [PATCH v2 00/12] drm: Add generic fbdev emulation

2018-06-21 Thread Noralf Trønnes
Den 21.06.2018 09.14, skrev Daniel Vetter: On Wed, Jun 20, 2018 at 05:28:10PM +0200, Noralf Trønnes wrote: Den 20.06.2018 15.52, skrev Noralf Trønnes: Den 20.06.2018 11.34, skrev Daniel Vetter: On Mon, Jun 18, 2018 at 04:17:27PM +0200, Noralf Trønnes wrote: This patchset adds generic fbdev e

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/ddi: Get AUX power domain for DP main link too

2018-06-21 Thread Patchwork
== Series Details == Series: drm/i915/ddi: Get AUX power domain for DP main link too URL : https://patchwork.freedesktop.org/series/45188/ State : warning == Summary == $ dim checkpatch origin/drm-tip e686fff14a1c drm/i915/ddi: Get AUX power domain for DP main link too -:35: WARNING:TYPO_SPELL

Re: [Intel-gfx] [PATCH 1/2] drm/i915/ddi: Get AUX power domain for DP main link too

2018-06-21 Thread Ville Syrjälä
On Thu, Jun 21, 2018 at 06:58:29PM +0300, Imre Deak wrote: > So far we got an AUX power domain reference only for the duration of DP > AUX transfers. However, the followings suggest that we also need these > for main link functionality: > - The specification doesn't state whether it's needed or not

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/ddi: Get AUX power domain for DP main link too

2018-06-21 Thread Patchwork
== Series Details == Series: drm/i915/ddi: Get AUX power domain for DP main link too URL : https://patchwork.freedesktop.org/series/45188/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4362 -> Patchwork_9386 = == Summary - SUCCESS == No regressions found. External URL

Re: [Intel-gfx] [PATCH 1/2] drm/i915/ddi: Get AUX power domain for DP main link too

2018-06-21 Thread Ville Syrjälä
On Thu, Jun 21, 2018 at 06:58:29PM +0300, Imre Deak wrote: > So far we got an AUX power domain reference only for the duration of DP > AUX transfers. However, the followings suggest that we also need these > for main link functionality: > - The specification doesn't state whether it's needed or not

[Intel-gfx] [PATCH] drm/i915: Remove pointless if-else from sdvo code

2018-06-21 Thread Ville Syrjala
From: Ville Syrjälä The return value is a bool so we can just return the result of the biwise AND. The compiler will take care of the rest. Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/i915/intel_sdvo.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/gpu/drm

Re: [Intel-gfx] [PATCH 1/2] drm/i915/ddi: Get AUX power domain for DP main link too

2018-06-21 Thread Imre Deak
On Thu, Jun 21, 2018 at 08:37:15PM +0300, Ville Syrjälä wrote: > On Thu, Jun 21, 2018 at 06:58:29PM +0300, Imre Deak wrote: > > So far we got an AUX power domain reference only for the duration of DP > > AUX transfers. However, the followings suggest that we also need these > > for main link functi

Re: [Intel-gfx] [PATCH 1/2] drm/i915/ddi: Get AUX power domain for DP main link too

2018-06-21 Thread Imre Deak
On Thu, Jun 21, 2018 at 08:40:45PM +0300, Ville Syrjälä wrote: > On Thu, Jun 21, 2018 at 06:58:29PM +0300, Imre Deak wrote: > > So far we got an AUX power domain reference only for the duration of DP > > AUX transfers. However, the followings suggest that we also need these > > for main link functi

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Remove pointless if-else from sdvo code

2018-06-21 Thread Patchwork
== Series Details == Series: drm/i915: Remove pointless if-else from sdvo code URL : https://patchwork.freedesktop.org/series/45189/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4362 -> Patchwork_9387 = == Summary - SUCCESS == No regressions found. External URL: htt

Re: [Intel-gfx] [PATCH] drm/i915: Enable hw workaround to bypass alpha

2018-06-21 Thread Lankhorst, Maarten
tor 2018-06-21 klockan 19:00 +0530 skrev Vandita Kulkarni: > Alpha blending with alpha 0 and 0xff passes through > alpha math and rounding logic causing differences > compared to fully transparent or opaque plane,resulting > in CRC mismatch. > This WA on icl and above enables hardware to bypass alp

Re: [Intel-gfx] [PATCH v5] drm/i915: Force 2*96 MHz cdclk on glk/cnl when audio power is enabled

2018-06-21 Thread Kumar, Abhay
+ Wenkai -Original Message- From: Intel-gfx [mailto:intel-gfx-boun...@lists.freedesktop.org] On Behalf Of Abhay Kumar Sent: Tuesday, June 19, 2018 3:01 PM To: intel-gfx@lists.freedesktop.org; Syrjala, Ville Cc: Nikula, Jani Subject: [Intel-gfx] [PATCH v5] drm/i915: Force 2*96 MHz cdclk

[Intel-gfx] [PATCH v3] drm/i915/ddi: Get AUX power domain for DP main link too

2018-06-21 Thread Imre Deak
So far we got an AUX power domain reference only for the duration of DP AUX transfers. However, the following suggests that we also need these for main link functionality: - The specification doesn't state whether it's needed or not for main link functionality, but suggests that these power wells

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915: Enable hw workaround to bypass alpha

2018-06-21 Thread Patchwork
== Series Details == Series: drm/i915: Enable hw workaround to bypass alpha URL : https://patchwork.freedesktop.org/series/45173/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4359_full -> Patchwork_9383_full = == Summary - SUCCESS == No regressions found. == Known

Re: [Intel-gfx] [PATCH 1/2] drm/i915/ddi: Get AUX power domain for DP main link too

2018-06-21 Thread Manasi Navare
On Thu, Jun 21, 2018 at 09:18:55PM +0300, Imre Deak wrote: > On Thu, Jun 21, 2018 at 08:37:15PM +0300, Ville Syrjälä wrote: > > On Thu, Jun 21, 2018 at 06:58:29PM +0300, Imre Deak wrote: > > > So far we got an AUX power domain reference only for the duration of DP > > > AUX transfers. However, the

Re: [Intel-gfx] [PATCH 1/2] drm/i915/ddi: Get AUX power domain for DP main link too

2018-06-21 Thread Imre Deak
On Thu, Jun 21, 2018 at 11:54:55AM -0700, Manasi Navare wrote: > On Thu, Jun 21, 2018 at 09:18:55PM +0300, Imre Deak wrote: > > On Thu, Jun 21, 2018 at 08:37:15PM +0300, Ville Syrjälä wrote: > > > On Thu, Jun 21, 2018 at 06:58:29PM +0300, Imre Deak wrote: > > > > So far we got an AUX power domain r

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/ddi: Get AUX power domain for DP main link too (rev2)

2018-06-21 Thread Patchwork
== Series Details == Series: drm/i915/ddi: Get AUX power domain for DP main link too (rev2) URL : https://patchwork.freedesktop.org/series/45188/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4363 -> Patchwork_9388 = == Summary - SUCCESS == No regressions found. Exter

Re: [Intel-gfx] [PATCH v2] drm/i915: remove check for aux irq

2018-06-21 Thread Dhinakaran Pandiyan
On Thu, 2018-06-21 at 10:04 -0700, Lucas De Marchi wrote: > On Tue, Jun 19, 2018 at 01:17:10PM -0700, Dhinakaran Pandiyan wrote: > > > > On Tue, 2018-06-19 at 08:24 -0700, Lucas De Marchi wrote: > > > > > > On Tue, Jun 19, 2018 at 7:06 AM Ville Syrjälä > > > wrote: > > > > > > > > > > > > > >

Re: [Intel-gfx] [PATCH] drm/i915: Enable hw workaround to bypass alpha

2018-06-21 Thread Ville Syrjälä
On Thu, Jun 21, 2018 at 07:00:15PM +0530, Vandita Kulkarni wrote: > Alpha blending with alpha 0 and 0xff passes through > alpha math and rounding logic causing differences > compared to fully transparent or opaque plane,resulting > in CRC mismatch. > This WA on icl and above enables hardware to byp

Re: [Intel-gfx] [PATCH v3] drm/i915/ddi: Get AUX power domain for DP main link too

2018-06-21 Thread Dhinakaran Pandiyan
On Thu, 2018-06-21 at 21:44 +0300, Imre Deak wrote: > So far we got an AUX power domain reference only for the duration of > DP > AUX transfers. However, the following suggests that we also need > these > for main link functionality: > - The specification doesn't state whether it's needed or not fo

Re: [Intel-gfx] [PATCH] drm/i915: Remove pointless if-else from sdvo code

2018-06-21 Thread Chris Wilson
Quoting Ville Syrjala (2018-06-21 18:46:58) > From: Ville Syrjälä > > The return value is a bool so we can just return the result of > the biwise AND. The compiler will take care of the rest. > > Signed-off-by: Ville Syrjälä Reviewed-by: Chris Wilson -Chris

Re: [Intel-gfx] [PATCH v3] drm/i915/ddi: Get AUX power domain for DP main link too

2018-06-21 Thread Imre Deak
On Thu, Jun 21, 2018 at 01:14:30PM -0700, Dhinakaran Pandiyan wrote: > On Thu, 2018-06-21 at 21:44 +0300, Imre Deak wrote: > > So far we got an AUX power domain reference only for the duration of > > DP > > AUX transfers. However, the following suggests that we also need > > these > > for main link

Re: [Intel-gfx] [PATCH v3] drm/i915/ddi: Get AUX power domain for DP main link too

2018-06-21 Thread Dhinakaran Pandiyan
On Thu, 2018-06-21 at 22:54 +0300, Imre Deak wrote: > On Thu, Jun 21, 2018 at 01:14:30PM -0700, Dhinakaran Pandiyan wrote: > > > > On Thu, 2018-06-21 at 21:44 +0300, Imre Deak wrote: > > > > > > So far we got an AUX power domain reference only for the duration > > > of > > > DP > > > AUX transfer

Re: [Intel-gfx] [PATCH v3] drm/i915/ddi: Get AUX power domain for DP main link too

2018-06-21 Thread Imre Deak
On Thu, Jun 21, 2018 at 01:28:40PM -0700, Dhinakaran Pandiyan wrote: > On Thu, 2018-06-21 at 22:54 +0300, Imre Deak wrote: > > On Thu, Jun 21, 2018 at 01:14:30PM -0700, Dhinakaran Pandiyan wrote: > > > > > > On Thu, 2018-06-21 at 21:44 +0300, Imre Deak wrote: > > > > > > > > So far we got an AUX

Re: [Intel-gfx] [PATCH v5] drm/i915: Force 2*96 MHz cdclk on glk/cnl when audio power is enabled

2018-06-21 Thread Du,Wenkai
On 6/21/2018 11:43 AM, Kumar, Abhay wrote: + Wenkai -Original Message- From: Intel-gfx [mailto:intel-gfx-boun...@lists.freedesktop.org] On Behalf Of Abhay Kumar Sent: Tuesday, June 19, 2018 3:01 PM To: intel-gfx@lists.freedesktop.org; Syrjala, Ville Cc: Nikula, Jani Subject: [Intel-

Re: [Intel-gfx] [v2] drm/i915: Enable hw workaround to bypass alpha

2018-06-21 Thread Radhakrishna Sripada
On Thu, Jun 21, 2018 at 08:43:56PM +0530, Vandita Kulkarni wrote: > Alpha blending with alpha 0 and 0xff passes through > alpha math and rounding logic causing differences > compared to fully transparent or opaque plane,resulting > in CRC mismatch. > This WA on icl and above enables hardware to byp

[Intel-gfx] [PATCH v6 2/5] drm/i915/psr: Begin to handle PSR/PSR2 errors set by sink

2018-06-21 Thread José Roberto de Souza
eDP spec states that sink device will do a short pulse in HPD line when there is a PSR/PSR2 error that needs to be handled by source, this is handling the first and most simples error: DP_PSR_SINK_INTERNAL_ERROR. Here taking the safest approach and disabling PSR(at least until the next modeset), t

[Intel-gfx] [PATCH v6 4/5] drm/i915/psr: Avoid PSR exit max time timeout

2018-06-21 Thread José Roberto de Souza
Specification requires that max time should be masked from bdw and forward but it can be also safely enabled to hsw. This will make PSR exits more deterministic and only when really needed. If this was used to fix a issue in some panel than can only self-refresh for a few seconds, that panel will i

[Intel-gfx] [PATCH v6 1/5] drm/i915/psr: Remove intel_crtc_state parameter from disable()

2018-06-21 Thread José Roberto de Souza
It was only used in VLV/CHV so after the removal of the PSR support for those platforms it is not necessary any more. Reviewed-by: Dhinakaran Pandiyan Cc: Rodrigo Vivi Signed-off-by: José Roberto de Souza --- drivers/gpu/drm/i915/i915_drv.h | 3 +-- drivers/gpu/drm/i915/intel_psr.c | 5 ++---

[Intel-gfx] [PATCH v6 5/5] drm/i915/psr: Enable CRC check in the static frame on the sink side

2018-06-21 Thread José Roberto de Souza
Sink can be configured to calculate the CRC over the static frame and compare with the CRC calculated and transmited in the VSC SDP by source, if there is a mismatch sink will do a short pulse in HPD and set DP_PSR_LINK_CRC_ERROR in DP_PSR_ERROR_STATUS. Spec: 7723 v6: andling DP_PSR_LINK_CRC_ERRO

[Intel-gfx] [PATCH v6 3/5] drm/i915/psr: Handle PSR errors

2018-06-21 Thread José Roberto de Souza
Sink will interrupt source when it have any PSR error. DP_PSR_VSC_SDP_UNCORRECTABLE_ERROR is a PSR2 but already handling it here. The only missing error to be handled is DP_PSR_LINK_CRC_ERROR that will be taken in care in a futher patch. v6: not handling DP_PSR_LINK_CRC_ERROR here v5: handling al

[Intel-gfx] ✗ Fi.CI.SPARSE: warning for series starting with [v6,1/5] drm/i915/psr: Remove intel_crtc_state parameter from disable()

2018-06-21 Thread Patchwork
== Series Details == Series: series starting with [v6,1/5] drm/i915/psr: Remove intel_crtc_state parameter from disable() URL : https://patchwork.freedesktop.org/series/45200/ State : warning == Summary == $ dim sparse origin/drm-tip Commit: drm/i915/psr: Remove intel_crtc_state parameter fro

[Intel-gfx] ✓ Fi.CI.BAT: success for series starting with [v6,1/5] drm/i915/psr: Remove intel_crtc_state parameter from disable()

2018-06-21 Thread Patchwork
== Series Details == Series: series starting with [v6,1/5] drm/i915/psr: Remove intel_crtc_state parameter from disable() URL : https://patchwork.freedesktop.org/series/45200/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4365 -> Patchwork_9389 = == Summary - SUCCESS ==

Re: [Intel-gfx] [PATCH 20/24] drm/i915/icl: implement the tc/legacy HPD {dis, }connect flow for DP

2018-06-21 Thread Srivatsa, Anusha
>-Original Message- >From: Intel-gfx [mailto:intel-gfx-boun...@lists.freedesktop.org] On Behalf Of >Paulo Zanoni >Sent: Monday, May 21, 2018 5:26 PM >To: intel-gfx@lists.freedesktop.org >Cc: Zanoni, Paulo R >Subject: [Intel-gfx] [PATCH 20/24] drm/i915/icl: implement the tc/legacy HPD >{d

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915: Enable hw workaround to bypass alpha (rev2)

2018-06-21 Thread Patchwork
== Series Details == Series: drm/i915: Enable hw workaround to bypass alpha (rev2) URL : https://patchwork.freedesktop.org/series/45173/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4359_full -> Patchwork_9384_full = == Summary - SUCCESS == No regressions found. ==

Re: [Intel-gfx] [PATCH v2] drm/i915: Wait for PSR exit before checking for vblank evasion

2018-06-21 Thread Tarun Vyas
On Tue, Jun 19, 2018 at 02:59:54PM -0700, Tarun Vyas wrote: > On Tue, Jun 19, 2018 at 02:54:07PM -0700, Dhinakaran Pandiyan wrote: > > On Tue, 2018-06-19 at 14:27 -0700, Dhinakaran Pandiyan wrote: > > > On Mon, 2018-05-14 at 13:49 -0700, Tarun Vyas wrote: > > > > > > > > The PIPEDSL freezes on PSR

Re: [Intel-gfx] [PATCH 22/24] drm/i915/icl: Update FIA supported lane count for hpd.

2018-06-21 Thread Srivatsa, Anusha
>-Original Message- >From: Intel-gfx [mailto:intel-gfx-boun...@lists.freedesktop.org] On Behalf Of >Paulo Zanoni >Sent: Monday, May 21, 2018 5:26 PM >To: intel-gfx@lists.freedesktop.org >Cc: Zanoni, Paulo R >Subject: [Intel-gfx] [PATCH 22/24] drm/i915/icl: Update FIA supported lane >coun

Re: [Intel-gfx] [PATCH 11/14] drm/i915: Fix DP-MST crtc_mask

2018-06-21 Thread Dhinakaran Pandiyan
On Fri, 2018-06-15 at 21:43 +0300, Ville Syrjälä wrote: > On Fri, Jun 15, 2018 at 11:33:01AM -0700, Dhinakaran Pandiyan wrote: > > > > On Fri, 2018-06-15 at 19:49 +0300, Ville Syrjala wrote: > > > > > > From: Ville Syrjälä > > > > > > Each fake MST encoder is tied to a specific pipe. Fix the >

Re: [Intel-gfx] [PATCH 10/14] drm/i915: Populate possible_crtcs correctly

2018-06-21 Thread Dhinakaran Pandiyan
On Fri, 2018-06-15 at 19:49 +0300, Ville Syrjala wrote: > From: Ville Syrjälä > > Don't advertize non-exisiting crtcs in the encoder possible_crtcs > bitmask. > How do we end up advertising non-existing CRTCs? encoder->crtc_mask seems to be populated in the encoder init functions based on possib

[Intel-gfx] [PATCH] drm/i915/psr: Lockless version of psr_wait_for_idle

2018-06-21 Thread Tarun Vyas
This is a lockless version of the exisiting psr_wait_for_idle(). We want to wait for PSR to idle out inside intel_pipe_update_start. At the time of a pipe update, we should never race with any psr enable or disable code, which is a part of crtc enable/disable. So, we can live w/o taking any psr loc

  1   2   >