:
- removed computation for max dot clock
V3:
- cleanup by removing unnecessary lines
V4:
- max_pixclk variable renamed as max_dotclk
- check for stereo mode added
Signed-off-by: Mika Kahola <mika.kah...@intel.com>
---
drivers/gpu/drm/i915/intel_hdmi.c | 8
1 file changed, 8 inse
:
- removed computation for max pixel clock
V3:
- cleanup by removing unnecessary lines
V4:
- max_pixclk variable renamed as max_dotclk
Signed-off-by: Mika Kahola <mika.kah...@intel.com>
---
drivers/gpu/drm/i915/intel_crt.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/g
:
- removed computation for max pixel clock
V3:
- cleanup by removing unnecessary lines
V4:
- max_pixclk variable renamed as max_dotclk
Signed-off-by: Mika Kahola <mika.kah...@intel.com>
---
drivers/gpu/drm/i915/intel_tv.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/gpu/dr
On Fri, 2015-12-04 at 19:47 +0530, Deepak M wrote:
> From: Gaurav K Singh <gaurav.k.si...@intel.com>
>
> After sending SHUTDOWN or TURN ON packet,check the DPI
> FIFO empty status.
>
Tested-by: Mika Kahola <mika.kah...@intel.com>
> Signed-off-by: Gaurav K S
On Wed, 2015-12-09 at 17:29 +0530, Deepak M wrote:
> For broxton dual link Z-inversion overlap field is present
> in MIPI_CTRL register unlike the other platforms, hence
> setting the same in this patch.
>
Tested-by: Mika Kahola <mika.kah...@intel.com>
> Signed-of
I applied this patch for testing BXT-M I received this error message
[ 16.276906] Hardware name: Intel Corp. Broxton M/RVP, BIOS
BXTM_IFWI_X64_R_2015_49_2_03 11/25/2015
[ 16.286793] task: 8801795a2640 ti: 88017830 task.ti:
88017830
[ 16.295047] RIP: 0010:[] []
On Mon, 2015-10-12 at 22:55 +0530, Uma Shankar wrote:
> For BXT DSI, vtotal, vactive, hactive registers are different.
> Making changes to intel_crtc_mode_get() and get_pipe_timings(),
> to read the correct registers for BXT DSI.
>
Tested-by: Mika Kahola <mika.kah...@intel.co
Fix typo on intel_bios_reader.c
Signed-off-by: Mika Kahola <mika.kah...@intel.com>
---
tools/intel_bios_reader.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/intel_bios_reader.c b/tools/intel_bios_reader.c
index b31f648..5ca50ff 100644
--- a/tools/intel_bios_re
On Mon, 2016-01-11 at 21:54 +0200, Jani Nikula wrote:
> Hide knowledge about VBT child devices in intel_bios.c.
>
Tested-by: Mika Kahola <mika.kah...@intel.com>
> Signed-off-by: Jani Nikula <jani.nik...@intel.com>
> ---
> drivers/gpu/drm/i915/i915_drv.h |
ivate header only to be included from intel_bios.c.
>
Tested-by: Mika Kahola <mika.kah...@intel.com>
> Signed-off-by: Jani Nikula <jani.nik...@intel.com>
> ---
> Documentation/DocBook/gpu.tmpl| 2 +-
> drivers/gpu/drm/i915/intel_bios.c | 2
On Mon, 2016-01-11 at 21:54 +0200, Jani Nikula wrote:
> Hide knowledge about VBT child devices in intel_bios.c.
>
Tested-by: Mika Kahola <mika.kah...@intel.com>
> Signed-off-by: Jani Nikula <jani.nik...@intel.com>
> ---
> drivers/gpu/drm/i915/i915_drv.h |
On Mon, 2016-01-11 at 21:54 +0200, Jani Nikula wrote:
> Hide knowledge about VBT child devices in intel_bios.c.
>
Tested-by: Mika Kahola <mika.kah...@intel.com>
> Signed-off-by: Jani Nikula <jani.nik...@intel.com>
> ---
> drivers/gpu/drm/i915/i915_drv.h | 2
On Mon, 2016-01-11 at 21:54 +0200, Jani Nikula wrote:
> Hide knowledge about VBT child devices in intel_bios.c.
>
Tested-by: Mika Kahola <mika.kah...@intel.com>
> Signed-off-by: Jani Nikula <jani.nik...@intel.com>
> ---
> drivers/gpu/drm/i915/i915_drv.h |
bpp.
>
> Follow suit with what's in enum mipi_dsi_pixel_format to avoid future
> confusion. Rename
>
> VID_MODE_FORMAT_RGB666 -> VID_MODE_FORMAT_RGB666_PACKED
> VID_MODE_FORMAT_RGB666_LOOSE -> VID_MODE_FORMAT_RGB666
>
Tested-by: Mika Kahola <mika.kah...@intel.com&
orth conversion with the VBT -> enum ->
> register, since we have just shoved the VBT value into the register
> directly. Longer term, all the VBT parsing and deciphering should be
> done in intel_bios.c, and abstracted there.
>
Tested-by: Mika Kahola <mika.kah...@intel.com>
e it clearer.
>
Tested-by: Mika Kahola <mika.kah...@intel.com>
> Cc: Ville Syrjälä <ville.syrj...@linux.intel.com>
> Reported-by: Mika Kahola <mika.kah...@intel.com>
> Fixes: 2a33d93486f2 ("drm/i915/bios: add support for MIPI sequence block v3")
On Mon, 2016-01-04 at 18:44 +0200, Ville Syrjälä wrote:
> On Mon, Jan 04, 2016 at 01:21:24PM +0200, Mika Kahola wrote:
> > Don't use DP link training optimization if channel EQ is not ok. It has
> > been reported that in case of failure in channel EQ check the link training
>
i?id=91393
Signed-off-by: Mika Kahola <mika.kah...@intel.com>
---
drivers/gpu/drm/i915/intel_dp.c | 2 +-
drivers/gpu/drm/i915/intel_dp_link_training.c | 19 +++
drivers/gpu/drm/i915/intel_drv.h | 1 +
3 files changed, 21 insertions(+), 1 deletio
(Ville)
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91393
Signed-off-by: Mika Kahola <mika.kah...@intel.com>
---
drivers/gpu/drm/i915/intel_dp.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
index 3137187..c
These three patches are fixes for DP link trainging failures and flickering
issues
reported by https://bugs.freedesktop.org/show_bug.cgi?id=91393
Mika Kahola (3):
drm/i915: Disable fast link training if DP config changes
drm/i915: Check DP no aux transaction bit on link training
drm/i915
/show_bug.cgi?id=91393
Reviewed-by: Ville Syrjälä <ville.syrj...@linux.intel.com>
Signed-off-by: Mika Kahola <mika.kah...@intel.com>
---
drivers/gpu/drm/i915/intel_dp.c | 5 +
drivers/gpu/drm/i915/intel_dp_link_training.c | 3 +++
2 files changed, 8 insertions(+)
diff --git a
On Mon, 2016-01-04 at 18:53 +0200, Ville Syrjälä wrote:
> On Mon, Jan 04, 2016 at 06:44:09PM +0200, Ville Syrjälä wrote:
> > On Mon, Jan 04, 2016 at 01:21:24PM +0200, Mika Kahola wrote:
> > > Don't use DP link training optimization if channel EQ is not ok. It has
> > >
On Mon, 2016-01-04 at 18:27 +0100, Thierry Reding wrote:
> On Tue, Dec 22, 2015 at 04:53:41PM +0100, Lukas Wunner wrote:
> > Hi Mika,
> >
> > On Mon, Dec 21, 2015 at 01:39:15PM +0200, Mika Kahola wrote:
> > > Check if no AUX transactions are required on DP link trai
On Mon, 2016-01-04 at 18:42 +0200, Ville Syrjälä wrote:
> On Mon, Jan 04, 2016 at 01:21:22PM +0200, Mika Kahola wrote:
> > Disable DP link training optimization if DP link configuration
> > changes. If one of the DP link parameters i.e. link rate or
> > lane count changes t
Check if no AUX transactions are required on DP link training.
If this bit is set, we can reuse the known good drive current
and pre-emphasis level from the last "full" link training.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91393
Signed-off-by: Mika Kahola <mika.kah
://bugs.freedesktop.org/show_bug.cgi?id=91393
Signed-off-by: Mika Kahola <mika.kah...@intel.com>
---
drivers/gpu/drm/i915/intel_dp.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
index 3137187..0cd1ccb 100644
--- a/drivers/g
These three patches are fixes for DP link trainging failures and flickering
issues
reported by
Mika Kahola (3):
drm/i915: Disable fast link training if DP config changes
drm/i915: Check DP no aux transaction bit on link training
drm/i915: DP channel EQ check for use of DP link training
parameters. Instead, disable
fast link training feature when link parameters are
set (Ville)
v2: Readout DPCD register to check if no aux handshaking is
required in link training (Ander)
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91393
Signed-off-by: Mika Kahola <mika.
On Mon, 2016-01-04 at 13:11 +0100, Maarten Lankhorst wrote:
> Op 04-01-16 om 12:21 schreef Mika Kahola:
> > These three patches are fixes for DP link trainging failures and flickering
> > issues
> > reported by
> Did your message get accidentally truncated here?
It
On Tue, 2015-12-22 at 16:53 +0100, Lukas Wunner wrote:
> Hi Mika,
>
> On Mon, Dec 21, 2015 at 01:39:15PM +0200, Mika Kahola wrote:
> > Check if no AUX transactions are required on DP link training.
> > If this bit is set, we can reuse the known good drive current
> >
s enabled but not active run check_plane as if it were on,
> but afterwards set plane_state->visible = false for the checks.
>
Reviewed-by: Mika Kahola <mika.kah...@intel.com>
> Signed-off-by: Maarten Lankhorst <maarten.lankho...@linux.intel.com>
> ---
> driver
Check if no AUX transactions are required on DP link training.
If this bit is set, we can reuse the known good drive current
and pre-emphasis level from the last "full" link training.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91393
Signed-off-by: Mika Kahola <mika.kah
parameters. Instead, disable
fast link training feature when link parameters are
set (Ville)
v2: Readout DPCD register to check if no aux handshaking is
required in link training (Ander)
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91393
Signed-off-by: Mika Kahola <mika.
These two patches are fixes for DP link trainging failures and flickering issues
reported by
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91393
Mika Kahola (2):
drm/i915: Disable fast link training if DP config changes
drm/i915: Check DP no aux transaction bit on link training
_scale. The fix is to keep a atomic_cdclk that would be true
> if all crtc's were active.
>
> This is required to get the same calculations done correctly regardless
> of dpms mode.
>
Reviewed-by: Mika Kahola <mika.kah...@intel.com>
> Signed-off-by: Maarten Lankh
On Thu, 2015-12-17 at 15:16 +0200, Ville Syrjälä wrote:
> On Thu, Dec 17, 2015 at 02:46:03PM +0200, Mika Kahola wrote:
> > Disable DP fast link training if DP link configuration
> > changes. If one of the DP link parameters i.e. link
> > bandwidth, lane count, rate selecti
if no aux handshaking is
required in link training (Ander)
Signed-off-by: Mika Kahola <mika.kah...@intel.com>
---
drivers/gpu/drm/i915/intel_dp.c | 8 +++-
drivers/gpu/drm/i915/intel_dp_link_training.c | 17 +
drivers/gpu/drm/i915/intel_drv.h |
#4 otherwise.
>
Tested-by: Mika Kahola <mika.kah...@intel.com>
> Signed-off-by: Jani Nikula <jani.nik...@intel.com>
> ---
> drivers/gpu/drm/i915/i915_drv.h | 1 +
> drivers/gpu/drm/i915/intel_opregion.c | 25 +++--
> 2 files changed, 24 ins
training is started with zero values.
v3: Remove cached old link parameters. Instead, disable
fast link training feature when link parameters are
set (Ville)
v2: Readout DPCD register to check if no aux handshaking is
required in link training (Ander)
Signed-off-by: Mika Kahola <mika.
On Wed, 2015-12-16 at 14:41 +0200, Ville Syrjälä wrote:
> On Wed, Dec 16, 2015 at 02:26:58PM +0200, Mika Kahola wrote:
> > Disable DP fast link training if DP link configuration
> > changes. If one of the DP link parameters i.e. link
> > bandwidth, lane count, rate selecti
On Tue, 2015-12-15 at 10:26 +, Chris Wilson wrote:
> On Tue, Dec 15, 2015 at 12:22:40PM +0200, Mika Kahola wrote:
> > On Tue, 2015-11-24 at 11:29 +0100, Maarten Lankhorst wrote:
> > > diff --git a/drivers/gpu/drm/i915/intel_display.c
> > > b/drivers/gpu/drm/i915/
crtc_state->base.active;
> +
> + if (crtc_state->base.active) {
> + dev_priv->active_crtcs |= 1 << crtc->pipe;
> +
> + if (IS_BROADWELL(dev_priv)) {
> + pixclk = ilk_pipe_pixel_rate(crt
handling a null crtc_state, with all transitional helpers
> gone this can no longer happen.
>
Reviewed-by: Mika Kahola <mika.kah...@intel.com>
> Signed-off-by: Maarten Lankhorst <maarten.lankho...@linux.intel.com>
> ---
> drivers/gpu/drm/i915/intel_display.c | 2 +-
>
ni), rebase
> v3: corrected the retry loop(Jani), rebase
>
> Cc: Jani Nikula <jani.nik...@intel.com>
Tested-by: Mika Kahola <mika.kah...@intel.com>
> Signed-off-by: vkorjani <vikas.korj...@intel.com>
> Signed-off-by: Deepak M <m.dee...@intel.com>
> ---
>
On Tue, 2015-12-01 at 04:17 +0530, Deepak M wrote:
> v3: rebase
>
> Cc: Jani Nikula <jani.nik...@intel.com>
Tested-by: Mika Kahola <mika.kah...@intel.com>
> Signed-off-by: Deepak M <m.dee...@intel.com>
> ---
> drivers/gpu/drm/i915/intel_opregion.c | 4 +++-
&
t; Cc: Jani Nikula <jani.nik...@intel.com>
Tested-by: Mika Kahola <mika.kah...@intel.com>
> Signed-off-by: Deepak M <m.dee...@intel.com>
> ---
> drivers/gpu/drm/i915/i915_drv.h | 1 +
> drivers/gpu/drm/i915/intel_opregion.c | 9 +
> 2 files changed, 10 i
d way where we get the complete
> opregion dump and pick the VBT from the dump wrt to
> the VBT offset.
>
> Cc: Jani Nikula <jani.nik...@intel.com>
Tested-by: Mika Kahola <mika.kah...@intel.com>
> Signed-off-by: Deepak M <m.dee...@intel.com>
On Tue, 2015-12-01 at 04:17 +0530, Deepak M wrote:
> Calling the validate_vbt before assiging the opregion vbt blob.
> Size of the VBT blob cant be more than 6KB when VBT is present
> in mailbox 4.
>
> Cc: Jani Nikula <jani.nik...@intel.com>
Tested-by: Mika Kahola <mika.ka
When testing this patch on my BXT-M I received this error message
Hardware name: Intel Corp. Broxton M/RVP, BIOS
BXTM_IFWI_X64_R_2015_49_2_03 11/25/2015
[0.00] [ cut here ]
[0.00] WARNING: CPU: 0 PID: 0 at drivers/iommu/dmar.c:829
training is started with zero values.
v2:
Readout DPCD register to check if no aux handshaking is
required in link training (Ander)
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91393
Signed-off-by: Mika Kahola <mika.kah...@intel.com>
---
drivers/gpu/drm/i915/intel_dp.c
ns on ILK-IVB
>
> we also need to make sure cpu fifo underrun reporting is disabled when
> enabling the fdi rx/tx and pch transcoder But somehow this is
> only needed when enabling, not also when disabling.
>
> Cc: Ville Syrjälä <ville.syrj...@linux.intel.com>
> Signed-off-by: Dan
ns on ILK-IVB
>
> we also need to make sure cpu fifo underrun reporting is disabled when
> enabling the fdi rx/tx and pch transcoder But somehow this is
> only needed when enabling, not also when disabling.
>
> Cc: Ville Syrjälä <ville.syrj...@linux.intel.com>
> Si
training is started with zero values.
The patch is fix for reported screen flickering issue in
https://bugs.freedesktop.org/show_bug.cgi?id=91393
Signed-off-by: Mika Kahola <mika.kah...@intel.com>
---
drivers/gpu/drm/i915/intel_dp.c | 6 ++
drivers/gpu/dr
more conservative
approach this feature is disabled by default.
Signed-off-by: Mika Kahola <mika.kah...@intel.com>
---
drivers/gpu/drm/i915/i915_drv.h | 1 +
drivers/gpu/drm/i915/i915_params.c| 4
drivers/gpu/drm/i915/intel_dp_link_training.c | 11
Reviewed-by: Mika Kahola <mika.kah...@intel.com>
On Fri, 2015-09-25 at 16:39 +0300, ville.syrj...@linux.intel.com wrote:
> From: Ville Syrjälä <ville.syrj...@linux.intel.com>
>
> Handle the HDMI aspect ratio property the same way in the SDVO code
> as we handle it i
Reviewed-by: Mika Kahola <mika.kah...@intel.com>
On Fri, 2015-09-25 at 16:38 +0300, ville.syrj...@linux.intel.com wrote:
> From: Ville Syrjälä <ville.syrj...@linux.intel.com>
>
> The adjustead_mode crtc_ timings are what we will program into the hardware,
> so it's
Reviewed-by: Mika Kahola <mika.kah...@intel.com>
On Fri, 2015-09-25 at 16:37 +0300, ville.syrj...@linux.intel.com wrote:
> From: Ville Syrjälä <ville.syrj...@linux.intel.com>
>
> Rename the function argument to 'adjusted_mode' whenever the function
> only ever gets
-by: Mika Kahola <mika.kah...@intel.com>
---
drivers/gpu/drm/i915/i915_debugfs.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/gpu/drm/i915/i915_debugfs.c
b/drivers/gpu/drm/i915/i915_debugfs.c
index 5615d3d..3832699 100644
--- a/drivers/gpu/drm/i915/i915_debugfs.c
+++ b/drive
On Thu, 2015-09-24 at 23:49 +0300, Ville Syrjälä wrote:
> On Thu, Sep 24, 2015 at 02:28:41PM +0300, Mika Kahola wrote:
> > Information on maximum supported pixel clock frequency to
> > i915_frequency_info.
> >
> > Signed-off-by: Mika Kahola <mika.kah...@intel.com
Add information on current CD clock frequency to
debugfs 'i915_frequency_info'
Signed-off-by: Mika Kahola <mika.kah...@intel.com>
---
drivers/gpu/drm/i915/i915_debugfs.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/i915/i915_debugfs.c
b/drivers/gpu/dr
Information on maximum supported pixel clock frequency to
i915_frequency_info.
Signed-off-by: Mika Kahola <mika.kah...@intel.com>
---
drivers/gpu/drm/i915/i915_debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/i915/i915_debugfs.c
b/drivers/gpu/drm/i915/i915_deb
This adds information on maximum supported
CD clock frequency to debugfs 'i915_frequency_info'
Signed-off-by: Mika Kahola <mika.kah...@intel.com>
---
drivers/gpu/drm/i915/i915_debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/i915/i915_debugfs.c
b/drivers/g
These patches add information of current and maximum CD clock
frequency and pixel clock frequency information on 'i915_debugfs.c'.
Mika Kahola (3):
drm/i915: Add current CD clock frequency to debugfs
drm/i915: Add max CD clock to debugfs
drm/i915: Add max DOT clock frequency to debugfs
coccinelle does a fine job on renaming the variables. Although, it does
break the rule of 80 character line width.
Reviewed-by: Mika Kahola <mika.kah...@intel.com>
On Tue, 2015-09-08 at 13:40 +0300, ville.syrj...@linux.intel.com wrote:
> From: Ville Syrjälä <ville.syrj...@lin
Reviewed-by: Mika Kahola <mika.kah...@intel.com>
On Tue, 2015-09-08 at 13:40 +0300, ville.syrj...@linux.intel.com wrote:
> From: Ville Syrjälä <ville.syrj...@linux.intel.com>
>
> Replace intel_dvo->panel_fixed_mode with the appropriate intel_panel
> stuff. Now all c
On Tue, 2015-09-08 at 13:40 +0300, ville.syrj...@linux.intel.com wrote:
> From: Ville Syrjälä
>
> Rename the function argument to 'adjusted_mode' whenever the function
> only ever gets passed the adjusted_mode.
>
> Signed-off-by: Ville Syrjälä
Reviewed-by: Mika Kahola <mika.kah...@intel.com>
On Tue, 2015-09-08 at 13:40 +0300, ville.syrj...@linux.intel.com wrote:
> From: Ville Syrjälä <ville.syrj...@linux.intel.com>
>
> We shouldn't frob adjusted_mode after .compute_config(), so move the
> info
Reviewed-by: Mika Kahola <mika.kah...@intel.com>
On Tue, 2015-09-08 at 13:40 +0300, ville.syrj...@linux.intel.com wrote:
> From: Ville Syrjälä <ville.syrj...@linux.intel.com>
>
> Make adjusted_mode const whereever we don't have to modify it. This only
> covers ca
Reviewed-by: Mika Kahola <mika.kah...@intel.com>
On Tue, 2015-09-08 at 13:40 +0300, ville.syrj...@linux.intel.com wrote:
> From: Ville Syrjälä <ville.syrj...@linux.intel.com>
>
> The adjustead_mode crtc_ timings are what we will program into the hardware,
> so it's
On Tue, 2015-09-08 at 13:40 +0300, ville.syrj...@linux.intel.com wrote:
> From: Ville Syrjälä
>
> Rename the function argument to 'adjusted_mode' whenever the function
> only ever gets passed the adjusted_mode.
>
What was the reason why we need to rename the
On Fri, 2015-08-21 at 13:58 +0300, Ville Syrjälä wrote:
On Tue, Aug 18, 2015 at 02:37:02PM +0300, Mika Kahola wrote:
It is possible the we request to have a mode that has
higher pixel clock than our HW can support. This patch
checks if requested pixel clock is lower than the one
supported
On Tue, 2015-08-18 at 09:58 -0700, Daniel Vetter wrote:
On Tue, Aug 18, 2015 at 2:33 AM, Jani Nikula jani.nik...@intel.com wrote:
This reverts
commit 047fe6e6db9161e69271f56daaafdaf2add023b1
Author: David Weinehall david.weineh...@linux.intel.com
Date: Tue Aug 4 16:55:52 2015 +0300
:
- removed computation for max pixel clock
V3:
- cleanup by removing unnecessary lines
V4:
- max_pixclk variable renamed as max_dotclk
- moved dot clock checking inside 'if (fixed_mode)'
V5:
- dot clock checked against fixed_mode clock
Signed-off-by: Mika Kahola mika.kah...@intel.com
---
drivers
:
- removed computation for max pixel clock
V3:
- cleanup by removing unnecessary lines
V4:
- moved supported dotclock check from mode_valid() to intel_lvds_init()
V5:
- dotclock check moved back to mode_valid() function
- dotclock check for fixed mode
Signed-off-by: Mika Kahola mika.kah
() the rounding method changed from
round up to round down when computing max dotclock
V4:
- Haswell and Broadwell supports now dot clocks up to max CD clock
frequency
Signed-off-by: Mika Kahola mika.kah...@intel.com
---
drivers/gpu/drm/i915/i915_drv.h | 1 +
drivers/gpu/drm/i915
:
- removed computation for max pixel clock
V3:
- cleanup by removing unnecessary lines
V4:
- clock check against max dotclock moved inside 'if (fixed_mode)'
V5:
- dot clock check against fixed_mode clock when available
Signed-off-by: Mika Kahola mika.kah...@intel.com
---
drivers/gpu/drm/i915
is renamed as max_dotclk throughout
the whole series
V5:
- remaining tweaks for dotclock max frequency computation (HSW and BDW)
and LVDS, DSI, and DVO fixes based on Ville's comments
Thanks Ville for reviewing the rest of the series!
Mika Kahola (4):
drm/i915: Store max dotclock
drm/i915: LVDS
On Fri, 2015-08-14 at 15:13 +0200, Daniel Vetter wrote:
On Fri, Aug 14, 2015 at 01:03:20PM +0300, Mika Kahola wrote:
From EDID we can read and request higher pixel clock than
our HW can support. This set of patches add checks if
requested pixel clock is lower than the one supported
On Fri, 2015-08-14 at 16:09 +0300, Ville Syrjälä wrote:
On Fri, Aug 14, 2015 at 01:03:24PM +0300, Mika Kahola wrote:
It is possible the we request to have a mode that has
higher pixel clock than our HW can support. This patch
checks if requested pixel clock is lower than the one
supported
On Fri, 2015-08-14 at 15:55 +0300, Ville Syrjälä wrote:
On Fri, Aug 14, 2015 at 01:03:21PM +0300, Mika Kahola wrote:
Store max dotclock into dev_priv structure so we are able
to filter out the modes that are not supported by our
platforms.
V2:
- limit the max dot clock frequency
:
- removed computation for max pixel clock
V3:
- cleanup by removing unnecessary lines
V4:
- max_pixclk variable renamed as max_dotclk
Signed-off-by: Mika Kahola mika.kah...@intel.com
---
drivers/gpu/drm/i915/intel_tv.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/gpu/drm/i915
:
- removed computation for max pixel clock
V3:
- cleanup by removing unnecessary lines
V4:
- clock check against max dotclock moved inside 'if (fixed_mode)'
Signed-off-by: Mika Kahola mika.kah...@intel.com
---
drivers/gpu/drm/i915/intel_dvo.c | 3 +++
1 file changed, 3 insertions(+)
diff --git
MST.
V2:
- removed computation for max pixel clock
V3:
- cleanup by removing unnecessary lines
V4:
- max_pixclk variable renamed as max_dotclk
Signed-off-by: Mika Kahola mika.kah...@intel.com
---
drivers/gpu/drm/i915/intel_dp_mst.c | 5 +
1 file changed, 5 insertions(+)
diff --git
:
- removed computation for max pixel clock
V3:
- cleanup by removing unnecessary lines
V4:
- max_pixclk variable renamed as max_dotclk
Signed-off-by: Mika Kahola mika.kah...@intel.com
---
drivers/gpu/drm/i915/intel_crt.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/gpu/drm/i915
Information on maximum supported DOT clock frequency to
i915_frequency_info.
Signed-off-by: Mika Kahola mika.kah...@intel.com
---
drivers/gpu/drm/i915/i915_debugfs.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/i915/i915_debugfs.c
b/drivers/gpu/drm/i915/i915_debugfs.c
:
- removed computation for max pixel clock
V3:
- cleanup by removing unnecessary lines
V4:
- max_pixclk variable renamed as max_dotclk
Signed-off-by: Mika Kahola mika.kah...@intel.com
---
drivers/gpu/drm/i915/intel_sdvo.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/gpu/drm
() the rounding method changed from
round up to round down when computing max dotclock
Signed-off-by: Mika Kahola mika.kah...@intel.com
---
drivers/gpu/drm/i915/i915_drv.h | 1 +
drivers/gpu/drm/i915/intel_display.c | 19 +++
2 files changed, 20 insertions(+)
diff --git
.
V2:
- removed computation for max DOT clock
V3:
- cleanup by removing unnecessary lines
V4:
- max_pixclk renamed as max_dotclk
Signed-off-by: Mika Kahola mika.kah...@intel.com
---
drivers/gpu/drm/i915/intel_dp.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu
:
- removed computation for max pixel clock
V3:
- cleanup by removing unnecessary lines
V4:
- max_pixclk variable renamed as max_dotclk
- moved dot clock checking inside 'if (fixed_mode)'
Signed-off-by: Mika Kahola mika.kah...@intel.com
---
drivers/gpu/drm/i915/intel_dsi.c | 3 +++
1 file changed
:
- removed computation for max pixel clock
V3:
- cleanup by removing unnecessary lines
V4:
- moved supported dotclock check from mode_valid() to intel_lvds_init()
Signed-off-by: Mika Kahola mika.kah...@intel.com
---
drivers/gpu/drm/i915/intel_lvds.c | 15 +++
1 file changed, 11
:
- removed computation for max dot clock
V3:
- cleanup by removing unnecessary lines
V4:
- max_pixclk variable renamed as max_dotclk
- check for stereo mode added
Signed-off-by: Mika Kahola mika.kah...@intel.com
---
drivers/gpu/drm/i915/intel_hdmi.c | 8
1 file changed, 8 insertions
is renamed as max_dotclk throughout
the whole series
Mika Kahola (11):
drm/i915: Store max dotclock
drm/i915: DisplayPort pixel clock check
drm/i915: HDMI pixel clock check
drm/i915: LVDS pixel clock check
drm/i915: SDVO pixel clock check
drm/i915: DSI pixel clock check
drm/i915: CRT pixel
On Wed, 2015-08-12 at 22:01 +0300, Ville Syrjälä wrote:
On Wed, Aug 12, 2015 at 08:30:23PM +0300, Ville Syrjälä wrote:
On Fri, Jul 31, 2015 at 03:13:50PM +0300, Mika Kahola wrote:
Store max dotclock into dev_priv structure so we are able
to filter out the modes that are not supported
On Wed, 2015-08-12 at 15:43 +0200, Daniel Vetter wrote:
On Wed, Aug 12, 2015 at 04:42:53PM +0300, Jani Nikula wrote:
On Wed, 12 Aug 2015, Daniel Vetter dan...@ffwll.ch wrote:
On Tue, Aug 11, 2015 at 04:49:33PM +0300, Mika Kahola wrote:
Depending on the VBT BDB version the maximum size
Depending on the VBT BDB version the maximum size
can be up to 38 bytes.
This fix increases the maximum of the VBT expected size
from 33 bytes to 38 bytes and by doing so cures the kernel
hang on BSW box.
Signed-off-by: Mika Kahola mika.kah...@intel.com
---
drivers/gpu/drm/i915/intel_bios.h | 2
for the older gens
- for Cherryview the max dot clock frequency is limited to 95%
of the max CD clock frequency
- for gen2 and gen3 the max dot clock limit is set to 90% of the
2X max CD clock frequency
Signed-off-by: Mika Kahola mika.kah...@intel.com
---
drivers/gpu/drm/i915/i915_drv.h | 1
:
- removed computation for max pixel clock
V3:
- cleanup by removing unnecessary lines
Signed-off-by: Mika Kahola mika.kah...@intel.com
---
drivers/gpu/drm/i915/intel_tv.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/gpu/drm/i915/intel_tv.c b/drivers/gpu/drm/i915/intel_tv.c
index
.
V2:
- removed computation for max DOT clock
V3:
- cleanup by removing unnecessary lines
Signed-off-by: Mika Kahola mika.kah...@intel.com
---
drivers/gpu/drm/i915/intel_dp.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm
:
- removed computation for max pixel clock
V3:
- cleanup by removing unnecessary lines
Signed-off-by: Mika Kahola mika.kah...@intel.com
---
drivers/gpu/drm/i915/intel_sdvo.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/gpu/drm/i915/intel_sdvo.c
b/drivers/gpu/drm/i915
:
- removed computation for max pixel clock
V3:
- cleanup by removing unnecessary lines
Signed-off-by: Mika Kahola mika.kah...@intel.com
---
drivers/gpu/drm/i915/intel_dvo.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/gpu/drm/i915/intel_dvo.c b/drivers/gpu/drm/i915/intel_dvo.c
701 - 800 of 949 matches
Mail list logo