[PATCH 4/4] drm: Renesas SH Mobile DRM driver

2012-06-27 Thread Lars-Peter Clausen
On 06/27/2012 10:27 PM, Laurent Pinchart wrote: > Hi Lars-Peter, > > On Wednesday 27 June 2012 22:06:54 Lars-Peter Clausen wrote: >> On 06/27/2012 02:40 PM, Laurent Pinchart wrote: >>> Hi Lars-Peter, >>> >>> [...] >>> >>> Do you plan to post a v3 of your "DRM: Add DRM kms/fb cma helper" patch in >

[PATCHv7 03/15] v4l: vb2: add support for shared buffer (dma_buf)

2012-06-27 Thread Laurent Pinchart
Hi Dima, On Tuesday 26 June 2012 13:53:34 Dima Zavin wrote: > On Tue, Jun 26, 2012 at 2:40 AM, Hans Verkuil wrote: > > On Tue 26 June 2012 11:11:06 Laurent Pinchart wrote: > >> On Tuesday 26 June 2012 10:40:44 Tomasz Stanislawski wrote: > >> > Hi Dima Zavin, > >> > Thank you for the patch and for

[PATCH 10/10] drm/exynos: consider memory releasing to exported gem buffer into dmabuf

2012-06-27 Thread Inki Dae
> -Original Message- > From: Daniel Vetter [mailto:daniel.vetter at ffwll.ch] On Behalf Of Daniel > Vetter > Sent: Wednesday, June 27, 2012 9:55 PM > To: Inki Dae > Cc: 'Rob Clark'; kyungmin.park at samsung.com; sw0312.kim at samsung.com; dri- > devel at lists.freedesktop.org > Subject: R

[PATCH 4/4] drm: Renesas SH Mobile DRM driver

2012-06-27 Thread Laurent Pinchart
Hi Lars-Peter, On Wednesday 27 June 2012 22:06:54 Lars-Peter Clausen wrote: > On 06/27/2012 02:40 PM, Laurent Pinchart wrote: > > Hi Lars-Peter, > > > > [...] > > > > Do you plan to post a v3 of your "DRM: Add DRM kms/fb cma helper" patch in > > the near future ? > > Hi Laurent, > > I don't th

[PATCH 4/4] drm: Renesas SH Mobile DRM driver

2012-06-27 Thread Lars-Peter Clausen
On 06/27/2012 02:40 PM, Laurent Pinchart wrote: > Hi Lars-Peter, > > [...] > > Do you plan to post a v3 of your "DRM: Add DRM kms/fb cma helper" patch in > the > near future ? Hi Laurent, I don't think there have been any changes since v2 except for adjusting to the renamed functions in Sasch

[PATCH 10/10] drm/exynos: consider memory releasing to exported gem buffer into dmabuf

2012-06-27 Thread Inki Dae
Hi Rob, > -Original Message- > From: robdclark at gmail.com [mailto:robdclark at gmail.com] On Behalf Of Rob > Clark > Sent: Wednesday, June 27, 2012 9:20 PM > To: Inki Dae > Cc: airlied at linux.ie; dri-devel at lists.freedesktop.org; > kyungmin.park at samsung.com; sw0312.kim at samsung.

[RFC][PATCH 0/10] Atomic modesetting v2

2012-06-27 Thread Ville Syrjälä
On Wed, Jun 27, 2012 at 09:48:26AM -0700, Jesse Barnes wrote: > On Wed, 27 Jun 2012 13:24:02 +0300 > ville.syrjala at linux.intel.com wrote: > > > Second version of the atomic mode setting work. Still very much > > work in progress. > > > > I decided that I can't afford to fight the drm_crtc_help

[Bug 51484] New: [i915g] piglit fbo-srgb fails since 45fc069600ddbfe07a0a0cd5280161a8c7c55dd0

2012-06-27 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=51484 Bug #: 51484 Summary: [i915g] piglit fbo-srgb fails since 45fc069600ddbfe07a0a0cd5280161a8c7c55dd0 Classification: Unclassified Product: Mesa Version: git Platform: x8

[dan...@ffwll.ch: [pull] drm-intel-fixes]

2012-06-27 Thread Daniel Vetter
I'm so ridiculously good at forgetting about the cc's on these pull requests ... -Daniel - Forwarded message from Daniel Vetter - Date: Wed, 27 Jun 2012 20:39:43 +0200 From: Daniel Vetter To: Dave Airlie Subject: [pull] drm-intel-fixes Message-ID: <20120627183943.GI5326 at phenom.ffwll

[Bug 51344] massive corruption on RV410

2012-06-27 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=51344 --- Comment #4 from Tormod Volden 2012-06-27 12:33:37 PDT --- Sorry, I don't know when I can have time to do that. I'll try harder if the bug can be confirmed by other people too. Maybe the right developer can make an educated guess if it's limi

[RFC][PATCH 0/10] Atomic modesetting v2

2012-06-27 Thread Dave Airlie
On Wed, Jun 27, 2012 at 6:11 PM, Adam Jackson wrote: > On Wed, 2012-06-27 at 09:48 -0700, Jesse Barnes wrote: > >> The other thing I'm worried about with atomic mode setting is handling >> the legacy case properly. ?We'll still need to handle apps that want to >> change one CRTC at a time without

[PATCH, RFC] displaymodes in devicetree

2012-06-27 Thread Sascha Hauer
On Wed, Jun 27, 2012 at 06:16:12AM -1000, Mitch Bradley wrote: > On 6/27/2012 2:43 AM, Sascha Hauer wrote: > >Hi All, > > > >I'd like to have a possibility to describe fixed display modes in the > >devicetree. This topic has been discussed before here: > > > >https://lists.ozlabs.org/pipermail/linu

Tegra DRM device tree bindings

2012-06-27 Thread Lucas Stach
Am Mittwoch, den 27.06.2012, 16:44 +0200 schrieb Thierry Reding: > On Wed, Jun 27, 2012 at 05:29:14PM +0300, Hiroshi Doyu wrote: > > On Wed, 27 Jun 2012 16:08:10 +0200 > > Thierry Reding wrote: > > > > > * PGP Signed by an unknown key > > > > > > On Wed, Jun 27, 2012 at 03:59:07PM +0300, Hiroshi

[PATCH] drm/radeon: disable any GPU activity after unrecovered lockup

2012-06-27 Thread Michel Dänzer
On Mit, 2012-06-27 at 10:49 -0400, Jerome Glisse wrote: > On Wed, Jun 27, 2012 at 5:19 AM, Michel D?nzer wrote: > > On Die, 2012-06-26 at 17:04 -0400, j.glisse at gmail.com wrote: > >> From: Jerome Glisse > >> > >> After unrecovered GPU lockup avoid any GPU activities to avoid > >> things like k

Tegra DRM device tree bindings

2012-06-27 Thread Hiroshi Doyu
On Wed, 27 Jun 2012 16:08:10 +0200 Thierry Reding wrote: > * PGP Signed by an unknown key > > On Wed, Jun 27, 2012 at 03:59:07PM +0300, Hiroshi Doyu wrote: > > On Wed, 27 Jun 2012 07:14:18 +0200 > > Thierry Reding wrote: > > > > > > Old Signed by an unknown key > > > > > > On Tue, Jun 26, 201

[PATCH] i915: initialize CADL in opregion

2012-06-27 Thread Lekensteyn
On Wednesday 27 June 2012 17:03:02 Daniel Vetter wrote: > On Tue, Jun 26, 2012 at 11:07:55PM +0200, Daniel Vetter wrote: > > On Tue, Jun 26, 2012 at 02:04:00PM -0700, Jesse Barnes wrote: > > > On Tue, 26 Jun 2012 00:36:24 +0200 > > > > > > Lekensteyn wrote: > > > > This is rather a hack to fix br

[PATCH 10/10] drm/exynos: consider memory releasing to exported gem buffer into dmabuf

2012-06-27 Thread Inki Dae
exported gem buffer into dmabuf should be released when a gem relese is requested by user. with dma_buf_put() call, if file->f_count is 0 then a release callback of exynos gem module(exporter) will be called to release its own gem buffer. Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park ---

[PATCH 09/10] drm/exynos: removed unnecessary variable

2012-06-27 Thread Inki Dae
Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_core.c |5 - 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_core.c b/drivers/gpu/drm/exynos/exynos_drm_core.c index eaf630d..84dd099 100644 --- a/

[PATCH 08/10] drm/exynos: do not release memory region from exporter.

2012-06-27 Thread Inki Dae
the region should be released by exporter once dmabuf's refcount becomes 0. Signed-off-by: Inki Dae Signed-off-by: Seung-Woo Kim Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_gem.c | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/drivers/g

[PATCH 07/10] drm/exynos: set buffer type from exporter.

2012-06-27 Thread Inki Dae
when fd is imported to gem, whether the memory type from exporter is contigous or not should be set to gem flag so that drm-based driver can aware of the memory type. Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_dmabuf.c | 27 -

[PATCH 06/10] drm/exynos: use alloc_page() to allocate pages.

2012-06-27 Thread Inki Dae
shmem_read_mapping_page_gfp() first tries to allocate pages from page cache so if pages are allocated from page cache then these pages could have valid cache line. after that cpu may read garbage data from cache once gpu operation is completed with allocated pages. so with this patch, Non-contiguou

[PATCH 05/10] drm/exynos: fixed build warning.

2012-06-27 Thread Inki Dae
Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_vidi.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_vidi.c b/drivers/gpu/drm/exynos/exynos_drm_vidi.c index 1d7d030..bb1550c 100644 --- a/dri

[PATCH 04/10] drm/exynos: fixed edid data setting at vidi connection request

2012-06-27 Thread Inki Dae
edid data from user should be allocated and copied into vidi context and also freed with disconnection. Signed-off-by: Inki Dae Signed-off-by: Seung-Woo Kim Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_vidi.c | 38 - 1 files changed, 31 inser

[PATCH 03/10] drm/exynos: check if raw edid data is fake or not for test

2012-06-27 Thread Inki Dae
if raw edid data isn't same as fake data then it can't be tested. Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_vidi.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_vidi.c b/drivers/g

[PATCH 02/10] drm/exynos: set edid fake data only for test.

2012-06-27 Thread Inki Dae
Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_vidi.c |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_vidi.c b/drivers/gpu/drm/exynos/exynos_drm_vidi.c index 5640d57..88dae6b 100644 ---

[PATCH 01/10] drm/exynos: removed unnecessary declaration.

2012-06-27 Thread Inki Dae
Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_vidi.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_vidi.c b/drivers/gpu/drm/exynos/exynos_drm_vidi.c index 7b9c153..5640d57 100644 --- a/dri

[PATCH 00/10] drm/exynos: fix vidi driver and gem module

2012-06-27 Thread Inki Dae
these patch sets fix some issues to gem and vidi driver and include the following: - fixes cache issue according to gpu operation . shmem_read_mapping_page_gfp function first tries to allocate pages from page cache and if the allocation is done from page cache the the pages could have val

[PATCH] i915: initialize CADL in opregion

2012-06-27 Thread Daniel Vetter
On Tue, Jun 26, 2012 at 11:07:55PM +0200, Daniel Vetter wrote: > On Tue, Jun 26, 2012 at 02:04:00PM -0700, Jesse Barnes wrote: > > On Tue, 26 Jun 2012 00:36:24 +0200 > > Lekensteyn wrote: > > > > > This is rather a hack to fix brightness hotkeys on a Clevo laptop. CADL > > > is not > > > used an

Tegra DRM device tree bindings

2012-06-27 Thread Thierry Reding
use-case, but I still think it makes sense to > > specify it on a per-board basis. > > DRM driver doesn't know if it uses CMA or not, because DRM only uses > DMA API. So how is the DRM supposed to allocate buffers? Does it call the dma_alloc_from_contiguous() function to do that? I can see how it is used by arm_dma_ops but how does it end up in the driver? > I think that "coherent_pool" can be used only when the amount of > contiguous memory is short in your system. Otherwise even unnecessary. > > Could you explain a bit more why you want carveout size on per-board basis? In the ideal case I would want to not have a carveout size at all. However there may be situations where you need to make sure some driver can allocate a given amount of memory. Having to specify this using a kernel command-line parameter is cumbersome because it may require changes to the bootloader or whatever. So if you know that a particular board always needs 128 MiB of carveout, then it makes sense to specify it on a per-board basis. Thierry -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20120627/b2ef438e/attachment.pgp>

Tegra DRM device tree bindings

2012-06-27 Thread Thierry Reding
nt > > for the GART? > > Mostly agree. IIUC, we use both carveout/gart allocated buffers in > android/tegra2. > > >As such I'd think the carveout should rather be a property > > of the host1x device. > > Rather than introducing a new property, how about using > "coherent_pool=??M" in the kernel command line if necessary? I think > that this carveout size depends on the system usage/load. I was hoping that we could get away with using the CMA and perhaps initialize it based on device tree content. I agree that the carveout size depends on the use-case, but I still think it makes sense to specify it on a per-board basis. Thierry -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20120627/ea14870b/attachment.pgp>

Tegra DRM device tree bindings

2012-06-27 Thread Hiroshi Doyu
On Wed, 27 Jun 2012 07:14:18 +0200 Thierry Reding wrote: > * PGP Signed by an unknown key > > On Tue, Jun 26, 2012 at 08:48:18PM -0600, Stephen Warren wrote: > > On 06/26/2012 08:32 PM, Mark Zhang wrote: > > >> On 06/26/2012 07:46 PM, Mark Zhang wrote: > > > On Tue, 26 Jun 2012 12:55:13 +020

Tegra DRM device tree bindings

2012-06-27 Thread Hiroshi Doyu
On Wed, 27 Jun 2012 04:48:18 +0200 Stephen Warren wrote: > On 06/26/2012 08:32 PM, Mark Zhang wrote: > >> On 06/26/2012 07:46 PM, Mark Zhang wrote: > > On Tue, 26 Jun 2012 12:55:13 +0200 > > Thierry Reding wrote: > >> ... > I'm not sure I understand how information about the carveou

[PATCH v4] DRM: add drm gem CMA helper

2012-06-27 Thread Laurent Pinchart
Hi Sascha, Thanks for the patch. Just one small comment below. On Wednesday 27 June 2012 15:30:18 Sascha Hauer wrote: [snip] > +/* > + * drm_gem_cma_dumb_create - (struct drm_driver)->dumb_create callback > + * function > + * > + * This aligns the pitch and size arguments to the minimum requir

Tegra DRM device tree bindings

2012-06-27 Thread Hiroshi Doyu
On Wed, 27 Jun 2012 04:32:07 +0200 Mark Zhang wrote: > > On 06/26/2012 07:46 PM, Mark Zhang wrote: > > >>> On Tue, 26 Jun 2012 12:55:13 +0200 > > >>> Thierry Reding wrote: > > ... > > >> I'm not sure I understand how information about the carveout would be > > >> obtained from the IOMMU API, tho

[PATCH 0/11] drm/exynos: update crtc and plane

2012-06-27 Thread Inki Dae
> -Original Message- > From: Joonyoung Shim [mailto:jy0922.shim at samsung.com] > Sent: Wednesday, June 27, 2012 2:27 PM > To: dri-devel at lists.freedesktop.org > Cc: inki.dae at samsung.com; kyungmin.park at samsung.com > Subject: [PATCH 0/11] drm/exynos: update crtc and plane > > This

Tegra DRM device tree bindings

2012-06-27 Thread Hiroshi Doyu
On Tue, 26 Jun 2012 16:00:33 +0200 Thierry Reding wrote: > * PGP Signed by an unknown key > > On Tue, Jun 26, 2012 at 04:02:24PM +0300, Hiroshi Doyu wrote: > > Hi Thierry, > > > > On Tue, 26 Jun 2012 12:55:13 +0200 > > Thierry Reding wrote: > > > > > > Old Signed by an unknown key > > > > >

[PATCH] DRM: add drm gem CMA helper

2012-06-27 Thread Sascha Hauer
On Wed, Jun 27, 2012 at 03:20:27PM +0200, Laurent Pinchart wrote: > Hi Sascha, > > Thanks for the patch. > > On Wednesday 27 June 2012 15:00:05 Sascha Hauer wrote: > > Many embedded drm devices do not have a IOMMU and no dedicated > > memory for graphics. These devices use CMA (Contiguous Memory

[PATCH v4] DRM: add drm gem CMA helper

2012-06-27 Thread Sascha Hauer
Many embedded drm devices do not have a IOMMU and no dedicated memory for graphics. These devices use CMA (Contiguous Memory Allocator) backed graphics memory. This patch provides helper functions to be able to share the code. The code technically does not depend on CMA as the backend allocator, th

[ANN] compat-drm tree

2012-06-27 Thread Ozan Çağlayan
Hi, I'm maintaining a compat-drm tree (based on compat.git) as part of my GSoC project with Linux Foundation, under the mentorship of Luis R. Rodriguez. The aim of the tree is to offer the latest DRM stuff to people stuck with older kernels (Currently all of the popular and maintained drm drivers

[PATCH] DRM: add drm gem CMA helper

2012-06-27 Thread Laurent Pinchart
Hi Sascha, Thanks for the patch. On Wednesday 27 June 2012 15:00:05 Sascha Hauer wrote: > Many embedded drm devices do not have a IOMMU and no dedicated > memory for graphics. These devices use CMA (Contiguous Memory > Allocator) backed graphics memory. This patch provides helper > functions to b

[PATCH] staging: drm/omap: update TODO

2012-06-27 Thread Rob Clark
From: Rob Clark Update TODO file, which had been neglected. Signed-off-by: Rob Clark --- drivers/staging/omapdrm/TODO |7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/staging/omapdrm/TODO b/drivers/staging/omapdrm/TODO index 55b1837..938c788 100644 --- a/dr

[PATCH] staging: drm/omap: add rotation properties

2012-06-27 Thread Rob Clark
On Wed, Jun 27, 2012 at 2:40 PM, Greg KH wrote: > On Wed, Jun 27, 2012 at 09:06:26AM -0500, Rob Clark wrote: >> From: Rob Clark >> >> Use tiled buffers for rotated/reflected scanout, with CRTC and plane >> properties as the interface for userspace to configure rotation. >> >> Signed-off-by: Rob C

[PATCH v2] DRM: add drm gem cma helper

2012-06-27 Thread Sascha Hauer
Hi Laurent, On Wed, Jun 27, 2012 at 01:38:39PM +0200, Laurent Pinchart wrote: > Hi Sascha, > > On Thursday 31 May 2012 10:08:54 Sascha Hauer wrote: > > Many embedded drm devices do not have a IOMMU and no dedicated > > memory for graphics. These devices use cma (Contiguous Memory > > Allocator) b

[PATCH] DRM: add drm gem CMA helper

2012-06-27 Thread Sascha Hauer
Many embedded drm devices do not have a IOMMU and no dedicated memory for graphics. These devices use CMA (Contiguous Memory Allocator) backed graphics memory. This patch provides helper functions to be able to share the code. The code technically does not depend on CMA as the backend allocator, th

[PATCH 10/10] drm/exynos: consider memory releasing to exported gem buffer into dmabuf

2012-06-27 Thread Daniel Vetter
On Wed, Jun 27, 2012 at 09:44:15PM +0900, Inki Dae wrote: > Hi Rob, > > > -Original Message- > > From: robdclark at gmail.com [mailto:robdclark at gmail.com] On Behalf Of > > Rob > > Clark > > Sent: Wednesday, June 27, 2012 9:20 PM > > To: Inki Dae > > Cc: airlied at linux.ie; dri-devel a

[PATCH, RFC] displaymodes in devicetree

2012-06-27 Thread Sascha Hauer
Hi All, I'd like to have a possibility to describe fixed display modes in the devicetree. This topic has been discussed before here: https://lists.ozlabs.org/pipermail/linuxppc-dev/2010-February/080683.html The result at that time was that EDID data should be considered to use as this is a forma

[PATCH 4/4] drm: Renesas SH Mobile DRM driver

2012-06-27 Thread Laurent Pinchart
Hi Ville, Thank you for the review. On Wednesday 30 May 2012 17:16:46 Ville Syrj?l? wrote: > On Wed, May 30, 2012 at 02:32:59PM +0200, Laurent Pinchart wrote: > > +static struct drm_framebuffer * > > +shmob_drm_fb_create(struct drm_device *dev, struct drm_file *file_priv, > > + stru

[PATCH 4/4] drm: Renesas SH Mobile DRM driver

2012-06-27 Thread Laurent Pinchart
Hi Lars-Peter, On Wednesday 30 May 2012 17:10:00 Lars-Peter Clausen wrote: > On 05/30/2012 04:45 PM, Lars-Peter Clausen wrote: > > On 05/30/2012 02:32 PM, Laurent Pinchart wrote: > >> [...] > >> + for (i = 0; i < (format->yuv ? 2 : 1); ++i) { > >> + obj = drm_gem_object_lookup(dev, file_

[PATCH 11/11] drm/exynos: add property for crtc mode

2012-06-27 Thread Joonyoung Shim
This patch adds exynos specific property for crtc mode. The crtc mode property has tow modes - normal and blank. The normal mode is default mode and can use crtc normally. The blank mode turns off the private plane of crtc, so we don't see crtc screen but can see other plane screens. Signed-off-by

[PATCH 10/11] drm/exynos: add crtc disable function

2012-06-27 Thread Joonyoung Shim
The crtc disable is used to turn off private plane for crtc. Signed-off-by: Joonyoung Shim Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_crtc.c | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_crtc.c b/dr

[PATCH 09/11] drm/exynos: add plane enable/disable

2012-06-27 Thread Joonyoung Shim
The plane enable/disable can control only a power of plane, so they will be helpful to handle planes with dpms. Signed-off-by: Joonyoung Shim Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_crtc.c| 20 ++ drivers/gpu/drm/exynos/exynos_drm_drv.h |2 +

[PATCH 08/11] drm/exynos: remove unnecessary connector dpms control

2012-06-27 Thread Joonyoung Shim
The connector dpms should be controlled only by DPMS property and mode set. Signed-off-by: Joonyoung Shim Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_encoder.c | 11 --- 1 files changed, 0 insertions(+), 11 deletions(-) diff --git a/drivers/gpu/drm/exynos/exyno

[PATCH 07/11] drm/exynos: fix dpms operation for mode set

2012-06-27 Thread Joonyoung Shim
When we do mode set, the dpms mode should be ON. Don't control dpms in crtc commit function. Signed-off-by: Joonyoung Shim Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_crtc.c| 26 +++--- drivers/gpu/drm/exynos/exynos_drm_encoder.c | 14 ++---

[PATCH 06/11] drm/exynos: add property for plane zpos

2012-06-27 Thread Joonyoung Shim
The exynos drm driver used a specific ioctl - DRM_EXYNOS_PLANE_SET_ZPOS to set zpos of plane. It can be substitute to property of plane. This patch adds a property for plane zpos and removes DRM_EXYNOS_PLANE_SET_ZPOS ioctl. Signed-off-by: Joonyoung Shim Signed-off-by: Kyungmin Park --- drivers/

[PATCH 05/11] drm/exynos: update overlay via plane from crtc

2012-06-27 Thread Joonyoung Shim
There is no any reason to update overlay at crtc directly because the crtc uses plane. Move its code to plane and call proper functions of plane from crtc. Signed-off-by: Joonyoung Shim Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_crtc.c| 146 +

[PATCH 04/11] drm/exynos: use private plane for crtc

2012-06-27 Thread Joonyoung Shim
The crtc can use private plane instead it has overlay struct. It will be helpful use plane feature from crtc later. Signed-off-by: Joonyoung Shim Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_crtc.c | 31 - drivers/gpu/drm/exynos/exynos_drm_crtc.h

[PATCH 03/11] drm/exynos: define to_exynos_plane macro

2012-06-27 Thread Joonyoung Shim
Add macro to get struct exynos_plane from struct drm_plane pointer. Signed-off-by: Joonyoung Shim Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_plane.c | 13 ++--- 1 files changed, 6 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_pla

[PATCH 02/11] drm/exynos: fix to set pipe of crtc

2012-06-27 Thread Joonyoung Shim
It is enough to set pipe of crtc to manager only when do mode_set of crtc. Signed-off-by: Joonyoung Shim Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_crtc.c|8 +++--- drivers/gpu/drm/exynos/exynos_drm_encoder.c | 33 +++--- drivers/gpu/drm/exy

[PATCH 01/11] drm/exynos: fix point to call overlay_ops->mode_set

2012-06-27 Thread Joonyoung Shim
Call overlay->mode_set from crtc->mode_set instead of encoder->mode_set, it makes codes clearly. Signed-off-by: Joonyoung Shim Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_crtc.c| 12 +++- drivers/gpu/drm/exynos/exynos_drm_encoder.c |9 + 2 files

[PATCH 0/11] drm/exynos: update crtc and plane

2012-06-27 Thread Joonyoung Shim
This patchset is about update of crtc and plane. The interface of crtc and plane to control overlay is integrated internally. For this some code fixings are added. Also this supports the exynos specific property for crtc and plane. Joonyoung Shim (11): drm/exynos: fix point to call overlay_o

[Bug 15078] [KMS] X1300 radeon boot failure

2012-06-27 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=15078 --- Comment #9 from Tom?? Trnka 2012-06-27 14:18:18 --- KMS works just fine for me for a long time now (can't say exactly since when, but it's more than a year), I just forgot about this bug. -- Configure bugmail: https://bugzilla.kernel.or

[PATCH] drm/radeon: improve GPU lockup debugging info on r6xx/r7xx/r8xx/r9xx

2012-06-27 Thread Alex Deucher
On Wed, Jun 27, 2012 at 12:25 PM, wrote: > From: Jerome Glisse > > Print various CP register that have valuable informations regarding > GPU lockup. > > Signed-off-by: Jerome Glisse Reviewed-by: Alex Deucher > --- > ?drivers/gpu/drm/radeon/evergreen.c ?| ? 16 > ?drivers/gpu/

[PATCH] drm/radeon: disable any GPU activity after unrecovered lockup v5

2012-06-27 Thread j.gli...@gmail.com
From: Jerome Glisse After unrecovered GPU lockup avoid any GPU activities to avoid things like kernel segfault and alike to happen in any of the path that assume hw is working. The segfault is due to PCIE vram gart table being unmapped after suspend in the GPU reset path. To avoid segault to hap

[PATCH] drm/radeon: disable any GPU activity after unrecovered lockup v4

2012-06-27 Thread j.gli...@gmail.com
From: Jerome Glisse After unrecovered GPU lockup avoid any GPU activities to avoid things like kernel segfault and alike to happen in any of the path that assume hw is working. The segfault is due to PCIE vram gart table being unmapped after suspend in the GPU reset path. To avoid segault to hap

Re: [PATCH 4/4] drm: Renesas SH Mobile DRM driver

2012-06-27 Thread Lars-Peter Clausen
On 06/27/2012 10:27 PM, Laurent Pinchart wrote: > Hi Lars-Peter, > > On Wednesday 27 June 2012 22:06:54 Lars-Peter Clausen wrote: >> On 06/27/2012 02:40 PM, Laurent Pinchart wrote: >>> Hi Lars-Peter, >>> >>> [...] >>> >>> Do you plan to post a v3 of your "DRM: Add DRM kms/fb cma helper" patch in >

Re: [PATCH] intel/decode: VERTEX_ELEMENT_STATE, 1 means valid

2012-06-27 Thread Ben Widawsky
On Wed, 27 Jun 2012 10:02:35 -0700 Eric Anholt wrote: > Ben Widawsky writes: > > > The logic seemed to be inverse to me. > > > > Signed-off-by: Ben Widawsky > > Reviewed-by: Eric Anholt This patch was bonghits :-( My bad, I've fixed the problem upstream though which turned out to just be a

[PATCH] intel/decode: VERTEX_ELEMENT_STATE, 1 means valid

2012-06-27 Thread Ben Widawsky
On Wed, 27 Jun 2012 10:02:35 -0700 Eric Anholt wrote: > Ben Widawsky writes: > > > The logic seemed to be inverse to me. > > > > Signed-off-by: Ben Widawsky > > Reviewed-by: Eric Anholt This patch was bonghits :-( My bad, I've fixed the problem upstream though which turned out to just be a

exynos: fix buffer pitch calculation

2012-06-27 Thread Inki Dae
GE_ALIGN(args->pitch * args->height); exynos_gem_obj = exynos_drm_gem_create(dev, args->flags, args->size); -- 1.7.0.4 -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20120627/79e05a18/attachment-0001.html>

[Bug 51484] New: [i915g] piglit fbo-srgb fails since 45fc069600ddbfe07a0a0cd5280161a8c7c55dd0

2012-06-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=51484 Bug #: 51484 Summary: [i915g] piglit fbo-srgb fails since 45fc069600ddbfe07a0a0cd5280161a8c7c55dd0 Classification: Unclassified Product: Mesa Version: git Platform: x8

Re: [PATCHv7 03/15] v4l: vb2: add support for shared buffer (dma_buf)

2012-06-27 Thread Laurent Pinchart
Hi Dima, On Tuesday 26 June 2012 13:53:34 Dima Zavin wrote: > On Tue, Jun 26, 2012 at 2:40 AM, Hans Verkuil wrote: > > On Tue 26 June 2012 11:11:06 Laurent Pinchart wrote: > >> On Tuesday 26 June 2012 10:40:44 Tomasz Stanislawski wrote: > >> > Hi Dima Zavin, > >> > Thank you for the patch and for

[PATCH v2] DRM: add drm gem cma helper

2012-06-27 Thread Laurent Pinchart
Hi Sascha, On Thursday 31 May 2012 10:08:54 Sascha Hauer wrote: > Many embedded drm devices do not have a IOMMU and no dedicated > memory for graphics. These devices use cma (Contiguous Memory > Allocator) backed graphics memory. This patch provides helper > functions to be able to share the code.

[PATCH] drm/i915/sprite: Fix mem leak in intel_plane_init()

2012-06-27 Thread Daniel Vetter
On Tue, Jun 26, 2012 at 05:12:46PM -0700, Jesse Barnes wrote: > On Wed, 27 Jun 2012 00:55:37 +0200 (CEST) > Jesper Juhl wrote: > > > If we ever hit the default case in the switch statement we'll return > > from the function without freeing the memory we just allocated to > > 'intel_plane' (but th

Tegra DRM device tree bindings

2012-06-27 Thread Mark Zhang
> On Tue, Jun 26, 2012 at 08:48:18PM -0600, Stephen Warren wrote: > > On 06/26/2012 08:32 PM, Mark Zhang wrote: > > >> On 06/26/2012 07:46 PM, Mark Zhang wrote: > > > On Tue, 26 Jun 2012 12:55:13 +0200 Thierry Reding > > > wrote: > > >> ... > > I'm not sure I understand how informatio

Re: [PATCH 4/4] drm: Renesas SH Mobile DRM driver

2012-06-27 Thread Laurent Pinchart
Hi Lars-Peter, On Wednesday 27 June 2012 22:06:54 Lars-Peter Clausen wrote: > On 06/27/2012 02:40 PM, Laurent Pinchart wrote: > > Hi Lars-Peter, > > > > [...] > > > > Do you plan to post a v3 of your "DRM: Add DRM kms/fb cma helper" patch in > > the near future ? > > Hi Laurent, > > I don't th

[RFC][PATCH 10/10] WIP drm/i915: "Atomic" modeset test implementation

2012-06-27 Thread ville.syrj...@linux.intel.com
From: Ville Syrj?l? Second attempt at the atomic modeset implementation. This versions does things in a way that's closer to the drm_crtc_helper way. Not exactly pretty, but there's too much code depending on that design to change it. Signed-off-by: Ville Syrj?l? --- drivers/gpu/drm/i915/Makef

[RFC][PATCH 09/10] drm/i915: Split clipping and checking from update_plane hook

2012-06-27 Thread ville.syrj...@linux.intel.com
From: Ville Syrj?l? Split the update_plane() codepath into two separate steps. The first step checkis and clips the plane, and the second step actually commits the changes to the hardware. This allows the atomic modesetting code to perform all checks before clobering hardware state. The update_p

[RFC][PATCH 08/10] WIP: drm: Atomic modeset ioctl

2012-06-27 Thread ville.syrj...@linux.intel.com
From: Ville Syrj?l? First draft. The ioctl simply takes a list of object IDs and property IDs and their values. For setting values to blob properties, the property value indicates the length of the data, and the actual data is passed via another blob pointer. Detailed error reporting is missing

[RFC][PATCH 07/10] drm: Add MODE_IDS property to connectors

2012-06-27 Thread ville.syrj...@linux.intel.com
From: Ville Syrj?l? Add a new blob property MODE_IDS to connectors. This property contains a list a mode object IDs attached to the connector (either probed modes, or user attached modes). Signed-off-by: Ville Syrj?l? --- drivers/gpu/drm/drm_crtc.c| 77 +++

[RFC][PATCH 06/10] drm: Refactor object property check code

2012-06-27 Thread ville.syrj...@linux.intel.com
From: Ville Syrj?l? Refactor the code to check whether an object has a specific property to a new function. Signed-off-by: Ville Syrj?l? --- drivers/gpu/drm/drm_crtc.c | 20 ++-- 1 files changed, 14 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/drm_crtc.c b/driv

[RFC][PATCH 05/10] drm: Export drm_crtc_prepare_encoders()

2012-06-27 Thread ville.syrj...@linux.intel.com
From: Ville Syrj?l? --- drivers/gpu/drm/drm_crtc_helper.c |3 ++- include/drm/drm_crtc_helper.h |1 + 2 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/drm_crtc_helper.c b/drivers/gpu/drm/drm_crtc_helper.c index c4f7e7c..ebbfcc6 100644 --- a/drivers/gpu/

[RFC][PATCH 04/10] drm: Export drm_encoder_crtc_ok

2012-06-27 Thread ville.syrj...@linux.intel.com
From: Ville Syrj?l? --- drivers/gpu/drm/drm_crtc_helper.c |5 +++-- include/drm/drm_crtc_helper.h |3 +++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/drm_crtc_helper.c b/drivers/gpu/drm/drm_crtc_helper.c index 3252e70..c4f7e7c 100644 --- a/drivers/

[RFC][PATCH 03/10] drm: Allow drm_mode_object_find() to look up an object of any type

2012-06-27 Thread ville.syrj...@linux.intel.com
From: Ville Syrj?l? To avoid having to pass object types from userspace for atomic mode setting ioctl, allow drm_mode_object_find() to look up an object of any type. This will only work as long as the all object types share the ID space. Signed-off-by: Ville Syrj?l? --- drivers/gpu/drm/drm_crt

[RFC][PATCH 02/10] drm: Allow signed values for range properties

2012-06-27 Thread ville.syrj...@linux.intel.com
From: Ville Syrj?l? Treat a range property as signed when the unsigned minimum value is larger than the unsigned maximum value. Signed-off-by: Ville Syrj?l? --- drivers/gpu/drm/drm_crtc.c | 17 ++--- 1 files changed, 14 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/

[RFC][PATCH 01/10] drm: Export drm_property_create_blob() and drm_property_destroy_blob()

2012-06-27 Thread ville.syrj...@linux.intel.com
From: Ville Syrj?l? Signed-off-by: Ville Syrj?l? --- drivers/gpu/drm/drm_crtc.c |8 +--- include/drm/drm_crtc.h |4 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c index 6dafb99..ce0f446 100644 --- a/dri

[RFC][PATCH 0/10] Atomic modesetting v2

2012-06-27 Thread ville.syrj...@linux.intel.com
Second version of the atomic mode setting work. Still very much work in progress. I decided that I can't afford to fight the drm_crtc_helper architecture due to the sheer amount of driver code depending on it. So I changed the code to do things in way that more closely matches drm_crtc_helper. Ne

[Bug 15217] NULL pointer dereference after resume-from-disk

2012-06-27 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=15217 Alan changed: What|Removed |Added Status|NEW |RESOLVED CC|

[PATCH] staging: drm/omap: update TODO

2012-06-27 Thread Rob Clark
From: Rob Clark Update TODO file, which had been neglected. Signed-off-by: Rob Clark --- drivers/staging/omapdrm/TODO |7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/staging/omapdrm/TODO b/drivers/staging/omapdrm/TODO index 55b1837..938c788 100644 --- a/dr

Re: [PATCH 4/4] drm: Renesas SH Mobile DRM driver

2012-06-27 Thread Lars-Peter Clausen
On 06/27/2012 02:40 PM, Laurent Pinchart wrote: > Hi Lars-Peter, > > [...] > > Do you plan to post a v3 of your "DRM: Add DRM kms/fb cma helper" patch in > the > near future ? Hi Laurent, I don't think there have been any changes since v2 except for adjusting to the renamed functions in Sasch

[RFC][PATCH 0/10] Atomic modesetting v2

2012-06-27 Thread Adam Jackson
- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20120627/061eb723/attachment.pgp>

Re: [PATCH] staging: drm/omap: add rotation properties

2012-06-27 Thread Rob Clark
On Wed, Jun 27, 2012 at 2:40 PM, Greg KH wrote: > On Wed, Jun 27, 2012 at 09:06:26AM -0500, Rob Clark wrote: >> From: Rob Clark >> >> Use tiled buffers for rotated/reflected scanout, with CRTC and plane >> properties as the interface for userspace to configure rotation. >> >> Signed-off-by: Rob C

[Bug 15078] [KMS] X1300 radeon boot failure

2012-06-27 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=15078 Alan changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug 15030] screen connected to displayport is not detected - kms radeon

2012-06-27 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=15030 Alan changed: What|Removed |Added Status|NEW |RESOLVED CC|

Re: [PATCH] staging: drm/omap: add rotation properties

2012-06-27 Thread Greg KH
On Wed, Jun 27, 2012 at 09:06:26AM -0500, Rob Clark wrote: > From: Rob Clark > > Use tiled buffers for rotated/reflected scanout, with CRTC and plane > properties as the interface for userspace to configure rotation. > > Signed-off-by: Rob Clark > --- > drivers/staging/omapdrm/omap_crtc.c

[PATCH] staging: drm/omap: add rotation properties

2012-06-27 Thread Greg KH
On Wed, Jun 27, 2012 at 09:06:26AM -0500, Rob Clark wrote: > From: Rob Clark > > Use tiled buffers for rotated/reflected scanout, with CRTC and plane > properties as the interface for userspace to configure rotation. > > Signed-off-by: Rob Clark > --- > drivers/staging/omapdrm/omap_crtc.c

[Bug 51344] massive corruption on RV410

2012-06-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=51344 --- Comment #4 from Tormod Volden 2012-06-27 12:33:37 PDT --- Sorry, I don't know when I can have time to do that. I'll try harder if the bug can be confirmed by other people too. Maybe the right developer can make an educated guess if it's limi

[PATCH] drm/radeon: disable any GPU activity after unrecovered lockup v3

2012-06-27 Thread j.gli...@gmail.com
From: Jerome Glisse After unrecovered GPU lockup avoid any GPU activities to avoid things like kernel segfault and alike to happen in any of the path that assume hw is working. The segfault is due to PCIE vram gart table being unmapped after suspend in the GPU reset path. To avoid segault to hap

[PATCH] drm/radeon: improve GPU lockup debugging info on r6xx/r7xx/r8xx/r9xx

2012-06-27 Thread j.gli...@gmail.com
From: Jerome Glisse Print various CP register that have valuable informations regarding GPU lockup. Signed-off-by: Jerome Glisse --- drivers/gpu/drm/radeon/evergreen.c | 16 drivers/gpu/drm/radeon/evergreend.h |4 drivers/gpu/drm/radeon/ni.c | 16

[patch -resend] drm/i915/bios: cleanup return type of intel_parse_bios()

2012-06-27 Thread Dan Carpenter
These are unintuitive. These are type bool and return -1 casted to true on failure. Let's just make it return an int. The callers don't care, but let's change this as a cleanup. Signed-off-by: Dan Carpenter Acked-by: Daniel Vetter --- Originally sent on Wed, Mar 28, 2012. This one is prossib

[PATCH] drm/i2c/ch7006: Convert to dev_pm_ops

2012-06-27 Thread Mark Brown
space. I happen to do pretty much all of my kernel builds with a freestanding compiler. -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.freedesktop.org/a

[PATCH] drm/i2c/ch7006: Convert to dev_pm_ops

2012-06-27 Thread Mark Brown
The I2C specific suspend and resume functions have been deprecated and printing a warning on boot for over a year, dev_pm_ops should be used instead so convert to that. Also remove the suspend function since all it does is log. Signed-off-by: Mark Brown Acked-by: Francisco Jerez --- drivers/gp

  1   2   3   >