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

Re: Tegra DRM device tree bindings

2012-06-27 Thread Stephen Warren
On 06/26/2012 01:51 PM, Thierry Reding wrote: > On Tue, Jun 26, 2012 at 12:10:42PM -0600, Stephen Warren wrote: >> On 06/26/2012 04:55 AM, Thierry Reding wrote: >>> Hi, >>> >>> while I haven't got much time to work on the actual code right >>> now, I think it might still be useful if we could get

Re: Tegra DRM device tree bindings

2012-06-27 Thread Stephen Warren
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, though. > > I think that can be similar with current gart implementation. Define

Re: Tegra DRM device tree bindings

2012-06-27 Thread Stephen Warren
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 carveout would be obtained from the IOMMU API, though. >>> >>> I think th

Re: Tegra DRM device tree bindings

2012-06-27 Thread Terje Bergström
On 26.06.2012 22:38, Stephen Warren wrote: > I would assume this can safely be inferred from the compatible value; > nvidia,tegra20-host1x v.s. nvidia,tegra30-host1x, and so there's no > need to represent this in DT. I would assume (and it's certainly just > an assumption) that there are numerous

Re: Tegra DRM device tree bindings

2012-06-27 Thread Terje Bergström
On 26.06.2012 22:31, Thierry Reding wrote: > Okay, I see. Does the same apply to the COP interrupts of the host1x > node in your opinion? I don't know if it makes sense to describe > something that's not reachable from the CPU. Yet it is defined in the > GIC. Hi, I wasn't sure so I had to check

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

Re: Tegra DRM device tree bindings

2012-06-27 Thread Thierry Reding
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 information about the ca

Re: [git pull] drm fixes

2012-06-27 Thread Henrik Rydberg
Hi Dave, > just two changes, one udl endian fix, one nouveau memory corruption on > some GPUs. I have been tracking an elusive memory corruption bug appearing on my MacBookAir3,1 (nv50) since -rc0, but unfortunately it seems to be different from the one fixed here. The problem is of the random k

Re: Tegra DRM device tree bindings

2012-06-27 Thread Terje Bergström
On 26.06.2012 20:46, Stephen Warren wrote: > I'd certainly like to see some upstream discussion re: why exactly we > have a custom bus type here. What does it do that a regular platform bus > doesn't do? Are those features something that would be generally useful > to add to the existing platform

Re: Tegra DRM device tree bindings

2012-06-27 Thread Thierry Reding
On Wed, Jun 27, 2012 at 09:13:52AM +0300, Terje Bergström wrote: > On 26.06.2012 20:46, Stephen Warren wrote: > > > I'd certainly like to see some upstream discussion re: why exactly we > > have a custom bus type here. What does it do that a regular platform bus > > doesn't do? Are those features

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

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

[Bug 17902] [830M missing dvo driver] need support for DVO-LVDS via na2501

2012-06-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=17902 --- Comment #86 from t...@math.tu-berlin.de 2012-06-27 00:17:50 PDT --- Now two weeks passed, I submitted five versions for a patch of this bug to the mailing list, one here in public, yet nothing shows up in the official git repository at all. I

[PATCH 1/3] pci_regs: define LNKSTA2 pcie cap + bits.

2012-06-27 Thread Dave Airlie
From: Dave Airlie We need these for detecting the max link speed for drm drivers. Signed-off-by: Dave Airlie --- include/linux/pci_regs.h |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/include/linux/pci_regs.h b/include/linux/pci_regs.h index 4b608f5..7f04132 1006

[PATCH 2/3] drm/pci: add support for getting the supported link bw.

2012-06-27 Thread Dave Airlie
From: Dave Airlie This should work for PCIE3.0 as well. Signed-off-by: Dave Airlie --- drivers/gpu/drm/drm_pci.c | 49 + include/drm/drmP.h|5 2 files changed, 54 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/drm_pci.

[PATCH 3/3] drm/radeon/kms: auto detect pcie link speed from root port

2012-06-27 Thread Dave Airlie
From: Dave Airlie This check the root ports supported link speeds and enables GEN2 mode if the 5.0 GT link speed is available. The first 3.0 cards are SI so they will probably need more investigation. Signed-off-by: Dave Airlie --- drivers/gpu/drm/radeon/evergreen.c | 12 +++- driv

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

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

2012-06-27 Thread Chris Wilson
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 that has not been used). > > This patch gets rid of the leak by freeing th

[Bug 17902] [830M missing dvo driver] need support for DVO-LVDS via na2501

2012-06-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=17902 --- Comment #87 from Daniel Vetter 2012-06-27 02:08:17 PDT --- (In reply to comment #86) > Now two weeks passed, I submitted five versions for a patch of this bug to the > mailing list, one here in public, yet nothing shows up in the official git

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

2012-06-27 Thread Michel Dänzer
On Die, 2012-06-26 at 17:04 -0400, j.gli...@gmail.com wrote: > 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. Has the patch been tested and confirmed to actua

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

2012-06-27 Thread Dave Airlie
On Tue, Jun 12, 2012 at 2:45 AM, Mark Brown wrote: > 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. > > Signe

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

2012-06-27 Thread ville . syrjala
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

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

2012-06-27 Thread ville . syrjala
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 02/10] drm: Allow signed values for range properties

2012-06-27 Thread ville . syrjala
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 03/10] drm: Allow drm_mode_object_find() to look up an object of any type

2012-06-27 Thread ville . syrjala
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 04/10] drm: Export drm_encoder_crtc_ok

2012-06-27 Thread ville . syrjala
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 05/10] drm: Export drm_crtc_prepare_encoders()

2012-06-27 Thread ville . syrjala
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 06/10] drm: Refactor object property check code

2012-06-27 Thread ville . syrjala
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 07/10] drm: Add MODE_IDS property to connectors

2012-06-27 Thread ville . syrjala
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 08/10] WIP: drm: Atomic modeset ioctl

2012-06-27 Thread ville . syrjala
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 09/10] drm/i915: Split clipping and checking from update_plane hook

2012-06-27 Thread ville . syrjala
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 10/10] WIP drm/i915: "Atomic" modeset test implementation

2012-06-27 Thread ville . syrjala
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

[Bug 31978] [855GM] Xvideo output not working on screen depth 16

2012-06-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=31978 Chris Wilson changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

Re: [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

Re: [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.

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

2012-06-27 Thread Rob Clark
On Wed, Jun 27, 2012 at 3:03 AM, Inki Dae wrote: > 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. >

Re: [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_

Re: [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, 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

RE: [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: robdcl...@gmail.com [mailto:robdcl...@gmail.com] On Behalf Of Rob > Clark > Sent: Wednesday, June 27, 2012 9:20 PM > To: Inki Dae > Cc: airl...@linux.ie; dri-devel@lists.freedesktop.org; > kyungmin.p...@samsung.com; sw0312@samsung.com > Subject: Re:

Re: [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: robdcl...@gmail.com [mailto:robdcl...@gmail.com] On Behalf Of Rob > > Clark > > Sent: Wednesday, June 27, 2012 9:20 PM > > To: Inki Dae > > Cc: airl...@linux.ie; dri-devel@lists.freedeskt

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

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

[Bug 15078] [KMS] X1300 radeon boot failure

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

[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

Re: [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

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

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

Re: [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

RE: [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.vet...@ffwll.ch] On Behalf Of Daniel > Vetter > Sent: Wednesday, June 27, 2012 9:55 PM > To: Inki Dae > Cc: 'Rob Clark'; kyungmin.p...@samsung.com; sw0312@samsung.com; dri- > de...@lists.freedesktop.org > Subject: Re: [PATCH 10

[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

Re: [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

Re: [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

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

2012-06-27 Thread Rob Clark
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 | 17 + drivers/staging/omapdrm/omap_dmm_tiler.c | 47

Re: Tegra DRM device tree bindings

2012-06-27 Thread Thierry Reding
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: > > > * 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/2

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

2012-06-27 Thread Rob Clark
On Wed, Jun 27, 2012 at 9:06 AM, 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. btw, I assume the potential controversial part of the patch would be the property names/

[Bug 15078] [KMS] X1300 radeon boot failure

2012-06-27 Thread bugzilla-daemon
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

Re: Tegra DRM device tree bindings

2012-06-27 Thread 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 Doyu wrote: > > > On Wed, 27 Jun 2012 07:14:18 +0200 > > > Thierry Reding wro

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

2012-06-27 Thread Jerome Glisse
On Wed, Jun 27, 2012 at 5:19 AM, Michel Dänzer wrote: > On Die, 2012-06-26 at 17:04 -0400, j.gli...@gmail.com wrote: >> 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

Re: [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

FOSS.in Call for Participation

2012-06-27 Thread Alan Coopersmith
FOSS.in, India's biggest open source conference, has their CFP out for this year's conference (Nov. 29 - Dec.1 in Bangalore): http://foss.in/participate/call-for-participation Like FOSDEM, it's all open source projects, not any particular area. If someone in the region wanted to present o

[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

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

2012-06-27 Thread Mark Brown
On Wed, Jun 27, 2012 at 10:21:46AM +0100, Dave Airlie wrote: > Thanks for this and I like the fact its been posted 5 times but never > compiled once. It's hard to remember since it was so long ago that I wrote the patch but I rather suspect the reason this didn't happen is that it's actually fair

[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

Re: 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 > > > > >

Re: 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

Re: 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

Re: 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

Re: 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

Re: [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] drm/radeon: disable any GPU activity after unrecovered lockup v2

2012-06-27 Thread j . glisse
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] 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.gli...@gmail.com wrote: > >> From: Jerome Glisse > >> > >> After unrecovered GPU lockup avoid any GPU activities to avoid > >> things like kern

Re: 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

Re: [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

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

2012-06-27 Thread j . glisse
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] drm/radeon: disable any GPU activity after unrecovered lockup v3

2012-06-27 Thread j . glisse
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] intel/decode: fix couple of warnings

2012-06-27 Thread Ben Widawsky
two instances of warning: cannot optimize loop, the loop counter may overflow [-Wunsafe-loop-optimizations] Signed-off-by: Ben Widawsky --- intel/intel_decode.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/intel/intel_decode.c b/intel/intel_decode.c index c9bfee4..ae

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

2012-06-27 Thread Jesse Barnes
On Wed, 27 Jun 2012 13:24:02 +0300 ville.syrj...@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_helper > architecture due to the sheer amount of driver code depending on it. > So

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

2012-06-27 Thread Eric Anholt
Ben Widawsky writes: > The logic seemed to be inverse to me. > > Signed-off-by: Ben Widawsky Reviewed-by: Eric Anholt pgpCK8cwbGLJx.pgp Description: PGP signature ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.o

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

2012-06-27 Thread Adam Jackson
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 altering the state of other CRTCs. Fortunately that's not t

Re: [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] drm/radeon: disable any GPU activity after unrecovered lockup v4

2012-06-27 Thread j . glisse
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] 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/

  1   2   3   >