[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 fr

[PATCH 5/5] drm/udl: initial UDL driver (v4)

2012-03-08 Thread shawn
On Thu, 2012-03-08 at 22:59 -0800, shawn wrote: #1 it was hell to try to apply these patches from the freedesktop.org > mailing list archive > ( http://lists.freedesktop.org/archives/dri-devel/2012-February/019283.html ) > #2 after largely fallowing the directions here > https://wiki.ubuntu.com/Ker

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 connec

[PATCH 5/5] drm/udl: initial UDL driver (v4)

2012-03-08 Thread shawn
#1 it was hell to try to apply these patches from the freedesktop.org mailing list archive ( http://lists.freedesktop.org/archives/dri-devel/2012-February/019283.html ) #2 after largely fallowing the directions here https://wiki.ubuntu.com/KernelTeam/GitKernelBuild and apply on top of Linus' HEAD 9

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

2012-03-08 Thread bugzilla-dae...@freedesktop.org
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 Pl

[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

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 connec

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

2012-03-08 Thread Laurent Pinchart
Hi James, On Thursday 08 March 2012 16:57:21 James Simmons 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

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:

[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

[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 le

[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 h

[PATCH 47/47] gma500: psb_irq: mark mid_{enable, disable}_pipe_event() 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_irq.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/gma500/psb_irq.c b/drivers/gpu/drm/gma500/psb_irq.c index a86fc3c..1869586 10064

[PATCH 46/47] gma500: mark psb_intel_sdvo_hdmi_sink_detect() 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_intel_sdvo.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/gma500/psb_intel_sdvo.c b/drivers/gpu/drm/gma500/psb_intel_sdvo.c index 41

[PATCH 45/47] gma500: psb_intel_display: 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_intel_display.c | 13 ++--- 1 files changed, 2 insertions(+), 11 deletions(-) diff --git a/drivers/gpu/drm/gma500/psb_intel_display.c b/drivers/gpu/drm/gma500/psb

[PATCH 44/47] gma500: mark psb_intel_pipe_set_base() 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_intel_display.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/gma500/psb_intel_display.c b/drivers/gpu/drm/gma500/psb_intel_display.c

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

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_intel_display.c |7 --- 1 files changed, 0 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/gma500/psb_intel_display.c b/drivers/gpu/drm/gma500/psb_intel_

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

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_lvds.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/gma500/oaktrail_lvds.c b/drivers/gpu/drm/gma500/oaktrail_lvds.c index 3727

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

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_hdmi_i2c.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c b/drivers/gpu/drm/gma500/oaktrail_hdmi_i

[PATCH 40/47] gma500: mark oaktrail_backlight_init() 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/oaktrail_device.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/gma500/oaktrail_device.c b/drivers/gpu/drm/gma500/oaktrail_device.c index

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

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_hdmi.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/gma500/oaktrail_hdmi.c b/drivers/gpu/drm/gma500/oaktrail_hdmi.c index f3fc6

[PATCH 38/47] gma500: oaktrail_hdmi: 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/oaktrail_hdmi.c | 327 1 files changed, 0 insertions(+), 327 deletions(-) diff --git a/drivers/gpu/drm/gma500/oaktrail_hdmi.c b/drivers/gpu/drm/gm

[PATCH 37/47] gma500: oaktrail_crtc: 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/oaktrail_crtc.c | 11 +-- 1 files changed, 1 insertions(+), 10 deletions(-) diff --git a/drivers/gpu/drm/gma500/oaktrail_crtc.c b/drivers/gpu/drm/gma500/oaktrail_crtc.c i

[PATCH 36/47] gma500: oaktrail_crtc: 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/oaktrail_crtc.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/gma500/oaktrail_crtc.c b/drivers/gpu/drm/gma500/oaktrail_crtc.c index ff4

[PATCH 35/47] gma500: mdfld_intel_display: 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/mdfld_intel_display.c | 12 1 files changed, 0 insertions(+), 12 deletions(-) diff --git a/drivers/gpu/drm/gma500/mdfld_intel_display.c b/drivers/gpu/drm/gma500/mdfl

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

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_pkg_sender.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.c b/drivers/gpu/drm/gma500/mdfld_dsi_pkg

[PATCH 33/47] gma500: mdfld_dsi_dpi: 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/mdfld_dsi_dpi.c |9 + 1 files changed, 1 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/gma500/mdfld_dsi_dpi.c b/drivers/gpu/drm/gma500/mdfld_dsi_dpi.c inde

[PATCH 32/47] gma500: mdfld_device: 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/mdfld_device.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/gma500/mdfld_device.c b/drivers/gpu/drm/gma500/mdfld_device.c index 6cfdda

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

2012-03-08 Thread Alan Cox
From: Kirill A. Shutemov cdv_intel_lvds_set_brightness() is only used in commented out code in cdv_set_brightness(). Signed-off-by: Kirill A. Shutemov Signed-off-by: Alan Cox --- drivers/gpu/drm/gma500/cdv_intel_lvds.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git

[PATCH 30/47] gma500: cdv_intel_lvds: 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_lvds.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/gma500/cdv_intel_lvds.c b/drivers/gpu/drm/gma500/cdv_intel_lvds.c in

[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 files changed, 1 insertions(+),

[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 b/drivers/gpu/drm/gma500/cdv_intel_d

[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 b/drivers/gpu/drm/gma500/cdv_intel_d

[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 a/drivers/gpu/drm/gma500/cdv_intel_display.c b/drivers/gpu/drm

[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 |1 + 1 files changed, 1 inserti

[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 b/drivers/gpu/drm/gma500/cdv_device.h index 2a88b7b..9561e

[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 b/drivers/gpu/drm/gma500/psb_drv.c index 61ce2ad..d5a6eab 100

[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 b/drivers/gpu/drm/gma500/psb_drv.c index 91cc16b..61ce2ad 10064

[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 b/drivers/gpu/drm/gma500/psb_drv.c index 92661a3..91cc16b 1

[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 --git a/include/drm/gma_drm.h b/i

[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 a/drivers/gpu/drm/gma500/psb_drv.c b/drivers/gpu/drm/gma500/psb_d

[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 7ba6af3..c5dd4d2 100644 --- a/driv

[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 index c904d73..7ba6af3 100644 --- a

[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 5d5330f..574bc97 100644 --- a/driv

[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 b/drivers/gpu/drm/gma500/framebuffer.c index bfeb96d..

[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 a/drivers/gpu/drm/gma500/framebuffer.c b/drivers/gpu/drm/gma500

[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 ?gem_create_mmap_offset? [-Wmissing-prototy

[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(-) diff --git a/drivers/gpu/drm/gm

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

2012-03-08 Thread Alan Cox
From: Kirill A. Shutemov Nobody uses 'config' parameter. Signed-off-by: Kirill A. Shutemov Signed-off-by: Alan Cox --- drivers/gpu/drm/gma500/mdfld_dsi_output.c | 18 ++ drivers/gpu/drm/gma500/mdfld_dsi_output.h |1 - drivers/gpu/drm/gma500/mdfld_output.c |9 +++

[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 b/drivers/gpu/drm/gma500/framebuffer.c index 110fcad..b4

[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 cleanup stuff folded in, register st

[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 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 a/drivers/gpu/drm/gma500/oaktrail_de

[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 9738229..110fcad 100644 ---

[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 may also leak the memor

[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 754e14b..f92a7f4 100644 --- a/dr

[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 | 72 + drive

[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 files changed, 2 inser

[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 --- a/drivers/gpu/drm/g

[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 stru

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 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 today. Thanks 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 --- 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 another

[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 Pl

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 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 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 issue. My prob

[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 #8 from Rafa? Mi?ecki 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 issue. My pro

[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

[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 mis

[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 bu

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

2012-03-08 Thread Laurent Pinchart
Hi James, On Thursday 08 March 2012 16:57:21 James Simmons 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

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 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 change, I change my mind.

[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, I

[PATCH] omap2+: add drm device

2012-03-08 Thread Tomi Valkeinen
you have to 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>

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

[PATCH 47/47] gma500: psb_irq: mark mid_{enable, disable}_pipe_event() 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_irq.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/gma500/psb_irq.c b/drivers/gpu/drm/gma500/psb_irq.c index a86fc3c..1869586 10064

[PATCH 46/47] gma500: mark psb_intel_sdvo_hdmi_sink_detect() 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_intel_sdvo.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/gma500/psb_intel_sdvo.c b/drivers/gpu/drm/gma500/psb_intel_sdvo.c index 41

[PATCH 45/47] gma500: psb_intel_display: 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_intel_display.c | 13 ++--- 1 files changed, 2 insertions(+), 11 deletions(-) diff --git a/drivers/gpu/drm/gma500/psb_intel_display.c b/drivers/gpu/drm/gma500/psb

[PATCH 44/47] gma500: mark psb_intel_pipe_set_base() 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_intel_display.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/gma500/psb_intel_display.c b/drivers/gpu/drm/gma500/psb_intel_display.c

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

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_intel_display.c |7 --- 1 files changed, 0 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/gma500/psb_intel_display.c b/drivers/gpu/drm/gma500/psb_intel_

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

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_lvds.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/gma500/oaktrail_lvds.c b/drivers/gpu/drm/gma500/oaktrail_lvds.c index 3727

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

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_hdmi_i2c.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c b/drivers/gpu/drm/gma500/oaktrail_hdmi_i

[PATCH 40/47] gma500: mark oaktrail_backlight_init() 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/oaktrail_device.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/gma500/oaktrail_device.c b/drivers/gpu/drm/gma500/oaktrail_device.c index

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

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_hdmi.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/gma500/oaktrail_hdmi.c b/drivers/gpu/drm/gma500/oaktrail_hdmi.c index f3fc6

[PATCH 38/47] gma500: oaktrail_hdmi: 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/oaktrail_hdmi.c | 327 1 files changed, 0 insertions(+), 327 deletions(-) diff --git a/drivers/gpu/drm/gma500/oaktrail_hdmi.c b/drivers/gpu/drm/gm

[PATCH 37/47] gma500: oaktrail_crtc: 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/oaktrail_crtc.c | 11 +-- 1 files changed, 1 insertions(+), 10 deletions(-) diff --git a/drivers/gpu/drm/gma500/oaktrail_crtc.c b/drivers/gpu/drm/gma500/oaktrail_crtc.c i

[PATCH 36/47] gma500: oaktrail_crtc: 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/oaktrail_crtc.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/gma500/oaktrail_crtc.c b/drivers/gpu/drm/gma500/oaktrail_crtc.c index ff4

[PATCH 35/47] gma500: mdfld_intel_display: 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/mdfld_intel_display.c | 12 1 files changed, 0 insertions(+), 12 deletions(-) diff --git a/drivers/gpu/drm/gma500/mdfld_intel_display.c b/drivers/gpu/drm/gma500/mdfl

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

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_pkg_sender.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.c b/drivers/gpu/drm/gma500/mdfld_dsi_pkg

[PATCH 33/47] gma500: mdfld_dsi_dpi: 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/mdfld_dsi_dpi.c |9 + 1 files changed, 1 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/gma500/mdfld_dsi_dpi.c b/drivers/gpu/drm/gma500/mdfld_dsi_dpi.c inde

[PATCH 32/47] gma500: mdfld_device: 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/mdfld_device.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/gma500/mdfld_device.c b/drivers/gpu/drm/gma500/mdfld_device.c index 6cfdda

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

2012-03-08 Thread Alan Cox
From: Kirill A. Shutemov cdv_intel_lvds_set_brightness() is only used in commented out code in cdv_set_brightness(). Signed-off-by: Kirill A. Shutemov Signed-off-by: Alan Cox --- drivers/gpu/drm/gma500/cdv_intel_lvds.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git

[PATCH 30/47] gma500: cdv_intel_lvds: 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_lvds.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/gma500/cdv_intel_lvds.c b/drivers/gpu/drm/gma500/cdv_intel_lvds.c in

[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 files changed, 1 insertions(+),

[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 b/drivers/gpu/drm/gma500/cdv_intel_d

[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 b/drivers/gpu/drm/gma500/cdv_intel_d

[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 a/drivers/gpu/drm/gma500/cdv_intel_display.c b/drivers/gpu/drm

[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 |1 + 1 files changed, 1 inserti

[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 b/drivers/gpu/drm/gma500/cdv_device.h index 2a88b7b..9561e

[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 b/drivers/gpu/drm/gma500/psb_drv.c index 61ce2ad..d5a6eab 100

[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 b/drivers/gpu/drm/gma500/psb_drv.c index 91cc16b..61ce2ad 10064

  1   2   >