[Intel-gfx] [PATCH] drm/i915/bxt: set min brightness from VBT

2017-09-11 Thread Lee, Shawn C
Min brightness value from vbt was missing for BXT platform. This setting have to refer backlight ic spec to restrict min backlight output. Without this restriction, driver would allow to configure lower brightness value and violate backlight ic requirement. Fixes: 0fb890c01349 ("drm/i915/bxt: BLC

[Intel-gfx] [PATCH] drm/i915: Add more latency to avoid display flicker

2017-08-22 Thread Lee, Shawn C
From: "Lee, Shawn C" <shawn.c@intel.com> LFP flicker with latest drm-nightly on customer board. After increase latency value and this symptom can't be reproduced. TEST=Reboot DUT and no flicking on LFP. Cc: Kumar, Mahesh <mahesh1.ku...@intel.com> Cc: Gary C Wang

[Intel-gfx] [PATCH v3] drm/i915/edp: Read link status after exit link training

2017-05-05 Thread Lee, Shawn C
From: "Lee, Shawn C" <shawn.c@intel.com> Display driver read DPCD register 0x202, 0x203 and 0x204 to identify eDP sink status. If PSR exit and link trainign are ongoing at eDP sink. And eDP source read these registers at the same time. eDP sink will report EQ &

Re: [Intel-gfx] [PATCH v2] drm/i915/edp: Read link status after exit link training

2017-05-03 Thread Lee, Shawn C
On 28/04/2017 10:58, Lee, Shawn C wrote: >> From: "Lee, Shawn C" <shawn.c@intel.com> >> >> Display driver read DPCD register 0x202, 0x203 and 0x204 to identify >> eDP sink status. If PSR exit is ongoing at eDP sink, and eDP source >> read these

Re: [Intel-gfx] [PATCH] drm/i915/edp: Read link status after exit PSR

2017-05-03 Thread Lee, Shawn C
On Fri, Apr 28, 2017 at 03:08:53AM +, Lee, Shawn C wrote: > > From: "Lee, Shawn C" <shawn.c@intel.com> > > > > Display driver read DPCD register 0x202, 0x203 and 0x204 to identify > > eDP sink status. If PSR exit is ongoing at eDP sink,

[Intel-gfx] [PATCH v2] drm/i915/edp: Read link status after exit link training

2017-04-28 Thread Lee, Shawn C
From: "Lee, Shawn C" <shawn.c@intel.com> Display driver read DPCD register 0x202, 0x203 and 0x204 to identify eDP sink status. If PSR exit is ongoing at eDP sink, and eDP source read these registers at the same time. Panel will report EQ & symbol lock not done. It will

Re: [Intel-gfx] [PATCH] drm/i915/edp: Read link status after exit PSR

2017-04-27 Thread Lee, Shawn C
-Original Message- From: Ville Syrjälä [mailto:ville.syrj...@linux.intel.com] Sent: Thursday, April 27, 2017 10:39 PM To: Lee, Shawn C <shawn.c@intel.com> Cc: intel-gfx@lists.freedesktop.org; Chiou, Cooper <cooper.ch...@intel.com>; Bride, Jim <jim.br...@intel.com

[Intel-gfx] [PATCH] drm/i915/edp: Read link status after exit PSR

2017-04-27 Thread Lee, Shawn C
From: "Lee, Shawn C" <shawn.c@intel.com> Display driver read DPCD register 0x202, 0x203 and 0x204 to identify eDP sink status. If PSR exit is ongoing at eDP sink, and eDP source read these registers at the same time. Panel will report EQ & symbol lock not done. It will

[Intel-gfx] [PATCH v4] drm/i915/edp: Read link status more times when EQ not done

2017-04-25 Thread Lee, Shawn C
From: "Lee, Shawn C" <shawn.c@intel.com> Display driver read DPCD register 0x202, 0x203 and 0x204 to identify eDP sink status.If PSR exit is ongoing at eDP sink, and eDP source read these registers at the same time. Panel will report EQ & symbol lock not done. It will

[Intel-gfx] [PATCH v3] drm/i915/dp: Read link status more times when EQ not done

2017-03-13 Thread Lee, Shawn C
From: "Lee, Shawn C" <shawn.c@intel.com> Display driver read DPCD register 0x202, 0x203 and 0x204 to identify eDP sink status.If PSR exit is ongoing at eDP sink, and eDP source read these registers at the same time. Panel will report EQ & symbol lock not done. It will

[Intel-gfx] [PATCH v2] drm/i915/dp: Read link status more times when EQ not done

2017-03-02 Thread Lee, Shawn C
From: "Lee, Shawn C" <shawn.c@intel.com> Display driver read DPCD register 0x202, 0x203 and 0x204 to identify eDP sink status.If PSR exit is ongoing at eDP sink, and eDP source read these registers at the same time. Panel will report EQ & symbol lock not done. It will

[Intel-gfx] [PATCH] drm/i915/dp: Read link status more times when EQ not done

2017-03-02 Thread Lee, Shawn C
From: "Lee, Shawn C" <shawn.c@intel.com> Display driver read DPCD register 0x202, 0x203 and 0x204 to identify eDP sink status.If PSR exit is ongoing at eDP sink, and eDP source read these registers at the same time. Panel will report EQ & symbol lock not done. It will

[Intel-gfx] [PATCH v3] drm/i915/bxt: Add MST support when do DPLL calculation

2017-02-02 Thread Lee, Shawn C
From: "Lee, Shawn C" <shawn.c@intel.com> Add the missing INTEL_OUTPUT_DP_MST case in bxt_get_dpll() to correctly initialize the crtc_state and port plls when link training a DP MST monitor on BXT/APL devices. Fixes: a277ca7dc01d ("drm/i915: Split bxt_ddi_pll_s

[Intel-gfx] [PATCH] drm/i915/dp: Read link status more times when EQ not done

2017-02-02 Thread Lee, Shawn C
From: "Lee, Shawn C" <shawn.c@intel.com> When user space link status, display driver read DPCD register 0x202, 0x203 and 0x204 to identify sink status. When PSR exit is ongoing before EQ done. Panel will report EQ & symbol lock not done. Both of them are under progress

[Intel-gfx] [PATCH v2] drm/i915/bxt: Add MST support when do DPLL calculation

2017-01-11 Thread Lee, Shawn C
From: "Lee, Shawn C" <shawn.c@intel.com> Kernel oops was trigger by DP MST monitor/hub connected. DP MST series patch already upstream and MST should be support also. MST monitor will display normally with this change on bxt platform. Fixes: a277ca7dc01d ("drm/i915: Spl

[Intel-gfx] [PATCH] drm/i915/bxt: Add MST support when do DPLL calculation

2017-01-11 Thread Lee, Shawn C
From: "Lee, Shawn C" <shawn.c@intel.com> Kernel oops was trigger by DP MST monitor/hub connected. DP MST series patch already upstream and MST should be support also. MST monitor will display normally with this change on bxt platform. Cc: Jani Nikula <jani.nik...@

Re: [Intel-gfx] [PATCH] drm/i915 : Restore PWM_GRANULARITY after resume

2016-09-19 Thread Lee, Shawn C
Understood. Thanks! -Original Message- From: Nikula, Jani Sent: Monday, September 19, 2016 5:43 PM To: Lee, Shawn C <shawn.c@intel.com>; intel-gfx@lists.freedesktop.org Cc: Lee, Shawn C <shawn.c@intel.com> Subject: Re: [PATCH] drm/i915 : Restore PWM_GRANULARITY

[Intel-gfx] [PATCH] drm/i915 : Restore PWM_GRANULARITY after resume

2016-09-19 Thread Lee, Shawn C
From: "Lee, Shawn C" <shawn.c@intel.com> SPT_PWM_GRANULARITY (SOUTH_CHICKEN1, bit 0) controls the granularity (minimum increment) of the PWM backlight control counter. PWM frequency adjustment on 128 clock increments when this bit was 1. And 16 clock increments when it was 0

Re: [Intel-gfx] [PATCH v2 1/2] drm/i915/backlight: setup and cache pwm alternate increment value

2016-09-19 Thread Lee, Shawn C
panel->backlight.max = get_backlight_max_vbt(connector); -Original Message- From: Nikula, Jani Sent: Monday, September 19, 2016 4:24 PM To: intel-gfx@lists.freedesktop.org Cc: Nikula, Jani <jani.nik...@intel.com>; Lee, Shawn C <shawn.c@intel.com> Subject: [PA

[Intel-gfx] [PATCH v2] drm/i915 : Restore PWM_GRANULARITY after resume

2016-09-19 Thread Lee, Shawn C
From: "Lee, Shawn C" <shawn.c@intel.com> SPT_PWM_GRANULARITY (SOUTH_CHICKEN1, bit 0) controls the granularity (minimum increment) of the PWM backlight control counter. PWM frequency adjustment on 128 clock increments when this bit was 1. And 16 clock increments when it was 0

[Intel-gfx] [PATCH] drm/i915 : Restore PWM_GRANULARITY after resume

2016-09-08 Thread Lee, Shawn C
From: "Lee, Shawn C" <shawn.c@intel.com> SPT_PWM_GRANULARITY (SOUTH_CHICKEN1, bit 0) controls the granularity (minimum increment) of the PWM backlight control counter. PWM frequency adjustment on 128 clock increments when this bit was 1. And 16 clock increments when it was 0

<    1   2   3   4