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

2012-03-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=47007 Tvrtko Ursulin tvrtko.ursu...@onelan.co.uk changed: What|Removed |Added Attachment #58318|0 |1 is

[Bug 46725] Monitor disconnected and refuses to work anymore

2012-03-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=46725 --- Comment #10 from Tomi Pieviläinen tomi.pievilainen+freedesk...@iki.fi 2012-03-13 02:00:11 PDT --- Unfortunately not. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because:

[RFCv2 PATCH 0/9] Integration of videobuf2 with dmabuf

2012-03-13 Thread Tomasz Stanislawski
Hello everyone, This patchset is an incremental patch to patchset created by Sumit Semwal [1]. The patches are dedicated to help find a better solution for support of buffer sharing by V4L2 API. It is expected to start discussion on the final installment for dma-buf in vb2-dma-contig allocator.

[RFCv2 PATCH 2/9] v4l: vb2-dma-contig: update and code refactoring

2012-03-13 Thread Tomasz Stanislawski
This patch combines updates and fixes to dma-contig allocator. Moreover the allocator code was refactored. The most important changes are: - functions were reordered - move compression of scatterlist to separete function - add support for multichunk but contiguous scatterlists - simplified

[RFCv2 PATCH 1/9] v4l: vb2: fixes for DMABUF support

2012-03-13 Thread Tomasz Stanislawski
This patch contains fixes to DMABUF support in vb2-core. - fixes number of arguments of call_memop macro - fixes setup of plane length - fixes handling of error pointers Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com ---

[RFCv2 PATCH 3/9] v4l: vb2: Add dma-contig allocator as dma_buf user

2012-03-13 Thread Tomasz Stanislawski
From: Sumit Semwal sumit.sem...@ti.com This patch makes changes for adding dma-contig as a dma_buf user. It provides function implementations for the {attach, detach, map, unmap}_dmabuf() mem_ops of DMABUF memory type. Signed-off-by: Sumit Semwal sumit.sem...@ti.com Signed-off-by: Sumit Semwal

[RFCv2 PATCH 5/9] v4l: vb2: add buffer exporting via dmabuf

2012-03-13 Thread Tomasz Stanislawski
This patch adds extension to videobuf2-core. It allow to export a mmap buffer as a file descriptor. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/videobuf2-core.c | 64

[RFCv2 PATCH 8/9] v4l: fimc: integrate capture i-face with dmabuf

2012-03-13 Thread Tomasz Stanislawski
Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/Kconfig |1 + drivers/media/video/s5p-fimc/fimc-capture.c | 11 ++- 2 files changed, 11 insertions(+), 1 deletions(-) diff

[RFCv2 PATCH 6/9] v4l: vb2-dma-contig: add support for DMABUF exporting

2012-03-13 Thread Tomasz Stanislawski
This patch adds support for exporting a dma-contig buffer using DMABUF interface. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/videobuf2-dma-contig.c | 128 1 files

[RFCv2 PATCH 7/9] v4l: vb2-dma-contig: change map/unmap behaviour

2012-03-13 Thread Tomasz Stanislawski
The DMABUF documentation says that the map_dma_buf callback should return scatterlist that is mapped into a caller's address space. In practice, almost none of existing implementations of DMABUF exporter does it. This patch breaks the DMABUF specification in order to allow exchange DMABUF buffers

[RFCv2 PATCH 4/9] v4l: add buffer exporting via dmabuf

2012-03-13 Thread Tomasz Stanislawski
This patch adds extension to V4L2 api. It allow to export a mmap buffer as file descriptor. New ioctl VIDIOC_EXPBUF is added. It takes a buffer offset used by mmap and return a file descriptor on success. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park

[RFCv2 PATCH 9/9] v4l: s5p-tv: mixer: integrate with dmabuf

2012-03-13 Thread Tomasz Stanislawski
Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/s5p-tv/Kconfig |1 + drivers/media/video/s5p-tv/mixer_video.c | 12 +++- 2 files changed, 12 insertions(+), 1 deletions(-) diff --git

[PATCH 01/15] drm: Reject mode set with current fb if no current fb is bound

2012-03-13 Thread ville . syrjala
From: Ville Syrjälä ville.syrj...@linux.intel.com When doing a mode set with the special fb id -1, reject the mode set if no fb is currently bound to the crtc. Also remove the pointless list traversal to find the current crtc based on the current crtc :) Signed-off-by: Ville Syrjälä

[PATCH 03/15] drm: Warn if mode to umode conversion overflows the destination types

2012-03-13 Thread ville . syrjala
From: Ville Syrjälä ville.syrj...@linux.intel.com When converting from a drm_display_mode to drm_mode_modeinfo, print a warning if the the timings values don't fit into the __u16 datatype. Signed-off-by: Ville Syrjälä ville.syrj...@linux.intel.com --- drivers/gpu/drm/drm_crtc.c |7 +++

[PATCH 04/15] drm: Check crtc x and y coordinates

2012-03-13 Thread ville . syrjala
From: Ville Syrjälä ville.syrj...@linux.intel.com The crtc x/y panning coordinates are stored as signed integers internally. The user provides them as unsigned, so we should check that the user provided values actually fit in the internal datatypes. Signed-off-by: Ville Syrjälä

[PATCH 05/15] drm: Make drm_mode_attachmode() void

2012-03-13 Thread ville . syrjala
From: Ville Syrjälä ville.syrj...@linux.intel.com drm_mode_attachmode() always returns 0. Change the return type to void. Signed-off-by: Ville Syrjälä ville.syrj...@linux.intel.com --- drivers/gpu/drm/drm_crtc.c | 16 +--- 1 files changed, 5 insertions(+), 11 deletions(-) diff

[PATCH 06/15] drm: Fix memory leak in drm_mode_setcrtc()

2012-03-13 Thread ville . syrjala
From: Ville Syrjälä ville.syrj...@linux.intel.com The mode passed to the .set_config() hook was never freed. The drivers will make a copy of the mode, so simply free it when done. Signed-off-by: Ville Syrjälä ville.syrj...@linux.intel.com --- drivers/gpu/drm/drm_crtc.c |9 + 1 files

[PATCH 10/15] drm: Make drm_crtc_convert_{umode, to_umode} static and constify their params

2012-03-13 Thread ville . syrjala
From: Ville Syrjälä ville.syrj...@linux.intel.com drm_crtc_convert_umode() and drm_crtc_convert_to_umode() are never used outside drm_crtc.c, so make them static. Also make the input mode structure const for both functions. Signed-off-by: Ville Syrjälä ville.syrj...@linux.intel.com ---

[PATCH 12/15] drm: Use a flexible array member for blob property data

2012-03-13 Thread ville . syrjala
From: Ville Syrjälä ville.syrj...@linux.intel.com The blob property data is always allocated immediately after the object header. No need for the extra indirection when accessing it, just use a flexible array member. Signed-off-by: Ville Syrjälä ville.syrj...@linux.intel.com ---

[PATCH 13/15] drm: Eliminate pointless goto

2012-03-13 Thread ville . syrjala
From: Ville Syrjälä ville.syrj...@linux.intel.com Use a do {} while() loop instead of a goto in drm_mode_object_get(). Signed-off-by: Ville Syrjälä ville.syrj...@linux.intel.com --- drivers/gpu/drm/drm_crtc.c | 20 ++-- 1 files changed, 10 insertions(+), 10 deletions(-) diff

[PATCH 15/15] drm: Fix drm_mode_objecte_get() return values

2012-03-13 Thread ville . syrjala
From: Ville Syrjälä ville.syrj...@linux.intel.com Change drm_mode_object_get() to return -ENOMEM if idr_pre_get() fails, and also handle -ENOSPC from idr_get_new_above(). Signed-off-by: Ville Syrjälä ville.syrj...@linux.intel.com --- drivers/gpu/drm/drm_crtc.c |5 - 1 files changed, 4

[PATCH 00/15] drm: Bounds checking, error handling, etc.

2012-03-13 Thread ville . syrjala
Mostly fixes for various bits and pieces that caught my eye while reading the mode setting code. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel

[PATCH 08/15] drm: Check CRTC viewport against framebuffer size

2012-03-13 Thread ville . syrjala
From: Ville Syrjälä ville.syrj...@linux.intel.com Make sure the requested CRTC viewport fits inside the framebuffer. Signed-off-by: Ville Syrjälä ville.syrj...@linux.intel.com --- drivers/gpu/drm/drm_crtc.c | 24 1 files changed, 24 insertions(+), 0 deletions(-) diff

[PATCH 02/15] drm: Change drm_display_mode::type to unsigned

2012-03-13 Thread ville . syrjala
From: Ville Syrjälä ville.syrj...@linux.intel.com The drm_display_mode type is a bitmask so it should be unsigned. Signed-off-by: Ville Syrjälä ville.syrj...@linux.intel.com --- include/drm/drm_crtc.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[PATCH 14/15] drm: Add drm_mode_copy()

2012-03-13 Thread ville . syrjala
From: Ville Syrjälä ville.syrj...@linux.intel.com Add a helper function to copy a display mode. Use it in drm_mode_duplicate() and nouveau mode_fixup hooks. Signed-off-by: Ville Syrjälä ville.syrj...@linux.intel.com --- drivers/gpu/drm/drm_modes.c| 28 +++-

[PATCH 11/15] drm: Handle drm_object_get() failures

2012-03-13 Thread ville . syrjala
From: Ville Syrjälä ville.syrj...@linux.intel.com Check drm_mode_object_get() return value everywhere. Signed-off-by: Ville Syrjälä ville.syrj...@linux.intel.com --- drivers/gpu/drm/drm_crtc.c| 95 - drivers/gpu/drm/drm_crtc_helper.c |2 +

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

2012-03-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=47007 --- Comment #15 from Tvrtko Ursulin tvrtko.ursu...@onelan.co.uk 2012-03-13 04:44:04 PDT --- Bad news from a different motherboard. This one has DVI-D and DP connectors. With a DVI monitor connected stalls are still there due to the shared_ddc

Re: Re: [korg]help: How to submit a kernel driver on kernel.org.

2012-03-13 Thread Aaron . Chen 陈俊杰
Hi Ilija, Thank you for your reply. We will check the coding style next time. I don't know about the license thing. Is there any different license for choosing? Regards Aaron -邮件原件- 发件人: Ilija Hadzic [mailto:ihad...@research.bell-labs.com] 发送时间: 2012年3月10日 0:30 收件人: Aaron.Chen 陈俊杰

[Bug 42920] New: Radeon with KMS and UMA works only up to 128MB

2012-03-13 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=42920 Summary: Radeon with KMS and UMA works only up to 128MB Product: Drivers Version: 2.5 Kernel Version: 3.3-rc7 Platform: All OS/Version: Linux Tree: Mainline Status:

Re: [PATCH 00/15] drm: Bounds checking, error handling, etc.

2012-03-13 Thread Alex Deucher
On Tue, Mar 13, 2012 at 6:35 AM, ville.syrj...@linux.intel.com wrote: Mostly fixes for various bits and pieces that caught my eye while reading the mode setting code. For the series: Reviewed-by: Alex Deucher alexander.deuc...@amd.com ___ dri-devel

[Bug 42920] Radeon with KMS and UMA works only up to 128MB

2012-03-13 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=42920 Alex Deucher alexdeuc...@gmail.com changed: What|Removed |Added CC|

[Bug 42920] Radeon with KMS and UMA works only up to 128MB

2012-03-13 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=42920 --- Comment #2 from j.fi...@gmail.com 2012-03-13 13:55:08 --- for 128MB it shows this: ./radeontool regmatch 0x5428 0x5428 0x0800 (134217728) but ./radeontool regs | grep MEMSIZE RADEON_CONFIG_MEMSIZE is this it? I'll add

[Bug 42920] Radeon with KMS and UMA works only up to 128MB

2012-03-13 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=42920 --- Comment #3 from Alex Deucher alexdeuc...@gmail.com 2012-03-13 14:13:34 --- radeontool is for older chips. The register is at a different location on them. Note I said radeonreg rather than radeontool, but either will work as long as

Re: [PATCH] drm/i915: no-lvds quirk on MSI DC500

2012-03-13 Thread Anisse Astier
Any opinion on this quirk ? On Wed, 7 Mar 2012 18:36:35 +0100, Anisse Astier ani...@astier.eu wrote : This hardware doesn't have an LVDS, it's a desktop box. Fix incorrect LVDS detection. Cc: sta...@kernel.org Signed-off-by: Anisse Astier ani...@astier.eu ---

[PATCH 00/10] updated exynos-drm-next

2012-03-13 Thread Inki Dae
Hi, Dave and all. this patch set includes the following features. - add HDMI version 1.4 support. - add mode_fixup feature. . hdmi module would change current mode to driver desired mode properly. - add buffer alloction type. . we can allocate physically continuous or non-continuous

[PATCH 02/10] drm/exynos: added mode_fixup feature and code clean.

2012-03-13 Thread Inki Dae
this patch adds mode_fixup feature for hdmi module that specific driver changes current mode to driver desired mode properly. Signed-off-by: Inki Dae inki@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/gpu/drm/exynos/exynos_drm_connector.c | 25 +++-

[PATCH 05/10] drm/exynos: release pending pageflip events when closed

2012-03-13 Thread Inki Dae
From: Joonyoung Shim jy0922.s...@samsung.com We should release pending pageflip events when closed. If not, they will be dangling events. Signed-off-by: Joonyoung Shim jy0922.s...@samsung.com Signed-off-by: Inki Dae inki@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com ---

[PATCH 04/10] drm/exynos: added new funtion to get/put dma address.

2012-03-13 Thread Inki Dae
this function would be used for drm based 2d acceleration driver to get/put dma address through gem handle. when exynos_drm_get_dma_address is called reference count of gem object would be increased not to be released by gem close and when exynos_drm_put_dma_address is called the reference count

[PATCH 06/10] drm/exynos: remove module of exynos drm subdrv

2012-03-13 Thread Inki Dae
From: Joonyoung Shim jy0922.s...@samsung.com The exynos drm driver has several subdrv. They each can be module but it causes unfixed probe order of exynodr drm driver and each subdrv. It also needs some weird codes such as exynos_drm_fbdev_reinit and exynos_drm_mode_group_reinit. This patch can

[PATCH 08/10] drm/exynos: add is_local member in exynos_drm_subdrv struct

2012-03-13 Thread Inki Dae
From: Joonyoung Shim jy0922.s...@samsung.com The is_local member indicates unused subdrv such connector and encoder so doesn't make resources for them. Signed-off-by: Joonyoung Shim jy0922.s...@samsung.com Signed-off-by: Inki Dae inki@samsung.com Signed-off-by: Kyungmin Park

[PATCH 07/10] drm/exynos: add subdrv open/close functions

2012-03-13 Thread Inki Dae
From: Joonyoung Shim jy0922.s...@samsung.com Some subdrv need open and close functions call when open and close drm. Signed-off-by: Joonyoung Shim jy0922.s...@samsung.com Signed-off-by: Inki Dae inki@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com ---

[PATCH 09/10] drm/exynos: add G2D driver

2012-03-13 Thread Inki Dae
From: Joonyoung Shim jy0922.s...@samsung.com G2D is a 2D graphic accelerator that supports Bit Block Transfer. This G2D driver is exynos drm specific and supports only exynos4x12 series. user application fills command set in cmdlist and once dma start request these cmdlists are parsed and

[PATCH 10/10] drm/exynos: added virtual display driver.

2012-03-13 Thread Inki Dae
this driver would be used for wireless display. virtual display driver has independent crtc, encoder and connector and to use this driver, user application should send edid data to this driver from wireless display. Signed-off-by: Inki Dae inki@samsung.com Signed-off-by: Kyungmin Park

[RESEND][PATCH 09/10] drm/exynos: add G2D driver

2012-03-13 Thread Inki Dae
From: Joonyoung Shim jy0922.s...@samsung.com G2D is a 2D graphic accelerator that supports Bit Block Transfer. This G2D driver is exynos drm specific. This adds below three exynos specific ioctl and one event for G2D. - DRM_EXYNOS_G2D_GET_VER - DRM_EXYNOS_G2D_SET_CMDLIST - DRM_EXYNOS_G2D_EXEC

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

2012-03-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=46713 --- Comment #16 from Rafał Miłecki zaj...@gmail.com 2012-03-13 12:04:19 PDT --- Tvrtko: thanks a lot for your effort and dumps coming from fglrx. What I can say now: it seems fglrx is using the same registers (EVERGREEN_AUDIO_PLL1_MUL and

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

2012-03-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=46713 --- Comment #17 from Rafał Miłecki zaj...@gmail.com 2012-03-13 12:05:38 PDT --- If you wish, you can try switching to radeon and: 1) Start playback 2) Make sure speed is still wrong 3) Execute: avivotool regset 0x05b0 0x000ea600 4) Execute:

[Bug 42923] New: External monitor on display port has no sync with radeon driver

2012-03-13 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=42923 Summary: External monitor on display port has no sync with radeon driver Product: Drivers Version: 2.5 Kernel Version: 3.3.0 Platform: All OS/Version: Linux

[PATCH] omap2+: add drm device

2012-03-13 Thread Rob Clark
From: Andy Gross andy.gr...@ti.com Register OMAP DRM/KMS platform device, and reserve a CMA region for the device to use for buffer allocation. DMM is split into a separate device using hwmod. Signed-off-by: Andy Gross andy.gr...@ti.com Signed-off-by: Rob Clark r...@ti.com ---

[Bug 47289] New: SIGSEGV at r300_state.c:1066

2012-03-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=47289 Bug #: 47289 Summary: SIGSEGV at r300_state.c:1066 Classification: Unclassified Product: Mesa Version: 7.11 Platform: x86-64 (AMD64) OS/Version: FreeBSD Status: NEW

Re: [PATCH -next] vgaarb.h: fix build warnings

2012-03-13 Thread Randy Dunlap
On 01/30/2012 11:43 AM, Randy Dunlap wrote: This patch is still needed in linux-next of 20120313. From: Randy Dunlap rdun...@xenotime.net Fix build warnings by providing a struct stub since no fields of the struct are used: include/linux/vgaarb.h:66:9: warning: 'struct pci_dev' declared

[Bug 46796] [X800SE] Mouse cursor corruption when switching users

2012-03-13 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=46796 --- Comment #11 from jonathan 2012-03-12 16:41:14 PDT --- I think this patch works as intended. Well actually, it's hard for me to say it actually fixed the problem due to its random nature, but I haven't had the mouse corruption issue on this

[Bug 39309] vdpau decodes noise on rv350

2012-03-13 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=39309 --- Comment #9 from Andy Furniss 2012-03-12 17:29:18 PDT --- (In reply to comment #2) > Testing just -vo vdpau with sw decode it works but crashes if the window is > resized this happened before as well as today. After playing with gdb,

[Bug 46725] Monitor "disconnected" and refuses to work anymore

2012-03-13 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=46725 --- Comment #10 from Tomi Pievil?inen 2012-03-13 02:00:11 PDT --- Unfortunately not. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail

[RFCv2 PATCH 0/9] Integration of videobuf2 with dmabuf

2012-03-13 Thread Tomasz Stanislawski
Hello everyone, This patchset is an incremental patch to patchset created by Sumit Semwal [1]. The patches are dedicated to help find a better solution for support of buffer sharing by V4L2 API. It is expected to start discussion on the final installment for dma-buf in vb2-dma-contig allocator.

[RFCv2 PATCH 1/9] v4l: vb2: fixes for DMABUF support

2012-03-13 Thread Tomasz Stanislawski
This patch contains fixes to DMABUF support in vb2-core. - fixes number of arguments of call_memop macro - fixes setup of plane length - fixes handling of error pointers Signed-off-by: Tomasz Stanislawski Signed-off-by: Kyungmin Park --- drivers/media/video/videobuf2-core.c | 24

[RFCv2 PATCH 3/9] v4l: vb2: Add dma-contig allocator as dma_buf user

2012-03-13 Thread Tomasz Stanislawski
From: Sumit Semwal This patch makes changes for adding dma-contig as a dma_buf user. It provides function implementations for the {attach, detach, map, unmap}_dmabuf() mem_ops of DMABUF memory type. Signed-off-by: Sumit Semwal Signed-off-by: Sumit Semwal [author

[RFCv2 PATCH 8/9] v4l: fimc: integrate capture i-face with dmabuf

2012-03-13 Thread Tomasz Stanislawski
Signed-off-by: Tomasz Stanislawski Signed-off-by: Kyungmin Park --- drivers/media/video/Kconfig |1 + drivers/media/video/s5p-fimc/fimc-capture.c | 11 ++- 2 files changed, 11 insertions(+), 1 deletions(-) diff --git a/drivers/media/video/Kconfig

[RFCv2 PATCH 6/9] v4l: vb2-dma-contig: add support for DMABUF exporting

2012-03-13 Thread Tomasz Stanislawski
This patch adds support for exporting a dma-contig buffer using DMABUF interface. Signed-off-by: Tomasz Stanislawski Signed-off-by: Kyungmin Park --- drivers/media/video/videobuf2-dma-contig.c | 128 1 files changed, 128 insertions(+), 0 deletions(-) diff --git

[RFCv2 PATCH 4/9] v4l: add buffer exporting via dmabuf

2012-03-13 Thread Tomasz Stanislawski
This patch adds extension to V4L2 api. It allow to export a mmap buffer as file descriptor. New ioctl VIDIOC_EXPBUF is added. It takes a buffer offset used by mmap and return a file descriptor on success. Signed-off-by: Tomasz Stanislawski Signed-off-by: Kyungmin Park ---

[RFCv2 PATCH 9/9] v4l: s5p-tv: mixer: integrate with dmabuf

2012-03-13 Thread Tomasz Stanislawski
Signed-off-by: Tomasz Stanislawski Signed-off-by: Kyungmin Park --- drivers/media/video/s5p-tv/Kconfig |1 + drivers/media/video/s5p-tv/mixer_video.c | 12 +++- 2 files changed, 12 insertions(+), 1 deletions(-) diff --git a/drivers/media/video/s5p-tv/Kconfig

[PATCH 01/15] drm: Reject mode set with current fb if no current fb is bound

2012-03-13 Thread ville.syrj...@linux.intel.com
From: Ville Syrj?l? When doing a mode set with the special fb id -1, reject the mode set if no fb is currently bound to the crtc. Also remove the pointless list traversal to find the current crtc based on the current crtc :) Signed-off-by: Ville Syrj?l? ---

[PATCH 03/15] drm: Warn if mode to umode conversion overflows the destination types

2012-03-13 Thread ville.syrj...@linux.intel.com
From: Ville Syrj?l? When converting from a drm_display_mode to drm_mode_modeinfo, print a warning if the the timings values don't fit into the __u16 datatype. Signed-off-by: Ville Syrj?l? --- drivers/gpu/drm/drm_crtc.c |7 +++ 1 files changed, 7

[PATCH 04/15] drm: Check crtc x and y coordinates

2012-03-13 Thread ville.syrj...@linux.intel.com
From: Ville Syrj?l? The crtc x/y panning coordinates are stored as signed integers internally. The user provides them as unsigned, so we should check that the user provided values actually fit in the internal datatypes. Signed-off-by: Ville Syrj?l? ---

[PATCH 05/15] drm: Make drm_mode_attachmode() void

2012-03-13 Thread ville.syrj...@linux.intel.com
From: Ville Syrj?l? drm_mode_attachmode() always returns 0. Change the return type to void. Signed-off-by: Ville Syrj?l? --- drivers/gpu/drm/drm_crtc.c | 16 +--- 1 files changed, 5 insertions(+), 11 deletions(-) diff --git

[PATCH 06/15] drm: Fix memory leak in drm_mode_setcrtc()

2012-03-13 Thread ville.syrj...@linux.intel.com
From: Ville Syrj?l? The mode passed to the .set_config() hook was never freed. The drivers will make a copy of the mode, so simply free it when done. Signed-off-by: Ville Syrj?l? --- drivers/gpu/drm/drm_crtc.c |9 + 1 files changed, 9 insertions(+),

[PATCH 07/15] drm: Check user mode against overflows

2012-03-13 Thread ville.syrj...@linux.intel.com
From: Ville Syrj?l? The internal mode representation drm_display_mode uses signed data types. When converting the user mode to internal representation, check that the unsigned values don't overflow the signed datatypes. Signed-off-by: Ville Syrj?l? ---

[PATCH 09/15] drm: Fix drm_mode_attachmode_crtc()

2012-03-13 Thread ville.syrj...@linux.intel.com
From: Ville Syrj?l? Change drm_mode_attachmode_crtc() to take an "all or nothing" approach. If an error is returned, there are no side effects visible. Also change the function to always duplicate the mode passed in. Also change the function to not give up when

[PATCH 10/15] drm: Make drm_crtc_convert_{umode, to_umode} static and constify their params

2012-03-13 Thread ville.syrj...@linux.intel.com
From: Ville Syrj?l? drm_crtc_convert_umode() and drm_crtc_convert_to_umode() are never used outside drm_crtc.c, so make them static. Also make the input mode structure const for both functions. Signed-off-by: Ville Syrj?l? --- drivers/gpu/drm/drm_crtc.c |8

[PATCH 12/15] drm: Use a flexible array member for blob property data

2012-03-13 Thread ville.syrj...@linux.intel.com
From: Ville Syrj?l? The blob property data is always allocated immediately after the object header. No need for the extra indirection when accessing it, just use a flexible array member. Signed-off-by: Ville Syrj?l? --- drivers/gpu/drm/drm_crtc.c |1 -

[PATCH 13/15] drm: Eliminate pointless goto

2012-03-13 Thread ville.syrj...@linux.intel.com
From: Ville Syrj?l? Use a do {} while() loop instead of a goto in drm_mode_object_get(). Signed-off-by: Ville Syrj?l? --- drivers/gpu/drm/drm_crtc.c | 20 ++-- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git

[PATCH 15/15] drm: Fix drm_mode_objecte_get() return values

2012-03-13 Thread ville.syrj...@linux.intel.com
From: Ville Syrj?l? Change drm_mode_object_get() to return -ENOMEM if idr_pre_get() fails, and also handle -ENOSPC from idr_get_new_above(). Signed-off-by: Ville Syrj?l? --- drivers/gpu/drm/drm_crtc.c |5 - 1 files changed, 4 insertions(+), 1

[PATCH 00/15] drm: Bounds checking, error handling, etc.

2012-03-13 Thread ville.syrj...@linux.intel.com
Mostly fixes for various bits and pieces that caught my eye while reading the mode setting code.

[PATCH 08/15] drm: Check CRTC viewport against framebuffer size

2012-03-13 Thread ville.syrj...@linux.intel.com
From: Ville Syrj?l? Make sure the requested CRTC viewport fits inside the framebuffer. Signed-off-by: Ville Syrj?l? --- drivers/gpu/drm/drm_crtc.c | 24 1 files changed, 24 insertions(+), 0 deletions(-) diff --git

[PATCH 02/15] drm: Change drm_display_mode::type to unsigned

2012-03-13 Thread ville.syrj...@linux.intel.com
From: Ville Syrj?l? The drm_display_mode type is a bitmask so it should be unsigned. Signed-off-by: Ville Syrj?l? --- include/drm/drm_crtc.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h

[PATCH 14/15] drm: Add drm_mode_copy()

2012-03-13 Thread ville.syrj...@linux.intel.com
From: Ville Syrj?l? Add a helper function to copy a display mode. Use it in drm_mode_duplicate() and nouveau mode_fixup hooks. Signed-off-by: Ville Syrj?l? --- drivers/gpu/drm/drm_modes.c| 28 +++-

[PATCH 11/15] drm: Handle drm_object_get() failures

2012-03-13 Thread ville.syrj...@linux.intel.com
From: Ville Syrj?l? Check drm_mode_object_get() return value everywhere. Signed-off-by: Ville Syrj?l? --- drivers/gpu/drm/drm_crtc.c| 95 - drivers/gpu/drm/drm_crtc_helper.c |2 + include/drm/drm_crtc.h

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

2012-03-13 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=47007 --- Comment #15 from Tvrtko Ursulin 2012-03-13 04:44:04 PDT --- Bad news from a different motherboard. This one has DVI-D and DP connectors. With a DVI monitor connected stalls are still there due to the shared_ddc being true (DDC shared

[korg]help: How to submit a kernel driver on kernel.org.

2012-03-13 Thread Aaron.Chen 陈俊杰
Hi Ilija, Thank you for your reply. We will check the coding style next time. I don't know about the license thing. Is there any different license for choosing? Regards Aaron -- ???: Ilija Hadzic [mailto:ihadzic at research.bell-labs.com] : 2012?3?10? 0:30 ???: Aaron.Chen ???

[Bug 42920] New: Radeon with KMS and UMA works only up to 128MB

2012-03-13 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=42920 Summary: Radeon with KMS and UMA works only up to 128MB Product: Drivers Version: 2.5 Kernel Version: 3.3-rc7 Platform: All OS/Version: Linux Tree: Mainline Status:

[PATCH 00/15] drm: Bounds checking, error handling, etc.

2012-03-13 Thread Alex Deucher
On Tue, Mar 13, 2012 at 6:35 AM, wrote: > Mostly fixes for various bits and pieces that caught my eye while > reading the mode setting code. For the series: Reviewed-by: Alex Deucher

[Bug 42920] Radeon with KMS and UMA works only up to 128MB

2012-03-13 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=42920 Alex Deucher changed: What|Removed |Added CC||alexdeucher at gmail.com --- Comment

[Bug 42920] Radeon with KMS and UMA works only up to 128MB

2012-03-13 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=42920 --- Comment #2 from j.fikar at gmail.com 2012-03-13 13:55:08 --- for 128MB it shows this: ./radeontool regmatch 0x5428 0x5428 0x0800 (134217728) but ./radeontool regs | grep MEMSIZE RADEON_CONFIG_MEMSIZE is this it? I'll

[Bug 42920] Radeon with KMS and UMA works only up to 128MB

2012-03-13 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=42920 --- Comment #3 from Alex Deucher 2012-03-13 14:13:34 --- radeontool is for older chips. The register is at a different location on them. Note I said radeonreg rather than radeontool, but either will work as long as you specify the proper

[PATCH] drm/i915: no-lvds quirk on MSI DC500

2012-03-13 Thread Anisse Astier
Any opinion on this quirk ? On Wed, 7 Mar 2012 18:36:35 +0100, Anisse Astier wrote : > This hardware doesn't have an LVDS, it's a desktop box. Fix incorrect > LVDS detection. > > Cc: stable at kernel.org > Signed-off-by: Anisse Astier > --- > drivers/gpu/drm/i915/intel_lvds.c |8

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

2012-03-13 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=46713 --- Comment #16 from Rafa? Mi?ecki 2012-03-13 12:04:19 PDT --- Tvrtko: thanks a lot for your effort and dumps coming from fglrx. What I can say now: it seems fglrx is using the same registers (EVERGREEN_AUDIO_PLL1_MUL and

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

2012-03-13 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=46713 --- Comment #17 from Rafa? Mi?ecki 2012-03-13 12:05:38 PDT --- If you wish, you can try switching to radeon and: 1) Start playback 2) Make sure speed is still wrong 3) Execute: "avivotool regset 0x05b0 0x000ea600" 4) Execute: "avivotool regset

[Bug 42923] New: External monitor on display port has no sync with radeon driver

2012-03-13 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=42923 Summary: External monitor on display port has no sync with radeon driver Product: Drivers Version: 2.5 Kernel Version: 3.3.0 Platform: All OS/Version: Linux

[PATCH] omap2+: add drm device

2012-03-13 Thread Rob Clark
From: Andy Gross Register OMAP DRM/KMS platform device, and reserve a CMA region for the device to use for buffer allocation. DMM is split into a separate device using hwmod. Signed-off-by: Andy Gross Signed-off-by: Rob Clark --- arch/arm/mach-omap2/Makefile |

[Bug 47289] New: SIGSEGV at r300_state.c:1066

2012-03-13 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=47289 Bug #: 47289 Summary: SIGSEGV at r300_state.c:1066 Classification: Unclassified Product: Mesa Version: 7.11 Platform: x86-64 (AMD64) OS/Version: FreeBSD Status: NEW

[PATCH -next] vgaarb.h: fix build warnings

2012-03-13 Thread Randy Dunlap
On 01/30/2012 11:43 AM, Randy Dunlap wrote: This patch is still needed in linux-next of 20120313. > From: Randy Dunlap > > Fix build warnings by providing a struct stub since no fields of > the struct are used: > > include/linux/vgaarb.h:66:9: warning: 'struct pci_de