[Bug 46713] HDMI audio played back at a wrong rate

2012-03-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=46713 --- Comment #6 from Rafał Miłecki zaj...@gmail.com 2012-03-08 02:10:48 PST --- 7d040200 (33554432) This register is 0x7c30 + R600_HDMI_IEC60958_1. AFAWK value 0x0200 means 48000 rate. I've to understand how driver handles rates.

[Bug 46713] HDMI audio played back at a wrong rate

2012-03-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=46713 --- Comment #7 from Tvrtko Ursulin tvrtko.ursu...@onelan.co.uk 2012-03-08 02:19:26 PST --- Just to clarify, it is possible I was playing back at 48kHz when collecting the register dump. I was trying both 44.1kHz and 48kHz, the latter just to

[PATCH] drm: exynos: Fix fb_videomode - drm_mode_modeinfo conversion

2012-03-08 Thread Laurent Pinchart
The fb_videomode structure stores the front porch and back porch in the right_margin and left_margin fields respectively. right_margin should thus be computed with hsync_start - hdisplay, and left_margin with htotal - hsync_end. The same holds for the vertical direction. Active

Re: [PATCH] drm: exynos: Fix fb_videomode - drm_mode_modeinfo conversion

2012-03-08 Thread Joonyoung Shim
On 03/08/2012 08:34 PM, Laurent Pinchart wrote: The fb_videomode structure stores the front porch and back porch in the right_margin and left_margin fields respectively. right_margin should thus be computed with hsync_start - hdisplay, and left_margin with htotal - hsync_end. The same holds for

[PATCH] xf86drmMode.h: Add header protection

2012-03-08 Thread David Herrmann
xf86drmMode.h is missing a header protection. xf86drm.h has one so just copy it and adjust the name. Signed-off-by: David Herrmann dh.herrm...@googlemail.com --- I am not sure if this is the correct mailing-list for libdrm nor who the actual maintainer is. Please correct me if I should CC someone

Re: [PATCH] drm: exynos: Fix fb_videomode - drm_mode_modeinfo conversion

2012-03-08 Thread Laurent Pinchart
Hi Joonyoung, On Thursday 08 March 2012 22:05:50 Joonyoung Shim wrote: On 03/08/2012 08:34 PM, Laurent Pinchart wrote: The fb_videomode structure stores the front porch and back porch in the right_margin and left_margin fields respectively. right_margin should thus be computed with

Re: [PATCH] drm: exynos: Fix fb_videomode - drm_mode_modeinfo conversion

2012-03-08 Thread Sascha Hauer
On Thu, Mar 08, 2012 at 04:31:51PM +0100, Laurent Pinchart wrote: Hi Joonyoung, On Thursday 08 March 2012 22:05:50 Joonyoung Shim wrote: On 03/08/2012 08:34 PM, Laurent Pinchart wrote: The fb_videomode structure stores the front porch and back porch in the right_margin and left_margin

[PATCH 00/47] GMA500 updates for -next

2012-03-08 Thread Alan Cox
Start the clean up work and add Medfield support --- Alan Cox (6): gma500: rework register stuff sanely gma500: re-order calling on the fix setup so we set up after the DRM layer gma500: Kconfig documentation tweak gma500: now move the Oaktrail save state into its own

[PATCH 01/47] gma500: plug in more of the gamma functionality

2012-03-08 Thread Alan Cox
From: Alan Cox a...@linux.intel.com Signed-off-by: Alan Cox a...@linux.intel.com --- drivers/gpu/drm/gma500/framebuffer.c | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/gma500/framebuffer.c b/drivers/gpu/drm/gma500/framebuffer.c index

[PATCH 02/47] gma500: clean up some of the struct fields we no longer use

2012-03-08 Thread Alan Cox
From: Alan Cox a...@linux.intel.com Some this is Medfield stuff that may reappear in some form later, other bits are just dead stuff Signed-off-by: Alan Cox a...@linux.intel.com --- drivers/gpu/drm/gma500/oaktrail_crtc.c |3 - drivers/gpu/drm/gma500/psb_drv.h | 94

[PATCH 03/47] gma500: now move the Oaktrail save state into its own structure

2012-03-08 Thread Alan Cox
From: Alan Cox a...@linux.intel.com Signed-off-by: Alan Cox a...@linux.intel.com --- drivers/gpu/drm/gma500/cdv_intel_display.c | 27 ++- drivers/gpu/drm/gma500/cdv_intel_lvds.c|6 - drivers/gpu/drm/gma500/oaktrail_device.c | 204 +

[PATCH 04/47] gma500: Kconfig documentation tweak

2012-03-08 Thread Alan Cox
From: Alan Cox a...@linux.intel.com Update this to better reflect the status Signed-off-by: Alan Cox a...@linux.intel.com --- drivers/gpu/drm/gma500/Kconfig |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/gma500/Kconfig

[PATCH 05/47] intel, gma500, lvds: Fix use after free and mem leak in psb_intel_lvds_init()

2012-03-08 Thread Alan Cox
From: Jesper Juhl j...@chaosbits.net In psb_intel_lvds_init(), if we fail to allocate memory for 'psb_intel_connector' we free the memory we previously allocated for 'psb_intel_encoder', but we then proceed to use that free'd pointer when we do 'psb_intel_encoder-dev_priv = lvds_priv;'. We may

[PATCH 08/47] gma500: rework register stuff sanely

2012-03-08 Thread Alan Cox
From: Alan Cox a...@linux.intel.com Rework registers handling to prepare for Medfield. Signed-off-by: Alan Cox a...@linux.intel.com [split out from a single big patch] Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com --- drivers/gpu/drm/gma500/cdv_intel_display.c | 31 ++--

[PATCH 11/47] gma500: mdfld_dsi_output_init() drop unused parameter

2012-03-08 Thread Alan Cox
From: Kirill A. Shutemov kirill.shute...@linux.intel.com Nobody uses 'config' parameter. Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Alan Cox a...@linux.intel.com --- drivers/gpu/drm/gma500/mdfld_dsi_output.c | 18 ++

[PATCH 12/47] gma500: medfield: drop a bit of dead code

2012-03-08 Thread Alan Cox
From: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Alan Cox a...@linux.intel.com --- drivers/gpu/drm/gma500/mdfld_dsi_output.c | 11 --- drivers/gpu/drm/gma500/mdfld_dsi_output.h | 10 --

[PATCH 13/47] gma500: gem_glue: add missing include

2012-03-08 Thread Alan Cox
From: Kirill A. Shutemov kirill.shute...@linux.intel.com It fixes W=1 warnings: drivers/gpu/drm/gma500/gem_glue.c:23:6: warning: no previous prototype for ‘drm_gem_object_release_wrap’ [-Wmissing-prototypes] drivers/gpu/drm/gma500/gem_glue.c:44:5: warning: no previous prototype for

[PATCH 14/47] gma500: drop unused psbfb_suspend()/psbfb_resume()

2012-03-08 Thread Alan Cox
From: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Alan Cox a...@linux.intel.com --- drivers/gpu/drm/gma500/framebuffer.c | 33 - 1 files changed, 0 insertions(+), 33

[PATCH 15/47] gma500: mark psb_fbdev_destroy() and psb_fbdev_fini() as static

2012-03-08 Thread Alan Cox
From: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Alan Cox a...@linux.intel.com --- drivers/gpu/drm/gma500/framebuffer.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 16/47] gma500: gtt: mark psb_gtt_entry() and psb_gtt_alloc() as static

2012-03-08 Thread Alan Cox
From: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Alan Cox a...@linux.intel.com --- drivers/gpu/drm/gma500/gtt.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 17/47] gma500: mmu: drop unused psb_get_default_pd_addr()

2012-03-08 Thread Alan Cox
From: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Alan Cox a...@linux.intel.com --- drivers/gpu/drm/gma500/mmu.c |9 - 1 files changed, 0 insertions(+), 9 deletions(-) diff --git

[PATCH 18/47] gma500: mmu: mark psb_mmu_free_pt() and psb_mmu_pt_alloc_map_lock() as static

2012-03-08 Thread Alan Cox
From: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Alan Cox a...@linux.intel.com --- drivers/gpu/drm/gma500/mmu.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 19/47] gma500: use DRM_IOCTL_DEF_DRV instead of custom PSB_IOCTL_DEF

2012-03-08 Thread Alan Cox
From: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Alan Cox a...@linux.intel.com --- drivers/gpu/drm/gma500/psb_drv.c | 35 --- 1 files changed, 16 insertions(+), 19

[PATCH 20/47] gma500: fix ioctl confict

2012-03-08 Thread Alan Cox
From: Kirill A. Shutemov kirill.shute...@linux.intel.com Move DRM_GMA_GET_PIPE_FROM_CRTC_ID to 0x08 to avoid confict with DRM_GMA_GEM_MMAP. Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Alan Cox a...@linux.intel.com --- include/drm/gma_drm.h |2 +- 1

[PATCH 21/47] gma500: psb_driver_load(): drop unused variables

2012-03-08 Thread Alan Cox
From: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Alan Cox a...@linux.intel.com --- drivers/gpu/drm/gma500/psb_drv.c |8 1 files changed, 0 insertions(+), 8 deletions(-) diff --git

[PATCH 22/47] gma500: mark psb_driver_device_is_agp() and psb_driver_preclose() as static

2012-03-08 Thread Alan Cox
From: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Alan Cox a...@linux.intel.com --- drivers/gpu/drm/gma500/psb_drv.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 23/47] gma500: fix two -Wmissing-field-initializers warnings

2012-03-08 Thread Alan Cox
From: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Alan Cox a...@linux.intel.com --- drivers/gpu/drm/gma500/psb_drv.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git

[PATCH 24/47] gma500: fix cdv_intel_wait_for_vblank() prototype

2012-03-08 Thread Alan Cox
From: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Alan Cox a...@linux.intel.com --- drivers/gpu/drm/gma500/cdv_device.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[PATCH 25/47] gma500: cdv_intel_crt: add missing include

2012-03-08 Thread Alan Cox
From: \Kirill A. Shutemov\ kirill.shute...@linux.intel.com drivers/gpu/drm/gma500/cdv_intel_crt.c:273:6: warning: no previous prototype for 'cdv_intel_crt_init' [-Wmissing-prototypes] Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Alan Cox a...@linux.intel.com

[PATCH 26/47] gma500: cdv_intel_crt: drop dead code

2012-03-08 Thread Alan Cox
From: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Alan Cox a...@linux.intel.com --- drivers/gpu/drm/gma500/cdv_intel_display.c | 47 1 files changed, 0 insertions(+), 47

[PATCH 27/47] gma500: cdv_intel_crt: drop unused variables

2012-03-08 Thread Alan Cox
From: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Alan Cox a...@linux.intel.com --- drivers/gpu/drm/gma500/cdv_intel_display.c | 10 +- 1 files changed, 1 insertions(+), 9 deletions(-) diff --git

[PATCH 28/47] gma500: cdv_intel_crt: mark few functions as static

2012-03-08 Thread Alan Cox
From: \Kirill A. Shutemov\ kirill.shute...@linux.intel.com Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Alan Cox a...@linux.intel.com --- drivers/gpu/drm/gma500/cdv_intel_display.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH 29/47] gma500: cdv_intel_hdmi: add missing include

2012-03-08 Thread Alan Cox
From: Kirill A. Shutemov kirill.shute...@linux.intel.com drivers/gpu/drm/gma500/cdv_intel_hdmi.c:305:6: warning: no previous prototype for 'cdv_hdmi_init' [-Wmissing-prototypes] Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Alan Cox a...@linux.intel.com ---

[PATCH 30/47] gma500: cdv_intel_lvds: mark few functions as static

2012-03-08 Thread Alan Cox
From: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Alan Cox a...@linux.intel.com --- drivers/gpu/drm/gma500/cdv_intel_lvds.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH 31/47] gma500: cdv_intel_lvds: #if 0 currently unused functions

2012-03-08 Thread Alan Cox
From: Kirill A. Shutemov kirill.shute...@linux.intel.com cdv_intel_lvds_set_brightness() is only used in commented out code in cdv_set_brightness(). Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Alan Cox a...@linux.intel.com ---

[PATCH 32/47] gma500: mdfld_device: mark few functions as static

2012-03-08 Thread Alan Cox
From: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Alan Cox a...@linux.intel.com --- drivers/gpu/drm/gma500/mdfld_device.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 33/47] gma500: mdfld_dsi_dpi: drop unused variables

2012-03-08 Thread Alan Cox
From: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Alan Cox a...@linux.intel.com --- drivers/gpu/drm/gma500/mdfld_dsi_dpi.c |9 + 1 files changed, 1 insertions(+), 8 deletions(-) diff --git

[PATCH 34/47] gma500: mdfld_dsi_pkg_sender: fix -Wtype-limits warning

2012-03-08 Thread Alan Cox
From: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Alan Cox a...@linux.intel.com --- drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[PATCH 35/47] gma500: mdfld_intel_display: drop unused variables

2012-03-08 Thread Alan Cox
From: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Alan Cox a...@linux.intel.com --- drivers/gpu/drm/gma500/mdfld_intel_display.c | 12 1 files changed, 0 insertions(+), 12 deletions(-) diff

[PATCH 36/47] gma500: oaktrail_crtc: mark few functions as static

2012-03-08 Thread Alan Cox
From: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Alan Cox a...@linux.intel.com --- drivers/gpu/drm/gma500/oaktrail_crtc.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 37/47] gma500: oaktrail_crtc: drop unused variables

2012-03-08 Thread Alan Cox
From: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Alan Cox a...@linux.intel.com --- drivers/gpu/drm/gma500/oaktrail_crtc.c | 11 +-- 1 files changed, 1 insertions(+), 10 deletions(-) diff --git

[PATCH 38/47] gma500: oaktrail_hdmi: drop dead code

2012-03-08 Thread Alan Cox
From: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Alan Cox a...@linux.intel.com --- drivers/gpu/drm/gma500/oaktrail_hdmi.c | 327 1 files changed, 0 insertions(+), 327

[PATCH 39/47] gma500: oaktrail_hdmi: fix -Wmissing-field-initializers warning

2012-03-08 Thread Alan Cox
From: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Alan Cox a...@linux.intel.com --- drivers/gpu/drm/gma500/oaktrail_hdmi.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[PATCH 40/47] gma500: mark oaktrail_backlight_init() as static

2012-03-08 Thread Alan Cox
From: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Alan Cox a...@linux.intel.com --- drivers/gpu/drm/gma500/oaktrail_device.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[PATCH 41/47] gma500: oaktrail_hdmi_i2c_access() drop unused variable

2012-03-08 Thread Alan Cox
From: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Alan Cox a...@linux.intel.com --- drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH 42/47] gma500: oaktrail_lvds_init() drop unused variable

2012-03-08 Thread Alan Cox
From: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Alan Cox a...@linux.intel.com --- drivers/gpu/drm/gma500/oaktrail_lvds.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git

[PATCH 43/47] gma500: drop unused psb_intel_modeset_cleanup()

2012-03-08 Thread Alan Cox
From: \Kirill A. Shutemov\ kirill.shute...@linux.intel.com Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Alan Cox a...@linux.intel.com --- drivers/gpu/drm/gma500/psb_intel_display.c |7 --- 1 files changed, 0 insertions(+), 7 deletions(-) diff --git

[PATCH 44/47] gma500: mark psb_intel_pipe_set_base() as static

2012-03-08 Thread Alan Cox
From: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Alan Cox a...@linux.intel.com --- drivers/gpu/drm/gma500/psb_intel_display.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[PATCH 45/47] gma500: psb_intel_display: drop unused variables

2012-03-08 Thread Alan Cox
From: \Kirill A. Shutemov\ kirill.shute...@linux.intel.com Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Alan Cox a...@linux.intel.com --- drivers/gpu/drm/gma500/psb_intel_display.c | 13 ++--- 1 files changed, 2 insertions(+), 11 deletions(-) diff

[PATCH 46/47] gma500: mark psb_intel_sdvo_hdmi_sink_detect() as static

2012-03-08 Thread Alan Cox
From: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Alan Cox a...@linux.intel.com --- drivers/gpu/drm/gma500/psb_intel_sdvo.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[PATCH 47/47] gma500: psb_irq: mark mid_{enable, disable}_pipe_event() as static

2012-03-08 Thread Alan Cox
From: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Alan Cox a...@linux.intel.com --- drivers/gpu/drm/gma500/psb_irq.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH] drm: exynos: Fix fb_videomode - drm_mode_modeinfo conversion

2012-03-08 Thread James Simmons
The fb_videomode structure stores the front porch and back porch in the right_margin and left_margin fields respectively. right_margin should thus be computed with hsync_start - hdisplay, and left_margin with htotal - hsync_end. The same holds for the vertical direction. Active

Re: [PATCH] drm: exynos: Fix fb_videomode - drm_mode_modeinfo conversion

2012-03-08 Thread Corbin Simpson
On Fri, Mar 9, 2012 at 12:57 AM, James Simmons jsimm...@infradead.org wrote: Wow I see this has remegered. Some time last year I posted a patch that had these routines in a generic format for people to use. I can repost them again if people are interested. Yes please! -- When the facts

[Bug 46713] HDMI audio played back at a wrong rate

2012-03-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=46713 --- Comment #8 from Rafał Miłecki zaj...@gmail.com 2012-03-08 13:27:29 UTC --- Created attachment 58209 -- https://bugs.freedesktop.org/attachment.cgi?id=58209 drm/radeon/kms/audio: read correct regs on Evergreen I guess this patch can fix the

[Bug 47116] New: Enemy territory freezes with rs880 and commit fbebd431ec4e2e461a0cbcd5f3a04a000b8f6bbf

2012-03-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=47116 Bug #: 47116 Summary: Enemy territory freezes with rs880 and commit fbebd431ec4e2e461a0cbcd5f3a04a000b8f6bbf Classification: Unclassified Product: Mesa Version: git

Re: for-next inclusion request: dma-buf buffer sharing framework

2012-03-08 Thread Stephen Rothwell
Hi, On Thu, 8 Mar 2012 14:28:39 +0530 Sumit Semwal sumit.sem...@linaro.org wrote: May I request you to please add the dma-buf buffer sharing framework tree to linux-next? It is hosted here git://git.linaro.org/people/sumitsemwal/linux-dma-buf.git branch: for-next I have added that from

RE: [PATCH] drm: exynos: Fix fb_videomode - drm_mode_modeinfo conversion

2012-03-08 Thread Inki Dae
Hi Laurent, -Original Message- From: Joonyoung Shim [mailto:jy0922.s...@samsung.com] Sent: Thursday, March 08, 2012 10:06 PM To: Laurent Pinchart Cc: dri-devel@lists.freedesktop.org; linux-fb...@vger.kernel.org; Inki Dae; Seung-Woo Kim; Kyungmin Park Subject: Re: [PATCH] drm:

BUG: drm_crtc_helper_set_config does not work

2012-03-08 Thread Yufeng Shen
So a simple case of disabling a CRTC and then re-enabling it. Disabling: CRTC X is originally connected to output Y 1. XRRSetCrtcConfig()is called to disable CRTC X 2. drm_helper_connector_dpms() then gets called on the connector connected to CRTC X, in the function, the

[git pull] drm radeon fixes

2012-03-08 Thread Dave Airlie
Hi Linus, Just some radeon fixes, one is for an oops where we run out of ioremap space on some big hardware systems in 32-bit mode, stuff doesn't work properly but at least the machine will boot. One regression fix, and two bugs, one hw, one blit code. I think I have some i915 stuff coming

[PATCH 2/9] drm/i915/intel_i2c: assign HDMI port D to pin pair 6

2012-03-08 Thread Daniel Kurtz
On Wed, Mar 7, 2012 at 9:23 PM, Chris Wilson wrote: > > On Wed, ?7 Mar 2012 19:50:43 +0800, Daniel Kurtz > wrote: > > According to i915 documentation [1], "Port D" (DP/HDMI Port D) is > > actually gmbus pin pair 6 (gmbus0.2:0 == 110b GPIOF), not 7 (111b). > > Pin pair 7 is a reserved pair. > >

[PATCH] drm/radeon/kms: skip cb/db checking if SX_MISC is 1 on r600+

2012-03-08 Thread Marek Olšák
Signed-off-by: Marek Ol??k --- drivers/gpu/drm/radeon/evergreen_cs.c |8 drivers/gpu/drm/radeon/r600_cs.c |8 drivers/gpu/drm/radeon/reg_srcs/cayman|1 - drivers/gpu/drm/radeon/reg_srcs/evergreen |1 - drivers/gpu/drm/radeon/reg_srcs/r600 |

[PATCH] omap2+: add drm device

2012-03-08 Thread Tomi Valkeinen
o match the name used for that entry. Ok. Thanks for the detailed explanation =). Tomi -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20120308/a28db55a/attachment.pgp>

for-next inclusion request: dma-buf buffer sharing framework

2012-03-08 Thread Sumit Semwal
Hi Stephen, May I request you to please add the dma-buf buffer sharing framework tree to linux-next? It is hosted here git://git.linaro.org/people/sumitsemwal/linux-dma-buf.git branch: for-next -- Thanks and nest regards, Sumit Semwal.

[Bug 47007] HDMI monitor polling causing 100ms rendering stalls

2012-03-08 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=47007 --- Comment #9 from Tvrtko Ursulin 2012-03-08 01:56:12 PST --- Created attachment 58160 --> https://bugs.freedesktop.org/attachment.cgi?id=58160 Patch which makes the stalls go away Here is the patch which makes the stalls go away. However,

[Bug 46713] HDMI audio played back at a wrong rate

2012-03-08 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=46713 --- Comment #6 from Rafa? Mi?ecki 2012-03-08 02:10:48 PST --- 7d040200 (33554432) This register is 0x7c30 + R600_HDMI_IEC60958_1. AFAWK value 0x0200 means 48000 rate. I've to understand how driver handles rates. -- Configure

[Bug 46713] HDMI audio played back at a wrong rate

2012-03-08 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=46713 --- Comment #7 from Tvrtko Ursulin 2012-03-08 02:19:26 PST --- Just to clarify, it is possible I was playing back at 48kHz when collecting the register dump. I was trying both 44.1kHz and 48kHz, the latter just to make sure my monitor is not

[PATCH] drm: exynos: Fix fb_videomode <-> drm_mode_modeinfo conversion

2012-03-08 Thread Laurent Pinchart
The fb_videomode structure stores the front porch and back porch in the right_margin and left_margin fields respectively. right_margin should thus be computed with hsync_start - hdisplay, and left_margin with htotal - hsync_end. The same holds for the vertical direction. Active

[PATCH] drm: exynos: Fix fb_videomode <-> drm_mode_modeinfo conversion

2012-03-08 Thread Joonyoung Shim
On 03/08/2012 08:34 PM, Laurent Pinchart wrote: > The fb_videomode structure stores the front porch and back porch in the > right_margin and left_margin fields respectively. right_margin should > thus be computed with hsync_start - hdisplay, and left_margin with > htotal - hsync_end. The same

[PATCH] xf86drmMode.h: Add header protection

2012-03-08 Thread David Herrmann
xf86drmMode.h is missing a header protection. xf86drm.h has one so just copy it and adjust the name. Signed-off-by: David Herrmann --- I am not sure if this is the correct mailing-list for libdrm nor who the actual maintainer is. Please correct me if I should CC someone else or post it to

[PATCH] drm: exynos: Fix fb_videomode <-> drm_mode_modeinfo conversion

2012-03-08 Thread Laurent Pinchart
Hi Joonyoung, On Thursday 08 March 2012 22:05:50 Joonyoung Shim wrote: > On 03/08/2012 08:34 PM, Laurent Pinchart wrote: > > The fb_videomode structure stores the front porch and back porch in the > > right_margin and left_margin fields respectively. right_margin should > > thus be computed with

[PATCH] drm: exynos: Fix fb_videomode <-> drm_mode_modeinfo conversion

2012-03-08 Thread Sascha Hauer
On Thu, Mar 08, 2012 at 04:31:51PM +0100, Laurent Pinchart wrote: > Hi Joonyoung, > > On Thursday 08 March 2012 22:05:50 Joonyoung Shim wrote: > > On 03/08/2012 08:34 PM, Laurent Pinchart wrote: > > > The fb_videomode structure stores the front porch and back porch in the > > > right_margin and

[PATCH 00/47] GMA500 updates for -next

2012-03-08 Thread Alan Cox
Start the clean up work and add Medfield support --- Alan Cox (6): gma500: rework register stuff sanely gma500: re-order calling on the fix setup so we set up after the DRM layer gma500: Kconfig documentation tweak gma500: now move the Oaktrail save state into its own

[PATCH 01/47] gma500: plug in more of the gamma functionality

2012-03-08 Thread Alan Cox
From: Alan Cox Signed-off-by: Alan Cox --- drivers/gpu/drm/gma500/framebuffer.c | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/gma500/framebuffer.c b/drivers/gpu/drm/gma500/framebuffer.c index c1c4dc1..9738229 100644

[PATCH 02/47] gma500: clean up some of the struct fields we no longer use

2012-03-08 Thread Alan Cox
From: Alan Cox Some this is Medfield stuff that may reappear in some form later, other bits are just dead stuff Signed-off-by: Alan Cox --- drivers/gpu/drm/gma500/oaktrail_crtc.c |3 - drivers/gpu/drm/gma500/psb_drv.h | 94 +--- 2

[PATCH 03/47] gma500: now move the Oaktrail save state into its own structure

2012-03-08 Thread Alan Cox
From: Alan Cox Signed-off-by: Alan Cox --- drivers/gpu/drm/gma500/cdv_intel_display.c | 27 ++- drivers/gpu/drm/gma500/cdv_intel_lvds.c|6 - drivers/gpu/drm/gma500/oaktrail_device.c | 204 + drivers/gpu/drm/gma500/oaktrail_hdmi.c

[PATCH 04/47] gma500: Kconfig documentation tweak

2012-03-08 Thread Alan Cox
From: Alan Cox Update this to better reflect the status Signed-off-by: Alan Cox --- drivers/gpu/drm/gma500/Kconfig |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/gma500/Kconfig b/drivers/gpu/drm/gma500/Kconfig index

[PATCH 05/47] intel, gma500, lvds: Fix use after free and mem leak in psb_intel_lvds_init()

2012-03-08 Thread Alan Cox
From: Jesper Juhl In psb_intel_lvds_init(), if we fail to allocate memory for 'psb_intel_connector' we free the memory we previously allocated for 'psb_intel_encoder', but we then proceed to use that free'd pointer when we do 'psb_intel_encoder->dev_priv = lvds_priv;'. We

[PATCH 06/47] gma500: re-order calling on the fix setup so we set up after the DRM layer

2012-03-08 Thread Alan Cox
From: Alan Cox Noted by Kirill A Shutemov Signed-off-by: Alan Cox --- drivers/gpu/drm/gma500/framebuffer.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/gma500/framebuffer.c b/drivers/gpu/drm/gma500/framebuffer.c index

[PATCH 07/47] gma500: make init_pm callback in struct psb_op optional

2012-03-08 Thread Alan Cox
From: Kirill A. Shutemov Signed-off-by: Kirill A. Shutemov Signed-off-by: Alan Cox --- drivers/gpu/drm/gma500/oaktrail_device.c |5 - drivers/gpu/drm/gma500/power.c |3 ++- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git

[PATCH 08/47] gma500: rework register stuff sanely

2012-03-08 Thread Alan Cox
From: Alan Cox Rework registers handling to prepare for Medfield. Signed-off-by: Alan Cox [split out from a single big patch] Signed-off-by: Kirill A. Shutemov --- drivers/gpu/drm/gma500/cdv_intel_display.c | 31 ++-- drivers/gpu/drm/gma500/oaktrail_device.c | 198

[PATCH 09/47] gma500: initial medfield merge

2012-03-08 Thread Alan Cox
From: Kirill A. Shutemov We need to merge this ahead of some of the cleanup because a lot of needed cleanup spans both new and old chips. If we try and clean up and the merge we end up fighting ourselves. Signed-off-by: Kirill A. Shutemov [With a load of the

[PATCH 10/47] gma500: psbfb_create(): move depth initialization out of loop

2012-03-08 Thread Alan Cox
From: Kirill A. Shutemov Signed-off-by: Kirill A. Shutemov Signed-off-by: Alan Cox --- drivers/gpu/drm/gma500/framebuffer.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/gma500/framebuffer.c

[PATCH 12/47] gma500: medfield: drop a bit of dead code

2012-03-08 Thread Alan Cox
From: Kirill A. Shutemov Signed-off-by: Kirill A. Shutemov Signed-off-by: Alan Cox --- drivers/gpu/drm/gma500/mdfld_dsi_output.c | 11 --- drivers/gpu/drm/gma500/mdfld_dsi_output.h | 10 -- 2 files changed, 0 insertions(+), 21 deletions(-)

[PATCH 13/47] gma500: gem_glue: add missing include

2012-03-08 Thread Alan Cox
From: Kirill A. Shutemov It fixes W=1 warnings: drivers/gpu/drm/gma500/gem_glue.c:23:6: warning: no previous prototype for ?drm_gem_object_release_wrap? [-Wmissing-prototypes] drivers/gpu/drm/gma500/gem_glue.c:44:5: warning: no previous prototype for

[PATCH 14/47] gma500: drop unused psbfb_suspend()/psbfb_resume()

2012-03-08 Thread Alan Cox
From: Kirill A. Shutemov Signed-off-by: Kirill A. Shutemov Signed-off-by: Alan Cox --- drivers/gpu/drm/gma500/framebuffer.c | 33 - 1 files changed, 0 insertions(+), 33 deletions(-) diff --git

[PATCH 15/47] gma500: mark psb_fbdev_destroy() and psb_fbdev_fini() as static

2012-03-08 Thread Alan Cox
From: Kirill A. Shutemov Signed-off-by: Kirill A. Shutemov Signed-off-by: Alan Cox --- drivers/gpu/drm/gma500/framebuffer.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/gma500/framebuffer.c

[PATCH 16/47] gma500: gtt: mark psb_gtt_entry() and psb_gtt_alloc() as static

2012-03-08 Thread Alan Cox
From: Kirill A. Shutemov Signed-off-by: Kirill A. Shutemov Signed-off-by: Alan Cox --- drivers/gpu/drm/gma500/gtt.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/gma500/gtt.c b/drivers/gpu/drm/gma500/gtt.c index

[PATCH 17/47] gma500: mmu: drop unused psb_get_default_pd_addr()

2012-03-08 Thread Alan Cox
From: Kirill A. Shutemov Signed-off-by: Kirill A. Shutemov Signed-off-by: Alan Cox --- drivers/gpu/drm/gma500/mmu.c |9 - 1 files changed, 0 insertions(+), 9 deletions(-) diff --git a/drivers/gpu/drm/gma500/mmu.c b/drivers/gpu/drm/gma500/mmu.c

[PATCH 18/47] gma500: mmu: mark psb_mmu_free_pt() and psb_mmu_pt_alloc_map_lock() as static

2012-03-08 Thread Alan Cox
From: Kirill A. Shutemov Signed-off-by: Kirill A. Shutemov Signed-off-by: Alan Cox --- drivers/gpu/drm/gma500/mmu.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/gma500/mmu.c b/drivers/gpu/drm/gma500/mmu.c index

[PATCH 19/47] gma500: use DRM_IOCTL_DEF_DRV instead of custom PSB_IOCTL_DEF

2012-03-08 Thread Alan Cox
From: Kirill A. Shutemov Signed-off-by: Kirill A. Shutemov Signed-off-by: Alan Cox --- drivers/gpu/drm/gma500/psb_drv.c | 35 --- 1 files changed, 16 insertions(+), 19 deletions(-) diff --git

[PATCH 20/47] gma500: fix ioctl confict

2012-03-08 Thread Alan Cox
From: Kirill A. Shutemov Move DRM_GMA_GET_PIPE_FROM_CRTC_ID to 0x08 to avoid confict with DRM_GMA_GEM_MMAP. Signed-off-by: Kirill A. Shutemov Signed-off-by: Alan Cox --- include/drm/gma_drm.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff

[PATCH 21/47] gma500: psb_driver_load(): drop unused variables

2012-03-08 Thread Alan Cox
From: Kirill A. Shutemov Signed-off-by: Kirill A. Shutemov Signed-off-by: Alan Cox --- drivers/gpu/drm/gma500/psb_drv.c |8 1 files changed, 0 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/gma500/psb_drv.c

[PATCH 22/47] gma500: mark psb_driver_device_is_agp() and psb_driver_preclose() as static

2012-03-08 Thread Alan Cox
From: Kirill A. Shutemov Signed-off-by: Kirill A. Shutemov Signed-off-by: Alan Cox --- drivers/gpu/drm/gma500/psb_drv.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/gma500/psb_drv.c

[PATCH 23/47] gma500: fix two -Wmissing-field-initializers warnings

2012-03-08 Thread Alan Cox
From: Kirill A. Shutemov Signed-off-by: Kirill A. Shutemov Signed-off-by: Alan Cox --- drivers/gpu/drm/gma500/psb_drv.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/gma500/psb_drv.c

[PATCH 24/47] gma500: fix cdv_intel_wait_for_vblank() prototype

2012-03-08 Thread Alan Cox
From: Kirill A. Shutemov Signed-off-by: Kirill A. Shutemov Signed-off-by: Alan Cox --- drivers/gpu/drm/gma500/cdv_device.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/gma500/cdv_device.h

[PATCH 25/47] gma500: cdv_intel_crt: add missing include

2012-03-08 Thread Alan Cox
From: \"Kirill A. Shutemov\" drivers/gpu/drm/gma500/cdv_intel_crt.c:273:6: warning: no previous prototype for 'cdv_intel_crt_init' [-Wmissing-prototypes] Signed-off-by: Kirill A. Shutemov Signed-off-by: Alan Cox --- drivers/gpu/drm/gma500/cdv_intel_crt.c |

[PATCH 26/47] gma500: cdv_intel_crt: drop dead code

2012-03-08 Thread Alan Cox
From: Kirill A. Shutemov Signed-off-by: Kirill A. Shutemov Signed-off-by: Alan Cox --- drivers/gpu/drm/gma500/cdv_intel_display.c | 47 1 files changed, 0 insertions(+), 47 deletions(-) diff --git

[PATCH 27/47] gma500: cdv_intel_crt: drop unused variables

2012-03-08 Thread Alan Cox
From: Kirill A. Shutemov Signed-off-by: Kirill A. Shutemov Signed-off-by: Alan Cox --- drivers/gpu/drm/gma500/cdv_intel_display.c | 10 +- 1 files changed, 1 insertions(+), 9 deletions(-) diff --git a/drivers/gpu/drm/gma500/cdv_intel_display.c

[PATCH 28/47] gma500: cdv_intel_crt: mark few functions as static

2012-03-08 Thread Alan Cox
From: \"Kirill A. Shutemov\" Signed-off-by: Kirill A. Shutemov Signed-off-by: Alan Cox --- drivers/gpu/drm/gma500/cdv_intel_display.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/gma500/cdv_intel_display.c

[PATCH 29/47] gma500: cdv_intel_hdmi: add missing include

2012-03-08 Thread Alan Cox
From: Kirill A. Shutemov drivers/gpu/drm/gma500/cdv_intel_hdmi.c:305:6: warning: no previous prototype for 'cdv_hdmi_init' [-Wmissing-prototypes] Signed-off-by: Kirill A. Shutemov Signed-off-by: Alan Cox --- drivers/gpu/drm/gma500/cdv_intel_hdmi.c |1 +

  1   2   >