Re: [Intel-gfx] [Mesa-dev] [PATCH 1/5] intel gen4/5: fix GL_VERTEX_PROGRAM_TWO_SIDE.

2012-07-30 Thread Eric Anholt
Olivier Galibert galib...@pobox.com writes: On Tue, Jul 17, 2012 at 07:37:43AM -0700, Paul Berry wrote: If possible, I would still like to think of a way to address this situation that (a) doesn't require modifying both fragment shader back-ends and the SF program, and (b) helps all Mesa

Re: [Intel-gfx] [Mesa-dev] [PATCH 1/5] intel gen4/5: fix GL_VERTEX_PROGRAM_TWO_SIDE.

2012-07-30 Thread Olivier Galibert
On Mon, Jul 30, 2012 at 10:30:57AM -0700, Eric Anholt wrote: I'm perfectly fine with the VUE containing slots for both when the app has gone out of its way to ask for deprecated two-sided color rendering. Are you also ok with recompiler the shaders when that enable is switched? OG.

[Intel-gfx] [PATCH] drm/i915: Make intel_panel_get_backlight static.

2012-07-30 Thread Stéphane Marchesin
This function isn't used outside of intel_panel.c, so make it static. Signed-off-by: Stéphane Marchesin marc...@chromium.org --- drivers/gpu/drm/i915/intel_drv.h |1 - drivers/gpu/drm/i915/intel_panel.c |2 +- 2 files changed, 1 insertions(+), 2 deletions(-) diff --git

[Intel-gfx] Macbook Pro Retina display problems

2012-07-30 Thread Greg KH
Hi all, I'm trying to the the $Subject laptop up and running using the built-in Intel graphics chip: 00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) (prog-if 00 [VGA controller]) Subsystem: Apple Inc. Device 00f7 Flags:

[Intel-gfx] [PATCH] drm/i915: Don't forget to apply SNB PIPE_CONTROL GTT workaround.

2012-07-30 Thread Eric Anholt
If a buffer that was the target of a PIPE_CONTROL from userland was a reused one that hadn't been evicted which had not previously had this workaround applied, then we would not bind it into the GTT and the write would land somewhere else. Based on a doubting-my-sanity debugging session with

Re: [Intel-gfx] Macbook Pro Retina display problems

2012-07-30 Thread Dave Airlie
On Tue, Jul 31, 2012 at 8:33 AM, Greg KH gre...@linuxfoundation.org wrote: Hi all, I'm trying to the the $Subject laptop up and running using the built-in Intel graphics chip: 00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) (prog-if

[Intel-gfx] Find bugs in i915 driver

2012-07-30 Thread Xu, Anhua
Hi, I found some bugs in i915 driver when reviewing intel_display.c The parameter passed-in for function hdmi/adpa/lvds_pipe_enabled() are not coherent with functions' definition. This is the patch. Thanks Eric commit 9128c5c29649a1eea4e7db9282d0aa57e4885ba8 Author: Xu Anhua

[Intel-gfx] [PATCH v2 0/4] Haswell HDMI/DP audio enable

2012-07-30 Thread Wang Xingchao
This patch series enable HDMI audio on Haswell platform, not DP audio. The DP enablement will come after the DP patches are upstream. V2 patches fixed one warning and some type errors. Here're some notes useful for you to test the patches on Sharkbay machine: I please make sure your branch

[Intel-gfx] [PATCH V2 2/4] drm/i915: write eld info for HDMI audio

2012-07-30 Thread Wang Xingchao
HDMI audio related registers will be configured in write_eld callback. Signed-off-by: Wang Xingchao xingchao.w...@intel.com --- drivers/gpu/drm/i915/intel_ddi.c |6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/intel_ddi.c

[Intel-gfx] [PATCH V2 3/4] drm/i915: Haswell HDMI audio enable

2012-07-30 Thread Wang Xingchao
Configure the related HDMI audio register to generate an unsolicited response to the audio controller driver to indicate that the controller sequence should start. Signed-off-by: Wang Xingchao xingchao.w...@intel.com --- drivers/gpu/drm/i915/intel_display.c | 58

[Intel-gfx] [PATCH V2 4/4] ALSA HDA: Force HDMI pins enabled

2012-07-30 Thread Wang Xingchao
There's one issue for HDMI pins, even the related pin will be enabled when the stream is active but the GPU registers show the PIN is not in active state, so we force all pins in active state and donot close it when the stream is closed. Signed-off-by: Wang Xingchao xingchao.w...@intel.com ---

Re: [Intel-gfx] Macbook Pro Retina display problems

2012-07-30 Thread Dave Airlie
On Tue, Jul 31, 2012 at 1:41 PM, Greg KH gre...@linuxfoundation.org wrote: On Tue, Jul 31, 2012 at 12:06:28PM +1000, Dave Airlie wrote: On Tue, Jul 31, 2012 at 8:33 AM, Greg KH gre...@linuxfoundation.org wrote: Hi all, I'm trying to the the $Subject laptop up and running using the built-in