Re: [Intel-gfx] [v5][PATCH 01/11] drm/i915: Introduce vfunc read_luts() to create hw lut

2019-05-06 Thread Jani Nikula
On Mon, 06 May 2019, "Sharma, Swati2" wrote: > On 06-May-19 7:11 PM, Jani Nikula wrote: >> On Mon, 06 May 2019, Ville Syrjälä wrote: >>> On Mon, May 06, 2019 at 04:21:07PM +0300, Jani Nikula wrote: On Sat, 04 May 2019, Swati Sharma wrote: > In this patch, a vfunc read_luts() is introduc

Re: [Intel-gfx] [PATCH v9] drm/i915/icl: Set GCP_COLOR_INDICATION only for 10/12 bit deep color

2019-05-06 Thread Jani Nikula
On Mon, 29 Apr 2019, Aditya Swarup wrote: > From: Clinton Taylor > > v2: Fix commit msg to reflect why issue occurs(Jani) > Set GCP_COLOR_INDICATION only when we set 10/12 bit deep color. > > Changing settings from 10/12 bit deep color to 8 bit(& vice versa) > doesn't work correctly using xrandr

[Intel-gfx] [PATCH AUTOSEL 4.14 55/95] drm/i915: Downgrade Gen9 Plane WM latency error

2019-05-06 Thread Sasha Levin
From: Chris Wilson [ Upstream commit 86c1c87d0e6241cbe35bd52badfc84b154e1b959 ] According to intel_read_wm_latency() it is perfectly legal for one WM and all subsequent levels to be 0 (and the deeper powersaving states disabled), so don't shout *ERROR*, over and over again. Signed-off-by: Chris

[Intel-gfx] [PATCH AUTOSEL 4.14 49/95] drm/i915: Disable LP3 watermarks on all SNB machines

2019-05-06 Thread Sasha Levin
From: Ville Syrjälä [ Upstream commit 03981c6ebec4fc7056b9b45f847393aeac90d060 ] I have a Thinkpad X220 Tablet in my hands that is losing vblank interrupts whenever LP3 watermarks are used. If I nudge the latency value written to the WM3 register just by one in either direction the problem disa

Re: [Intel-gfx] [PATCH v3 2/2] drm/i915: Make sure we have enough memory bandwidth on ICL

2019-05-06 Thread Clinton Taylor
On 5/3/19 12:08 PM, Ville Syrjala wrote: From: Ville Syrjälä ICL has so many planes that it can easily exceed the maximum effective memory bandwidth of the system. We must therefore check that we don't exceed that limit. The algorithm is very magic number heavy and lacks sufficient explanatio

Re: [Intel-gfx] [PATCH v3 1/2] drm/i915: Make sandybridge_pcode_read() deal with the second data register

2019-05-06 Thread Clinton Taylor
Very straight forward. Nit variable names val and val1, maybe val0 and val1. Reviewed-by: Clint Taylor -Clint On 5/3/19 12:08 PM, Ville Syrjala wrote: From: Ville Syrjälä The pcode mailbox has two data registers. So far we've only ever used the one, but that's about to change. Expose the s

Re: [Intel-gfx] [PATCH v6 03/10] drm: revocation check at drm subsystem

2019-05-06 Thread Matt Roper
On Mon, May 06, 2019 at 06:56:03PM +0200, Daniel Vetter wrote: > On Thu, May 02, 2019 at 06:52:56PM +0530, Ramalingam C wrote: > > On every hdcp revocation check request SRM is read from fw file > > /lib/firmware/display_hdcp_srm.bin > > > > SRM table is parsed and stored at drm_hdcp.c, with funct

Re: [Intel-gfx] [PATCH] drm/i915: add force_probe module parameter to replace alpha_support

2019-05-06 Thread kbuild test robot
Hi Jani, I love your patch! Yet something to improve: [auto build test ERROR on drm-intel/for-linux-next] [also build test ERROR on next-20190506] [cannot apply to v5.1] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https

Re: [Intel-gfx] [PATCH] drm/i915: Engine relative MMIO

2019-05-06 Thread Rodrigo Vivi
On Tue, Apr 23, 2019 at 06:50:13PM -0700, john.c.harri...@intel.com wrote: > From: John Harrison > > With virtual engines, it is no longer possible to know which specific > physical engine a given request will be executed on at the time that > request is generated. This means that the request its

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/fb-helper: Move modesetting code to drm_client (rev6)

2019-05-06 Thread Patchwork
== Series Details == Series: drm/fb-helper: Move modesetting code to drm_client (rev6) URL : https://patchwork.freedesktop.org/series/58597/ State : success == Summary == CI Bug Log - changes from CI_DRM_6051_full -> Patchwork_12973_full Su

[Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915/gen11: enable support for headerless msgs (rev4)

2019-05-06 Thread Dongwon Kim
This doesn't seem to be a valid failure. I just reran the test using trybot and there were no failures. https://lists.freedesktop.org/archives/intel-gfx-trybot/2019-May/071989.html On Thu, Apr 25, 2019 at 07:54:51AM +, intel-gfx-requ...@lists.freedesktop.org wrote: > Date: Thu, 25 Apr 2019 0

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915/icl: Fix setting 10 bit deep color mode (rev2)

2019-05-06 Thread Patchwork
== Series Details == Series: drm/i915/icl: Fix setting 10 bit deep color mode (rev2) URL : https://patchwork.freedesktop.org/series/60080/ State : success == Summary == CI Bug Log - changes from CI_DRM_6051_full -> Patchwork_12972_full Summ

[Intel-gfx] Cannot submit merge request for xf86-video-intel

2019-05-06 Thread Adam Richter
Hi, everyone. I am having trouble submitting a merge request on gitlab.freedesktop.org for xf86-video-intel, even though doing so for xserver works fine. The README for xf86-video-intel states that its mailing list is intel-gfx@lists.freedesktop.org, so I am asking here, even though most of the d

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/fb-helper: Move modesetting code to drm_client (rev6)

2019-05-06 Thread Patchwork
== Series Details == Series: drm/fb-helper: Move modesetting code to drm_client (rev6) URL : https://patchwork.freedesktop.org/series/58597/ State : success == Summary == CI Bug Log - changes from CI_DRM_6051 -> Patchwork_12973 Summary

Re: [Intel-gfx] [v5][PATCH 11/11] drm/i915: Add intel_color_lut_equal() to compare hw and sw gamma/degamma lut values

2019-05-06 Thread Sharma, Swati2
On 07-May-19 12:03 AM, Ville Syrjälä wrote: On Sat, May 04, 2019 at 10:41:40PM +0530, Swati Sharma wrote: v3: Rebase v4: -Renamed intel_compare_color_lut() to intel_color_lut_equal() [Jani] -Added the default label above the correct label [Jani] -Corrected smatch warn "variable derefe

[Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm/fb-helper: Move modesetting code to drm_client (rev6)

2019-05-06 Thread Patchwork
== Series Details == Series: drm/fb-helper: Move modesetting code to drm_client (rev6) URL : https://patchwork.freedesktop.org/series/58597/ State : warning == Summary == $ dim sparse origin/drm-tip Sparse version: v0.5.2 Commit: drm/atomic: Move __drm_atomic_helper_disable_plane/set_config()

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/fb-helper: Move modesetting code to drm_client (rev6)

2019-05-06 Thread Patchwork
== Series Details == Series: drm/fb-helper: Move modesetting code to drm_client (rev6) URL : https://patchwork.freedesktop.org/series/58597/ State : warning == Summary == $ dim checkpatch origin/drm-tip 8412c5a47e6f drm/atomic: Move __drm_atomic_helper_disable_plane/set_config() 449ad53787d2 d

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915: Kill PCH_KBP

2019-05-06 Thread Patchwork
== Series Details == Series: drm/i915: Kill PCH_KBP URL : https://patchwork.freedesktop.org/series/60327/ State : success == Summary == CI Bug Log - changes from CI_DRM_6051_full -> Patchwork_12971_full Summary --- **SUCCESS** No

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/icl: Fix setting 10 bit deep color mode (rev2)

2019-05-06 Thread Patchwork
== Series Details == Series: drm/i915/icl: Fix setting 10 bit deep color mode (rev2) URL : https://patchwork.freedesktop.org/series/60080/ State : success == Summary == CI Bug Log - changes from CI_DRM_6051 -> Patchwork_12972 Summary --

Re: [Intel-gfx] [v5][PATCH 11/11] drm/i915: Add intel_color_lut_equal() to compare hw and sw gamma/degamma lut values

2019-05-06 Thread Ville Syrjälä
On Sat, May 04, 2019 at 10:41:40PM +0530, Swati Sharma wrote: > v3: Rebase > v4: -Renamed intel_compare_color_lut() to intel_color_lut_equal() [Jani] > -Added the default label above the correct label [Jani] > -Corrected smatch warn "variable dereferenced before check" [Dan > Carpenter] >

[Intel-gfx] [PATCH v5 00/11] drm/fb-helper: Move modesetting code to drm_client

2019-05-06 Thread Noralf Trønnes
This moves the modesetting code from drm_fb_helper to drm_client so it can be shared by all internal clients. Changes this time: - Use restore_fbdev_mode_force() in drm_fb_helper_restore_fbdev_mode_unlocked() to please igt tests. I'm not currently motivated to learn igt so I have added a todo

[Intel-gfx] [PATCH v5 07/11] drm/fb-helper: Move out commit code

2019-05-06 Thread Noralf Trønnes
Move the modeset commit code to drm_client_modeset. No changes except exporting API. v2: Move to drm_client_modeset.c instead of drm_client.c Signed-off-by: Noralf Trønnes --- drivers/gpu/drm/drm_client_modeset.c | 287 +++ drivers/gpu/drm/drm_fb_helper.c | 282

[Intel-gfx] [PATCH v5 02/11] drm/fb-helper: Avoid race with DRM userspace

2019-05-06 Thread Noralf Trønnes
drm_fb_helper_is_bound() is used to check if DRM userspace is in control. This is done by looking at the fb on the primary plane. By the time fb-helper gets around to committing, it's possible that the facts have changed. Avoid this race by holding the drm_device->master_mutex lock while committin

[Intel-gfx] [PATCH v5 08/11] drm/fb-helper: Remove drm_fb_helper_connector

2019-05-06 Thread Noralf Trønnes
All drivers add all their connectors so there's no need to keep around an array of available connectors. Rename functions which signature is changed since they will be moved to drm_client in a later patch. Signed-off-by: Noralf Trønnes --- Documentation/gpu/todo.rst | 4 + drivers/gpu/dr

[Intel-gfx] [PATCH v5 10/11] drm/fb-helper: Move out modeset config code

2019-05-06 Thread Noralf Trønnes
No functional changes, just moving code as-is and fixing includes. Signed-off-by: Noralf Trønnes Reviewed-by: Maxime Ripard --- drivers/gpu/drm/drm_client_modeset.c | 707 ++- drivers/gpu/drm/drm_fb_helper.c | 692 -- include/drm/drm_client.h

[Intel-gfx] [PATCH v5 04/11] drm/fb-helper: Remove drm_fb_helper_crtc->{x, y, desired_mode}

2019-05-06 Thread Noralf Trønnes
The values are already present in the modeset. This is done in preparation for the removal of struct drm_fb_helper_crtc. Signed-off-by: Noralf Trønnes Reviewed-by: Daniel Vetter Reviewed-by: Maxime Ripard --- drivers/gpu/drm/drm_fb_helper.c | 12 include/drm/drm_fb_helper.h |

[Intel-gfx] [PATCH v5 01/11] drm/atomic: Move __drm_atomic_helper_disable_plane/set_config()

2019-05-06 Thread Noralf Trønnes
Prepare for moving drm_fb_helper modesetting code to drm_client. drm_client will be linked to drm.ko, so move __drm_atomic_helper_disable_plane() and __drm_atomic_helper_set_config() out of drm_kms_helper.ko. While at it, fix two checkpatch complaints: - WARNING: Block comments use a trailing */ o

[Intel-gfx] [PATCH v5 11/11] drm/client: Hack: Add bootsplash example

2019-05-06 Thread Noralf Trønnes
An example to showcase the client API. TODO: - A bootsplash client needs a way to tell drm_fb_helper to stay away, otherwise it will chime in on setup and hotplug. Most DRM drivers register fbdev before calling drm_dev_register() (the generic emulation is an exception). This have to be rever

[Intel-gfx] [PATCH v5 05/11] drm/fb-helper: Remove drm_fb_helper_crtc

2019-05-06 Thread Noralf Trønnes
It now only contains the modeset so use that directly instead and attach a modeset array to drm_client_dev. drm_fb_helper will use this array. Code will later be moved to drm_client, so add code there in a new file drm_client_modeset.c with MIT license to match drm_fb_helper.c. The modeset connect

[Intel-gfx] [PATCH v5 09/11] drm/fb-helper: Prepare to move out modeset config code

2019-05-06 Thread Noralf Trønnes
This prepares the modeset code so it can be moved out as-is in the next patch. v3: Remove stray newline Signed-off-by: Noralf Trønnes Reviewed-by: Maxime Ripard --- drivers/gpu/drm/drm_fb_helper.c | 62 +++-- include/drm/drm_fb_helper.h | 4 --- 2 files changed

[Intel-gfx] [PATCH v5 06/11] drm/fb-helper: Prepare to move out commit code

2019-05-06 Thread Noralf Trønnes
This makes the necessary changes so the commit code can be moved out to drm_client as-is in the next patch. It's split up to ease review. Signed-off-by: Noralf Trønnes --- drivers/gpu/drm/drm_fb_helper.c | 122 +--- 1 file changed, 81 insertions(+), 41 deletions(-) d

[Intel-gfx] [PATCH v5 03/11] drm/fb-helper: No need to cache rotation and sw_rotations

2019-05-06 Thread Noralf Trønnes
Getting rotation info is cheap so we can do it on demand. This is done in preparation for the removal of struct drm_fb_helper_crtc. Cc: Hans de Goede Signed-off-by: Noralf Trønnes Acked-by: Daniel Vetter Reviewed-by: Maxime Ripard --- drivers/gpu/drm/drm_fb_helper.c | 131 ---

Re: [Intel-gfx] [PATCH v6 03/10] drm: revocation check at drm subsystem

2019-05-06 Thread Daniel Vetter
On Thu, May 02, 2019 at 06:52:56PM +0530, Ramalingam C wrote: > On every hdcp revocation check request SRM is read from fw file > /lib/firmware/display_hdcp_srm.bin > > SRM table is parsed and stored at drm_hdcp.c, with functions exported > for the services for revocation check from drivers (which

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915: add force_probe module parameter to replace alpha_support

2019-05-06 Thread Patchwork
== Series Details == Series: drm/i915: add force_probe module parameter to replace alpha_support URL : https://patchwork.freedesktop.org/series/60322/ State : success == Summary == CI Bug Log - changes from CI_DRM_6050_full -> Patchwork_12970_full ==

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Kill PCH_KBP

2019-05-06 Thread Patchwork
== Series Details == Series: drm/i915: Kill PCH_KBP URL : https://patchwork.freedesktop.org/series/60327/ State : success == Summary == CI Bug Log - changes from CI_DRM_6051 -> Patchwork_12971 Summary --- **SUCCESS** No regression

Re: [Intel-gfx] [RFC PATCH 0/5] cgroup support for GPU devices

2019-05-06 Thread Tejun Heo
Hello, On Wed, May 01, 2019 at 10:04:33AM -0400, Brian Welty wrote: > The patch series enables device drivers to use cgroups to control the > following resources within a GPU (or other accelerator device): > * control allocation of device memory (reuse of memcg) > and with future work, we could e

[Intel-gfx] [PATCH] drm/i915: Kill PCH_KBP

2019-05-06 Thread Ville Syrjala
From: Ville Syrjälä For us KBP is 100% identical to SPT. Kill the redundant enum value. Also bspec doesn't talk about KBP either, so this might avoid some confusion when cross checking the code against the spec. Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/i915/i915_drv.c| 3 ++- drive

Re: [Intel-gfx] [RFC PATCH 0/5] cgroup support for GPU devices

2019-05-06 Thread Johannes Weiner
On Wed, May 01, 2019 at 10:04:33AM -0400, Brian Welty wrote: > In containerized or virtualized environments, there is desire to have > controls in place for resources that can be consumed by users of a GPU > device. This RFC patch series proposes a framework for integrating > use of existing cgro

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: add force_probe module parameter to replace alpha_support

2019-05-06 Thread Patchwork
== Series Details == Series: drm/i915: add force_probe module parameter to replace alpha_support URL : https://patchwork.freedesktop.org/series/60322/ State : success == Summary == CI Bug Log - changes from CI_DRM_6050 -> Patchwork_12970 Su

Re: [Intel-gfx] [v5][PATCH 01/11] drm/i915: Introduce vfunc read_luts() to create hw lut

2019-05-06 Thread Sharma, Swati2
On 06-May-19 7:11 PM, Jani Nikula wrote: On Mon, 06 May 2019, Ville Syrjälä wrote: On Mon, May 06, 2019 at 04:21:07PM +0300, Jani Nikula wrote: On Sat, 04 May 2019, Swati Sharma wrote: In this patch, a vfunc read_luts() is introduced to create a hw lut i.e. lut having values read from gamma/

[Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm/i915: add force_probe module parameter to replace alpha_support

2019-05-06 Thread Patchwork
== Series Details == Series: drm/i915: add force_probe module parameter to replace alpha_support URL : https://patchwork.freedesktop.org/series/60322/ State : warning == Summary == $ dim sparse origin/drm-tip Sparse version: v0.5.2 Commit: drm/i915: add force_probe module parameter to replace

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: add force_probe module parameter to replace alpha_support

2019-05-06 Thread Patchwork
== Series Details == Series: drm/i915: add force_probe module parameter to replace alpha_support URL : https://patchwork.freedesktop.org/series/60322/ State : warning == Summary == $ dim checkpatch origin/drm-tip 02407cb01679 drm/i915: add force_probe module parameter to replace alpha_support

[Intel-gfx] [PATCH] drm/i915: add force_probe module parameter to replace alpha_support

2019-05-06 Thread Jani Nikula
The i915.alpha_support module parameter has caused some confusion along the way. Add new i915.force_probe parameter to specify PCI IDs of devices to probe, when the devices are recognized but not automatically probed by the driver. The name is intended to reflect what the parameter effectively does

Re: [Intel-gfx] [v5][PATCH 01/11] drm/i915: Introduce vfunc read_luts() to create hw lut

2019-05-06 Thread Jani Nikula
On Mon, 06 May 2019, Ville Syrjälä wrote: > On Mon, May 06, 2019 at 04:21:07PM +0300, Jani Nikula wrote: >> On Sat, 04 May 2019, Swati Sharma wrote: >> > In this patch, a vfunc read_luts() is introduced to create a hw lut >> > i.e. lut having values read from gamma/degamma registers which will >>

Re: [Intel-gfx] [v5][PATCH 01/11] drm/i915: Introduce vfunc read_luts() to create hw lut

2019-05-06 Thread Ville Syrjälä
On Mon, May 06, 2019 at 04:21:07PM +0300, Jani Nikula wrote: > On Sat, 04 May 2019, Swati Sharma wrote: > > In this patch, a vfunc read_luts() is introduced to create a hw lut > > i.e. lut having values read from gamma/degamma registers which will > > later be used to compare with sw lut to valida

Re: [Intel-gfx] [PATCH v2 4/4] drm/i915/icl: Add Multi-segmented gamma support

2019-05-06 Thread Ville Syrjälä
On Mon, May 06, 2019 at 06:44:43PM +0530, Sharma, Shashank wrote: > Regards > > Shashank > > On 5/6/2019 6:41 PM, Ville Syrjälä wrote: > > On Mon, May 06, 2019 at 06:25:19PM +0530, Sharma, Shashank wrote: > >> On 5/6/2019 5:55 PM, Ville Syrjälä wrote: > >>> On Mon, May 06, 2019 at 04:09:33PM +053

Re: [Intel-gfx] [v5][PATCH 01/11] drm/i915: Introduce vfunc read_luts() to create hw lut

2019-05-06 Thread Jani Nikula
On Sat, 04 May 2019, Swati Sharma wrote: > In this patch, a vfunc read_luts() is introduced to create a hw lut > i.e. lut having values read from gamma/degamma registers which will > later be used to compare with sw lut to validate gamma/degamma lut values. > > v3: -Rebase > v4: -Renamed intel_get

Re: [Intel-gfx] [PATCH 09/10] drm/i915: Avoid taking the PPS lock for non-eDP/VLV/CHV

2019-05-06 Thread Imre Deak
On Mon, May 06, 2019 at 04:12:50PM +0300, Ville Syrjälä wrote: > On Mon, May 06, 2019 at 03:35:52PM +0300, Ville Syrjälä wrote: > > On Fri, May 03, 2019 at 02:26:47AM +0300, Imre Deak wrote: > > > On ICL we have to make sure that we enable the AUX power domain in a > > > controlled way (correspondi

Re: [Intel-gfx] [PATCH v2 4/4] drm/i915/icl: Add Multi-segmented gamma support

2019-05-06 Thread Sharma, Shashank
Regards Shashank On 5/6/2019 6:41 PM, Ville Syrjälä wrote: On Mon, May 06, 2019 at 06:25:19PM +0530, Sharma, Shashank wrote: On 5/6/2019 5:55 PM, Ville Syrjälä wrote: On Mon, May 06, 2019 at 04:09:33PM +0530, Sharma, Shashank wrote: Regards Shashank On 5/3/2019 9:20 PM, Ville Syrjälä wrote

Re: [Intel-gfx] [PATCH 09/10] drm/i915: Avoid taking the PPS lock for non-eDP/VLV/CHV

2019-05-06 Thread Ville Syrjälä
On Mon, May 06, 2019 at 03:35:52PM +0300, Ville Syrjälä wrote: > On Fri, May 03, 2019 at 02:26:47AM +0300, Imre Deak wrote: > > On ICL we have to make sure that we enable the AUX power domain in a > > controlled way (corresponding to the port's actual TypeC mode). Since > > the PPS lock - which tak

Re: [Intel-gfx] [PATCH v2 4/4] drm/i915/icl: Add Multi-segmented gamma support

2019-05-06 Thread Ville Syrjälä
On Mon, May 06, 2019 at 06:25:19PM +0530, Sharma, Shashank wrote: > > On 5/6/2019 5:55 PM, Ville Syrjälä wrote: > > On Mon, May 06, 2019 at 04:09:33PM +0530, Sharma, Shashank wrote: > >> Regards > >> > >> Shashank > >> > >> On 5/3/2019 9:20 PM, Ville Syrjälä wrote: > >>> On Tue, Apr 30, 2019 at 08

Re: [Intel-gfx] [PATCH v2 4/4] drm/i915/icl: Add Multi-segmented gamma support

2019-05-06 Thread Sharma, Shashank
On 5/6/2019 5:55 PM, Ville Syrjälä wrote: On Mon, May 06, 2019 at 04:09:33PM +0530, Sharma, Shashank wrote: Regards Shashank On 5/3/2019 9:20 PM, Ville Syrjälä wrote: On Tue, Apr 30, 2019 at 08:51:08PM +0530, Shashank Sharma wrote: ICL introduces a new gamma correction mode in display engin

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915: Add support for asynchronous display power disabling (rev2)

2019-05-06 Thread Patchwork
== Series Details == Series: drm/i915: Add support for asynchronous display power disabling (rev2) URL : https://patchwork.freedesktop.org/series/60242/ State : success == Summary == CI Bug Log - changes from CI_DRM_6049_full -> Patchwork_12969_full

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Move the hsw/bdw pc8 code to intel_runtime_pm.c

2019-05-06 Thread Imre Deak
On Fri, May 03, 2019 at 10:31:43PM +0300, Ville Syrjala wrote: > From: Ville Syrjälä > > hsw_enable_pc8()/hsw_disable_pc8() are more less equivalent to > the display core init/unit functions of later platforms. Relocate > the hsw/bdw code into intel_runtime_pm.c so that it sits next to > its cous

Re: [Intel-gfx] [PATCH 09/10] drm/i915: Avoid taking the PPS lock for non-eDP/VLV/CHV

2019-05-06 Thread Ville Syrjälä
On Fri, May 03, 2019 at 02:26:47AM +0300, Imre Deak wrote: > On ICL we have to make sure that we enable the AUX power domain in a > controlled way (corresponding to the port's actual TypeC mode). Since > the PPS lock - which takes an AUX power ref - is only needed on > eDP/VLV/CHV avoid taking it i

Re: [Intel-gfx] [PATCH 1/2] drm/i915: Replace intel_ddi_pll_init()

2019-05-06 Thread Imre Deak
On Fri, May 03, 2019 at 10:31:42PM +0300, Ville Syrjala wrote: > From: Ville Syrjälä > > intel_ddi_pll_init() is an anachronism. Rename it to > hsw_assert_cdclk() and move it to the power domain init code. > > Signed-off-by: Ville Syrjälä Ok, makes sense to check this during system resume too:

Re: [Intel-gfx] [PATCH v2 4/4] drm/i915/icl: Add Multi-segmented gamma support

2019-05-06 Thread Ville Syrjälä
On Mon, May 06, 2019 at 04:09:33PM +0530, Sharma, Shashank wrote: > Regards > > Shashank > > On 5/3/2019 9:20 PM, Ville Syrjälä wrote: > > On Tue, Apr 30, 2019 at 08:51:08PM +0530, Shashank Sharma wrote: > >> ICL introduces a new gamma correction mode in display engine, called > >> multi-segmente

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Add support for asynchronous display power disabling (rev2)

2019-05-06 Thread Patchwork
== Series Details == Series: drm/i915: Add support for asynchronous display power disabling (rev2) URL : https://patchwork.freedesktop.org/series/60242/ State : success == Summary == CI Bug Log - changes from CI_DRM_6049 -> Patchwork_12969

Re: [Intel-gfx] [PATCH] RFC: console: hack up console_lock more v2

2019-05-06 Thread Petr Mladek
On Mon 2019-05-06 11:38:13, Daniel Vetter wrote: > On Mon, May 06, 2019 at 10:26:28AM +0200, Petr Mladek wrote: > > On Mon 2019-05-06 10:16:14, Petr Mladek wrote: > > > On Mon 2019-05-06 09:45:53, Daniel Vetter wrote: > > > > console_trylock, called from within printk, can be called from pretty > >

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Add support for asynchronous display power disabling (rev2)

2019-05-06 Thread Patchwork
== Series Details == Series: drm/i915: Add support for asynchronous display power disabling (rev2) URL : https://patchwork.freedesktop.org/series/60242/ State : warning == Summary == $ dim checkpatch origin/drm-tip 5d071067866a drm/i915: Add support for tracking wakerefs w/o power-on guarantee

[Intel-gfx] [PATCH v2 03/10] drm/i915: Add support for asynchronous display power disabling

2019-05-06 Thread Imre Deak
By disabling a power domain asynchronously we can restrict holding a reference on that power domain to the actual code sequence that requires the power to be on for the HW access it's doing, by also avoiding unneeded on-off-on togglings of the power domain (since the disabling happens with a delay)

Re: [Intel-gfx] [PATCH v2 4/4] drm/i915/icl: Add Multi-segmented gamma support

2019-05-06 Thread Sharma, Shashank
Regards Shashank On 5/3/2019 9:20 PM, Ville Syrjälä wrote: On Tue, Apr 30, 2019 at 08:51:08PM +0530, Shashank Sharma wrote: ICL introduces a new gamma correction mode in display engine, called multi-segmented-gamma mode. This mode allows users to program the darker region of the gamma curve wi

Re: [Intel-gfx] [PATCH v2 2/4] drm/i915/icl: Add register definitions for Multi Segmented gamma

2019-05-06 Thread Sharma, Shashank
On 5/3/2019 8:35 PM, Ville Syrjälä wrote: On Tue, Apr 30, 2019 at 08:51:06PM +0530, Shashank Sharma wrote: From: Uma Shankar Add macros to define multi segmented gamma registers V2: Addressed Ville's comments: Add gen-lable before bit definition Addressed Jani's comment

Re: [Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915: Add support for asynchronous display power disabling

2019-05-06 Thread Imre Deak
On Fri, May 03, 2019 at 04:52:58PM +0300, Imre Deak wrote: > > > > [...] > > > > * igt@gem_persistent_relocs@forked-interruptible-thrashing: > > > > - shard-glk: [PASS][1] -> [TIMEOUT][2] > > > >[1]: > > > > https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6032/shard-glk6/igt@gem

Re: [Intel-gfx] [PATCH] RFC: console: hack up console_lock more v2

2019-05-06 Thread Daniel Vetter
On Mon, May 06, 2019 at 10:26:28AM +0200, Petr Mladek wrote: > On Mon 2019-05-06 10:16:14, Petr Mladek wrote: > > On Mon 2019-05-06 09:45:53, Daniel Vetter wrote: > > > console_trylock, called from within printk, can be called from pretty > > > much anywhere. Including try_to_wake_up. Note that thi

Re: [Intel-gfx] [PATCH] RFC: console: hack up console_trylock more

2019-05-06 Thread Daniel Vetter
On Mon, May 6, 2019 at 9:48 AM Petr Mladek wrote: > On Mon 2019-05-06 09:11:37, Daniel Vetter wrote: > > On Fri, May 3, 2019 at 5:14 PM Petr Mladek wrote: > > > On Thu 2019-05-02 16:16:43, Daniel Vetter wrote: > > > > console_trylock, called from within printk, can be called from pretty > > > > m

[Intel-gfx] ✗ Fi.CI.BAT: failure for RFC: console: hack up console_trylock more (rev2)

2019-05-06 Thread Patchwork
== Series Details == Series: RFC: console: hack up console_trylock more (rev2) URL : https://patchwork.freedesktop.org/series/60212/ State : failure == Summary == CI Bug Log - changes from CI_DRM_6048 -> Patchwork_12968 Summary --- *

Re: [Intel-gfx] [PATCH] RFC: console: hack up console_lock more v2

2019-05-06 Thread Petr Mladek
On Mon 2019-05-06 10:16:14, Petr Mladek wrote: > On Mon 2019-05-06 09:45:53, Daniel Vetter wrote: > > console_trylock, called from within printk, can be called from pretty > > much anywhere. Including try_to_wake_up. Note that this isn't common, > > usually the box is in pretty bad shape at that po

Re: [Intel-gfx] [PATCH] RFC: console: hack up console_lock more v2

2019-05-06 Thread Petr Mladek
On Mon 2019-05-06 09:45:53, Daniel Vetter wrote: > console_trylock, called from within printk, can be called from pretty > much anywhere. Including try_to_wake_up. Note that this isn't common, > usually the box is in pretty bad shape at that point already. But it > really doesn't help when then loc

Re: [Intel-gfx] [PATCH] RFC: console: hack up console_lock more v2

2019-05-06 Thread Petr Mladek
On Mon 2019-05-06 09:45:53, Daniel Vetter wrote: > console_trylock, called from within printk, can be called from pretty > much anywhere. Including try_to_wake_up. Note that this isn't common, > usually the box is in pretty bad shape at that point already. But it > really doesn't help when then loc

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for RFC: console: hack up console_trylock more (rev2)

2019-05-06 Thread Patchwork
== Series Details == Series: RFC: console: hack up console_trylock more (rev2) URL : https://patchwork.freedesktop.org/series/60212/ State : warning == Summary == $ dim checkpatch origin/drm-tip 679d117ff9c3 RFC: console: hack up console_lock more v2 -:74: CHECK:AVOID_EXTERNS: extern prototype

Re: [Intel-gfx] [PATCH v4 1/1] drm/fb-helper: Avoid race with DRM userspace

2019-05-06 Thread Daniel Vetter
On Sun, May 05, 2019 at 11:16:54AM +0200, Noralf Trønnes wrote: > > > Den 04.05.2019 14.34, skrev Noralf Trønnes: > > > > > > Den 25.04.2019 10.31, skrev Noralf Trønnes: > >> drm_fb_helper_is_bound() is used to check if DRM userspace is in control. > >> This is done by looking at the fb on the

Re: [Intel-gfx] [PATCH] RFC: console: hack up console_trylock more

2019-05-06 Thread Petr Mladek
On Mon 2019-05-06 09:11:37, Daniel Vetter wrote: > On Fri, May 3, 2019 at 5:14 PM Petr Mladek wrote: > > On Thu 2019-05-02 16:16:43, Daniel Vetter wrote: > > > console_trylock, called from within printk, can be called from pretty > > > much anywhere. Including try_to_wake_up. Note that this isn't

[Intel-gfx] [PATCH] RFC: console: hack up console_lock more v2

2019-05-06 Thread Daniel Vetter
console_trylock, called from within printk, can be called from pretty much anywhere. Including try_to_wake_up. Note that this isn't common, usually the box is in pretty bad shape at that point already. But it really doesn't help when then lockdep jumps in and spams the logs, potentially obscuring t

Re: [Intel-gfx] [PATCH] RFC: console: hack up console_trylock more

2019-05-06 Thread Daniel Vetter
On Fri, May 3, 2019 at 5:14 PM Petr Mladek wrote: > On Thu 2019-05-02 16:16:43, Daniel Vetter wrote: > > console_trylock, called from within printk, can be called from pretty > > much anywhere. Including try_to_wake_up. Note that this isn't common, > > usually the box is in pretty bad shape at tha

Re: [Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915/icl: Set GCP_COLOR_INDICATION only for 10/12 bit deep color (rev8)

2019-05-06 Thread Tomi Sarvela
On 5/4/19 8:55 AM, Saarinen, Jani wrote: Hi, -Original Message- From: Intel-gfx [mailto:intel-gfx-boun...@lists.freedesktop.org] On Behalf Of Aditya Swarup Sent: lauantai 4. toukokuuta 2019 2.04 To: intel-gfx@lists.freedesktop.org Cc: Peres, Martin Subject: Re: [Intel-gfx] ✗ Fi.CI.IGT: