All sort of cdclk stuff
Subsystems (2)
This patch series rebases Ville's original cdclk patch series
excluding the ones that have been reviewed.
http://lists.freedesktop.org/archives/intel-gfx/2014-November/055633.html
The patches include modifications to
drm/i915: Fix i855_get_display_clock_speed() drm/i915: Fix 852GM/GMV cdclk
drm/i915: Add cdclk extraction for g33, 965gm and g4x drm/i915: Warn when cdclk for the platforms is not known drm/i915: Cache the current cdclk frequency in dev_priv drm/i915: Use cached cdclk value
drm/i915: Unify ilk and hsw .get_aux_clock_divider() drm/i915: Store max cdclk value in dev_priv
drm/i915: Don't enable IPS when pixel rate exceeds 95% of cdclk drm/i915: HSW cdclk change support
drm/i915: Add IS_BDW_ULX()
drm/i915: BDW cdclk change support
drm/i915: Limit CHV max cdclk to 320 MHz
drm/i915: Modeset global_pipes() update
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 1/14 drm/i915: Fix i855 get_display_clock_speed
Actually read the HPLLCC register insted of assuming it's 0. Fix the HPLLCC bit definitions and all the missing ones from the 852GME spec.
852GME, 854 and 855 all seem to match the same HPLLC encoding even though only some of the values are valid is some of the platforms.
--- drivers/gpu/drm/i915/i915_reg.h | 11 ++++++++--- drivers/gpu/drm/i915/intel_display.c | 15 ++++++++++++--- 2 files changed, 20 insertions(+), 6 deletions(-)
drivers/gpu/drm/i915/i915_reg.h +8 -3
@@ -50,12 +50,17 @@/* PCI config space */ -#define HPLLCC 0xc0/* 855 only */ -#define GC_CLOCK_CONTROL_MASK (0xf << 0) +#define HPLLCC 0xc0/* 85x only */ +#define GC_CLOCK_CONTROL_MASK (0x7 << 0)#define GC_CLOCK_133_200 (0 << 0)#define GC_CLOCK_100_200 (1 << 0)#define GC_CLOCK_100_133 (2 << 0) -#define GC_CLOCK_166_250 (3 << 0) +#define GC_CLOCK_133_266 (3 << 0) +#define GC_CLOCK_133_200_2 (4 << 0) +#define GC_CLOCK_133_266_2 (5 << 0) +#define GC_CLOCK_166_266 (6 << 0) +#define GC_CLOCK_166_250 (7 << 0) +#define GCFGC2 0xda#define GCFGC 0xf0/* 915+ only */ #define GC_LOW_FREQUENCY_ENABLE (1 << 7)
drivers/gpu/drm/i915/intel_display.c +12 -3
@@ -6301,20 +6301,29 @@ static int i865_get_display_clock_speed(struct drm_device *dev)return 266667 ; } -static int i855_get_display_clock_speed (struct drm_device *dev) +static int i85x_get_display_clock_speed (struct drm_device *dev) {u16 hpllcc =0 ; + +pci_bus_read_config_word (dev->pdev->bus, +PCI_DEVFN (0 ,3 ),HPLLCC , &hpllcc); +/* Assume that the hardware is in the high speed state. This * should be the default. */ switch (hpllcc &GC_CLOCK_CONTROL_MASK ) {case GC_CLOCK_133_200 : +case GC_CLOCK_133_200_2 :case GC_CLOCK_100_200 :return 200000 ;case GC_CLOCK_166_250 :return 250000 ;case GC_CLOCK_100_133 :return 133333 ; +case GC_CLOCK_133_266 : +case GC_CLOCK_133_266_2 : +case GC_CLOCK_166_266 : +return 266667 ; }/* Shouldn't happen */
@@ -13986,8 +13995,8 @@ static void intel_init_display(struct drm_device *dev)i865_get_display_clock_speed ; else if (IS_I85X(dev)) dev_priv->display.get_display_clock_speed = - i855_get_display_clock_speed; - else /* 852, 830 */ + i85x_get_display_clock_speed; + else /* 830 */ dev_priv->display.get_display_clock_speed = i830_get_display_clock_speed;
Signature · 6 lines
1.9.1 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 2/14 drm/i915: Fix 852GM/GMV cdclk
In reply to Mika KaholaIt seems 852GM/GMV uses a different HPLLCC encoding than the other 85x platforms. For 852GM/GMV cdclk is always 133MHz. Try to detect that using the PCI revision (sinc the device ID seems useless for that). I'm not at all sure this is a good idea, but according to the specs it should work.
--- drivers/gpu/drm/i915/intel_display.c | 8 ++++++++ 1 file changed, 8 insertions(+)
drivers/gpu/drm/i915/intel_display.c +8 -0
@@ -6305,6 +6305,14 @@ static int i85x_get_display_clock_speed(struct drm_device *dev) {u16 hpllcc =0 ; +/* +* 852GM/852GMV only supports 133 MHz and the HPLLCC +* encoding is different :( +* FIXME is this the right way to detect 852GM/852GMV? +*/ +if (dev->pdev->revision ==0x1 ) +return 133333 ; +pci_bus_read_config_word (dev->pdev->bus,PCI_DEVFN (0 ,3 ),HPLLCC , &hpllcc);
Signature · 6 lines
1.9.1 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 3/14 drm/i915: Add cdclk extraction for g33, g965gm and g4x
In reply to Mika KaholaImplement cdclk extraction for g33, 965gm and g4x platforms. The details came from configdb. Sadly there isn't anything there for other gen3/gen4 chipsets.
So far I've tested this on one ELK where it gave me a HPLL VCO of 5333 MHz and cdclk of 444 MHz which seems perfectly sane for this machine.
V2: Rebased to the latest
--- drivers/gpu/drm/i915/i915_reg.h | 3 + drivers/gpu/drm/i915/intel_display.c | 183 ++++++++++++++++++++++++++++++++++- 2 files changed, 185 insertions(+), 1 deletion(-)
drivers/gpu/drm/i915/i915_reg.h +3 -0
@@ -2223,6 +2223,9 @@ enum skl_disp_power_wells {#define CLKCFG_MEM_800 (3 << 4)#define CLKCFG_MEM_MASK (7 << 4) +#define HPLLVCO (MCHBAR_MIRROR_BASE + 0xc38) +#define HPLLVCO_MOBILE (MCHBAR_MIRROR_BASE + 0xc0f) +#define TSC1 0x11001#define TSE (1<<0)#define TR1 0x11006
drivers/gpu/drm/i915/intel_display.c +182 -1
197 lines not on this page · raw message
Signature · 6 lines
1.9.1 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 4/14 drm/i915: Warn when cdclk for the platforms is not known
In reply to Mika KaholaPrint a warning if we fall through the .get_display_clock_speed() function pointer setup. We end up assuming a 133MHz cdclk which should mean that at least we avoid any 0 deivisions and whatnot. But this could at least help remind people that they have to provide this function for new platforms.
--- drivers/gpu/drm/i915/intel_display.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/gpu/drm/i915/intel_display.c +3 -1
@@ -14185,9 +14185,11 @@ static void intel_init_display(struct drm_device *dev)else if (IS_I85X (dev)) dev_priv->display.get_display_clock_speed = i85x_get_display_clock_speed; -else /* 830 */ +else {/* 830 */ +WARN (!IS_I830 (dev),"Unknown platform. Assuming 133 MHz CDCLK\n" ); dev_priv->display.get_display_clock_speed = i830_get_display_clock_speed; + }if (IS_GEN5 (dev)) { dev_priv->display.fdi_link_train = ironlake_fdi_link_train;
Signature · 6 lines
1.9.1 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 5/14 drm/i915: Cache current cdclk frequency in dev_priv
In reply to Mika KaholaRather that extracting the current cdclk freuqncy every time someone wants to know it, cache the current value and use that. VLV/CHV already stored a cached value there so just expand that to cover all platforms.
V2: Rebased to the latest
--- drivers/gpu/drm/i915/i915_drv.h | 2 +- drivers/gpu/drm/i915/intel_display.c | 40 +++++++++++++++++++++++------------- 2 files changed, 27 insertions(+), 15 deletions(-)
drivers/gpu/drm/i915/i915_drv.h +1 -1
@@ -1657,7 +1657,7 @@ struct drm_i915_private {int num_fence_regs;/* 8 on pre-965, 16 otherwise */ unsigned int fsb_freq, mem_freq, is_ddr3; -unsigned int vlv_cdclk_freq; +unsigned int cdclk_freq;unsigned int hpll_freq;/**
drivers/gpu/drm/i915/intel_display.c +26 -14
@@ -5210,20 +5210,27 @@ static int valleyview_get_vco(struct drm_i915_private *dev_priv)return vco_freq[hpll_freq] *1000 ; } -static void vlv_update_cdclk (struct drm_device *dev) +static void intel_update_cdclk (struct drm_device *dev) {struct drm_i915_private *dev_priv = dev->dev_private; - dev_priv->vlv_cdclk_freq = dev_priv->display.get_display_clock_speed (dev); + dev_priv->cdclk_freq = dev_priv->display.get_display_clock_speed (dev);DRM_DEBUG_DRIVER ("Current CD clock rate: %d kHz\n" , - dev_priv->vlv_cdclk_freq); + dev_priv->cdclk_freq);/* * Program the gmbus_freq based on the cdclk frequency. * BSpec erroneously claims we should aim for 4MHz, but * in fact 1MHz is the correct frequency. */ -I915_WRITE (GMBUSFREQ_VLV ,DIV_ROUND_UP (dev_priv->vlv_cdclk_freq,1000 )); +if (IS_VALLEYVIEW (dev)) { +/* +* Program the gmbus_freq based on the cdclk frequency. +* BSpec erroneously claims we should aim for 4MHz, but +* in fact 1MHz is the correct frequency. +*/ +I915_WRITE (GMBUSFREQ_VLV ,DIV_ROUND_UP (dev_priv->cdclk_freq,1000 )); + } }/* Adjust CDclk dividers to allow high res or save power if possible */
@@ -5232,7 +5239,7 @@ static void valleyview_set_cdclk(struct drm_device *dev, int cdclk)struct drm_i915_private *dev_priv = dev->dev_private;u32 val, cmd; -WARN_ON (dev_priv->display.get_display_clock_speed (dev) != dev_priv->vlv_cdclk_freq); +WARN_ON (dev_priv->display.get_display_clock_speed (dev) != dev_priv->cdclk_freq);if (cdclk >=320000 )/* jump to highest voltage for 400MHz too */ cmd =2 ;
@@ -5288,7 +5295,7 @@ static void valleyview_set_cdclk(struct drm_device *dev, int cdclk)vlv_bunit_write (dev_priv,BUNIT_REG_BISOC , val);mutex_unlock (&dev_priv->dpio_lock); -vlv_update_cdclk (dev); +intel_update_cdclk (dev); }static void cherryview_set_cdclk (struct drm_device *dev,int cdclk)
@@ -5296,7 +5303,7 @@ static void cherryview_set_cdclk(struct drm_device *dev, int cdclk)struct drm_i915_private *dev_priv = dev->dev_private;u32 val, cmd; -WARN_ON (dev_priv->display.get_display_clock_speed (dev) != dev_priv->vlv_cdclk_freq); +WARN_ON (dev_priv->display.get_display_clock_speed (dev) != dev_priv->cdclk_freq);switch (cdclk) {case 333333 :
@@ -5328,7 +5335,7 @@ static void cherryview_set_cdclk(struct drm_device *dev, int cdclk) }mutex_unlock (&dev_priv->rps.hw_lock); -vlv_update_cdclk (dev); +intel_update_cdclk (dev); } static int valleyview_calc_cdclk(struct drm_i915_private *dev_priv,
@@ -5395,7 +5402,7 @@ static int valleyview_modeset_global_pipes(struct drm_atomic_state *state,return max_pixclk;if (valleyview_calc_cdclk (dev_priv, max_pixclk) == - dev_priv->vlv_cdclk_freq) + dev_priv->cdclk_freq)return 0 ;/* disable/enable all currently active pipes while we change cdclk */
@@ -5415,7 +5422,7 @@ static void vlv_program_pfi_credits(struct drm_i915_private *dev_priv)else default_credits =PFI_CREDIT (8 ); -if (DIV_ROUND_CLOSEST (dev_priv->vlv_cdclk_freq,1000 ) >= dev_priv->rps.cz_freq) { +if (DIV_ROUND_CLOSEST (dev_priv->cdclk_freq,1000 ) >= dev_priv->rps.cz_freq) {/* CHV suggested value is 31 or 63 */ if (IS_CHERRYVIEW (dev_priv)) credits =PFI_CREDIT_31 ;
@@ -5459,7 +5466,7 @@ static void valleyview_modeset_global_resources(struct drm_atomic_state *state) req_cdclk =valleyview_calc_cdclk (dev_priv, max_pixclk); -if (req_cdclk != dev_priv->vlv_cdclk_freq) { +if (req_cdclk != dev_priv->cdclk_freq) {/* * FIXME: We can end up here with all power domains off, yet * with a CDCLK frequency other than the minimum. To account
@@ -5480,6 +5487,8 @@ static void valleyview_modeset_global_resources(struct drm_atomic_state *state)intel_display_power_put (dev_priv,POWER_DOMAIN_PIPE_A ); } + +intel_update_cdclk (dev_priv->dev); }static void valleyview_crtc_enable (struct drm_crtc *crtc)
@@ -8950,6 +8959,8 @@ static void hsw_restore_lcpll(struct drm_i915_private *dev_priv) }intel_uncore_forcewake_put (dev_priv,FORCEWAKE_ALL ); + +intel_update_cdclk (dev_priv->dev); }/*
@@ -12934,6 +12945,8 @@ static void intel_shared_dpll_init(struct drm_device *dev) {struct drm_i915_private *dev_priv = dev->dev_private; +intel_update_cdclk (dev); +if (HAS_DDI (dev))intel_ddi_pll_init (dev);else if (HAS_PCH_IBX (dev) ||HAS_PCH_CPT (dev))
@@ -14424,10 +14437,9 @@ static void i915_disable_vga(struct drm_device *dev)void intel_modeset_init_hw (struct drm_device *dev) { -intel_prepare_ddi (dev); +intel_update_cdclk (dev); -if (IS_VALLEYVIEW (dev)) -vlv_update_cdclk (dev); +intel_prepare_ddi (dev);intel_init_clock_gating (dev);
Signature · 6 lines
1.9.1 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 6/14 drm/i915: Use cached cdclk value
In reply to Mika KaholaRather than reading out the current cdclk value use the cached value we have tucked away in dev_priv.
--- drivers/gpu/drm/i915/intel_display.c | 3 +-- drivers/gpu/drm/i915/intel_dp.c | 5 +++-- drivers/gpu/drm/i915/intel_pm.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-)
drivers/gpu/drm/i915/intel_display.c +1 -2
@@ -6072,8 +6072,7 @@ static int intel_crtc_compute_config(struct intel_crtc *crtc,/* FIXME should check pixel clock limits on all platforms */ if (INTEL_INFO (dev)->gen <4 ) { -int clock_limit = - dev_priv->display.get_display_clock_speed (dev); +int clock_limit = dev_priv->cdclk_freq;/* * Enable pixel doubling when the dot clock
drivers/gpu/drm/i915/intel_dp.c +3 -2
@@ -702,7 +702,8 @@ static uint32_t ilk_get_aux_clock_divider(struct intel_dp *intel_dp, int index)return 0 ;if (intel_dig_port->port ==PORT_A ) { -return DIV_ROUND_UP (dev_priv->display.get_display_clock_speed (dev),2000 ); +return DIV_ROUND_UP (dev_priv->cdclk_freq,2000 ); + }else {return DIV_ROUND_UP (intel_pch_rawclk (dev),2 ); }
@@ -717,7 +718,7 @@ static uint32_t hsw_get_aux_clock_divider(struct intel_dp *intel_dp, int index)if (intel_dig_port->port ==PORT_A ) {if (index)return 0 ; -return DIV_ROUND_CLOSEST (dev_priv->display.get_display_clock_speed (dev),2000 ); +return DIV_ROUND_CLOSEST (dev_priv->cdclk_freq,2000 ); }else if (dev_priv->pch_id ==INTEL_PCH_LPT_DEVICE_ID_TYPE ) {/* Workaround for non-ULT HSW */ switch (index) {
drivers/gpu/drm/i915/intel_pm.c +1 -1
@@ -1816,7 +1816,7 @@ hsw_compute_linetime_wm(struct drm_device *dev, struct drm_crtc *crtc) linetime =DIV_ROUND_CLOSEST (mode->crtc_htotal *1000 *8 , mode->crtc_clock); ips_linetime =DIV_ROUND_CLOSEST (mode->crtc_htotal *1000 *8 , - dev_priv->display.get_display_clock_speed (dev_priv->dev)); + dev_priv->cdclk_freq);return PIPE_WM_LINETIME_IPS_LINETIME (ips_linetime) |PIPE_WM_LINETIME_TIME (linetime);
Signature · 6 lines
1.9.1 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 7/14 drm/i915: Unify ilk and hsw .get_aux_clock_divider
In reply to Mika Kaholailk_get_aux_clock_divider() is now a subset ofhsw_get_aux_clock_divider() so unify them.
--- drivers/gpu/drm/i915/intel_dp.c | 23 +++-------------------- 1 file changed, 3 insertions(+), 20 deletions(-)
drivers/gpu/drm/i915/intel_dp.c +3 -20
@@ -698,23 +698,6 @@ static uint32_t ilk_get_aux_clock_divider(struct intel_dp *intel_dp, int index)struct drm_device *dev = intel_dig_port->base.base.dev;struct drm_i915_private *dev_priv = dev->dev_private; -if (index) -return 0 ; - -if (intel_dig_port->port ==PORT_A ) { -return DIV_ROUND_UP (dev_priv->cdclk_freq,2000 ); - - }else { -return DIV_ROUND_UP (intel_pch_rawclk (dev),2 ); - } -} - -static uint32_t hsw_get_aux_clock_divider (struct intel_dp *intel_dp,int index) -{ -struct intel_digital_port *intel_dig_port =dp_to_dig_port (intel_dp); -struct drm_device *dev = intel_dig_port->base.base.dev; -struct drm_i915_private *dev_priv = dev->dev_private; -if (intel_dig_port->port ==PORT_A ) {if (index)return 0 ;
@@ -727,7 +710,9 @@ static uint32_t hsw_get_aux_clock_divider(struct intel_dp *intel_dp, int index)default :return 0 ; } }else { -return index ?0 :DIV_ROUND_UP (intel_pch_rawclk (dev),2 ); +if (index) +return 0 ; +return DIV_ROUND_UP (intel_pch_rawclk (dev),2 ); } }
@@ -5474,8 +5459,6 @@ intel_dp_init_connector(struct intel_digital_port *intel_dig_port, intel_dp->get_aux_clock_divider = skl_get_aux_clock_divider; else if (IS_VALLEYVIEW(dev)) intel_dp->get_aux_clock_divider = vlv_get_aux_clock_divider; - else if (IS_HASWELL(dev) || IS_BROADWELL(dev)) - intel_dp->get_aux_clock_divider = hsw_get_aux_clock_divider; else if (HAS_PCH_SPLIT(dev)) intel_dp->get_aux_clock_divider = ilk_get_aux_clock_divider; else
Signature · 6 lines
1.9.1 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 8/14 drm/i915: Store max cdclk value in dev_priv
In reply to Mika KaholaKeep the cdclk maximum supported frequency around in dev_priv so that we can verify certain things against it before actually changing the cdclk frequency.
For now only VLV/CHV have support changing cdclk frequency, so other plarforms get to assume cdclk is fixed.
--- drivers/gpu/drm/i915/i915_drv.h | 2 +- drivers/gpu/drm/i915/intel_display.c | 20 +++++++++++++++++++- 2 files changed, 20 insertions(+), 2 deletions(-)
drivers/gpu/drm/i915/i915_drv.h +1 -1
@@ -1657,7 +1657,7 @@ struct drm_i915_private {int num_fence_regs;/* 8 on pre-965, 16 otherwise */ unsigned int fsb_freq, mem_freq, is_ddr3; -unsigned int cdclk_freq; +unsigned int cdclk_freq, max_cdclk_freq;unsigned int hpll_freq;/**
drivers/gpu/drm/i915/intel_display.c +19 -1
@@ -5210,6 +5210,21 @@ static int valleyview_get_vco(struct drm_i915_private *dev_priv)return vco_freq[hpll_freq] *1000 ; } +static void intel_update_max_cdclk (struct drm_device *dev) +{ +struct drm_i915_private *dev_priv = dev->dev_private; + +if (IS_VALLEYVIEW (dev)) { + dev_priv->max_cdclk_freq =400000 ; + }else { +/* otherwise assume cdclk is fixed */ + dev_priv->max_cdclk_freq = dev_priv->cdclk_freq; + } + +DRM_DEBUG_DRIVER ("Max CD clock rate: %d kHz\n" , + dev_priv->max_cdclk_freq); +} +static void intel_update_cdclk (struct drm_device *dev) {struct drm_i915_private *dev_priv = dev->dev_private;
@@ -5231,6 +5246,9 @@ static void intel_update_cdclk(struct drm_device *dev)*/ I915_WRITE (GMBUSFREQ_VLV ,DIV_ROUND_UP (dev_priv->cdclk_freq,1000 )); } + +if (dev_priv->max_cdclk_freq ==0 ) +intel_update_max_cdclk (dev); }/* Adjust CDclk dividers to allow high res or save power if possible */
@@ -6072,7 +6090,7 @@ static int intel_crtc_compute_config(struct intel_crtc *crtc,/* FIXME should check pixel clock limits on all platforms */ if (INTEL_INFO (dev)->gen <4 ) { -int clock_limit = dev_priv->cdclk_freq; +int clock_limit = dev_priv->max_cdclk_freq;/* * Enable pixel doubling when the dot clock
Signature · 6 lines
1.9.1 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 9/14 drm/i915: Don't enable IPS when pixel rate exceeds 95%
In reply to Mika KaholaBspec says we shouldn't enable IPS on BDW when the pipe pixel rate exceeds 95% of the core display clock. Apparently this can cause underruns.
There's no similar restriction listed for HSW, so leave that one alone for now.
v2: Add pipe_config_supports_ips() (Chris)
v3: Compare against the max cdclk insted of the current cdclk
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=83497
v4: Rebased to the latest
--- drivers/gpu/drm/i915/intel_display.c | 30 ++++++++++++++++++++++++++++-- drivers/gpu/drm/i915/intel_drv.h | 2 +- drivers/gpu/drm/i915/intel_pm.c | 17 ++++++++--------- 3 files changed, 37 insertions(+), 12 deletions(-)
drivers/gpu/drm/i915/intel_display.c +28 -2
@@ -6072,12 +6072,38 @@ retry:return ret; } +static bool pipe_config_supports_ips (struct drm_i915_private *dev_priv, +struct intel_crtc_state *pipe_config) +{ +if (pipe_config->pipe_bpp >24 ) +return false; + +/* HSW can handle pixel rate up to cdclk? */ +if (IS_HASWELL (dev_priv->dev)) +return true; + +/* +* FIXME if we compare against max we should then +* increase the cdclk frequency when the current +* value is too low. The other option is to compare +* against the cdclk frequency we're going have post +* modeset (ie. one we computed using other constraints). +* Need to measure whether using a lower cdclk w/o IPS +* is better or worse than a higher cdclk w/ IPS. +*/ +return ilk_pipe_pixel_rate (pipe_config) <= + dev_priv->max_cdclk_freq *95 /100 ; +} +static void hsw_compute_ips_config (struct intel_crtc *crtc,struct intel_crtc_state *pipe_config) { +struct drm_device *dev = crtc->base.dev; +struct drm_i915_private *dev_priv = dev->dev_private; + pipe_config->ips_enabled = i915.enable_ips && -hsw_crtc_supports_ips (crtc) && - pipe_config->pipe_bpp <=24 ; +hsw_crtc_supports_ips (crtc) && +pipe_config_supports_ips (dev_priv, pipe_config); } static int intel_crtc_compute_config(struct intel_crtc *crtc,
drivers/gpu/drm/i915/intel_drv.h +1 -1
@@ -1351,7 +1351,7 @@ void ilk_wm_get_hw_state(struct drm_device *dev);void skl_wm_get_hw_state (struct drm_device *dev);void skl_ddb_get_hw_state (struct drm_i915_private *dev_priv,struct skl_ddb_allocation *ddb/* out */ ); - +uint32_t ilk_pipe_pixel_rate (const struct intel_crtc_state *pipe_config);/* intel_sdvo.c */ bool intel_sdvo_init (struct drm_device *dev,uint32_t sdvo_reg,bool is_sdvob);
drivers/gpu/drm/i915/intel_pm.c +8 -9
@@ -1435,23 +1435,22 @@ static void i845_update_wm(struct drm_crtc *unused_crtc)I915_WRITE (FW_BLC , fwater_lo); } -static uint32_t ilk_pipe_pixel_rate (struct drm_device *dev, -struct drm_crtc *crtc) +uint32_t ilk_pipe_pixel_rate (const struct intel_crtc_state *pipe_config) { -struct intel_crtc *intel_crtc =to_intel_crtc (crtc);uint32_t pixel_rate; - pixel_rate = intel_crtc->config->base.adjusted_mode.crtc_clock; + pixel_rate = pipe_config->base.adjusted_mode.crtc_clock;/* We only use IF-ID interlacing. If we ever use PF-ID we'll need to * adjust the pixel_rate here. */ -if (intel_crtc->config->pch_pfit.enabled) { +if (pipe_config->pch_pfit.enabled) {uint64_t pipe_w, pipe_h, pfit_w, pfit_h; -uint32_t pfit_size = intel_crtc->config->pch_pfit.size; +uint32_t pfit_size = pipe_config->pch_pfit.size; + + pipe_w = pipe_config->pipe_src_w; + pipe_h = pipe_config->pipe_src_h; - pipe_w = intel_crtc->config->pipe_src_w; - pipe_h = intel_crtc->config->pipe_src_h; pfit_w = (pfit_size >>16 ) &0xFFFF ; pfit_h = pfit_size &0xFFFF ;if (pipe_w < pfit_w)
@@ -2067,7 +2066,7 @@ static void ilk_compute_wm_parameters(struct drm_crtc *crtc, p->active = true; p->pipe_htotal = intel_crtc->config->base.adjusted_mode.crtc_htotal; - p->pixel_rate =ilk_pipe_pixel_rate (dev, crtc); + p->pixel_rate =ilk_pipe_pixel_rate (intel_crtc->config);if (crtc->primary->state->fb) { p->pri.enabled = true;
Signature · 6 lines
1.9.1 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 10/14 drm/i915: HSW cdclk support
In reply to Mika KaholaImplement support for changing the cdclk frequency during runtime on HSW. VLV/CHV already have support for this, so we can follow their example for the most part. Only the actual hardware programming differs, the rest is pretty much the same.
The pipe pixel rate stuff is handled a bit differently for now due to the difference in pch vs. gmch pfit handling. Eventually we should unify that part to eliminate what is essentially duplicated code.
v2: Grab rps.hw_lock around sandybridge_pcode_write()
v3: Rebase due to power well vs. .global_resources() reordering
v3: Rebased to the latest
--- drivers/gpu/drm/i915/i915_reg.h | 3 + drivers/gpu/drm/i915/intel_display.c | 140 ++++++++++++++++++++++++++++++++++- 2 files changed, 140 insertions(+), 3 deletions(-)
drivers/gpu/drm/i915/i915_reg.h +3 -0
@@ -6410,6 +6410,7 @@ enum skl_disp_power_wells {#define GEN6_PCODE_WRITE_D_COMP 0x11#define GEN6_ENCODE_RC6_VID (mv) (((mv) - 245) / 5)#define GEN6_DECODE_RC6_VID (vids) (((vids) * 5) + 245) +#define HSW_PCODE_DE_WRITE_FREQ_REQ 0x17#define DISPLAY_IPS_CONTROL 0x19#define HSW_PCODE_DYNAMIC_DUTY_CYCLE_CONTROL 0x1A#define GEN6_PCODE_DATA 0x138128
@@ -6859,10 +6860,12 @@ enum skl_disp_power_wells {#define LCPLL_PLL_LOCK (1<<30)#define LCPLL_CLK_FREQ_MASK (3<<26)#define LCPLL_CLK_FREQ_450 (0<<26) +#define LCPLL_CLK_FREQ_ALT_HSW (1<<26)/* 337.5 (ULX) or 540 */ #define LCPLL_CLK_FREQ_54O_BDW (1<<26)#define LCPLL_CLK_FREQ_337_5_BDW (2<<26)#define LCPLL_CLK_FREQ_675_BDW (3<<26)#define LCPLL_CD_CLOCK_DISABLE (1<<25) +#define LCPLL_ROOT_CD_CLOCK_DISABLE (1<<24)#define LCPLL_CD2X_CLOCK_DISABLE (1<<23)#define LCPLL_POWER_DOWN_ALLOW (1<<22)#define LCPLL_CD_SOURCE_FCLK (1<<21)
drivers/gpu/drm/i915/intel_display.c +137 -3
164 lines not on this page · raw message
Signature · 6 lines
1.9.1 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 11/14 drm/i915: Add IS_BDW_ULX
In reply to Mika KaholaWe need to tell BDW ULT and ULX apart.
--- drivers/gpu/drm/i915/i915_drv.h | 3 +++ 1 file changed, 3 insertions(+)
drivers/gpu/drm/i915/i915_drv.h +3 -0
@@ -2327,6 +2327,9 @@ struct drm_i915_cmd_table { ((INTEL_DEVID(dev) & 0xf) == 0x6 || \ (INTEL_DEVID(dev) & 0xf) == 0xb || \ (INTEL_DEVID(dev) & 0xf) == 0xe)) +/* ULX machines are also considered ULT. */ +#define IS_BDW_ULX (dev) (IS_BROADWELL(dev) && \ + (INTEL_DEVID(dev) & 0xf) == 0xe)#define IS_BDW_GT3 (dev) (IS_BROADWELL(dev) && \ (INTEL_DEVID(dev) & 0x00F0) == 0x0020)#define IS_HSW_ULT (dev) (IS_HASWELL(dev) && \
Signature · 6 lines
1.9.1 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 12/14 drm/i915: BDW clock change support
In reply to Mika KaholaAdd support for changing cdclk frequency during runtime on BDW. The procedure is quite a bit different on BDW from the one on HSW, so add a separate function for it.
Also with IPS enabled the actual pixel rate mustn't exceed 95% of cdclk, so take that into account when computing the max pixel rate.
v2: Grab rps.hw_lock around sandybridge_pcode_write()
v3: Rebase due to power well vs. .global_resources() reordering
v4: Rebased to the latest
--- drivers/gpu/drm/i915/i915_reg.h | 1 + drivers/gpu/drm/i915/intel_display.c | 138 ++++++++++++++++++++++++++++++----- 2 files changed, 122 insertions(+), 17 deletions(-)
drivers/gpu/drm/i915/i915_reg.h +1 -0
@@ -6411,6 +6411,7 @@ enum skl_disp_power_wells {#define GEN6_ENCODE_RC6_VID (mv) (((mv) - 245) / 5)#define GEN6_DECODE_RC6_VID (vids) (((vids) * 5) + 245)#define HSW_PCODE_DE_WRITE_FREQ_REQ 0x17 +#define BDW_PCODE_DISPLAY_FREQ_CHANGE_REQ 0x18#define DISPLAY_IPS_CONTROL 0x19#define HSW_PCODE_DYNAMIC_DUTY_CYCLE_CONTROL 0x1A#define GEN6_PCODE_DATA 0x138128
drivers/gpu/drm/i915/intel_display.c +121 -17
186 lines not on this page · raw message
Signature · 6 lines
1.9.1 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 13/14 drm/i915: Limit CHV max cdclk
In reply to Mika KaholaLimit CHV maximum cdclk to 320MHz.
--- drivers/gpu/drm/i915/intel_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/intel_display.c +1 -1
@@ -5239,7 +5239,7 @@ static void intel_update_max_cdclk(struct drm_device *dev)else dev_priv->max_cdclk_freq =540000 ; }else if (IS_VALLEYVIEW (dev)) { - dev_priv->max_cdclk_freq =400000 ; + dev_priv->max_cdclk_freq =IS_CHERRYVIEW (dev) ?320000 :400000 ; }else {/* otherwise assume cdclk is fixed */ dev_priv->max_cdclk_freq = dev_priv->cdclk_freq;
Signature · 6 lines
1.9.1 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 13/14] drm/i915: Limit CHV max cdclk
Quoted 3 lines · Mika Kahola
Limit CHV maximum cdclk to 320MHz.
Signed-off-by Mika Kahola <[email protected]>
Quoted 24 lines
--- drivers/gpu/drm/i915/intel_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/i915/intel_display.c +1
-1@@ -5239,7 +5239,7 @@ static void intel_update_max_cdclk(struct drm_device *dev)else dev_priv->max_cdclk_freq =540000 ; }else if (IS_VALLEYVIEW (dev)) { - dev_priv->max_cdclk_freq =400000 ; + dev_priv->max_cdclk_freq =IS_CHERRYVIEW (dev) ?320000 :400000 ; }else {/* otherwise assume cdclk is fixed */ dev_priv->max_cdclk_freq = dev_priv->cdclk_freq;Signature · 6 lines
1.9.1 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Signature · 6 lines
Ville Syrjälä Intel OTC _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 14/14 drm/i915: Modeset global_pipes() update
In reply to Mika KaholaCombined Valleyview, Haswell and Broadwell '*_modeset_global_pipes()' into one function 'intel_modeset_global_pipes()'
v2:
- we don't modify 'disable_pipes', so passing this as a pointer is removed (based on Ville's comment)
- introduced a new function 'intel_calc_cdclk()' that combines routines from 'valleyview_calc_cdclk()' and 'haswell_calc_cdclk()'
v3:
- Let's take a step back and not remove the routines 'valleyview_calc_cdclk()' and 'haswell_calc_cdclk()' from newly introduced routine 'intel_calc_cdclk()' (based on Ville's comment)
v4:
- Rebased to the latest
--- drivers/gpu/drm/i915/intel_display.c | 70 +++++++++++++++++------------------- 1 file changed, 32 insertions(+), 38 deletions(-)
drivers/gpu/drm/i915/intel_display.c +32 -38
@@ -5433,28 +5433,6 @@ static int intel_mode_max_pixclk(struct drm_atomic_state *state)return max_pixclk; } -static int valleyview_modeset_global_pipes (struct drm_atomic_state *state, -unsigned *prepare_pipes) -{ -struct drm_i915_private *dev_priv =to_i915 (state->dev); -struct intel_crtc *intel_crtc; -int max_pixclk =intel_mode_max_pixclk (state); - -if (max_pixclk <0 ) -return max_pixclk; - -if (valleyview_calc_cdclk (dev_priv, max_pixclk) == - dev_priv->cdclk_freq) -return 0 ; - -/* disable/enable all currently active pipes while we change cdclk */ -for_each_intel_crtc (state->dev, intel_crtc) -if (intel_crtc->base.state->enable) - *prepare_pipes |= (1 << intel_crtc->pipe); - -return 0 ; -} -static void vlv_program_pfi_credits (struct drm_i915_private *dev_priv) {unsigned int credits, default_credits;
@@ -9265,21 +9243,47 @@ static void broadwell_set_cdclk(struct drm_device *dev, int cdclk) cdclk, dev_priv->cdclk_freq); } -static void haswell_modeset_global_pipes (struct drm_atomic_state *state, -unsigned *prepare_pipes) +static int intel_calc_cdclk (struct drm_device *dev,int max_pixclk) +{ +struct drm_i915_private *dev_priv = dev->dev_private; +int cdclk =200000 ; + +if (IS_VALLEYVIEW (dev)) + cdclk =valleyview_calc_cdclk (dev_priv, max_pixclk); +else if (IS_HASWELL (dev) ||IS_BROADWELL (dev)) + cdclk =haswell_calc_cdclk (dev_priv, max_pixclk); + +return cdclk; +} + +static void intel_modeset_global_pipes (struct drm_atomic_state *state, +unsigned *prepare_pipes, +unsigned disable_pipes) {struct drm_device *dev = state->dev;struct drm_i915_private *dev_priv = dev->dev_private;struct intel_crtc *crtc; -int max_pixel_rate =ilk_max_pixel_rate (dev_priv); +int max_pixclk; -if (haswell_calc_cdclk (dev_priv, max_pixel_rate) == dev_priv->cdclk_freq) +/* this modeset is valid only for VLV, HSW, and BDW */ +if (!IS_VALLEYVIEW (dev) && !IS_HASWELL (dev) && !IS_BROADWELL (dev)) +return ; + +if (IS_VALLEYVIEW (dev)) + max_pixclk =intel_mode_max_pixclk (state); +else if (IS_HASWELL (dev) ||IS_BROADWELL (dev)) + max_pixclk =ilk_max_pixel_rate (dev_priv); + +if (intel_calc_cdclk (dev, max_pixclk) == dev_priv->cdclk_freq)return ;/* disable/enable all currently active pipes while we change cdclk */ for_each_intel_crtc (dev, crtc) -if (crtc->base.enabled) +if (crtc->base.state->enable) *prepare_pipes |=1 << crtc->pipe; + +/* may have added more to prepare_pipes than we should */ + *prepare_pipes &= ~disable_pipes; }static void haswell_modeset_global_resources (struct drm_atomic_state *state)
@@ -12453,17 +12457,7 @@ static int __intel_set_mode(struct drm_crtc *crtc,* mode set on this crtc. For other crtcs we need to use the * adjusted_mode bits in the crtc directly. */ -if (IS_VALLEYVIEW (dev) ||IS_HASWELL (dev) ||IS_BROADWELL (dev)) { -if (IS_VALLEYVIEW (dev)) -valleyview_modeset_global_pipes (state, &prepare_pipes); -else -haswell_modeset_global_pipes (state, &prepare_pipes); -if (ret) - goto done; - -/* may have added more to prepare_pipes than we should */ - prepare_pipes &= ~disable_pipes; - } +intel_modeset_global_pipes (state, &prepare_pipes, disable_pipes); ret =__intel_set_mode_setup_plls (state, modeset_pipes, disable_pipes);if (ret)
Signature · 6 lines
1.9.1 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 14/14] drm/i915: Modeset global_pipes() update
Quoted 14 lines · Mika Kahola
Combined Valleyview, Haswell and Broadwell '
*_modeset_global_pipes()' into one function 'intel_modeset_global_pipes()'v2:
- we don't modify 'disable_pipes', so passing this as a pointer is removed (based on Ville's comment)
- introduced a new function 'intel_calc_cdclk()' that combines routines from 'valleyview_calc_cdclk()' and 'haswell_calc_cdclk()'v3:
- Let's take a step back and not remove the routines 'valleyview_calc_cdclk()' and 'haswell_calc_cdclk()' from newly introduced routine 'intel_calc_cdclk()' (based on Ville's comment)
Quoted 4 lines
v4:
- Rebased to the latestSigned-off-by Mika Kahola <[email protected]>
Quoted 116 lines
--- drivers/gpu/drm/i915/intel_display.c | 70 +++++++++++++++++------------------- 1 file changed, 32 insertions(+), 38 deletions(-)drivers/gpu/drm/i915/intel_display.c +32
-38@@ -5433,28 +5433,6 @@ static int intel_mode_max_pixclk(struct drm_atomic_state *state)return max_pixclk; } -static int valleyview_modeset_global_pipes (struct drm_atomic_state *state, -unsigned *prepare_pipes) -{ -struct drm_i915_private *dev_priv =to_i915 (state->dev); -struct intel_crtc *intel_crtc; -int max_pixclk =intel_mode_max_pixclk (state); - -if (max_pixclk <0 ) -return max_pixclk; - -if (valleyview_calc_cdclk (dev_priv, max_pixclk) == - dev_priv->cdclk_freq) -return 0 ; - -/* disable/enable all currently active pipes while we change cdclk */ -for_each_intel_crtc (state->dev, intel_crtc) -if (intel_crtc->base.state->enable) - *prepare_pipes |= (1 << intel_crtc->pipe); - -return 0 ; -} -static void vlv_program_pfi_credits (struct drm_i915_private *dev_priv) {unsigned int credits, default_credits;@@ -9265,21 +9243,47 @@ static void broadwell_set_cdclk(struct drm_device *dev, int cdclk) cdclk, dev_priv->cdclk_freq); } -static void haswell_modeset_global_pipes (struct drm_atomic_state *state, -unsigned *prepare_pipes) +static int intel_calc_cdclk (struct drm_device *dev,int max_pixclk) +{ +struct drm_i915_private *dev_priv = dev->dev_private; +int cdclk =200000 ; + +if (IS_VALLEYVIEW (dev)) + cdclk =valleyview_calc_cdclk (dev_priv, max_pixclk); +else if (IS_HASWELL (dev) ||IS_BROADWELL (dev)) + cdclk =haswell_calc_cdclk (dev_priv, max_pixclk); + +return cdclk; +} + +static void intel_modeset_global_pipes (struct drm_atomic_state *state, +unsigned *prepare_pipes, +unsigned disable_pipes) {struct drm_device *dev = state->dev;struct drm_i915_private *dev_priv = dev->dev_private;struct intel_crtc *crtc; -int max_pixel_rate =ilk_max_pixel_rate (dev_priv); +int max_pixclk; -if (haswell_calc_cdclk (dev_priv, max_pixel_rate) == dev_priv->cdclk_freq) +/* this modeset is valid only for VLV, HSW, and BDW */ +if (!IS_VALLEYVIEW (dev) && !IS_HASWELL (dev) && !IS_BROADWELL (dev)) +return ; + +if (IS_VALLEYVIEW (dev)) + max_pixclk =intel_mode_max_pixclk (state); +else if (IS_HASWELL (dev) ||IS_BROADWELL (dev)) + max_pixclk =ilk_max_pixel_rate (dev_priv); + +if (intel_calc_cdclk (dev, max_pixclk) == dev_priv->cdclk_freq)return ;/* disable/enable all currently active pipes while we change cdclk */ for_each_intel_crtc (dev, crtc) -if (crtc->base.enabled) +if (crtc->base.state->enable) *prepare_pipes |=1 << crtc->pipe; + +/* may have added more to prepare_pipes than we should */ + *prepare_pipes &= ~disable_pipes; }static void haswell_modeset_global_resources (struct drm_atomic_state *state)@@ -12453,17 +12457,7 @@ static int __intel_set_mode(struct drm_crtc *crtc,* mode set on this crtc. For other crtcs we need to use the * adjusted_mode bits in the crtc directly. */ -if (IS_VALLEYVIEW (dev) ||IS_HASWELL (dev) ||IS_BROADWELL (dev)) { -if (IS_VALLEYVIEW (dev)) -valleyview_modeset_global_pipes (state, &prepare_pipes); -else -haswell_modeset_global_pipes (state, &prepare_pipes); -if (ret) - goto done; - -/* may have added more to prepare_pipes than we should */ - prepare_pipes &= ~disable_pipes; - } +intel_modeset_global_pipes (state, &prepare_pipes, disable_pipes); ret =__intel_set_mode_setup_plls (state, modeset_pipes, disable_pipes);if (ret)Signature · 6 lines
1.9.1 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Signature · 6 lines
Ville Syrjälä Intel OTC _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 14/14] drm/i915: Modeset global_pipes() update
In reply to Mika KaholaTask id: 6220 -------------------------------------Summary-------------------------------------
Platform Delta drm-intel-nightly Series Applied
PNV 276/276 276/276 ILK 302/302 302/302 SNB 318/318 318/318 IVB 341/341 341/341 BYT 287/287 287/287
HSW -2 395/395 393/395
BDW 318/318 318/318
-------------------------------------Detailed-------------------------------------
Platform Test drm-intel-nightly Series Applied
HSW igt@gem_pwrite_pread@snooped-copy-performance DMESG_WARN(1)PASS(5) DMESG_WARN(2)
(dmesg patch applied)drm:i915_hangcheck_elapsed[i915]]*ERROR*Hangcheck_timer_elapsed...blitter_ring_idle@Hangcheck timer elapsed... blitter ring idle
HSW igt@gem_pwrite_pread@snooped-pwrite-blt-cpu_mmap-performance DMESG_WARN(1)PASS(7) DMESG_WARN(1)PASS(1)
(dmesg patch applied)drm:i915_hangcheck_elapsed[i915]]*ERROR*Hangcheck_timer_elapsed...blitter_ring_idle@Hangcheck timer elapsed... blitter ring idle
Note: You need to pay more attention to line start with '*'
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Hi Mika,
Quoted 2 lines · Mika Kahola
This patch series rebases Ville's original cdclk patch series excluding the ones that have been reviewed.
I believe you still have the authorship problem in that series. It'll be great to have it fixed so Daniel doesn't pull those ones by mistake.
Thanks!
Signature · 6 lines
Damien _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Hi,
I forgot to update authorships. I'll fix this and resend the patch series.
Thanks for pointing this out!
-Mika-
Quoted 11 lines · Damien Lespiau
Hi Mika,
Quoted 2 lines · Mika Kahola
This patch series rebases Ville's original cdclk patch series excluding the ones that have been reviewed.
I believe you still have the authorship problem in that series. It'll be great to have it fixed so Daniel doesn't pull those ones by mistake.
Thanks!
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 6 lines · Mika Kahola
This patch series rebases Ville's original cdclk patch series
excluding the ones that have been reviewed.http://lists.freedesktop.org/archives/intel-gfx/2014-November/055633.html
The patches include modifications to
BTW it would be a good idaa to include some kind of version number note on the whole series as well. Otherwise it could get a bit hard to find out which was the latest one. So the usual form is
"[PATCH vN 00/MM] ..." or something like that.
Also 'git format-patch --cover-letter ...' will generate a reasonably nice template for your cover letter with shortlog included.
Quoted 20 lines
drm/i915: Fix
i855_get_display_clock_speed()drm/i915: Fix 852GM/GMV cdclk
drm/i915: Add cdclk extraction for g33, 965gm and g4x drm/i915: Warn when cdclk for the platforms is not known drm/i915: Cache the current cdclk frequency indev_privdrm/i915: Use cached cdclk value
drm/i915: Unify ilk and hsw .get_aux_clock_divider() drm/i915: Store max cdclk value indev_priv
drm/i915: Don't enable IPS when pixel rate exceeds 95% of cdclk drm/i915: HSW cdclk change support
drm/i915: AddIS_BDW_ULX()
drm/i915: BDW cdclk change support
drm/i915: Limit CHV max cdclk to 320 MHz
drm/i915: Modesetglobal_pipes()update_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Signature · 6 lines
Ville Syrjälä Intel OTC _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Jani Nikula
maintainerQuoted 4 lines · Ville Syrjälä
BTW it would be a good idaa to include some kind of version number note on the whole series as well. Otherwise it could get a bit hard to find out which was the latest one. So the usual form is
"[PATCH vN 00/MM] ..." or something like that.
Both git format-patch and send-email have -vN option to add that, e.g. -v2 for v2.
The old way was to use --subject-prefix="PATCH v2".
BR,
Jani.
Signature · 5 lines
Jani Nikula, Intel Open Source Technology Center _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx