Re: [Intel-gfx] [PATCH] drm/i915: Fix cursor visibility check with negative coordinates

2013-09-03 Thread Chris Wilson
On Mon, Sep 02, 2013 at 09:16:50PM +0300, ville.syrj...@linux.intel.com wrote: > From: Ville Syrjälä > > When the cursor x coordinate is exactly -cursor_width, the cursor is > invisible. And obviously the same holds for the y coordinate and > cursor_height. And similarly for the earlier x == fb-

Re: [Intel-gfx] [PATCH 03/12] drm/i915: Use adjusted_mode in HDMI 12bpc clock check

2013-09-03 Thread Daniel Vetter
On Mon, Sep 02, 2013 at 10:05:26PM +0300, Ville Syrjälä wrote: > On Mon, Sep 02, 2013 at 08:39:45PM +0200, Daniel Vetter wrote: > > On Mon, Sep 02, 2013 at 09:13:30PM +0300, ville.syrj...@linux.intel.com > > wrote: > > > From: Ville Syrjälä > > > > > > The pixel clock should come from adjusted_m

Re: [Intel-gfx] [PATCH 11/12] drm/i915: Add explicit pipe src size to pipe config

2013-09-03 Thread Daniel Vetter
On Mon, Sep 02, 2013 at 10:11:43PM +0300, Ville Syrjälä wrote: > On Mon, Sep 02, 2013 at 08:46:19PM +0200, Daniel Vetter wrote: > > On Mon, Sep 02, 2013 at 09:13:38PM +0300, ville.syrj...@linux.intel.com > > wrote: > > > From: Ville Syrjälä > > > > > > Rather that mess about with hdisplay/vdispl

Re: [Intel-gfx] [PATCH 3/5] drm/i915: Check pixel clock limits on pre-gen4

2013-09-03 Thread Daniel Vetter
On Mon, Sep 02, 2013 at 10:24:18PM +0300, Ville Syrjälä wrote: > On Mon, Sep 02, 2013 at 08:51:41PM +0200, Daniel Vetter wrote: > > On Mon, Sep 02, 2013 at 09:24:26PM +0300, ville.syrj...@linux.intel.com > > wrote: > > > From: Ville Syrjälä > > > > > > We don't want to try to push the hardware b

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Move Valleyview DP DPLL divisor calc to intel_dp_set_clock v2

2013-09-03 Thread Daniel Vetter
On Wed, Sep 04, 2013 at 01:30:38AM +0800, Chon Ming Lee wrote: > For DP pll settings, there is only two golden configs. Instead of > running through the algorithm to determine it, hardcode the value and get it > determine in intel_dp_set_clock. > > v2: Rework on the intel_limit compiler warning.

[Intel-gfx] [PATCH] drm/i915: Fix cursor visibility checks also for the right/bottom screen edges

2013-09-03 Thread ville . syrjala
From: Ville Syrjälä First of all we should not be looking at fb->{width,height} as those do not tell us what the actual pipe size is. Second of all we need to use >= for the comparison. So fix the comparison, and make use of the new pipe_src_{w,h} to determine the real pipe source dimensions. S

Re: [Intel-gfx] [PATCH] drm/i915: fix up the relocate_entry refactoring

2013-09-03 Thread Daniel Vetter
On Mon, Sep 02, 2013 at 08:58:03PM +0200, Daniel Vetter wrote: > Somehow we've lost the error handling in the patch split-up between > the internal and external patch. This regression has been introduced > in > > commit 5032d871f7d300aee10c309ea004eb4f851553fe > Author: Rafael Barbalho > Date:

Re: [Intel-gfx] [PATCH] drm/i915: Fix cursor visibility checks also for the right/bottom screen edges

2013-09-03 Thread Chris Wilson
On Tue, Sep 03, 2013 at 11:04:30AM +0300, ville.syrj...@linux.intel.com wrote: > From: Ville Syrjälä > > First of all we should not be looking at fb->{width,height} as those do > not tell us what the actual pipe size is. Second of all we need to use > >= for the comparison. > > So fix the compar

Re: [Intel-gfx] [PATCH 11/12] drm/i915: Add explicit pipe src size to pipe config

2013-09-03 Thread Ville Syrjälä
On Tue, Sep 03, 2013 at 09:52:40AM +0200, Daniel Vetter wrote: > On Mon, Sep 02, 2013 at 10:11:43PM +0300, Ville Syrjälä wrote: > > On Mon, Sep 02, 2013 at 08:46:19PM +0200, Daniel Vetter wrote: > > > On Mon, Sep 02, 2013 at 09:13:38PM +0300, ville.syrj...@linux.intel.com > > > wrote: > > > > From

[Intel-gfx] [PATCH] drm/i915: Document the use of requested_mode, adjusted_mode, and pipe_src_{w, h}

2013-09-03 Thread ville . syrjala
From: Ville Syrjälä Try to clarify the purpose of the two different modes we keep, and the pipe source size. Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/i915/intel_drv.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/gpu/drm/i915/intel_drv.h b/drivers/gpu/drm/i915

Re: [Intel-gfx] [PATCH 01/12] drm/i915: Grab the pixel clock from adjusted_mode not requested_mode

2013-09-03 Thread Ville Syrjälä
On Mon, Sep 02, 2013 at 08:38:16PM +0200, Daniel Vetter wrote: > On Mon, Sep 02, 2013 at 09:13:28PM +0300, ville.syrj...@linux.intel.com wrote: > > From: Ville Syrjälä > > > > intel_crtc_compute_config() and i9xx_set_pipeconf() attempt to get > > the current pixel clock from requested_mode. reque

[Intel-gfx] [PATCH] drm/i915: Kill IRONLAKE_FDI_FREQ check

2013-09-03 Thread ville . syrjala
From: Ville Syrjälä ironlake_fdi_compute_config() already checks that we have enough FDI bandwidth. And it doesn't just use a hardcoded value but takes into account factors such as the actual FDI frequency, shared FDI B/C lanes, etc. Suggested-by: Daniel Vetter Signed-off-by: Ville Syrjälä ---

Re: [Intel-gfx] [PATCH 01/12] drm/i915: Grab the pixel clock from adjusted_mode not requested_mode

2013-09-03 Thread Daniel Vetter
On Tue, Sep 03, 2013 at 01:01:14PM +0300, Ville Syrjälä wrote: > On Mon, Sep 02, 2013 at 08:38:16PM +0200, Daniel Vetter wrote: > > On Mon, Sep 02, 2013 at 09:13:28PM +0300, ville.syrj...@linux.intel.com > > wrote: > > > From: Ville Syrjälä > > > > > > intel_crtc_compute_config() and i9xx_set_pi

Re: [Intel-gfx] [PATCH] drm/i915: Kill IRONLAKE_FDI_FREQ check

2013-09-03 Thread Daniel Vetter
On Tue, Sep 03, 2013 at 01:31:38PM +0300, ville.syrj...@linux.intel.com wrote: > From: Ville Syrjälä > > ironlake_fdi_compute_config() already checks that we have enough > FDI bandwidth. And it doesn't just use a hardcoded value but takes > into account factors such as the actual FDI frequency, s

[Intel-gfx] [RFC PATCH 0/3] drm/i915: vlv backlight, per-pipe power sequencing fixes

2013-09-03 Thread Jani Nikula
Okay, I'm not overly confident about the correctness of this series, but here goes anyway. Cheers, Jani. Jani Nikula (3): drm/i915: move backlight enable later in vlv enable sequence drm/i915: clean up power sequencing register port select definitions drm/i915: add support for per-pipe pow

[Intel-gfx] [RFC PATCH 1/3] drm/i915: move backlight enable later in vlv enable sequence

2013-09-03 Thread Jani Nikula
Follow-up to commit 5004945f1d6c0282c0288afa89ad85d7f2bea4d5 Author: Jani Nikula Date: Tue Jul 30 12:20:32 2013 +0300 drm/i915: move encoder->enable callback later in VLV crtc enable Reference: http://mid.gmane.org/cakmk7ufs9emvmw8bns24e5unm1d7jrfvg3sd5sdftveamgf...@mail.gmail.com Signed-

[Intel-gfx] [RFC PATCH 2/3] drm/i915: clean up power sequencing register port select definitions

2013-09-03 Thread Jani Nikula
Remove dupes, add VLV port B. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/i915_reg.h |7 +-- drivers/gpu/drm/i915/intel_dp.c |4 ++-- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h index c7f2da3

[Intel-gfx] [RFC PATCH 3/3] drm/i915: add support for per-pipe power sequencing on vlv

2013-09-03 Thread Jani Nikula
VLV has per-pipe PP registers. Set up power sequencing on mode set. The connector init time setup is problematic, since we don't have a pipe at that time. Cook up something. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/intel_dp.c | 139 +++ 1 file chan

[Intel-gfx] [PATCH 1/2] drm/i915: do not update cursor in crtc mode set

2013-09-03 Thread Jani Nikula
The cursor is disabled before crtc mode set in crtc disable, and enabled afterwards in crtc enable. Do not update it in crtc mode set. Suggested-by: Ville Syrjälä Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/intel_display.c |9 - 1 file changed, 9 deletions(-) diff --git a/d

[Intel-gfx] [PATCH 2/2] drm/i915: clean up i9xx_crtc_mode_set wrt DSI and intel_crtc->config.clock_set

2013-09-03 Thread Jani Nikula
Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/intel_display.c | 44 +- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 120a004..f079475 100644 --- a/drivers/g

Re: [Intel-gfx] [PATCH 1/2] drm/i915: do not update cursor in crtc mode set

2013-09-03 Thread Chris Wilson
On Tue, Sep 03, 2013 at 02:48:13PM +0300, Jani Nikula wrote: > The cursor is disabled before crtc mode set in crtc disable, and enabled > afterwards in crtc enable. Do not update it in crtc mode set. > > Suggested-by: Ville Syrjälä > Signed-off-by: Jani Nikula Ok, but this would be better repla

Re: [Intel-gfx] [PATCH 01/12] drm/i915: Grab the pixel clock from adjusted_mode not requested_mode

2013-09-03 Thread Ville Syrjälä
On Tue, Sep 03, 2013 at 01:23:23PM +0200, Daniel Vetter wrote: > On Tue, Sep 03, 2013 at 01:01:14PM +0300, Ville Syrjälä wrote: > > On Mon, Sep 02, 2013 at 08:38:16PM +0200, Daniel Vetter wrote: > > > On Mon, Sep 02, 2013 at 09:13:28PM +0300, ville.syrj...@linux.intel.com > > > wrote: > > > > From

[Intel-gfx] [PATCH 0/2] drm/i915: adjusted_mode.clock vs. port_clock vs. pixel_multiplier

2013-09-03 Thread ville . syrjala
As I mentioned before, I'd like adjusted_mode.clock to be the pipe pixel clock. So to me it looks like all we need to do to store the pixel multiplied clock into port_clock, and then adjusted_mode.clock can stay as the non-multiplied pixel clock. Seems simple enough. But a big warning here, I di

[Intel-gfx] [PATCH 1/2] drm/i915: Don't factor in pixel multplier when deriving dotclock from link clock and M/N values

2013-09-03 Thread ville . syrjala
From: Ville Syrjälä We feed the non-multiplied clock to intel_link_compute_m_n(), so the opposite operation should use the same order of operations. So we just multiply by pixel_multiplier in the end now. Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/i915/intel_display.c | 15 +++---

[Intel-gfx] [PATCH 2/2] drm/i915: Make adjusted_mode.clock non-pixel multiplied

2013-09-03 Thread ville . syrjala
From: Ville Syrjälä It would be easier if adjusted_mode.clock would be the pipe pixel clock, and it actually is, except for the cases where pixel_multiplier > 1. So let's change intel_sdvo to use port_clock as the multiplied clock, and then we can leave adjusted_mode.clock as pipe pixel clock.

Re: [Intel-gfx] [PATCH] drm/i915: Fix cursor visibility checks also for the right/bottom screen edges

2013-09-03 Thread Daniel Vetter
On Tue, Sep 3, 2013 at 10:13 AM, Chris Wilson wrote: > On Tue, Sep 03, 2013 at 11:04:30AM +0300, ville.syrj...@linux.intel.com wrote: >> From: Ville Syrjälä >> >> First of all we should not be looking at fb->{width,height} as those do >> not tell us what the actual pipe size is. Second of all we

Re: [Intel-gfx] [PATCH 01/12] drm/i915: Grab the pixel clock from adjusted_mode not requested_mode

2013-09-03 Thread Daniel Vetter
On Tue, Sep 03, 2013 at 03:08:50PM +0300, Ville Syrjälä wrote: > On Tue, Sep 03, 2013 at 01:23:23PM +0200, Daniel Vetter wrote: > > On Tue, Sep 03, 2013 at 01:01:14PM +0300, Ville Syrjälä wrote: > > > On Mon, Sep 02, 2013 at 08:38:16PM +0200, Daniel Vetter wrote: > > > > On Mon, Sep 02, 2013 at 09:

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Make adjusted_mode.clock non-pixel multiplied

2013-09-03 Thread Daniel Vetter
On Tue, Sep 03, 2013 at 04:21:04PM +0300, ville.syrj...@linux.intel.com wrote: > From: Ville Syrjälä > > It would be easier if adjusted_mode.clock would be the pipe pixel clock, > and it actually is, except for the cases where pixel_multiplier > 1. > > So let's change intel_sdvo to use port_cloc

[Intel-gfx] [PATCH 1/3] drm/i915: Make intel_fuzzy_clock_check() take in arbitrary clocks

2013-09-03 Thread ville . syrjala
From: Ville Syrjälä We want to do fuzzy clock checks for other things besides adjusted_mode.clock, so just pass two two clocks to compare to intel_fuzzy_clock_check(). Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/i915/intel_display.c | 11 --- 1 file changed, 4 insertions(+), 7 del

[Intel-gfx] [PATCH 2/3] drm/i915: Add PIPE_CONF_CHECK_CLOCK_FUZZY()

2013-09-03 Thread ville . syrjala
From: Ville Syrjälä Add a new pipe config check macro PIPE_CONF_CHECK_CLOCK_FUZZY() to make it trivial and error proof to compare clocks in a fuzzy manner. Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/i915/intel_display.c | 24 ++-- 1 file changed, 14 insertions(+), 10

Re: [Intel-gfx] [PATCH 1/2] drm/i915: VBT's child_device_config changes over time

2013-09-03 Thread Rodrigo Vivi
As I told you in irc I'm not sure if the best option is to use common, raw and old, but since I don't have a better idea and while nobody else has, just to go ahead ;) And I liked very much the raw part, although I had to count the bytes amount on VBT doc when reviewing following patches ;) For t

[Intel-gfx] [PATCH 3/3] drm/i915: Add fuzzy clock check for port_clock

2013-09-03 Thread ville . syrjala
From: Ville Syrjälä Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/i915/intel_display.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index bfa531a..05ff91d 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++

[Intel-gfx] [PATCH 0/3] drm/i915: Fuzzy clock check for port_clock

2013-09-03 Thread ville . syrjala
As requested by Daniel. Totally untested as of now. ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx

[Intel-gfx] No fastboot on Debian 64 bits despite Linux 3.10 & xserver-xorg-video-intel 2.21.15 (IvyBridge)

2013-09-03 Thread thibaut bethune
Hi, I've read carefully the xf86-video-intel 2.21.11 announce on that mailing list with its fastboot promise. However i don't have it on my IvyBridge system with xserver-xorg-video-intel 2.21.15 - see my boot sequence video which resizes here : http://libre-ouvert.toile-libre.org/data/documents/M

Re: [Intel-gfx] [PATCH 2/3] drm/i915: add some assertions about VBT DDI port types

2013-09-03 Thread Rodrigo Vivi
Reviewed-by: Rodrigo Vivi On Wed, Aug 28, 2013 at 12:45 PM, Paulo Zanoni wrote: > From: Paulo Zanoni > > Our code makes a lot of assumptions regarding what each DDI port > actually supports, and the VBT should tell us what is really happening > in the hardware. So parse the information provided

Re: [Intel-gfx] [PATCH 6/8] drm/i915: Add bind/unbind object functions to VM

2013-09-03 Thread Chris Wilson
On Fri, Aug 30, 2013 at 08:40:36PM -0700, Ben Widawsky wrote: > On Sat, Aug 31, 2013 at 01:12:55AM +0100, Chris Wilson wrote: > > On Fri, Aug 30, 2013 at 04:43:59PM -0700, Ben Widawsky wrote: > > > From: Ben Widawsky > > > > > > As we plumb the code with more VM information, it has become more >

Re: [Intel-gfx] [PATCH 1/3] drm/i915: check the DDC and AUX bits of the VBT on DDI machines

2013-09-03 Thread Rodrigo Vivi
Reviewed-by: Rodrigo Vivi On Wed, Aug 28, 2013 at 12:45 PM, Paulo Zanoni wrote: > From: Paulo Zanoni > > Our code currently assumes that port X will use the DP AUX channel X > and the DDC pin X. The VBT should tell us how things are mapped, so > add some WARNs in case we discover our assumption

Re: [Intel-gfx] [PATCH 3/3] drm/i915: don't init DP or HDMI when not supported by DDI port

2013-09-03 Thread Rodrigo Vivi
Do we really trust VBT that much? Anyways, Reviewed-by: Rodrigo Vivi On Wed, Aug 28, 2013 at 12:45 PM, Paulo Zanoni wrote: > From: Paulo Zanoni > > There's no reason to init a DP connector if the encoder just supports > HDMI: we'll just waste hundreds and hundreds of cycles trying to do DP > A

Re: [Intel-gfx] [PATCH 2/2] drm/i915: use the HDMI DDI buffer translations from VBT

2013-09-03 Thread Rodrigo Vivi
On Wed, Aug 28, 2013 at 12:39 PM, Paulo Zanoni wrote: > From: Paulo Zanoni > > We currently use the recommended values from BSpec, but the VBT > specifies the correct value to use for the hardware we have, so use > it. We also fall back to the recommended value in case we can't find > the VBT. >

Re: [Intel-gfx] [PATCH 2/2] drm/i915: use the HDMI DDI buffer translations from VBT

2013-09-03 Thread Daniel Vetter
On Tue, Sep 03, 2013 at 11:37:27AM -0300, Rodrigo Vivi wrote: > On Wed, Aug 28, 2013 at 12:39 PM, Paulo Zanoni wrote: > > From: Paulo Zanoni > > > > We currently use the recommended values from BSpec, but the VBT > > specifies the correct value to use for the hardware we have, so use > > it. We a

Re: [Intel-gfx] [PATCH 1/8] drm/i915: Synchronize pread/pwrite with wait_rendering

2013-09-03 Thread Daniel Vetter
On Mon, Sep 02, 2013 at 04:12:36PM +0200, Daniel Vetter wrote: > On Mon, Sep 02, 2013 at 02:14:12PM +0100, Chris Wilson wrote: > > On Mon, Sep 02, 2013 at 08:32:24AM +0200, Daniel Vetter wrote: > > > On Fri, Aug 30, 2013 at 08:39:46PM -0700, Ben Widawsky wrote: > > > > On Sat, Aug 31, 2013 at 12:50

Re: [Intel-gfx] No fastboot on Debian 64 bits despite Linux 3.10 & xserver-xorg-video-intel 2.21.15 (IvyBridge)

2013-09-03 Thread Chris Wilson
On Mon, Sep 02, 2013 at 12:02:54PM +0200, thibaut bethune wrote: > Hi, > > I've read carefully the xf86-video-intel 2.21.11 announce on that > mailing list with its fastboot promise. > > However i don't have it on my IvyBridge system with > xserver-xorg-video-intel 2.21.15 - see my boot sequence

Re: [Intel-gfx] [PATCH 3/3] drm/i915: don't init DP or HDMI when not supported by DDI port

2013-09-03 Thread Paulo Zanoni
2013/9/3 Rodrigo Vivi : > Do we really trust VBT that much? We already trust it for some very important things, like eDP. Also, if the VBT is wrong we'll start seeing all sorts of WARNs due to the previous patches. Anyway, we can always revert... Thanks for the reviews! > > Anyways, > Reviewed-b

Re: [Intel-gfx] [PATCH] drm/i915: i915.disable_pch_pwm overrides PCH_PWM_ENABLE quirk

2013-09-03 Thread Daniel Vetter
On Tue, Sep 3, 2013 at 7:37 PM, Kamal Mostafa wrote: > BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=47941 > > Some BIOS configurations of Dell XPS13 are adversely affected by e85843b > ("drm/i915: quirk no PCH_PWM_ENABLE for Dell XPS13 backlight") so provide a > boot param to inhibit the q

[Intel-gfx] [PATCH] drm/i915: i915.disable_pch_pwm overrides PCH_PWM_ENABLE quirk

2013-09-03 Thread Kamal Mostafa
BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=47941 Some BIOS configurations of Dell XPS13 are adversely affected by e85843b ("drm/i915: quirk no PCH_PWM_ENABLE for Dell XPS13 backlight") so provide a boot param to inhibit the quirk, or force it on. i915.disable_pch_pwm can be set to -1:

Re: [Intel-gfx] [PATCH 1/2] drm/i915: handle sdvo input pixel multiplier correctly again

2013-09-03 Thread Ville Syrjälä
On Tue, Sep 03, 2013 at 08:40:36PM +0200, Daniel Vetter wrote: > The sdvo input timing needs to be the actual mode, the sdvo > encoder automatically adjusts for the need of pixel doubling or > quadrupling. This was lost in pipe config conversion of the > pixel multiplier in > > commit 6cc5f341b583

Re: [Intel-gfx] [PATCH] drm/i915: i915.disable_pch_pwm overrides PCH_PWM_ENABLE quirk

2013-09-03 Thread Kamal Mostafa
On Tue, 2013-09-03 at 19:50 +0200, Daniel Vetter wrote: > On Tue, Sep 3, 2013 at 7:37 PM, Kamal Mostafa wrote: > > BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=47941 > > > > Some BIOS configurations of Dell XPS13 are adversely affected by e85843b > > ("drm/i915: quirk no PCH_PWM_ENABLE for

Re: [Intel-gfx] [PATCH 1/2] drm/i915: handle sdvo input pixel multiplier correctly again

2013-09-03 Thread Daniel Vetter
On Tue, Sep 03, 2013 at 09:53:15PM +0300, Ville Syrjälä wrote: > On Tue, Sep 03, 2013 at 08:40:36PM +0200, Daniel Vetter wrote: > > The sdvo input timing needs to be the actual mode, the sdvo > > encoder automatically adjusts for the need of pixel doubling or > > quadrupling. This was lost in pipe

[Intel-gfx] [PATCH 1/2] drm/i915: handle sdvo input pixel multiplier correctly again

2013-09-03 Thread Daniel Vetter
The sdvo input timing needs to be the actual mode, the sdvo encoder automatically adjusts for the need of pixel doubling or quadrupling. This was lost in pipe config conversion of the pixel multiplier in commit 6cc5f341b5830541a1b6945435ca90c69b1b8b21 Author: Daniel Vetter Date: Wed Mar 27 00:4

[Intel-gfx] [PATCH 2/2] drm/i915: fix i9xx_crtc_clock_get for multiplied pixels

2013-09-03 Thread Daniel Vetter
The dpll actually runs at the port clock so we don't need to multiply it again with the pixel multiplier to get the adjusted_mode.clock. This is in contrast to the ironlake pixel clock readout code which uses the fdi dotclock: That one does _not_ run with multiplied pixels. This issue goes back to

[Intel-gfx] linus-next: update to the drm-intel-fixes tree

2013-09-03 Thread Stephen Rothwell
Hi Daniel, This morning after fetching the drm-intel-fixes tree, I have discovered that you have just added a whole set of patches on top of Dave's drm tree and made that the drm-intel-fixes tree. I understood that this tree was for fixes to Linus' tree for the current release cycle. Given that

Re: [Intel-gfx] [PATCH 1/8] drm/i915: Synchronize pread/pwrite with wait_rendering

2013-09-03 Thread Ben Widawsky
On Tue, Sep 03, 2013 at 06:08:19PM +0200, Daniel Vetter wrote: > On Mon, Sep 02, 2013 at 04:12:36PM +0200, Daniel Vetter wrote: > > On Mon, Sep 02, 2013 at 02:14:12PM +0100, Chris Wilson wrote: > > > On Mon, Sep 02, 2013 at 08:32:24AM +0200, Daniel Vetter wrote: > > > > On Fri, Aug 30, 2013 at 08:3

Re: [Intel-gfx] [PATCH 6/8] drm/i915: Add bind/unbind object functions to VM

2013-09-03 Thread Ben Widawsky
On Mon, Sep 02, 2013 at 03:46:52PM +0300, Ville Syrjälä wrote: > On Fri, Aug 30, 2013 at 04:43:59PM -0700, Ben Widawsky wrote: > > From: Ben Widawsky > > > > As we plumb the code with more VM information, it has become more > > obvious that the easiest way to deal with bind and unbind is to simpl