[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Add documentation to gen9_set_dc_state()

2018-04-17 Thread Patchwork
== Series Details == Series: drm/i915: Add documentation to gen9_set_dc_state() URL : https://patchwork.freedesktop.org/series/41811/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4059 -> Patchwork_8705 = == Summary - SUCCESS == No regressions found. External URL: ht

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Remove skl dc6 enable/disable functions

2018-04-17 Thread Patchwork
== Series Details == Series: drm/i915: Remove skl dc6 enable/disable functions URL : https://patchwork.freedesktop.org/series/41803/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4059 -> Patchwork_8704 = == Summary - SUCCESS == No regressions found. External URL: htt

[Intel-gfx] ✓ Fi.CI.BAT: success for GMBUS changes (rev3)

2018-04-17 Thread Patchwork
== Series Details == Series: GMBUS changes (rev3) URL : https://patchwork.freedesktop.org/series/41632/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4059 -> Patchwork_8703 = == Summary - WARNING == Minor unknown changes coming with Patchwork_8703 need to be verified m

[Intel-gfx] [PATCH] drm/i915: Add documentation to gen9_set_dc_state()

2018-04-17 Thread Imre Deak
Add documentation to gen9_set_dc_state() on what enabling a given DC state means and at what point HW/DMC actually enters/exits these states. Cc: Jani Nikula Cc: Daniel Vetter Signed-off-by: Imre Deak --- drivers/gpu/drm/i915/intel_runtime_pm.c | 23 +++ 1 file changed, 23

[Intel-gfx] ✗ Fi.CI.SPARSE: warning for GMBUS changes (rev3)

2018-04-17 Thread Patchwork
== Series Details == Series: GMBUS changes (rev3) URL : https://patchwork.freedesktop.org/series/41632/ State : warning == Summary == $ dim sparse origin/drm-tip Commit: drm/i915/gmbus: Increase the Bytes per Rd/Wr Op -O:drivers/gpu/drm/i915/intel_i2c.c:403:23: warning: expression using sizeo

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for GMBUS changes (rev3)

2018-04-17 Thread Patchwork
== Series Details == Series: GMBUS changes (rev3) URL : https://patchwork.freedesktop.org/series/41632/ State : warning == Summary == $ dim checkpatch origin/drm-tip 16f60217eb21 drm/i915/gmbus: Increase the Bytes per Rd/Wr Op bcedea2a9483 drm/i915/gmbus: Enable burst read -:28: CHECK:MACRO_AR

Re: [Intel-gfx] [PATCH v2 6/6] drm/i915: Do not do fb src adjustments for NV12

2018-04-17 Thread Saarinen, Jani
HI, > -Original Message- > From: Srinivas, Vidya > Sent: tiistai 17. huhtikuuta 2018 13.49 > To: Maarten Lankhorst ; Saarinen, Jani > ; intel-gfx@lists.freedesktop.org > Cc: Kamath, Sunil > Subject: RE: [PATCH v2 6/6] drm/i915: Do not do fb src adjustments for NV12 > > > > > -Origi

Re: [Intel-gfx] [PATCH v2 6/6] drm/i915: Do not do fb src adjustments for NV12

2018-04-17 Thread Srinivas, Vidya
> -Original Message- > From: Maarten Lankhorst [mailto:maarten.lankho...@linux.intel.com] > Sent: Tuesday, April 17, 2018 3:32 PM > To: Srinivas, Vidya ; Saarinen, Jani > ; intel-gfx@lists.freedesktop.org > Cc: Kamath, Sunil > Subject: Re: [PATCH v2 6/6] drm/i915: Do not do fb src adjust

Re: [Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915/selftests: Handle a potential failure of intel_ring_begin

2018-04-17 Thread Chris Wilson
Quoting Patchwork (2018-04-17 00:47:27) > == Series Details == > > Series: drm/i915/selftests: Handle a potential failure of intel_ring_begin > URL : https://patchwork.freedesktop.org/series/41773/ > State : failure > > == Summary == > > = CI Bug Log - changes from CI_DRM_4058_full -> Patchwor

Re: [Intel-gfx] [PATCH] drm/i915/selftests: Handle a potential failure of intel_ring_begin

2018-04-17 Thread Chris Wilson
Quoting Oscar Mateo (2018-04-16 22:57:01) > Silence smatch over: > > drivers/gpu/drm/i915/selftests/intel_workarounds.c:58 read_nonprivs() error: > 'cs' dereferencing possible ERR_PTR() > > by handling a potential (but unlikely) failure of intel_ring_begin. > > Fixes: f4ecfbfc32ed ("drm/i915: C

Re: [Intel-gfx] [PATCH v2 6/6] drm/i915: Do not do fb src adjustments for NV12

2018-04-17 Thread Srinivas, Vidya
> -Original Message- > From: Maarten Lankhorst [mailto:maarten.lankho...@linux.intel.com] > Sent: Tuesday, April 17, 2018 3:32 PM > To: Srinivas, Vidya ; Saarinen, Jani > ; intel-gfx@lists.freedesktop.org > Cc: Kamath, Sunil > Subject: Re: [PATCH v2 6/6] drm/i915: Do not do fb src adjust

Re: [Intel-gfx] [RFC v4 23/25] drm: Add DRM device registered notifier

2018-04-17 Thread Daniel Vetter
On Sat, Apr 14, 2018 at 01:53:16PM +0200, Noralf Trønnes wrote: > Add a notifier that fires when a new DRM device is registered. > This can be used by the bootsplash client to connect to all devices. > > Signed-off-by: Noralf Trønnes So I freaked out temporarily about your usage of notifiers her

Re: [Intel-gfx] [CI i-g-t 1/2] tests/gem_exec_latency: New subtests for checking submission from RT tasks

2018-04-17 Thread Chris Wilson
Quoting Tvrtko Ursulin (2018-04-17 09:41:11) > From: Tvrtko Ursulin > > We want to make sure RT tasks which use a lot of CPU times can submit > batch buffers with roughly the same latency (and certainly not worse) > compared to normal tasks. > > Signed-off-by: Tvrtko Ursulin > Cc: Chris Wilson

[Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915/audio: Fix audio detection issue on GLK (rev2)

2018-04-17 Thread Patchwork
== Series Details == Series: drm/i915/audio: Fix audio detection issue on GLK (rev2) URL : https://patchwork.freedesktop.org/series/41334/ State : failure == Summary == = CI Bug Log - changes from CI_DRM_4058_full -> Patchwork_8702_full = == Summary - FAILURE == Serious unknown changes com

[Intel-gfx] [PATCH] drm/i915: Remove skl dc6 enable/disable functions

2018-04-17 Thread Daniel Vetter
One is outright unused, other can be made static. Drive-by cleanup while accidentally reading dc code. Cc: Imre Deak Acked-by: Imre Deak Cc: Rodrigo Vivi Cc. Dhinakaran Pandiyan Signed-off-by: Daniel Vetter --- drivers/gpu/drm/i915/intel_drv.h| 2 -- drivers/gpu/drm/i915/intel_runt

Re: [Intel-gfx] [PATCH v2 6/6] drm/i915: Do not do fb src adjustments for NV12

2018-04-17 Thread Maarten Lankhorst
Op 17-04-18 om 11:42 schreef Srinivas, Vidya: > >> -Original Message- >> From: Maarten Lankhorst [mailto:maarten.lankho...@linux.intel.com] >> Sent: Tuesday, April 17, 2018 3:04 PM >> To: Srinivas, Vidya ; Saarinen, Jani >> ; intel-gfx@lists.freedesktop.org >> Cc: Kamath, Sunil >> Subject:

Re: [Intel-gfx] [PATCH v2] drm/i915: Pack params to engine->schedule() into a struct

2018-04-17 Thread Chris Wilson
Quoting Tvrtko Ursulin (2018-04-17 10:12:05) > > On 12/04/2018 00:00, Chris Wilson wrote: > > Today we only want to pass along the priority to engine->schedule(), but > > in the future we want to have much more control over the various aspects > > of the GPU during a context's execution, for examp

Re: [Intel-gfx] [PATCH v2 6/6] drm/i915: Do not do fb src adjustments for NV12

2018-04-17 Thread Srinivas, Vidya
> -Original Message- > From: Maarten Lankhorst [mailto:maarten.lankho...@linux.intel.com] > Sent: Tuesday, April 17, 2018 3:04 PM > To: Srinivas, Vidya ; Saarinen, Jani > ; intel-gfx@lists.freedesktop.org > Cc: Kamath, Sunil > Subject: Re: [PATCH v2 6/6] drm/i915: Do not do fb src adjust

Re: [Intel-gfx] [PATCH v2 6/6] drm/i915: Do not do fb src adjustments for NV12

2018-04-17 Thread Maarten Lankhorst
Op 17-04-18 om 10:09 schreef Srinivas, Vidya: > >> -Original Message- >> From: Srinivas, Vidya >> Sent: Tuesday, April 17, 2018 1:32 PM >> To: 'Maarten Lankhorst' ; Saarinen, >> Jani ; intel-gfx@lists.freedesktop.org >> Cc: Kamath, Sunil >> Subject: RE: [PATCH v2 6/6] drm/i915: Do not do f

Re: [Intel-gfx] [PATCH v1 2/2] i915: content-type property for HDMI connector

2018-04-17 Thread Lisovskiy, Stanislav
Hi Sean, Thank you for comments! Could you please clarify a bit more here, as I've just started recently working on drm side, so I took an aspect ratio property as an example. > @@ -491,6 +491,8 @@ static void intel_hdmi_set_avi_infoframe(struct > drm_encoder *encoder, >

Re: [Intel-gfx] [PATCH v2 6/6] drm/i915: Do not do fb src adjustments for NV12

2018-04-17 Thread Srinivas, Vidya
> -Original Message- > From: Kahola, Mika > Sent: Tuesday, April 17, 2018 2:49 PM > To: Srinivas, Vidya ; intel- > g...@lists.freedesktop.org > Subject: Re: [Intel-gfx] [PATCH v2 6/6] drm/i915: Do not do fb src > adjustments for NV12 > > On Fri, 2018-04-13 at 17:44 +0530, Vidya Srinivas

Re: [Intel-gfx] [PATCH v2 6/6] drm/i915: Do not do fb src adjustments for NV12

2018-04-17 Thread Mika Kahola
On Fri, 2018-04-13 at 17:44 +0530, Vidya Srinivas wrote: > We skip src trunction/adjustments for > NV12 case and handle the sizes directly. > Without this, pipe fifo underruns are seen on APL/KBL. > > v2: For NV12, making the src coordinates multiplier of 4 > > Credits-to: Maarten Lankhorst > Si

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/audio: Fix audio detection issue on GLK (rev2)

2018-04-17 Thread Patchwork
== Series Details == Series: drm/i915/audio: Fix audio detection issue on GLK (rev2) URL : https://patchwork.freedesktop.org/series/41334/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4058 -> Patchwork_8702 = == Summary - WARNING == Minor unknown changes coming with Pat

Re: [Intel-gfx] [PATCH v2] drm/i915: Pack params to engine->schedule() into a struct

2018-04-17 Thread Tvrtko Ursulin
On 12/04/2018 00:00, Chris Wilson wrote: Today we only want to pass along the priority to engine->schedule(), but in the future we want to have much more control over the various aspects of the GPU during a context's execution, for example controlling the frequency allowed. As we need an ever gr

[Intel-gfx] [PATCH v3 0/2] GMBUS changes

2018-04-17 Thread Ramalingam C
I am not aware if there is a reason for restricting the Bytes per GMBUS WR/RD to 256 at present. But HW has 9Bits for Total Byte count for a single read or Write cycle. Means we can extend a cycle of RD/WR to 511Bytes. At present nothing much as ROI, as most of the usecases are for less than 256By

[Intel-gfx] [PATCH v3 2/2] drm/i915/gmbus: Enable burst read

2018-04-17 Thread Ramalingam C
Support for Burst read in HW is added for HDCP2.2 compliance requirement. This patch enables the burst read for all the gmbus read of more than 511Bytes, on capable platforms. v2: Extra line is removed. v3: Macro is added for detecting the BURST_READ Support [Jani] Runtime detection of the

[Intel-gfx] [PATCH v3 1/2] drm/i915/gmbus: Increase the Bytes per Rd/Wr Op

2018-04-17 Thread Ramalingam C
From Gen9 onwards Bspec says HW supports Max Bytes per single RD/WR op is 511Bytes instead of previous 256Bytes used in SW. This change allows the max bytes per op upto 511Bytes from Gen9 onwards. v2: No Change. v3: Inline function for max_xfer_size and renaming of the macro.[Jani] Cc: Jani

Re: [Intel-gfx] [RESEND PATCH 1/1] drm/i915/glk: Add MODULE_FIRMWARE for Geminilake

2018-04-17 Thread Jani Nikula
On Mon, 16 Apr 2018, "Srivatsa, Anusha" wrote: >>-Original Message- >>From: Jani Nikula [mailto:jani.nik...@linux.intel.com] >>Sent: Wednesday, April 11, 2018 5:27 AM >>To: Ian W MORRISON >>Cc: Vivi, Rodrigo ; Srivatsa, Anusha >>; Wajdeczko, Michal >>; Greg KH ; >>airl...@linux.ie; joonas

[Intel-gfx] [CI i-g-t 1/2] tests/gem_exec_latency: New subtests for checking submission from RT tasks

2018-04-17 Thread Tvrtko Ursulin
From: Tvrtko Ursulin We want to make sure RT tasks which use a lot of CPU times can submit batch buffers with roughly the same latency (and certainly not worse) compared to normal tasks. Signed-off-by: Tvrtko Ursulin Cc: Chris Wilson --- tests/gem_exec_latency.c | 176

[Intel-gfx] [CI i-g-t 2/2] HACK enable new test

2018-04-17 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Signed-off-by: Tvrtko Ursulin --- tests/intel-ci/blacklist.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/intel-ci/blacklist.txt b/tests/intel-ci/blacklist.txt index d65d8ff35217..bdba838a50ac 100644 --- a/tests/intel-ci/blacklist.txt +++ b/te

Re: [Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915/gvt: Deliver guest cursor hotspot info (rev2)

2018-04-17 Thread Martin Peres
On 16/04/18 14:45, Patchwork wrote: > == Series Details == > > Series: drm/i915/gvt: Deliver guest cursor hotspot info (rev2) > URL : https://patchwork.freedesktop.org/series/41727/ > State : failure > > == Summary == > > = CI Bug Log - changes from CI_DRM_4054_full -> Patchwork_8694_full = >

Re: [Intel-gfx] [RFC v4 21/25] drm/fb-helper: Add drm_fb_helper_fb_open/release()

2018-04-17 Thread Daniel Vetter
On Mon, Apr 16, 2018 at 06:10:07PM +0200, Noralf Trønnes wrote: > > Den 16.04.2018 10.46, skrev Daniel Vetter: > > On Sat, Apr 14, 2018 at 01:53:14PM +0200, Noralf Trønnes wrote: > > > These helpers keep track of fbdev users and drm_driver.last_close will > > > only restore fbdev when actually in

Re: [Intel-gfx] [RFC v4 00/25] drm: Add generic fbdev emulation

2018-04-17 Thread Daniel Vetter
On Mon, Apr 16, 2018 at 08:49:23PM +0200, Noralf Trønnes wrote: > > Den 16.04.2018 10.21, skrev Daniel Vetter: > > On Sat, Apr 14, 2018 at 01:52:53PM +0200, Noralf Trønnes wrote: > > > This patchset explores the possibility of having generic fbdev emulation > > > in DRM for drivers that supports d

Re: [Intel-gfx] [PATCH v2 6/6] drm/i915: Do not do fb src adjustments for NV12

2018-04-17 Thread Srinivas, Vidya
> -Original Message- > From: Srinivas, Vidya > Sent: Tuesday, April 17, 2018 1:32 PM > To: 'Maarten Lankhorst' ; Saarinen, > Jani ; intel-gfx@lists.freedesktop.org > Cc: Kamath, Sunil > Subject: RE: [PATCH v2 6/6] drm/i915: Do not do fb src adjustments for > NV12 > > > > > -Origin

Re: [Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915/audio: Fix audio detection issue on GLK (rev2)

2018-04-17 Thread Martin Peres
On 17/04/18 11:00, Patchwork wrote: > == Series Details == > > Series: drm/i915/audio: Fix audio detection issue on GLK (rev2) > URL : https://patchwork.freedesktop.org/series/41334/ > State : failure > > == Summary == > > = CI Bug Log - changes from CI_DRM_4058 -> Patchwork_8701 = > > == S

Re: [Intel-gfx] [RFC v4 19/25] drm/client: Finish the in-kernel client API

2018-04-17 Thread Daniel Vetter
On Mon, Apr 16, 2018 at 05:58:23PM +0200, Noralf Trønnes wrote: > > Den 16.04.2018 10.27, skrev Daniel Vetter: > > On Sat, Apr 14, 2018 at 01:53:12PM +0200, Noralf Trønnes wrote: > > > The modesetting code is already present, this adds the rest of the API. > > Mentioning the TODO in the commit mes

Re: [Intel-gfx] [Freedreno] [PATCH 01/10] include: Move ascii85 functions from i915 to linux/ascii85.h

2018-04-17 Thread Daniel Vetter
On Mon, Apr 16, 2018 at 10:52:59AM -0700, Eric Anholt wrote: > Chris Wilson writes: > > > Quoting Jordan Crouse (2018-04-05 23:06:53) > >> On Thu, Apr 05, 2018 at 04:00:47PM -0600, Jordan Crouse wrote: > >> > The i915 DRM driver very cleverly used ascii85 encoding for their > >> > GPU state file.

Re: [Intel-gfx] [PATCH v2 6/6] drm/i915: Do not do fb src adjustments for NV12

2018-04-17 Thread Srinivas, Vidya
> -Original Message- > From: Maarten Lankhorst [mailto:maarten.lankho...@linux.intel.com] > Sent: Tuesday, April 17, 2018 1:21 PM > To: Srinivas, Vidya ; Saarinen, Jani > ; intel-gfx@lists.freedesktop.org > Cc: Kamath, Sunil > Subject: Re: [PATCH v2 6/6] drm/i915: Do not do fb src adjust

[Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915/audio: Fix audio detection issue on GLK (rev2)

2018-04-17 Thread Patchwork
== Series Details == Series: drm/i915/audio: Fix audio detection issue on GLK (rev2) URL : https://patchwork.freedesktop.org/series/41334/ State : failure == Summary == = CI Bug Log - changes from CI_DRM_4058 -> Patchwork_8701 = == Summary - FAILURE == Serious unknown changes coming with P

Re: [Intel-gfx] [PATCH] drm/i915/audio: Fix audio detection issue on GLK

2018-04-17 Thread Jani Nikula
On Tue, 17 Apr 2018, Gaurav K Singh wrote: > On Geminilake, sometimes audio card is not getting > detected after reboot. This is a spurious issue happening on > Geminilake. HW codec and HD audio controller link was going > out of sync for which there was a fix in i915 driver but > was not getting

Re: [Intel-gfx] [PATCH v2 6/6] drm/i915: Do not do fb src adjustments for NV12

2018-04-17 Thread Maarten Lankhorst
Op 17-04-18 om 09:38 schreef Srinivas, Vidya: > >> -Original Message- >> From: Maarten Lankhorst [mailto:maarten.lankho...@linux.intel.com] >> Sent: Tuesday, April 17, 2018 12:55 PM >> To: Saarinen, Jani ; Srinivas, Vidya >> ; intel-gfx-try...@lists.freedesktop.org; intel- >> g...@lists.fre

Re: [Intel-gfx] [PATCH v2 6/6] drm/i915: Do not do fb src adjustments for NV12

2018-04-17 Thread Srinivas, Vidya
> -Original Message- > From: Maarten Lankhorst [mailto:maarten.lankho...@linux.intel.com] > Sent: Tuesday, April 17, 2018 12:55 PM > To: Saarinen, Jani ; Srinivas, Vidya > ; intel-gfx-try...@lists.freedesktop.org; intel- > g...@lists.freedesktop.org > Cc: Kamath, Sunil > Subject: Re: [PA

Re: [Intel-gfx] [PATCH v10 10/11] drm: Add aspect ratio parsing in DRM layer

2018-04-17 Thread Daniel Vetter
On Tue, Apr 17, 2018 at 10:45:07AM +0530, Nautiyal, Ankit K wrote: > > On 4/6/2018 11:14 PM, Ville Syrjälä wrote: > > On Fri, Apr 06, 2018 at 10:55:14PM +0530, Nautiyal, Ankit K wrote: > > > This patch is causing failure of IGT test kms_3d. The kms_3d test > > > expects the no. of 3d modes to be 1

Re: [Intel-gfx] [PATCH v2 6/6] drm/i915: Do not do fb src adjustments for NV12

2018-04-17 Thread Maarten Lankhorst
Op 17-04-18 om 08:03 schreef Saarinen, Jani: > Lets move this to intel-gfx to get more eyes on it. > >> -Original Message- >> From: Srinivas, Vidya >> Sent: tiistai 17. huhtikuuta 2018 5.47 >> To: Maarten Lankhorst ; intel-gfx- >> try...@lists.freedesktop.org >> Cc: Kamath, Sunil ; Saarine

[Intel-gfx] [PATCH] drm/i915/audio: Fix audio detection issue on GLK

2018-04-17 Thread Gaurav K Singh
On Geminilake, sometimes audio card is not getting detected after reboot. This is a spurious issue happening on Geminilake. HW codec and HD audio controller link was going out of sync for which there was a fix in i915 driver but was not getting invoked for GLK. Extending this fix to GLK as well. T

<    1   2