Re: [Intel-gfx] [PATCH] drm/i915: move infoframe setting to after pll enable v2

2014-04-05 Thread Jesse Barnes
On Sat, 5 Apr 2014 17:21:04 +0200 Daniel Vetter wrote: > On Fri, Apr 04, 2014 at 03:12:08PM -0700, Jesse Barnes wrote: > > Needs to happen after clock is running or it doesn't behave correctly. > > > > v2: fix subject (Ville) > > make it clearer that

[Intel-gfx] [PATCH 4/6] drm/i915: don't set sink DPMS status on eDP

2014-04-04 Thread Jesse Barnes
This only applies to external sinks. Signed-off-by: Jesse Barnes --- drivers/gpu/drm/i915/intel_dp.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c index 7642415..df7cc11 100644 --- a/drivers/gpu/drm

[Intel-gfx] [PATCH 1/6] drm/i915: use VBT to determine whether to enumerate the VGA port

2014-04-04 Thread Jesse Barnes
Some platforms may not have it, and enumerating it is both confusing and time consuming due to the hotplug and DDC probing. Signed-off-by: Jesse Barnes --- drivers/gpu/drm/i915/intel_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915

[Intel-gfx] [PATCH 6/6] drm/i915/vlv: re-order TX lane reset per latest spec

2014-04-04 Thread Jesse Barnes
This is supposed to fix some eDP PPS issues on some platforms. Signed-off-by: Jesse Barnes --- drivers/gpu/drm/i915/intel_dp.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c index 98cf24f..34d01be

[Intel-gfx] [PATCH 2/6] drm/i915: remove unnecessary delays in intel_dp_link_down

2014-04-04 Thread Jesse Barnes
The reason for these is lost in the mists of time, and they don't seem to be necessary anymore, so drop them. Signed-off-by: Jesse Barnes --- drivers/gpu/drm/i915/intel_dp.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel

[Intel-gfx] [PATCH 5/6] drm/i915/vlv: move DP enable after plane/pipe enable per latest spec

2014-04-04 Thread Jesse Barnes
The spec changed the order awhile back to put the ports at the end again, but we never updated. Things seem to work ok either way, but apparently there are some failures fixed by the new order, so let's just go ahead and do it. Signed-off-by: Jesse Barnes --- drivers/gpu/drm/i915/intel

[Intel-gfx] [PATCH 3/6] drm/i915: warn when a vblank wait times out

2014-04-04 Thread Jesse Barnes
This always indicates a bug somewhere. Signed-off-by: Jesse Barnes --- drivers/gpu/drm/i915/intel_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 6a6406f..c039f34 100644 --- a

[Intel-gfx] [PATCH] drm/i915: move infoframe setting to after pll enable v2

2014-04-04 Thread Jesse Barnes
Needs to happen after clock is running or it doesn't behave correctly. v2: fix subject (Ville) make it clearer that this occurs in pre_enable (Paulo) Signed-off-by: Jesse Barnes --- drivers/gpu/drm/i915/intel_hdmi.c | 18 -- 1 file changed, 16 insertions(+), 2 dele

[Intel-gfx] [PATCH] drm/i915: move infoframe setting to after pll enable v2

2014-04-04 Thread Jesse Barnes
Needs to happen after clock is running or it doesn't behave correctly. v2: fix subject (Ville) make it clearer that this occurs in pre_enable (Paulo) Signed-off-by: Jesse Barnes --- drivers/gpu/drm/i915/intel_hdmi.c | 18 -- 1 file changed, 16 insertions(+), 2 dele

Re: [Intel-gfx] [PATCH 4/4] drm/i915: move infoframe setting to after port enable

2014-04-03 Thread Jesse Barnes
On Thu, 3 Apr 2014 22:55:24 +0200 Daniel Vetter wrote: > On Thu, Apr 3, 2014 at 6:49 PM, Jesse Barnes wrote: > >> > static bool intel_hdmi_get_hw_state(struct intel_encoder *encoder, > >> > @@ -738,9 +736,13 @@ static void intel_enable_hdmi(struct int

Re: [Intel-gfx] [PATCH 4/4] drm/i915: move infoframe setting to after port enable

2014-04-03 Thread Jesse Barnes
On Thu, 3 Apr 2014 17:19:56 +0200 Daniel Vetter wrote: > On Wed, Apr 02, 2014 at 10:08:54AM -0700, Jesse Barnes wrote: > > Needs to happen after clock is running or it doesn't behave correctly. > > > > Signed-off-by: Jesse Barnes > > --- > > dr

Re: [Intel-gfx] [PATCH 4/6] drm/i915: Allow the module to load even if we fail to setup rings

2014-04-02 Thread Jesse Barnes
otherwise, but not for KMS. > */ > if (!drm_core_check_feature(dev, DRIVER_MODESET)) > dev_priv->dri1.allow_batchbuffer = 1; > - return 0; > + return ret; > } > > void Will we still have some loud spewing into the log in this case? If so, then Reviewed-by: Jesse Barnes -- Jesse Barnes, Intel Open Source Technology Center ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Re: [Intel-gfx] [PATCH 3/6] drm/i915: Preserve ring buffers objects across resume

2014-04-02 Thread Jesse Barnes
it looks like this will still tear things down on suspend? Maybe it's all the refactoring making me miss it. :) -- Jesse Barnes, Intel Open Source Technology Center ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Re: [Intel-gfx] [PATCH 2/6] drm/i915: Move all ring resets before setting the HWS page

2014-04-02 Thread Jesse Barnes
a/drivers/gpu/drm/i915/intel_ringbuffer.h > +++ b/drivers/gpu/drm/i915/intel_ringbuffer.h > @@ -34,6 +34,7 @@ struct intel_hw_status_page { > #define I915_WRITE_IMR(ring, val) I915_WRITE(RING_IMR((ring)->mmio_base), > val) > > #define I915_READ_MODE(ring) I915_READ(RING_MI_MODE((ring)->mmio_base)) > +#define I915_WRITE_MODE(ring, val) > I915_WRITE(RING_MI_MODE((ring)->mmio_base), val) > > enum intel_ring_hangcheck_action { > HANGCHECK_IDLE = 0, Bad Chris, mixing a nice refactor and a nice fix in the same patch. I'll still give you a cookie though. Reviewed-by: Jesse Barnes -- Jesse Barnes, Intel Open Source Technology Center ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Re: [Intel-gfx] [PATCH 1/6] drm/i915: Replace hardcoded cacheline size with macro

2014-04-02 Thread Jesse Barnes
> #include "i915_trace.h" > #include "intel_drv.h" > > +#define CACHELINE_BYTES 64 > + Are you sure it's 64 on every gen? It changes on the CPU side from time to time... I thought it might have changed over time on the GPU too but I haven't checked the s

Re: [Intel-gfx] [PATCH 6/7] drm/i915: Fix framecount offset

2014-04-02 Thread Jesse Barnes
IPE2(pipe, _PIPEA_FRMCOUNT_GM45) > > /* Cursor A & B regs */ > #define _CURACNTR (dev_priv->info.display_mmio_offset + 0x70080) Oh fun. Reviewed-by: Jesse Barnes -- Jesse Barnes, Intel Open Source Technology Center ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Re: [Intel-gfx] [PATCH 5/7] drm/i915: Provide a bit more info when pipestat bits are wrong

2014-04-02 Thread Jesse Barnes
gt; + "pipe %c: enable_mask=0x%x, status_mask=0x%x\n", > + pipe, enable_mask, status_mask)) > return; > > if ((pipestat & enable_mask) == 0) Reviewed-by: Jesse Barnes -- Jesse Barnes, Intel Open Source Technology Center ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Re: [Intel-gfx] [PATCH 4/7] drm/i915: Warn when DPIO read returns 0xffffffff

2014-04-02 Thread Jesse Barnes
reg 0x%x == 0x%x\n", > + pipe_name(pipe), reg, val); > + > return val; > } > Reviewed-by: Jesse Barnes -- Jesse Barnes, Intel Open Source Technology Center ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Re: [Intel-gfx] [PATCH 2/7] drm/i915: Move DP M/N setup from update_pll to mode_set for gmch platforms

2014-04-02 Thread Jesse Barnes
PE_B; > } > > + if (intel_crtc->config.has_dp_encoder) > + intel_dp_set_m_n(intel_crtc); > + > intel_set_pipe_timings(intel_crtc); > > /* pipesrc and dspsize control the size that is scaled from, Yeah I like it. Reviewed-by: Je

Re: [Intel-gfx] [PATCH 1/4] drm/i915/vlv: write the port field in the per-pipe DIP control reg

2014-04-02 Thread Jesse Barnes
These all have a Tested-by: "Joon Jung " too. -- Jesse Barnes, Intel Open Source Technology Center ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx

[Intel-gfx] [PATCH 2/4] drm/i915/vlv: disable AVI infoframe emission when writing infoframes

2014-04-02 Thread Jesse Barnes
We also do a disable later when we write a specific infoframe, but here we do it to prevent sending a stale one before updating the infoframes. Signed-off-by: Jesse Barnes --- drivers/gpu/drm/i915/intel_hdmi.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers

[Intel-gfx] [PATCH 4/4] drm/i915: move infoframe setting to after port enable

2014-04-02 Thread Jesse Barnes
Needs to happen after clock is running or it doesn't behave correctly. Signed-off-by: Jesse Barnes --- drivers/gpu/drm/i915/intel_hdmi.c |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_hdmi.c b/drivers/gpu/drm/i915/intel_hdmi.c

[Intel-gfx] [PATCH 3/4] drm/i915: enable HDMI mode on VLV when an HDMI sink is detected

2014-04-02 Thread Jesse Barnes
Allows sending of the null packets for conformance. Signed-off-by: Jesse Barnes --- drivers/gpu/drm/i915/intel_hdmi.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_hdmi.c b/drivers/gpu/drm/i915/intel_hdmi.c index 3b804fc..fb9839b 100644

[Intel-gfx] [PATCH 1/4] drm/i915/vlv: write the port field in the per-pipe DIP control reg

2014-04-02 Thread Jesse Barnes
In case we end up bouncing these around between ports. Signed-off-by: Jesse Barnes --- drivers/gpu/drm/i915/intel_hdmi.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/gpu/drm/i915/intel_hdmi.c b/drivers/gpu/drm/i915/intel_hdmi.c index b0413e1..ee892a4 100644 --- a

Re: [Intel-gfx] [PATCH] Revert "drm/i915/vlv: fixup DDR freq detection per Punit spec"

2014-04-02 Thread Jesse Barnes
, Turbo freqs used on current machines matches. > --- I don't know what to do about this... I don't have a bunch of machines to test with, and the docs say different. But if you have feedback from the hw guys, I guess Acked-by: Jesse Barnes -- Jesse Barnes, I

Re: [Intel-gfx] [PATCH] drm/i915: Fix the computation of required fb size for pipe

2014-04-02 Thread Jesse Barnes
gt; > > > > > commit d978ef14456a38034f6c0e94a794129501f89200 > > > Author: Jesse Barnes > > > Date: Fri Mar 7 08:57:51 2014 -0800 > > > > > > drm/i915: Wrap the preallocated BIOS framebuffer and preserve for KMS > > > fbcon v12 > > > > > > is to

Re: [Intel-gfx] [PATCH 3/3] drm/i915/vlv: use min brightness from VBT

2014-04-01 Thread Jesse Barnes
On Tue, 01 Apr 2014 11:08:13 +0300 Jani Nikula wrote: > On Mon, 31 Mar 2014, Jesse Barnes wrote: > > Going below the minimum value may affect the BLC_EN line, so try to use > > the VBT provided minimum where possible, otherwise use an experimentally > > derived value to p

Re: [Intel-gfx] [PATCH 1/3] drm/i915: add PWM and BLC assertion checks

2014-04-01 Thread Jesse Barnes
On Tue, 01 Apr 2014 12:27:43 +0300 Jani Nikula wrote: > On Tue, 01 Apr 2014, Jani Nikula wrote: > > On Mon, 31 Mar 2014, Jesse Barnes wrote: > >> To make sure we properly follow the enable/disable sequences. > >> > >> Signed-off-by: Jesse Barnes > >&

Re: [Intel-gfx] [PATCH 1/3] drm/i915: add PWM and BLC assertion checks

2014-04-01 Thread Jesse Barnes
On Tue, 01 Apr 2014 10:19:29 +0300 Jani Nikula wrote: > On Mon, 31 Mar 2014, Jesse Barnes wrote: > > To make sure we properly follow the enable/disable sequences. > > > > Signed-off-by: Jesse Barnes > > --- > > driver

Re: [Intel-gfx] [PATCH 3/3] drm/i915/vlv: use min brightness from VBT

2014-03-31 Thread Jesse Barnes
On Mon, 31 Mar 2014 21:07:04 +0200 Daniel Vetter wrote: > On Mon, Mar 31, 2014 at 11:13:57AM -0700, Jesse Barnes wrote: > > Going below the minimum value may affect the BLC_EN line, so try to use > > the VBT provided minimum where possible, otherwise use an experimentally >

Re: [Intel-gfx] [PATCH] drm/edid: Populate picture aspect ratio for CEA modes

2014-03-31 Thread Jesse Barnes
nfoframe. > > > > v2: Ville's inputs incorporated. Added picture aspect ratio as part of > > edid_cea_modes instead of DRM_MODE > > > > Signed-off-by: Vandana Kannan > > Reviewed-by: Alex Deucher > > Reviewed-by: Ville Syrjälä Note this one is neede

Re: [Intel-gfx] [PATCH] drm/edid: Fill PAR in AVI infoframe based on CEA mode list

2014-03-31 Thread Jesse Barnes
tions are > satisfied, PAR is NONE as per initialization. > > As a next step, create a property that would enable a user space app to set > aspect ratio. (will be pushed as a separate patch) > > Signed-off-by: Vandana Kannan > Cc: Jesse Barnes > Cc: Vijay Purushothaman >

[Intel-gfx] [PATCH 3/3] drm/i915/vlv: use min brightness from VBT

2014-03-31 Thread Jesse Barnes
Going below the minimum value may affect the BLC_EN line, so try to use the VBT provided minimum where possible, otherwise use an experimentally derived value to prevent the panel from coming up. Signed-off-by: Jesse Barnes --- drivers/gpu/drm/i915/i915_drv.h| 1 + drivers/gpu/drm/i915

[Intel-gfx] [PATCH 1/3] drm/i915: add PWM and BLC assertion checks

2014-03-31 Thread Jesse Barnes
To make sure we properly follow the enable/disable sequences. Signed-off-by: Jesse Barnes --- drivers/gpu/drm/i915/intel_dp.c| 62 -- drivers/gpu/drm/i915/intel_drv.h | 1 + drivers/gpu/drm/i915/intel_panel.c | 5 ++- 3 files changed, 65 insertions

[Intel-gfx] [PATCH 2/3] drm/i915: correct BLC vs PWM enable/disable ordering

2014-03-31 Thread Jesse Barnes
With the new checks in place, we can see we're doing things backwards, so fix them up per the spec. Signed-off-by: Jesse Barnes --- drivers/gpu/drm/i915/intel_dp.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gp

Re: [Intel-gfx] [PATCH 3/3] drm/i915: Make sure vsyncshift is positive

2014-03-28 Thread Jesse Barnes
->gen > 3) Funky indeed. I wonder if we should congratulate the user if we detect this configuration. "Achievement unlocked: funky mode timings!". Reviewed-by: Jesse Barnes -- Jesse Barnes, Intel Open Source Technology Center ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Re: [Intel-gfx] [PATCH 2/3] drm/i915: Fix the interlace mode selection for gmch platforms

2014-03-28 Thread Jesse Barnes
ited_color_range) Hooray for SDVO. I really hope no one tries to do that on VLV... (afaik it's unsupported but who knows the hw might work if someone solders such a board together). Reviewed-by: Jesse Barnes -- Jesse Barnes, Intel Open Source Technology Center ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Re: [Intel-gfx] [PATCH 1/3] drm/i915: Program VSYNCSHIFT in a more consistent manner

2014-03-28 Thread Jesse Barnes
intel_pipe_has_type(&intel_crtc->base, INTEL_OUTPUT_SDVO)) > + vsyncshift = (adjusted_mode->crtc_htotal - 1) / 2; > + else > + vsyncshift = adjusted_mode->crtc_hsync_start - > + adjusted_mode->crtc_htotal / 2; > } >

[Intel-gfx] [PATCH] drm/i915/vlv: use W_SYNC_SHIFT for interlaced modes on VLV

2014-03-27 Thread Jesse Barnes
This makes HDMI testers happier on VLV platforms. It may be that we need it for any non-SVO platform, but I don't have any tests to back that up, so I'm leaving other pre-ILK platforms alone for now. Tested-by: "Clint Taylor " Signed-off-by: Jesse Barnes ---

Re: [Intel-gfx] [PATCH 11/11] [v4] drm/i915/bdw: Ensure a context is loaded before RC6

2014-03-20 Thread Jesse Barnes
On Thu, 20 Mar 2014 10:30:32 -0700 Jesse Barnes wrote: > On Thu, 20 Mar 2014 14:42:32 +0100 > Daniel Vetter wrote: > > > On Wed, Mar 19, 2014 at 05:41:37PM -0700, Ben Widawsky wrote: > > > I can't say it's completely unexpected that this would be your respons

Re: [Intel-gfx] [PATCH 11/11] [v4] drm/i915/bdw: Ensure a context is loaded before RC6

2014-03-20 Thread Jesse Barnes
imitive emission seems like it's going to keep power consumption in a terrible state on BDW for the forseeable future... moreover I guess this is something we need going back forever for RC6 stability, at least according to the hw team. So rather than blocking this, maybe we should commit it for all platforms! -- Jesse Barnes, Intel Open Source Technology Center ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Re: [Intel-gfx] [PATCH] drm/i915: Add a DRM property "psr"

2014-03-18 Thread Jesse Barnes
Chromium for disabling PSR in cases where it doesn't work? Or to optimize power consumption when the kernel driver gets it wrong? Or just for debug? Seems potentially useful, just curious what motivated you guys. Thanks, -- Jesse Barnes, Intel Open Source Technology Center _

Re: [Intel-gfx] [PATCH 12/26] drm/i915: Page table helpers, and define renames

2014-03-18 Thread Jesse Barnes
g the pd_mask. > > > + i915_pte_index(addr, pde_shift); > > + > > + return i915_pte_index(end, pde_shift) - i915_pte_index(addr, pde_shift); > > +} > > Otherwise the helpers look a useful improvement in readability. > -Chris > Can we use GTT_PAGE_SIZE here too? I'm worried the kernel PAGE_SIZE will change at some point and blow us up. At least in places where we're doing our own thing rather than using the x86 bits... -- Jesse Barnes, Intel Open Source Technology Center ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Re: [Intel-gfx] [PATCH] drm/i915/vlv: no MCHBAR on VLV

2014-03-18 Thread Jesse Barnes
Junxiao, can you add you reviewed-by to this patch? Thanks, Jesse On Mon, 3 Mar 2014 14:27:57 -0800 Jesse Barnes wrote: > So don't try to allocate and program it, we're only fooling ourselves. > > Reported-by: "Chang, Junxiao" > Signed-off-by: Jesse Barne

[Intel-gfx] [PATCH 4/4] drm/i915: enable fastboot by default

2014-03-15 Thread Jesse Barnes
Let them eat cake. Signed-off-by: Jesse Barnes --- drivers/gpu/drm/i915/i915_params.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/i915_params.c b/drivers/gpu/drm/i915/i915_params.c index a66ffb6..5f81047 100644 --- a/drivers/gpu/drm/i915

[Intel-gfx] [PATCH 3/4] drm/i915: use current mode if the size matches the preferred mode

2014-03-15 Thread Jesse Barnes
From: Kristian Høgsberg The BIOS may set a native mode that doesn't quite match the preferred mode timings. It should be ok to use however if it uses the same size, so try to avoid a mode set in that case. Signed-off-by: Kristian Høgsberg Signed-off-by: Jesse Barnes --- drivers/gp

[Intel-gfx] [PATCH 2/4] drm/i915: don't bother enabling swizzle bits on gen7+ v2

2014-03-15 Thread Jesse Barnes
As of IVB, the memory controller does internal swizzling already, so we shouldn't need to enable these. Based on an earlier fix from Kristian. v2: preserve swizzling if BIOS had it set (Daniel) Reported-by: Kristian Høgsberg Signed-off-by: Jesse Barnes --- drivers/gpu/drm/i915/i915_

[Intel-gfx] [PATCH 1/4] drm/i915: preserve SSC if previously set v2

2014-03-15 Thread Jesse Barnes
) Reported-by: Kristian Høgsberg Signed-off-by: Jesse Barnes --- drivers/gpu/drm/i915/i915_drv.h |2 ++ drivers/gpu/drm/i915/intel_display.c | 11 ++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915

Re: [Intel-gfx] [PATCH] drm/i915: Fix runtime pm inbalance due to reg I/O forcewake dance

2014-03-14 Thread Jesse Barnes
t; > > That's what I meant. No delayed runtime_pm_put. > > Well I've figured we want to keep this ... have things changed > sufficiently meanwhile? I've lost a bit track in all that recent > shuffling ... Can we pull the forcewake bits out of the reg functions and

Re: [Intel-gfx] [RFC] Documentation requirements for drm/i915 feature work

2014-03-14 Thread Jesse Barnes
On Fri, 14 Mar 2014 19:16:01 +0100 Daniel Vetter wrote: > On Fri, Mar 14, 2014 at 7:03 PM, Jesse Barnes > wrote: > > Yeah just saying a man page should be required as part of any new > > ioctl. > > Yeah I agree and long-term we'll get there. Otherwise I wouldn

Re: [Intel-gfx] [RFC] Documentation requirements for drm/i915 feature work

2014-03-14 Thread Jesse Barnes
On Fri, 14 Mar 2014 19:00:46 +0100 Daniel Vetter wrote: > On Fri, Mar 14, 2014 at 6:06 PM, Jesse Barnes > wrote: > >> 3) Documentating userspace ABIs like ioctls structures&flags, properties > >> and so on. > >> > >> I have no idea how to do 3

Re: [Intel-gfx] [RFC] Documentation requirements for drm/i915 feature work

2014-03-14 Thread Jesse Barnes
n page updates. We need to be good about catching this on review for new stuff. For older stuff I think there was a bit of momentum awhile back, but it seems to have dissipated. We could try to extract it from kernel source somehow, but for user API stuff, I think we really want man pages in li

Re: [Intel-gfx] [PATCH 6/8] drm/i915: don't bother enabling swizzle bits on gen7+

2014-03-09 Thread Jesse Barnes
On Sat, 8 Mar 2014 11:36:24 +0100 Daniel Vetter wrote: > On Fri, Mar 07, 2014 at 08:57:53AM -0800, Jesse Barnes wrote: > > As of IVB, the memory controller does internal swizzling already, so we > > shouldn't need to enable these. Based on an earlier fix from Kristian.

Re: [Intel-gfx] [PATCH 8/8] drm/i915: remove early fb allocation dependency on CONFIG_FB v2

2014-03-09 Thread Jesse Barnes
On Sat, 8 Mar 2014 11:33:15 +0100 Daniel Vetter wrote: > On Fri, Mar 07, 2014 at 08:57:55AM -0800, Jesse Barnes wrote: > > By stuffing the fb allocation into the crtc, we get mode set lifetime > > refcounting for free, but have to handle the initial pin & fence > > sligh

[Intel-gfx] [PATCH 2/8] drm/i915: get_plane_config for i9xx v13

2014-03-07 Thread Jesse Barnes
S fbs (Kristian) pull out common bits (Jesse) v13: move fb obj alloc out to _init Signed-off-by: Jesse Barnes --- drivers/gpu/drm/i915/intel_display.c | 63 1 file changed, 63 insertions(+) diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm

[Intel-gfx] [PATCH 7/8] drm/i915: use current mode if the size matches the preferred mode

2014-03-07 Thread Jesse Barnes
From: Kristian Høgsberg The BIOS may set a native mode that doesn't quite match the preferred mode timings. It should be ok to use however if it uses the same size, so try to avoid a mode set in that case. Signed-off-by: Kristian Høgsberg Signed-off-by: Jesse Barnes --- drivers/gp

[Intel-gfx] [PATCH 5/8] drm/i915: preserve SSC if previously set

2014-03-07 Thread Jesse Barnes
Some machines may have a broken VBT or no VBT at all, but we still want to use SSC there. So check for it and keep it enabled if we see it already on. Based on an earlier fix from Kristian. Reported-by: Kristian Høgsberg Signed-off-by: Jesse Barnes --- drivers/gpu/drm/i915/intel_display.c

[Intel-gfx] [PATCH 4/8] drm/i915: Wrap the preallocated BIOS framebuffer and preserve for KMS fbcon v12

2014-03-07 Thread Jesse Barnes
nditional (Daniel) v12:fix up fb vs pipe size checking (Chris) Signed-off-by: Jesse Barnes --- drivers/gpu/drm/i915/intel_display.c | 1 - drivers/gpu/drm/i915/intel_drv.h | 1 + drivers/gpu/drm/i915/intel_fbdev.c | 174 +-- 3 files changed, 166 insertio

[Intel-gfx] [PATCH 8/8] drm/i915: remove early fb allocation dependency on CONFIG_FB v2

2014-03-07 Thread Jesse Barnes
n error (Daniel) take fbdev fb ref and remove unused error path (Daniel) Requested-by: Daniel Vetter Signed-off-by: Jesse Barnes --- drivers/gpu/drm/i915/intel_display.c | 145 --- drivers/gpu/drm/i915/intel_drv.h | 1 - drivers/gpu/drm/i915/intel_

[Intel-gfx] [PATCH 6/8] drm/i915: don't bother enabling swizzle bits on gen7+

2014-03-07 Thread Jesse Barnes
As of IVB, the memory controller does internal swizzling already, so we shouldn't need to enable these. Based on an earlier fix from Kristian. Reported-by: Kristian Høgsberg Signed-off-by: Jesse Barnes --- drivers/gpu/drm/i915/i915_gem.c| 7 +++ drivers/gpu/drm

[Intel-gfx] [PATCH 1/8] drm/i915: add plane_config fetching infrastructure v2

2014-03-07 Thread Jesse Barnes
Early at init time, we can try to read out the plane config structure and try to preserve it if possible. v2: alloc fb obj at init time after fetching plane config Signed-off-by: Jesse Barnes --- drivers/gpu/drm/i915/i915_drv.h | 3 ++ drivers/gpu/drm/i915/intel_display.c | 92

[Intel-gfx] [PATCH 3/8] drm/i915: get_plane_config support for ILK+ v3

2014-03-07 Thread Jesse Barnes
This should allow BIOS fb inheritance to work on ILK+ machines too. v2: handle tiled BIOS fbs (Kristian) split out common bits (Jesse) v3: alloc fb obj out in _init Signed-off-by: Jesse Barnes --- drivers/gpu/drm/i915/intel_display.c | 62 1 file

Re: [Intel-gfx] [PATCH v8 3/5] drm/i915: Make sprite updates atomic

2014-03-07 Thread Jesse Barnes
t; 16) | crtc_x); > > @@ -492,6 +612,9 @@ ilk_update_plane(struct drm_plane *plane, struct drm_crtc > *crtc, > I915_WRITE(DVSSURF(pipe), > i915_gem_obj_ggtt_offset(obj) + dvssurf_offset); > POSTING_READ(DVSSURF(pipe)); > + > + if (atomic_update) > + intel_pipe_update_end(intel_crtc, start_vbl_count); > } > > static void > @@ -500,7 +623,12 @@ ilk_disable_plane(struct drm_plane *plane, struct > drm_crtc *crtc) > struct drm_device *dev = plane->dev; > struct drm_i915_private *dev_priv = dev->dev_private; > struct intel_plane *intel_plane = to_intel_plane(plane); > + struct intel_crtc *intel_crtc = to_intel_crtc(crtc); > int pipe = intel_plane->pipe; > + u32 start_vbl_count; > + bool atomic_update; > + > + atomic_update = intel_pipe_update_start(intel_crtc, &start_vbl_count); > > I915_WRITE(DVSCNTR(pipe), I915_READ(DVSCNTR(pipe)) & ~DVS_ENABLE); > /* Disable the scaler */ > @@ -509,6 +637,9 @@ ilk_disable_plane(struct drm_plane *plane, struct > drm_crtc *crtc) > I915_WRITE(DVSSURF(pipe), 0); > POSTING_READ(DVSSURF(pipe)); > > + if (atomic_update) > + intel_pipe_update_end(intel_crtc, start_vbl_count); > + > /* >* Avoid underruns when disabling the sprite. >* FIXME remove once watermark updates are done properly. Yeah looks like this will work ok. I don't understand the prepare_to_wait() comment, since we're both holding the crtc mutex and prepare_to_wait() will take the crtc vbl_wait queue lock, but since things look safe as-is I guess it's not a big deal. Reviewed-by: Jesse Barnes -- Jesse Barnes, Intel Open Source Technology Center ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Re: [Intel-gfx] [PATCH v2 21/21] drm/i915: power domains: add vlv power wells

2014-03-06 Thread Jesse Barnes
VLV_DPIO_TX_C_LANES_01_POWER_DOMAINS | > +VLV_DPIO_TX_C_LANES_23_POWER_DOMAINS, > + .ops = &vlv_dpio_power_well_ops, > + .data = PUNIT_POWER_WELL_DPIO_TX_C_LANES_01, > + }, > + { > + .name = "dpio-tx-c-23", > +

Re: [Intel-gfx] [PATCH v2 20/21] drm/i915: factor out intel_set_cpu_fifo_underrun_reporting_nolock

2014-03-06 Thread Jesse Barnes
= intel_set_cpu_fifo_underrun_reporting_nolock(dev, pipe, enable); > spin_unlock_irqrestore(&dev_priv->irq_lock, flags); > + > return ret; > } > Funky how diff left the spin_unlock line alone. :) Reviewed-by: Jesse Barnes -- Jesse Barnes, Intel Open Source Technology Center ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Re: [Intel-gfx] [PATCH v2 19/21] drm/i915: move hsw power domain comment to its right place

2014-03-06 Thread Jesse Barnes
ng it to be enabled. > - */ > void intel_power_domains_init_hw(struct drm_i915_private *dev_priv) > { > /* For now, we need the power well to be always enabled. */ Reviewed-by: Jesse Barnes -- Jesse Barnes, Intel Open Source Technology Center ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Re: [Intel-gfx] [PATCH v2 18/21] drm/i915: vlv: factor out valleyview_display_irq_install

2014-03-06 Thread Jesse Barnes
dev_priv->display_irqs_enabled = true; > + > + if (dev_priv->dev->irq_enabled) > + valleyview_display_irqs_install(dev_priv); > +} This made me do a double take, then I saw you were checking the actual drm_device irq enabled state rather than checking the new

Re: [Intel-gfx] [PATCH v3 10/21] drm/i915: check port power domain when reading the encoder hw state

2014-03-06 Thread Jesse Barnes
enc_to_intel_hdmi(&encoder->base); > + enum intel_display_power_domain power_domain; > u32 tmp; > > + power_domain = intel_display_port_power_domain(encoder); > + if (!intel_display_power_enabled(dev_priv, power_domain)) > + return false; &g

Re: [Intel-gfx] [PATCH v3 09/21] drm/i915: get port power domain in connector detect handlers

2014-03-06 Thread Jesse Barnes
ret; > } > > static bool > intel_hdmi_detect_audio(struct drm_connector *connector) > { > - struct intel_hdmi *intel_hdmi = intel_attached_hdmi(connector); > + struct intel_encoder *intel_encoder = intel_attached_encoder(connector); > + struct intel_hdmi *intel_hdmi = enc_to_intel_hdmi(&intel_encoder->base); > struct drm_i915_private *dev_priv = connector->dev->dev_private; > + enum intel_display_power_domain power_domain; > struct edid *edid; > bool has_audio = false; > > + power_domain = intel_display_port_power_domain(intel_encoder); > + intel_display_power_get(dev_priv, power_domain); > + > edid = drm_get_edid(connector, > intel_gmbus_get_adapter(dev_priv, > intel_hdmi->ddc_bus)); > @@ -975,6 +996,8 @@ intel_hdmi_detect_audio(struct drm_connector *connector) > kfree(edid); > } > > + intel_display_power_put(dev_priv, power_domain); > + > return has_audio; > } > Reviewed-by: Jesse Barnes -- Jesse Barnes, Intel Open Source Technology Center ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Re: [Intel-gfx] [PATCH v2 17/21] drm/i915: sanity check power well sw state against hw state

2014-03-06 Thread Jesse Barnes
->count); > > - if (!--power_well->count && i915.disable_power_well) > + if (!--power_well->count && i915.disable_power_well) { > + DRM_DEBUG_KMS("disabling %s\n", power_well->name); > po

Re: [Intel-gfx] [PATCH v2 14/21] drm/i915: factor out reset_vblank_counter

2014-03-06 Thread Jesse Barnes
each_pipe(pipe) > + if (pipe != PIPE_A) > + reset_vblank_counter(dev, pipe); > spin_unlock_irqrestore(&dev->vbl_lock, irqflags); > } > Reviewed-by: Jesse Barnes -- Jesse Barnes, Intel Open Source Technology Center ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Re: [Intel-gfx] [PATCH v2 12/21] drm/i915: vlv: keep first level vblank IRQs masked

2014-03-06 Thread Jesse Barnes
e. > - */ > - dev_priv->irq_mask = (~enable_mask) | > - I915_DISPLAY_PIPE_A_VBLANK_INTERRUPT | > - I915_DISPLAY_PIPE_B_VBLANK_INTERRUPT; > + dev_priv->irq_mask = ~enable_mask; > > I915_WRITE(PORT_HOTPLUG_EN, 0); > POSTING_READ(PORT_HOTPLUG_EN); Reviewed-by: Jesse

Re: [Intel-gfx] [PATCH v3 11/21] drm/i915: check pipe power domain when reading its hw state

2014-03-06 Thread Jesse Barnes
gt;pipe))) > + return false; > + > pipe_config->cpu_transcoder = (enum transcoder) crtc->pipe; > pipe_config->shared_dpll = DPLL_ID_PRIVATE; > Same goes here, though I suppose there's more room for additional, specific domains down at this l

Re: [Intel-gfx] [PATCH v2 07/21] drm/i915: add noop power well handlers instead of NULL checking them

2014-03-06 Thread Jesse Barnes
> - if (power_well->ops->sync_hw) > - power_well->ops->sync_hw(dev_priv, power_well); > - } > + for_each_power_well(i, power_well, POWER_DOMAIN_MASK, power_domains) > + power_well->ops->sync_hw(dev_priv, power_well); > mutex_unlock(&power_domains->lock); > } > Reviewed-by: Jesse Barnes -- Jesse Barnes, Intel Open Source Technology Center ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Re: [Intel-gfx] [PATCH v2 05/21] drm/i915: add init power domain to always-on power wells

2014-03-06 Thread Jesse Barnes
BIT(POWER_DOMAIN_PIPE_A) | \ > - BIT(POWER_DOMAIN_TRANSCODER_EDP)) > + BIT(POWER_DOMAIN_TRANSCODER_EDP) | \ > + BIT(POWER_DOMAIN_INIT)) > #define HSW_DISPLAY_POWER_DOMAINS ( \ > (POWER_DOMAIN_MASK & ~HSW_ALWAYS_ON_POWER_D

Re: [Intel-gfx] [PATCH v2 04/21] drm/i915: move power domain macros to intel_pm.c

2014-03-06 Thread Jesse Barnes
.is_enabled = hsw_power_well_enabled, > .set = hsw_set_power_well, > }, > @@ -5414,7 +5430,7 @@ static struct i915_power_well bdw_power_wells[] = { > }, > { > .name = "display", > - .domains = POW

Re: [Intel-gfx] [PATCH v2 01/21] drm/i915: use drm_i915_private everywhere in the power domain api

2014-03-06 Thread Jesse Barnes
> Signed-off-by: Imre Deak > Reviewed-by: Jesse Barnes > --- > drivers/gpu/drm/i915/i915_dma.c | 14 > drivers/gpu/drm/i915/i915_drv.c | 4 +-- > drivers/gpu/drm/i915/i915_drv.h | 4 +-- > drivers/gpu/drm/i915/intel_display.c | 27 +++ &g

Re: [Intel-gfx] [PATCH] drm/i915: Disable full ppgtt by default

2014-03-06 Thread Jesse Barnes
gs and/or tasks filed for all these, or just the one? We need to make sure people are signed up to fix/review them, or it'll end up staying disabled forever, and then we'll be stuck without a command checker and some advanced features coming up... -- Jesse Barnes, Intel Open Source Techn

Re: [Intel-gfx] Why Baytrail Gfx driver not always uses pipe A when it's free?

2014-03-06 Thread Jesse Barnes
No special reason. It shouldn't matter on BYT either, really, since pipe A doesn't have special characteristics like it does on HSW. Jesse On Thu, 6 Mar 2014 17:19:22 +0800 "Lin, Mengdong" wrote: > Hi Jesse, > > > > Could you tell us why Baytrail Gfx driver does not always use pipe A when

Re: [Intel-gfx] [PATCH 5/6] drm/i915/dp: push eDP caching out into a work queue

2014-03-06 Thread Jesse Barnes
On Thu, 6 Mar 2014 11:28:13 +0200 Ville Syrjälä wrote: > On Wed, Mar 05, 2014 at 02:48:30PM -0800, Jesse Barnes wrote: > > It takes awhile to fetch the DPCD and EDID for caching, so take it out > > of the critical path to improve init time. > > > >

Re: [Intel-gfx] [PATCH 2/6] drm/i915: make fbdev initialization asynchronous

2014-03-06 Thread Jesse Barnes
On Thu, 6 Mar 2014 09:12:40 + Chris Wilson wrote: > On Wed, Mar 05, 2014 at 02:48:27PM -0800, Jesse Barnes wrote: > > This gets us out of our init code and out to userspace quite a bit > > faster, but does open us up to some bugs given the state of our init > > time loc

Re: [Intel-gfx] [PATCH 1/6] drm/i915: make CRTC enable/disable asynchronous

2014-03-06 Thread Jesse Barnes
On Thu, 6 Mar 2014 09:35:23 + Chris Wilson wrote: > On Wed, Mar 05, 2014 at 02:48:26PM -0800, Jesse Barnes wrote: > > @@ -7554,6 +7610,8 @@ static int intel_crtc_cursor_set(struct drm_crtc > > *crtc, > > goto fail; > > } > &g

Re: [Intel-gfx] [PATCH 1/6] drm/i915: make CRTC enable/disable asynchronous

2014-03-05 Thread Jesse Barnes
On Thu, 06 Mar 2014 01:29:14 +0200 Imre Deak wrote: > On Wed, 2014-03-05 at 14:48 -0800, Jesse Barnes wrote: > > This lets us return to userspace more quickly and should improve init > > and suspend/resume times as well, allowing us to return to userspace > > sooner. >

[Intel-gfx] [PATCH 6/6] drm/i915/dp: make sure VDD is on around link status checking

2014-03-05 Thread Jesse Barnes
In the hotplug case, nothing was grabbing VDD, leading to some warnings. Signed-off-by: Jesse Barnes --- drivers/gpu/drm/i915/intel_dp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c index 763f235..78c883e 100644 --- a

[Intel-gfx] [PATCH 2/6] drm/i915: make fbdev initialization asynchronous

2014-03-05 Thread Jesse Barnes
This gets us out of our init code and out to userspace quite a bit faster, but does open us up to some bugs given the state of our init time locking. Signed-off-by: Jesse Barnes --- drivers/gpu/drm/i915/i915_dma.c| 3 ++- drivers/gpu/drm/i915/i915_drv.h| 1 + drivers/gpu/drm/i915

[Intel-gfx] [PATCH 3/6] drm/i915/dp: put power sequence info into intel_dp

2014-03-05 Thread Jesse Barnes
Reduces params in a few places and makes workqueueing the eDP caching work easier. Signed-off-by: Jesse Barnes --- drivers/gpu/drm/i915/intel_dp.c | 23 +-- drivers/gpu/drm/i915/intel_drv.h | 1 + 2 files changed, 10 insertions(+), 14 deletions(-) diff --git a/drivers/gpu

[Intel-gfx] [PATCH 1/6] drm/i915: make CRTC enable/disable asynchronous

2014-03-05 Thread Jesse Barnes
This lets us return to userspace more quickly and should improve init and suspend/resume times as well, allowing us to return to userspace sooner. Signed-off-by: Jesse Barnes --- drivers/gpu/drm/i915/i915_drv.c | 2 +- drivers/gpu/drm/i915/i915_drv.h | 4 +- drivers/gpu/drm/i915

[Intel-gfx] Make init and mode set more asynchronous

2014-03-05 Thread Jesse Barnes
I'm worried about the locking in this... I've also commented out the state checker, but that can be re-added as a check after any queued CRTC changes as another queued item, so should be easy to fix. This set drastically improves the init time of the i915 module (based on initcall_debug timing),

[Intel-gfx] [PATCH 4/6] drm: take modeset locks around initial fb helper probing

2014-03-05 Thread Jesse Barnes
Drivers ought to complain otherwise. Signed-off-by: Jesse Barnes --- drivers/gpu/drm/drm_fb_helper.c | 2 ++ drivers/gpu/drm/i915/intel_dp.c | 4 drivers/gpu/drm/i915/intel_drv.h | 3 +++ 3 files changed, 9 insertions(+) diff --git a/drivers/gpu/drm/drm_fb_helper.c b/drivers/gpu/drm

[Intel-gfx] [PATCH 5/6] drm/i915/dp: push eDP caching out into a work queue

2014-03-05 Thread Jesse Barnes
It takes awhile to fetch the DPCD and EDID for caching, so take it out of the critical path to improve init time. Signed-off-by: Jesse Barnes --- drivers/gpu/drm/i915/intel_dp.c | 113 +--- 1 file changed, 82 insertions(+), 31 deletions(-) diff --git a

Re: [Intel-gfx] [PATCH 2/2] drm/i915: ignore bios output config if not all outputs are on

2014-03-05 Thread Jesse Barnes
On Wed, 5 Mar 2014 19:34:45 +0100 Daniel Vetter wrote: > On Wed, Mar 05, 2014 at 08:27:08AM -0800, Jesse Barnes wrote: > > On Tue, 4 Mar 2014 22:08:12 +0100 > > Daniel Vetter wrote: > > > > > On Tue, Mar 04, 2014 at 12:33:01PM -0800, Jesse Barnes wrote: > &

Re: [Intel-gfx] [PATCH 2/2] drm/i915: ignore bios output config if not all outputs are on

2014-03-05 Thread Jesse Barnes
On Tue, 4 Mar 2014 22:08:12 +0100 Daniel Vetter wrote: > On Tue, Mar 04, 2014 at 12:33:01PM -0800, Jesse Barnes wrote: > > On Tue, 4 Mar 2014 21:08:42 +0100 > > Daniel Vetter wrote: > > > > > Both Ville and QA rather immediately complained that with the new &

Re: [Intel-gfx] [PATCH] drm/i915: print connector mode list in display_info

2014-03-05 Thread Jesse Barnes
On Wed, 5 Mar 2014 13:55:00 +0100 Daniel Vetter wrote: > On Thu, Feb 20, 2014 at 08:50:59PM +, Chris Wilson wrote: > > On Thu, Feb 20, 2014 at 12:39:57PM -0800, Jesse Barnes wrote: > > > Useful for bug reports. > > > > Hey, this would be useful for error state

Re: [Intel-gfx] [PATCH 2/2] drm/i915: ignore bios output config if not all outputs are on

2014-03-04 Thread Jesse Barnes
(it even has hotplug handling and all that) fall back if more > outputs could have been enabled. > > v2: Fix up my confusion about what enabled means - it's passed from > the fbdev helper, we need to check for a non-zero connector->encoder > link. Spotted by Ville. > &

Re: [Intel-gfx] [PATCH 1/2] drm/i915: s/any_enabled/!fallback/ in fbdev_initial_config

2014-03-04 Thread Jesse Barnes
On Tue, 4 Mar 2014 21:08:41 +0100 Daniel Vetter wrote: > It started as a simple check whether anything is lit up, but now is't > used to driver the general fallback logic to the default output > configuration selector in the helper library. So rename it for more > clarity. >

Re: [Intel-gfx] [PATCH] drm/i915: Reject changes of fb base when we have a flip pending

2014-03-04 Thread Jesse Barnes
tel_crtc(crtc)->unpin_work != NULL; > - spin_unlock_irqrestore(&dev->event_lock, flags); > - > - return pending; > -} > - > bool intel_has_pending_fb_unpin(struct drm_device *dev) > { > struct intel_crtc *crtc; Looks fine, my only comment is do we

Re: [Intel-gfx] [PATCH 3/9] drm/i915: make crtc enable/disable asynchronous

2014-03-03 Thread Jesse Barnes
On Fri, 7 Feb 2014 18:37:01 -0200 Rodrigo Vivi wrote: > From: Jesse Barnes > > The intent is to get back to userspace as quickly as possible so it can > start doing drawing or whatever. It should also allow our > suspend/resume/init time to improve a lot. > > Signed

Re: [Intel-gfx] [PATCH 2/7] drm/i915: Resolving the memory region conflict for Stolen area

2014-03-03 Thread Jesse Barnes
On Mon, 3 Mar 2014 11:14:09 -0800 Jesse Barnes wrote: > On Thu, 27 Feb 2014 11:01:08 +0200 > Jani Nikula wrote: > > > On Thu, 27 Feb 2014, Jani Nikula wrote: > > > On Wed, 26 Feb 2014, Jesse Barnes wrote: > > >> On Mon, 13 Jan 2014 16:25:21 +05

[Intel-gfx] [PATCH] drm/i915/vlv: no MCHBAR on VLV

2014-03-03 Thread Jesse Barnes
So don't try to allocate and program it, we're only fooling ourselves. Reported-by: "Chang, Junxiao" Signed-off-by: Jesse Barnes --- drivers/gpu/drm/i915/i915_dma.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/i915/i915_dma.c b/drivers/gpu/drm/i

Re: [Intel-gfx] [PATCH 2/7] drm/i915: Resolving the memory region conflict for Stolen area

2014-03-03 Thread Jesse Barnes
On Thu, 27 Feb 2014 11:01:08 +0200 Jani Nikula wrote: > On Thu, 27 Feb 2014, Jani Nikula wrote: > > On Wed, 26 Feb 2014, Jesse Barnes wrote: > >> On Mon, 13 Jan 2014 16:25:21 +0530 > >> akash.g...@intel.com wrote: > >> > >>> From: Akash

<    3   4   5   6   7   8   9   10   11   12   >