Re: [Intel-gfx] [Linux v4.10.0-rc1] call-traces after suspend-resume (pm? i915? cpu/hotplug?)

2016-12-29 Thread Jani Nikula
On Thu, 29 Dec 2016, Sedat Dilek wrote: > On Wed, Dec 28, 2016 at 11:32 PM, Rafael J. Wysocki wrote: >> On Wed, Dec 28, 2016 at 11:00 AM, Sedat Dilek wrote: >>> On Wed, Dec 28, 2016 at 9:29 AM, Jani Nikula wrote: On Wed, 28 Dec 2016, Sedat Dilek wrote: > On Tue, Dec 27, 2016 at 10:13

Re: [Intel-gfx] [PATCH v3 3/3] drm: clean cached display info

2016-12-29 Thread Jose Abreu
Hi Shashank, On 29-12-2016 05:53, Sharma, Shashank wrote: > Regards > > Shashank > > > On 12/27/2016 3:07 PM, Daniel Vetter wrote: >> On Thu, Dec 22, 2016 at 10:21:25AM +, Jose Abreu wrote: >>> Hi Shashank, >>> >>> >>> On 21-12-2016 15:29, Shashank Sharma wrote: This patch adds a small h

Re: [Intel-gfx] [PATCH 0/2] Pipe CSC and Gamma Enabling for GLK.

2016-12-29 Thread Jani Nikula
On Thu, 29 Dec 2016, Dhanya Pillai wrote: > This series contains patches for enabling CSC and Gamma for > GLK. Also, it programs unity gamma to Pre-CSC Gamma lut for GLK+. The patches don't apply on top of drm-tip branch of [1]. Please rebase and repost. BR, Jani. [1] https://cgit.freedesktop.

Re: [Intel-gfx] [PATCH v3 3/3] drm: clean cached display info

2016-12-29 Thread Sharma, Shashank
Regards Shashank On 12/29/2016 3:35 PM, Jose Abreu wrote: Hi Shashank, On 29-12-2016 05:53, Sharma, Shashank wrote: Regards Shashank On 12/27/2016 3:07 PM, Daniel Vetter wrote: On Thu, Dec 22, 2016 at 10:21:25AM +, Jose Abreu wrote: Hi Shashank, On 21-12-2016 15:29, Shashank Shar

[Intel-gfx] [PATCH] drm/mm: Convert to drm_printer

2016-12-29 Thread Daniel Vetter
Including all drivers. I thought about keeping small compat functions to avoid having to change all drivers. But I really like the drm_printer idea, so figured spreading it more widely is a good thing. v2: Review from Chris: - Natural argument order and better name for drm_mm_print. - show_mm() ma

Re: [Intel-gfx] [PATCH] drm/mm: Convert to drm_printer

2016-12-29 Thread Chris Wilson
On Thu, Dec 29, 2016 at 12:09:24PM +0100, Daniel Vetter wrote: > Including all drivers. I thought about keeping small compat functions > to avoid having to change all drivers. But I really like the > drm_printer idea, so figured spreading it more widely is a good thing. > > v2: Review from Chris:

[Intel-gfx] ✓ Fi.CI.BAT: success for series starting with [1/2] drm/printer: add debug printer (rev2)

2016-12-29 Thread Patchwork
== Series Details == Series: series starting with [1/2] drm/printer: add debug printer (rev2) URL : https://patchwork.freedesktop.org/series/17251/ State : success == Summary == Series 17251v2 Series without cover letter https://patchwork.freedesktop.org/api/1.0/series/17251/revisions/2/mbox/

Re: [Intel-gfx] [PATCH i-g-t v3] tests/kms_plane_lowres: Plane visibility after atomic modesets

2016-12-29 Thread Maarten Lankhorst
Op 16-12-16 om 09:40 schreef Mika Kahola: > Testcase for plane visibility after atomic modesets. The idea of the test > is the following: > > - draw a blue screen with high resolution > - enable a yellow plane, visible, in lower-left corner > - set a new lower resolution mode (1024x768) that mak

Re: [Intel-gfx] [Linux v4.10.0-rc1] call-traces after suspend-resume (pm? i915? cpu/hotplug?)

2016-12-29 Thread Mika Kuoppala
Sedat Dilek writes: > On Wed, Dec 28, 2016 at 11:32 PM, Rafael J. Wysocki wrote: >> On Wed, Dec 28, 2016 at 11:00 AM, Sedat Dilek wrote: >>> On Wed, Dec 28, 2016 at 9:29 AM, Jani Nikula wrote: On Wed, 28 Dec 2016, Sedat Dilek wrote: > On Tue, Dec 27, 2016 at 10:13 PM, Pavel Machek w

Re: [Intel-gfx] [PATCH i-g-t v3] tests/kms_plane_lowres: Plane visibility after atomic modesets

2016-12-29 Thread Kahola, Mika
> -Original Message- > From: Maarten Lankhorst [mailto:maarten.lankho...@linux.intel.com] > Sent: Thursday, December 29, 2016 1:57 PM > To: Kahola, Mika ; intel-gfx@lists.freedesktop.org > Subject: Re: [Intel-gfx] [PATCH i-g-t v3] tests/kms_plane_lowres: Plane > visibility > after atomic

[Intel-gfx] [PATCH] drm: clean cached display info

2016-12-29 Thread Shashank Sharma
This patch adds a small helper function, which clears the cached information about a hot-pluggable display, from connector. On event This will run on event of a hot-unplug, keeping the connector's display info up-to-date, avoiding any errors due to invalid cached data. Forking this patch out from

Re: [Intel-gfx] [PATCH] drm/mm: Convert to drm_printer

2016-12-29 Thread Daniel Vetter
On Thu, Dec 29, 2016 at 11:31:45AM +, Chris Wilson wrote: > On Thu, Dec 29, 2016 at 12:09:24PM +0100, Daniel Vetter wrote: > > Including all drivers. I thought about keeping small compat functions > > to avoid having to change all drivers. But I really like the > > drm_printer idea, so figured

Re: [Intel-gfx] [PATCH 1/2] drm/printer: add debug printer

2016-12-29 Thread Chris Wilson
On Wed, Dec 28, 2016 at 05:42:09PM +0100, Daniel Vetter wrote: > Useful for dumping lots of data into dmesg, e.g. drm_mm. > > Cc: Rob Clark > Signed-off-by: Daniel Vetter > --- > drivers/gpu/drm/drm_print.c | 6 ++ > include/drm/drm_print.h | 20 ++-- > 2 files changed,

[Intel-gfx] ✓ Fi.CI.BAT: success for drm: clean cached display info

2016-12-29 Thread Patchwork
== Series Details == Series: drm: clean cached display info URL : https://patchwork.freedesktop.org/series/17265/ State : success == Summary == Series 17265v1 drm: clean cached display info https://patchwork.freedesktop.org/api/1.0/series/17265/revisions/1/mbox/ Test pm_rpm: Subgroup

[Intel-gfx] [PATCH] drm: Reduce verbosity level for drm_core_init() debug message

2016-12-29 Thread Chris Wilson
Currently at the end of drm_core_init() we print [0.735185] [drm] Initialized which does not provide any user information and is only a breadcrumb for developers, so reduce it from info to debug. Signed-off-by: Chris Wilson --- drivers/gpu/drm/drm_drv.c | 2 +- 1 file changed, 1 insertion(

[Intel-gfx] ✓ Fi.CI.BAT: success for drm: Reduce verbosity level for drm_core_init() debug message

2016-12-29 Thread Patchwork
== Series Details == Series: drm: Reduce verbosity level for drm_core_init() debug message URL : https://patchwork.freedesktop.org/series/17269/ State : success == Summary == Series 17269v1 drm: Reduce verbosity level for drm_core_init() debug message https://patchwork.freedesktop.org/api/1.0/

[Intel-gfx] [PATCH 2/7] drm/i915: Rename intel_shared_dpll_commit() to _swap_state()

2016-12-29 Thread Ander Conselvan de Oliveira
The function intel_shared_dpll_commit() performs the equivalent of drm_atomic_helper_swap_state() for the shared dpll state, which is not handled by the helpers. So make it do a full swap of the state and rename it for consistency. v2: Fix typo in the commit message. (Durga) v3: Rebase. v4: Swap t

[Intel-gfx] [PATCH v2 0/7] Shared DPLL kernel doc and improvements

2016-12-29 Thread Ander Conselvan de Oliveira
Hi, This is a long overdue update series with Daniel's comments addressed. Only the last patch is missing and R-b since it is new in this version. Thanks, Ander Ander Conselvan de Oliveira (7): drm/i915: Introduce intel_release_shared_dpll() drm/i915: Rename intel_shared_dpll_commit() to _sw

[Intel-gfx] [PATCH 1/7] drm/i915: Introduce intel_release_shared_dpll()

2016-12-29 Thread Ander Conselvan de Oliveira
While the details of getting a shared dpll are wrapped by intel_get_shared_dpll(), the release was still hand rolled into the modeset code. Fix that by creating an entry point for releasing the pll and move that code there. v2: Take old_dpll from crtc->state instead of crtc_state. (CI) Signed-off-

[Intel-gfx] [PATCH 5/7] drm/i915: Update kerneldoc for intel_dpll_mgr.c

2016-12-29 Thread Ander Conselvan de Oliveira
The documentation for most of the non-static members and structs were missing. Fix that. v2: Fix typos (Durga) v3: Rebase. Fix make docs warnings. Document more. v4: capitilize CRTC; say that the prepare hook is a nop if the DPLL is already enabled; link to struct intel_dpll_hw_state

[Intel-gfx] [PATCH 7/7] drm/i915: Move intel_atomic_get_shared_dpll_state() to intel_dpll_mgr.c

2016-12-29 Thread Ander Conselvan de Oliveira
The function intel_atomic_get_shared_dpll_state() is only called from intel_dpll_mgr.c and it concerns the same data structures as the other functions in that file, so move it there and make it static. Signed-off-by: Ander Conselvan de Oliveira Suggested-by: Daniel Vetter --- drivers/gpu/drm/i

[Intel-gfx] [PATCH 3/7] drm/i915: Rename intel_shared_dpll_config to intel_shared_dpll_state

2016-12-29 Thread Ander Conselvan de Oliveira
Struct intel_shared_dpll_config is used to hold the state of the DPLL in the "atomic" sense, so call it state like everything else atomic. v2: Rebase Signed-off-by: Ander Conselvan de Oliveira Reviewed-by: Daniel Vetter (v1) --- drivers/gpu/drm/i915/i915_debugfs.c | 12 +++--- drivers/gpu/dr

[Intel-gfx] [PATCH 6/7] drm/i915: Add dpll entrypoint for dumping hw state

2016-12-29 Thread Ander Conselvan de Oliveira
Remove the IS_PLATFORM() macros from intel_dump_pipe_config() and split that logic in platform specific implementations inside the dpll code, accessed through a platform independent interface. v2: Rebase. Signed-off-by: Ander Conselvan de Oliveira Reviewed-by: Daniel Vetter (v1) --- drivers/gp

[Intel-gfx] [PATCH 4/7] drm/i915: Rename intel_shared_dpll->mode_set() to prepare()

2016-12-29 Thread Ander Conselvan de Oliveira
The hook is called from intel_prepare_shared_dpll(). The name doesn't make sense after all the changes to modeset code. So just call it prepare. Signed-off-by: Ander Conselvan de Oliveira Reviewed-by: Durgadoss R Reviewed-by: Daniel Vetter --- drivers/gpu/drm/i915/intel_dpll_mgr.c | 8 ---

Re: [Intel-gfx] [PATCH 07/14] drm/i915: Compute vlv/chv wms the atomic way

2016-12-29 Thread Maarten Lankhorst
Op 15-12-16 om 17:09 schreef Ville Syrjälä: > On Thu, Dec 15, 2016 at 04:45:49PM +0100, Maarten Lankhorst wrote: >> Op 15-12-16 om 16:38 schreef Ville Syrjälä: >>> On Thu, Dec 15, 2016 at 04:30:54PM +0100, Maarten Lankhorst wrote: Op 12-12-16 om 21:35 schreef ville.syrj...@linux.intel.com: >>>

[Intel-gfx] ✓ Fi.CI.BAT: success for Shared DPLL kernel doc and improvements (rev2)

2016-12-29 Thread Patchwork
== Series Details == Series: Shared DPLL kernel doc and improvements (rev2) URL : https://patchwork.freedesktop.org/series/13277/ State : success == Summary == Series 13277v2 Shared DPLL kernel doc and improvements https://patchwork.freedesktop.org/api/1.0/series/13277/revisions/2/mbox/ Test

Re: [Intel-gfx] [PATCH] drm: clean cached display info

2016-12-29 Thread Jose Abreu
Hi Shashank, On 29-12-2016 12:28, Shashank Sharma wrote: > This patch adds a small helper function, which clears the cached > information about a hot-pluggable display, from connector. On event > This will run on event of a hot-unplug, keeping the connector's display > info up-to-date, avoiding a

Re: [Intel-gfx] [PATCH] drm: clean cached display info

2016-12-29 Thread Sharma, Shashank
Thanks for the review, Jose. Regards Shashank -Original Message- From: Jose Abreu [mailto:jose.ab...@synopsys.com] Sent: Thursday, December 29, 2016 11:05 PM To: Sharma, Shashank ; dri-de...@lists.freedesktop.org; intel-gfx@lists.freedesktop.org Cc: Jose Abreu ; Daniel Vetter Subject: R

[Intel-gfx] [PATCH 03/17] drm/mm: Some doc polish

2016-12-29 Thread Daniel Vetter
Added some boilerplate for the structs, documented members where they are relevant and plenty of markup for hyperlinks all over. And a few small wording polish. Note that the intro needs some more love after the DRM_MM_INSERT_* patch from Chris has landed. v2: Spelling fixes (Chris). v3: Use &st

[Intel-gfx] [PATCH 01/17] drm/docs: Small cleanup in drm-uapi.rst

2016-12-29 Thread Daniel Vetter
- Remove the outdated hunk about driver documentation which somehow got misplaced here in the split-up. - Collect all the testing&validation stuff together and give the CRC section a heading for prettier output. Cc: Tomeu Vizoso Cc: Jani Nikula Signed-off-by: Daniel Vetter --- Documentati

[Intel-gfx] [PATCH 14/17] drm/cma-helpers: Use recommened kerneldoc for struct member refs

2016-12-29 Thread Daniel Vetter
I just learned that &struct_name.member_name works and looks pretty even. It doesn't (yet) link to the member directly though, which would be really good for big structures or vfunc tables (where the per-member kerneldoc tends to be long). Also some minor drive-by polish where it makes sense, I re

[Intel-gfx] [PATCH 04/17] dma-buf: use preferred struct reference in kernel-doc

2016-12-29 Thread Daniel Vetter
sed -e 's/\( \* .*\)struct &\([_a-z]*\)/\1\&struct \2/' -i Originally I wasnt a friend of this style because I thought a line-break between the "&struct" and "foo" part would break it. But a quick test shows that " * &struct \n * foo\n" works pefectly well with current kernel-doc. So time to mass-

[Intel-gfx] [PATCH 10/17] drm/atomic-helpers: Remove outdated comment

2016-12-29 Thread Daniel Vetter
We forgot to clean this up when adding connector refcounting. Signed-off-by: Daniel Vetter --- drivers/gpu/drm/drm_atomic_helper.c | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/gpu/drm/drm_atomic_helper.c b/drivers/gpu/drm/drm_atomic_helper.c index 8eab8944c736..5e5224460042 1

[Intel-gfx] [PATCH 09/17] drm/rect: Fix formatting of example code

2016-12-29 Thread Daniel Vetter
Drive-by polish. Cc: Ville Syrjälä Signed-off-by: Daniel Vetter --- drivers/gpu/drm/drm_rect.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/drm_rect.c b/drivers/gpu/drm/drm_rect.c index e6057d8cdcd5..bc5575960ebc 100644 --- a/drivers/gpu/drm/drm_rect

[Intel-gfx] [PATCH 02/17] drm/doc: link style-guide to doc-guide

2016-12-29 Thread Daniel Vetter
Our style guide should only be the delta compared to the overall one. Cc: Chris Wilson Signed-off-by: Daniel Vetter --- Documentation/gpu/introduction.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/gpu/introduction.rst b/Documentation/gpu/introduction.rst index 1903595

[Intel-gfx] [PATCH 11/17] drm/cma-helper: simplify setup for drivers with ->dirty callbacks

2016-12-29 Thread Daniel Vetter
If we store the fb funcs pointer, we can remove a bit of boilerplate. Also remove the _fbdev_ in the example code, since the fb_funcs->dirty callback has nothing to do with fbdev. It's a KMS feature, only used by the fbdev deferred_io support to implement flushing/upload. Cc: Noralf Trønnes Cc: L

[Intel-gfx] [PATCH 05/17] dma-buf: Use recommended structure member reference

2016-12-29 Thread Daniel Vetter
I just learned that &struct_name.member_name works and looks pretty even. It doesn't (yet) link to the member directly though, which would be really good for big structures or vfunc tables (where the per-member kerneldoc tends to be long). Cc: Sumit Semwal Cc: Jani Nikula Cc: Chris Wilson Signe

[Intel-gfx] [PATCH 07/17] drm: Nuke connector_list locking assert

2016-12-29 Thread Daniel Vetter
I've forgotten to remove this when revamping the connector_list locking. Cc: seanp...@chromium.org Signed-off-by: Daniel Vetter --- include/drm/drm_connector.h | 6 +- include/drm/drm_crtc.h | 14 -- 2 files changed, 1 insertion(+), 19 deletions(-) diff --git a/include/drm

[Intel-gfx] [PATCH 13/17] drm/bridge: Use recommened kerneldoc for struct member refs

2016-12-29 Thread Daniel Vetter
I just learned that &struct_name.member_name works and looks pretty even. It doesn't (yet) link to the member directly though, which would be really good for big structures or vfunc tables (where the per-member kerneldoc tends to be long). Also some minor drive-by polish where it makes sense, I re

[Intel-gfx] [PATCH 17/17] drm/core: Use recommened kerneldoc for struct member refs

2016-12-29 Thread Daniel Vetter
I just learned that &struct_name.member_name works and looks pretty even. It doesn't (yet) link to the member directly though, which would be really good for big structures or vfunc tables (where the per-member kerneldoc tends to be long). Also some minor drive-by polish where it makes sense, I re

[Intel-gfx] [PATCH 06/17] drm/doc: use preferred struct reference in kernel-doc

2016-12-29 Thread Daniel Vetter
sed -e 's/\( \* .*\)struct &\([_a-z]*\)/\1\&struct \2/' -i Originally I wasnt a friend of this style because I thought a line-break between the "&struct" and "foo" part would break it. But a quick test shows that " * &struct \n * foo\n" works pefectly well with current kernel-doc. So time to mass-

[Intel-gfx] [PATCH 16/17] drm/gem|prime|mm: Use recommened kerneldoc for struct member refs

2016-12-29 Thread Daniel Vetter
I just learned that &struct_name.member_name works and looks pretty even. It doesn't (yet) link to the member directly though, which would be really good for big structures or vfunc tables (where the per-member kerneldoc tends to be long). Also some minor drive-by polish where it makes sense, I re

[Intel-gfx] [PATCH 15/17] drm/kms-core: Use recommened kerneldoc for struct member refs

2016-12-29 Thread Daniel Vetter
I just learned that &struct_name.member_name works and looks pretty even. It doesn't (yet) link to the member directly though, which would be really good for big structures or vfunc tables (where the per-member kerneldoc tends to be long). Also some minor drive-by polish where it makes sense, I re

[Intel-gfx] [PATCH 12/17] drm/kms-helpers: Use recommened kerneldoc for struct member refs

2016-12-29 Thread Daniel Vetter
I just learned that &struct_name.member_name works and looks pretty even. It doesn't (yet) link to the member directly though, which would be really good for big structures or vfunc tables (where the per-member kerneldoc tends to be long). Also some minor drive-by polish where it makes sense, I re

[Intel-gfx] [PATCH 08/17] drm/doc: Update styleguide

2016-12-29 Thread Daniel Vetter
The new cool is &struct foo (kernel-doc now copes with linebreaks), and structure members should be referenced using &foo.bar. Cc: Jani Nikula Cc: Chris Wilson Signed-off-by: Daniel Vetter --- Documentation/gpu/introduction.rst | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-

[Intel-gfx] ✗ Fi.CI.BAT: failure for series starting with [01/17] drm/docs: Small cleanup in drm-uapi.rst

2016-12-29 Thread Patchwork
== Series Details == Series: series starting with [01/17] drm/docs: Small cleanup in drm-uapi.rst URL : https://patchwork.freedesktop.org/series/17280/ State : failure == Summary == Series 17280v1 Series without cover letter https://patchwork.freedesktop.org/api/1.0/series/17280/revisions/1/mb

Re: [Intel-gfx] [PATCH 07/17] drm: Nuke connector_list locking assert

2016-12-29 Thread Sean Paul
On Thu, Dec 29, 2016 at 3:48 PM, Daniel Vetter wrote: > I've forgotten to remove this when revamping the > connector_list locking. > > Cc: seanp...@chromium.org Reviewed-by: Sean Paul > Signed-off-by: Daniel Vetter > --- > include/drm/drm_connector.h | 6 +- > include/drm/drm_crtc.h

[Intel-gfx] [PATCH] drm/i915/guc: fix mmio whitelist mmio_start offset and add reminder

2016-12-29 Thread daniele . ceraolospurio
From: Daniele Ceraolo Spurio The mmio_start offset for the whitelist is the first FORCE_TO_NONPRIV register the GuC can use to restore the provided whitelist when an engine reset via GuC (which we still don't support) is triggered. We're currently adding the mmio_base of the engine to the absolu

Re: [Intel-gfx] [Mesa-dev] [PATCH 00/27] Renderbuffer Decompression (and GBM modifiers)

2016-12-29 Thread Ben Widawsky
On 16-12-06 13:34:02, Paulo Zanoni wrote: 2016-12-01 20:09 GMT-02:00 Ben Widawsky : From: Ben Widawsky This patch series ultimately adds support within the i965 driver for Renderbuffer Decompression with GBM. In short, this feature reduces memory bandwidth by allowing the GPU to work with loss

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/guc: fix mmio whitelist mmio_start offset and add reminder

2016-12-29 Thread Patchwork
== Series Details == Series: drm/i915/guc: fix mmio whitelist mmio_start offset and add reminder URL : https://patchwork.freedesktop.org/series/17287/ State : success == Summary == Series 17287v1 drm/i915/guc: fix mmio whitelist mmio_start offset and add reminder https://patchwork.freedesktop

[Intel-gfx] [PATCH 02/10] drm/i915/psr: program vsc header for psr2

2016-12-29 Thread vathsala nagaraju
Function hsw_psr_setup handles vsc header setup for psr1 and skl_psr_setup_vsc handles vsc header setup for psr2. Setup VSC header in function skl_psr_setup_vsc for psr2 support, as per edp 1.4 spec, table 6-11:VSC SDP HEADER Extension for psr2 operation. v2: (Jani) - Initialize variables to 0 -

[Intel-gfx] [PATCH 06/10] drm/i915/psr: set CHICKEN_TRANS for psr2

2016-12-29 Thread vathsala nagaraju
As per bpsec, CHICKEN_TRANS_EDP bit 12 ,15 must be programmed. Enable bit 12 for programmable header packet. Enable bit 15 for Y cordinate support. Cc: Rodrigo Vivi Cc: Jim Bride Signed-off-by: vathsala nagaraju Signed-off-by: Patil Deepti --- drivers/gpu/drm/i915/i915_reg.h | 7 +++ dri

[Intel-gfx] [PATCH 05/10] drm/i915/psr: enable ALPM for psr2

2016-12-29 Thread vathsala nagaraju
As per edp1.4 spec , alpm is required for psr2 operation as it's used for all psr2 main link power down management and alpm enable bit must be set for psr2 operation. Cc: Rodrigo Vivi Cc: Jim Bride Signed-off-by: vathsala nagaraju Signed-off-by: Patil Deepti --- drivers/gpu/drm/i915/i915_drv

[Intel-gfx] [PATCH 10/10] drm/i915/psr: EDP_PSR_PERF_CNT not valid for psr2

2016-12-29 Thread vathsala nagaraju
PSR1 and PSR2 enable sequence are mutually exclusive. Register SRD_PERF_COUNT increments while system is in psr1. This register is not valid for psr2.while in psr2,SRD_PERF_COUNT is always 0. Reporting psr perfcount from SRD_PERF_COUNT is not valid for psr2 case. Also, if dc6 is disabled via kernel

[Intel-gfx] [PATCH 01/10] drm : adds Y-coordinate and Colorimetry Format

2016-12-29 Thread vathsala nagaraju
PSR2 vsc revision number hb2( as per table 6-11)is updated to 4 or 5 based on Y cordinate and Colorimetry Format as below 04h = 3D stereo + PSR/PSR2 + Y-coordinate. 05h = -3D stereo- + PSR/PSR2 + Y-coordinate + Pixel Encoding/Colorimetry Format indication. A DP Source device is allowed to indicate

[Intel-gfx] [PATCH 00/10] enable psr2 for idle_screen on y-cordinate panel

2016-12-29 Thread vathsala nagaraju
This series enables psr2 on idle on screen for y cordinate panel. Code is tested on sharp 32X18 edp 1.4 y cordinate enabled panel. if system enters psr2, the system must go to deep sleep state. Can be verifed by checking psr2_status register bit 31:28. DEEP_SLEEP[value 8] must be entered while in

[Intel-gfx] [PATCH 03/10] drm/i915/psr: fix blank screen issue for psr2

2016-12-29 Thread vathsala nagaraju
Psr1 and psr2 are mutually exclusive,ie when psr2 is enabled, psr1 should be disabled.When psr2 is exited , bit 31 of reg PSR2_CTL must be set to 0 but currently bit 31 of SRD_CTL (psr1 control register)is set to 0. Also ,PSR2_IDLE state is looked up from SRD_STATUS(psr1 register) instead of PSR2_S

[Intel-gfx] [PATCH 08/10] drm/i915/psr: enable psr2 for y cordinate panels

2016-12-29 Thread vathsala nagaraju
Psr2 is enabled only for y cordinate panels.Once GTC (global time code) is implemented,this restriction is removed so that psr2 can work on panels without y cordinate support. Cc: Rodrigo Vivi Cc: Jim Bride Signed-off-by: Vathsala Nagaraju Signed-off-by: Patil Deepti --- drivers/gpu/drm/i915/

[Intel-gfx] [PATCH 04/10] drm/i915/psr: disable aux_frame_sync on psr2 exit

2016-12-29 Thread vathsala nagaraju
Screen freeze observed if AUX_FRAME_SYNC is not disabled on psr2 exit.AUX_FRAME_SYNC needed for psr2 is enabled during psr2 entry. It must be disabled on psr2 exit. Cc: Rodrigo Vivi Cc: Jim Bride Signed-off-by: Vathsala Nagaraju Signed-off-by: Patil Deepti --- drivers/gpu/drm/i915/intel_psr.c

[Intel-gfx] [PATCH 09/10] drm/i915/psr: report live PSR2 State

2016-12-29 Thread vathsala nagaraju
Reports live state of PSR2 form PSR2_STATUS register. bit field 31:28 gives the live state of PSR2. It can be used to check if system is in deep sleep, selective update or selective update standby. During video play back, we can use this to check if system is entering SU mode or not. when system i

[Intel-gfx] [PATCH 07/10] drm/i915/psr: set PSR_MASK bits for deep sleep

2016-12-29 Thread vathsala nagaraju
Program EDP_PSR_DEBUG_CTL (PSR_MASK) to enable system to go to deep sleep while in psr2.PSR2_STATUS bit 31:28 should report value 8 , if system enters deep sleep state. Also, EDP_FRAMES_BEFORE_SU_ENTRY is set 1 , if not set, flickering is observed on psr2 panel. Cc: Rodrigo Vivi Cc: Jim Bride S

[Intel-gfx] ✓ Fi.CI.BAT: success for enable psr2 for idle_screen on y-cordinate panel

2016-12-29 Thread Patchwork
== Series Details == Series: enable psr2 for idle_screen on y-cordinate panel URL : https://patchwork.freedesktop.org/series/17295/ State : success == Summary == Series 17295v1 enable psr2 for idle_screen on y-cordinate panel https://patchwork.freedesktop.org/api/1.0/series/17295/revisions/1/m

[Intel-gfx] [PATCH 0/6] Introduce DP MST Topology state

2016-12-29 Thread Dhinakaran Pandiyan
Link bandwidth is shared between multiple display streams in DP MST configurations. The DP MST topology manager structure maintains the shared link bandwidth for a primary link directly connected to the GPU. For atomic modesetting drivers, checking if there is sufficient link bandwidth for a mode n

[Intel-gfx] [PATCH 2/6] drm/dp: Kill unused MST vcpi slot availability tracking

2016-12-29 Thread Dhinakaran Pandiyan
The avail_slots member in the MST topology manager is never updated to reflect the available vcpi slots. The check is effectively against total_slots. So, let's make that check obvious. Secondly, since the total vcpi time slots is always 63 and does not depend on the link BW, remove total_slots fro

[Intel-gfx] [PATCH 6/6] drm/i915/dp: Track available DP MST vcpi time slots

2016-12-29 Thread Dhinakaran Pandiyan
Make use of the added MST helpers to find, allocate and release link bw for atomic modesets. Signed-off-by: Dhinakaran Pandiyan --- drivers/gpu/drm/i915/intel_display.c | 39 +++- drivers/gpu/drm/i915/intel_dp_mst.c | 36 - drivers

[Intel-gfx] [PATCH 1/6] drm/dp: Store drm_device in MST topology manager

2016-12-29 Thread Dhinakaran Pandiyan
struct drm_dp_mst_topology_mgr currently stores a pointer to struct dev. Changing this to instead hold a pointer to drm_device is more useful as it can give us access to DRM structures from the topology manager. This also makes it consistent with other DRM structures like drm_crtc, drm_connector et

[Intel-gfx] [PATCH 4/6] drm/dp: Introduce DP MST topology manager state to track DP link bw

2016-12-29 Thread Dhinakaran Pandiyan
Link bandwidth is shared between multiple display streams in DP MST configurations. The DP MST topology manager structure maintains the shared link bandwidth for a primary link directly connected to the GPU. For atomic modesetting drivers, checking if there is sufficient link bandwidth for a mode n

[Intel-gfx] [PATCH 3/6] drm/dp: Split drm_dp_mst_allocate_vcpi

2016-12-29 Thread Dhinakaran Pandiyan
drm_dp_mst_allocate_vcpi() apart from setting up the vcpi structure, also finds if there are enough slots available. This check is a duplicate of that implemented in drm_dp_mst_find_vcpi_slots(). Let's move this check out and reuse the existing drm_dp_mst_find_vcpi_slots() function to check if ther

[Intel-gfx] [PATCH 5/6] drm/dp: Add DP MST helpers to atomically find and release vcpi slots

2016-12-29 Thread Dhinakaran Pandiyan
drm_dp_atomic_find_vcpi_slots() should be called from ->atomic_check() to check there are sufficient vcpi slots for a mode and to add that to the state. This should be followed by a call to drm_dp_mst_allocate_vcpi() in ->atomic_commit() to initialize a struct vcpi for the port. drm_dp_atomic_rele

[Intel-gfx] [PATCH v3] drm/i915/dp: Do not reset detect_done flag in intel_dp_detect

2016-12-29 Thread Dhinakaran Pandiyan
From: "Navare, Manasi D" The detect_done flag was introduced in the 'commit 7d23e3c37bb3 ("drm/i915: Cleaning up intel_dp_hpd_pulse")' in order to avoid multiple detects on hotplug where intel_dp_long_pulse() was called from HPD handler as well as intel_dp_detect(). Later, 'commit 1015811609c0 ("

Re: [Intel-gfx] [PATCH 3/6] drm/dp: Split drm_dp_mst_allocate_vcpi

2016-12-29 Thread kbuild test robot
Hi Dhinakaran, [auto build test ERROR on drm-intel/for-linux-next] [also build test ERROR on v4.10-rc1 next-20161224] [cannot apply to drm/drm-next] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commit

[Intel-gfx] ✓ Fi.CI.BAT: success for Introduce DP MST Topology state

2016-12-29 Thread Patchwork
== Series Details == Series: Introduce DP MST Topology state URL : https://patchwork.freedesktop.org/series/17303/ State : success == Summary == Series 17303v1 Introduce DP MST Topology state https://patchwork.freedesktop.org/api/1.0/series/17303/revisions/1/mbox/ Test pm_rpm: Subgrou