[PATCH v3] drm/exynos: fix display power call issue.

2012-09-25 Thread Inki Dae
Changelog v3: make exynos_drm_display_power function use exynos_drm_best_encoder function instead of connector->encoder to get a valid encoder. connector->encoder could be NULL because with DRM_IOCTL_MODE_RMFB request, connector->encoder is NULL so fix this issue. Changelog v2: remove static prefi

Re: [PATCH v4] of: Add videomode helper

2012-09-25 Thread Rob Herring
On 09/24/2012 10:45 AM, Stephen Warren wrote: > On 09/24/2012 07:42 AM, Rob Herring wrote: >> On 09/19/2012 03:20 AM, Steffen Trumtrar wrote: >>> This patch adds a helper function for parsing videomodes from the >>> devicetree. >>> The videomode can be either converted to a struct drm_display_mode

Re: [PATCH v4] of: Add videomode helper

2012-09-25 Thread Stephen Warren
On 09/24/2012 12:26 PM, Rob Herring wrote: > On 09/24/2012 10:45 AM, Stephen Warren wrote: >> On 09/24/2012 07:42 AM, Rob Herring wrote: >>> On 09/19/2012 03:20 AM, Steffen Trumtrar wrote: This patch adds a helper function for parsing videomodes from the devicetree. The videomode ca

[PATCH] drm/udl: limit modes to the sku pixel limits.

2012-09-25 Thread Dave Airlie
From: Dave Airlie Otherwise when X starts we commonly get a black screen scanning out nothing, its wierd dpms on/off from userspace brings it back, With this on F18, multi-seat works again with my 1920x1200 monitor which is above the sku limit for the device I have. Cc: sta...@vger.kernel.org S

[PATCH 18/29] PCI, drm: kill pci_root_buses in alpha hose setting

2012-09-25 Thread Yinghai Lu
Signed-off-by: Yinghai Lu Cc: David Airlie Cc: dri-devel@lists.freedesktop.org --- drivers/gpu/drm/drm_fops.c | 10 +++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/drm_fops.c b/drivers/gpu/drm/drm_fops.c index 5062eec..ff4cdf3 100644 --- a/drivers/gpu/

Re: [PATCHv8 02/26] Documentation: media: description of DMABUF importing in V4L2

2012-09-25 Thread Hans Verkuil
On Mon 24 September 2012 14:17:00 Tomasz Stanislawski wrote: > Hi Hans, > Thank you for review. > > On 08/22/2012 12:47 PM, Hans Verkuil wrote: > > On Tue August 14 2012 17:34:32 Tomasz Stanislawski wrote: > >> This patch adds description and usage examples for importing > >> DMABUF file descripto

Re: [PATCH v4] of: Add videomode helper

2012-09-25 Thread Steffen Trumtrar
On Mon, Sep 24, 2012 at 09:16:28PM +0200, Sascha Hauer wrote: > On Mon, Sep 24, 2012 at 10:18:39AM -0500, Rob Herring wrote: > > On 09/24/2012 09:12 AM, Sascha Hauer wrote: > > >> > > >> A major piece missing is the LCD controller to display interface width > > >> and component ordering. > > > > >

Re: [PATCH v4] of: Add videomode helper

2012-09-25 Thread Steffen Trumtrar
On Mon, Sep 24, 2012 at 05:09:30PM -0600, Stephen Warren wrote: > On 09/24/2012 12:26 PM, Rob Herring wrote: > > On 09/24/2012 10:45 AM, Stephen Warren wrote: > >> On 09/24/2012 07:42 AM, Rob Herring wrote: > >>> On 09/19/2012 03:20 AM, Steffen Trumtrar wrote: > This patch adds a helper functi

Re: [PATCH v4] of: Add videomode helper

2012-09-25 Thread Laurent Pinchart
Hi Rob, On Monday 24 September 2012 08:42:12 Rob Herring wrote: > On 09/19/2012 03:20 AM, Steffen Trumtrar wrote: > > This patch adds a helper function for parsing videomodes from the > > devicetree. The videomode can be either converted to a struct > > drm_display_mode or a struct fb_videomode. >

Re: [PATCH v2] of: Add videomode helper

2012-09-25 Thread Laurent Pinchart
Hi Sascha, On Thursday 13 September 2012 13:19:54 Sascha Hauer wrote: > On Thu, Sep 13, 2012 at 01:54:07PM +0300, Tomi Valkeinen wrote: > > On Wed, 2012-07-04 at 09:56 +0200, Sascha Hauer wrote: > > > This patch adds a helper function for parsing videomodes from the > > > devicetree. The videomode

Re: [PATCH V6 2/2] video: drm: exynos: Add device tree support

2012-09-25 Thread Laurent Pinchart
On Monday 24 September 2012 21:35:46 Inki Dae wrote: > 2012/9/22 Stephen Warren : > > On 09/21/2012 01:22 AM, Inki Dae wrote: > >> 2012/9/21 Stephen Warren : > >>> On 09/21/2012 05:22 AM, Leela Krishna Amudala wrote: > This patch adds device tree based discovery support for exynos DRM-FIMD > >

Re: [PATCH] drm/udl: limit modes to the sku pixel limits.

2012-09-25 Thread Alex Deucher
On Tue, Sep 25, 2012 at 2:17 AM, Dave Airlie wrote: > From: Dave Airlie > > Otherwise when X starts we commonly get a black screen scanning > out nothing, its wierd dpms on/off from userspace brings it back, > > With this on F18, multi-seat works again with my 1920x1200 monitor > which is above t

Re: [PATCHv8 13/26] v4l: vivi: support for dmabuf importing

2012-09-25 Thread Tomasz Stanislawski
On 08/22/2012 01:47 PM, Hans Verkuil wrote: > On Wed August 22 2012 12:56:30 Hans Verkuil wrote: >> On Tue August 14 2012 17:34:43 Tomasz Stanislawski wrote: >>> This patch enhances VIVI driver with a support for importing a buffer >>> from DMABUF file descriptors. >> >> Thanks for adding DMABUF su

Re: [PATCH V6 2/2] video: drm: exynos: Add device tree support

2012-09-25 Thread Inki Dae
2012/9/25 Laurent Pinchart : > On Monday 24 September 2012 21:35:46 Inki Dae wrote: >> 2012/9/22 Stephen Warren : >> > On 09/21/2012 01:22 AM, Inki Dae wrote: >> >> 2012/9/21 Stephen Warren : >> >>> On 09/21/2012 05:22 AM, Leela Krishna Amudala wrote: >> This patch adds device tree based disco

Re: [PATCH 2/2] drm/radeon: implement dynamic PTs allocation via SA

2012-09-25 Thread Christian König
The general idea looks good on first glance, but see below for further comments. On 25.09.2012 16:44, Dmitry Cherkasov wrote: make dynamic allocation of page tables on demand in radeon_vm_update_pte Signed-off-by: Dmitry Cherkasov --- drivers/gpu/drm/radeon/radeon.h | 12 drive

Re: [PATCHv8 18/26] v4l: add buffer exporting via dmabuf

2012-09-25 Thread Tomasz Stanislawski
Hi Hans, Thank you for review. Please refer to the comments below. On 08/22/2012 01:41 PM, Hans Verkuil wrote: > On Tue August 14 2012 17:34:48 Tomasz Stanislawski wrote: >> This patch adds extension to V4L2 api. It allow to export a mmap buffer as >> file >> descriptor. New ioctl VIDIOC_EXPBUF i

Re: -next trees

2012-09-25 Thread Ian Pilcher
On 09/24/2012 09:34 AM, Adam Jackson wrote: I'm sorry, I thought I was clearer. Daniel posted a patch to fix the Intel driver for this: http://lists.freedesktop.org/archives/intel-gfx/2012-August/020046.html Which I didn't entirely ack, but which is essentially right. That's what we should do

Re: [PATCH V6 2/2] video: drm: exynos: Add device tree support

2012-09-25 Thread Inki Dae
2012/9/26 Mark Brown : > On Wed, Sep 26, 2012 at 12:03:44AM +0900, Inki Dae wrote: >> 2012/9/25 Laurent Pinchart : > >> > Aren't DT bindings considered as an ABI, and required to be supported more >> > or >> > less forever ? If you merge this DT binding you'll have to keep supporting >> > it. >>

Re: [PATCHv8 18/26] v4l: add buffer exporting via dmabuf

2012-09-25 Thread Hans Verkuil
On Tue September 25 2012 18:30:43 Tomasz Stanislawski wrote: > Hi Hans, > Thank you for review. > Please refer to the comments below. > > On 08/22/2012 01:41 PM, Hans Verkuil wrote: > > On Tue August 14 2012 17:34:48 Tomasz Stanislawski wrote: > >> This patch adds extension to V4L2 api. It allow t

[PATCH] drm/radeon/kms: allow STRMOUT_BASE_UPDATE on RS780 and RS880

2012-09-25 Thread Marek Olšák
This is required to make streamout work there. Signed-off-by: Marek Ol??k --- drivers/gpu/drm/radeon/r600_cs.c|3 ++- drivers/gpu/drm/radeon/radeon_drv.c |3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/radeon/r600_cs.c b/drivers/gpu/drm/radeon/r

[PATCH] drm/radeon: allow MIP_ADDRESS=0 for MSAA textures on Evergreen

2012-09-25 Thread Marek Olšák
MIP_ADDRESS should point to the resolved FMASK for an MSAA texture. Setting MIP_ADDRESS to 0 means the FMASK pointer is invalid (the GPU won't read the memory then). The userspace has to set MIP_ADDRESS to 0 and *not* emit any relocation for it. Signed-off-by: Marek Ol??k --- drivers/gpu/drm/ra

[PATCH v3] drm/exynos: fix display power call issue.

2012-09-25 Thread Inki Dae
Changelog v3: make exynos_drm_display_power function use exynos_drm_best_encoder function instead of connector->encoder to get a valid encoder. connector->encoder could be NULL because with DRM_IOCTL_MODE_RMFB request, connector->encoder is NULL so fix this issue. Changelog v2: remove static prefi

[PATCH] drm/udl: limit modes to the sku pixel limits.

2012-09-25 Thread Dave Airlie
From: Dave Airlie Otherwise when X starts we commonly get a black screen scanning out nothing, its wierd dpms on/off from userspace brings it back, With this on F18, multi-seat works again with my 1920x1200 monitor which is above the sku limit for the device I have. Cc: stable at vger.kernel.or

[PATCH 18/29] PCI, drm: kill pci_root_buses in alpha hose setting

2012-09-25 Thread Yinghai Lu
Signed-off-by: Yinghai Lu Cc: David Airlie Cc: dri-devel at lists.freedesktop.org --- drivers/gpu/drm/drm_fops.c | 10 +++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/drm_fops.c b/drivers/gpu/drm/drm_fops.c index 5062eec..ff4cdf3 100644 --- a/drivers/g

[PATCHv8 02/26] Documentation: media: description of DMABUF importing in V4L2

2012-09-25 Thread Hans Verkuil
On Mon 24 September 2012 14:17:00 Tomasz Stanislawski wrote: > Hi Hans, > Thank you for review. > > On 08/22/2012 12:47 PM, Hans Verkuil wrote: > > On Tue August 14 2012 17:34:32 Tomasz Stanislawski wrote: > >> This patch adds description and usage examples for importing > >> DMABUF file descripto

[PATCH v4] of: Add videomode helper

2012-09-25 Thread Steffen Trumtrar
On Mon, Sep 24, 2012 at 09:16:28PM +0200, Sascha Hauer wrote: > On Mon, Sep 24, 2012 at 10:18:39AM -0500, Rob Herring wrote: > > On 09/24/2012 09:12 AM, Sascha Hauer wrote: > > >> > > >> A major piece missing is the LCD controller to display interface width > > >> and component ordering. > > > > >

[PATCH v4] of: Add videomode helper

2012-09-25 Thread Steffen Trumtrar
On Mon, Sep 24, 2012 at 05:09:30PM -0600, Stephen Warren wrote: > On 09/24/2012 12:26 PM, Rob Herring wrote: > > On 09/24/2012 10:45 AM, Stephen Warren wrote: > >> On 09/24/2012 07:42 AM, Rob Herring wrote: > >>> On 09/19/2012 03:20 AM, Steffen Trumtrar wrote: > This patch adds a helper functi

[PATCH v4] of: Add videomode helper

2012-09-25 Thread Laurent Pinchart
Hi Rob, On Monday 24 September 2012 08:42:12 Rob Herring wrote: > On 09/19/2012 03:20 AM, Steffen Trumtrar wrote: > > This patch adds a helper function for parsing videomodes from the > > devicetree. The videomode can be either converted to a struct > > drm_display_mode or a struct fb_videomode. >

[PATCH v2] of: Add videomode helper

2012-09-25 Thread Laurent Pinchart
Hi Sascha, On Thursday 13 September 2012 13:19:54 Sascha Hauer wrote: > On Thu, Sep 13, 2012 at 01:54:07PM +0300, Tomi Valkeinen wrote: > > On Wed, 2012-07-04 at 09:56 +0200, Sascha Hauer wrote: > > > This patch adds a helper function for parsing videomodes from the > > > devicetree. The videomode

[PATCH V6 2/2] video: drm: exynos: Add device tree support

2012-09-25 Thread Laurent Pinchart
On Monday 24 September 2012 21:35:46 Inki Dae wrote: > 2012/9/22 Stephen Warren : > > On 09/21/2012 01:22 AM, Inki Dae wrote: > >> 2012/9/21 Stephen Warren : > >>> On 09/21/2012 05:22 AM, Leela Krishna Amudala wrote: > This patch adds device tree based discovery support for exynos DRM-FIMD > >

[PATCH] drm/udl: limit modes to the sku pixel limits.

2012-09-25 Thread Alex Deucher
On Tue, Sep 25, 2012 at 2:17 AM, Dave Airlie wrote: > From: Dave Airlie > > Otherwise when X starts we commonly get a black screen scanning > out nothing, its wierd dpms on/off from userspace brings it back, > > With this on F18, multi-seat works again with my 1920x1200 monitor > which is above t

[PATCHv8 13/26] v4l: vivi: support for dmabuf importing

2012-09-25 Thread Tomasz Stanislawski
On 08/22/2012 01:47 PM, Hans Verkuil wrote: > On Wed August 22 2012 12:56:30 Hans Verkuil wrote: >> On Tue August 14 2012 17:34:43 Tomasz Stanislawski wrote: >>> This patch enhances VIVI driver with a support for importing a buffer >>> from DMABUF file descriptors. >> >> Thanks for adding DMABUF su

[PATCH 2/2] drm/radeon: implement dynamic PTs allocation via SA

2012-09-25 Thread Christian König
The general idea looks good on first glance, but see below for further comments. On 25.09.2012 16:44, Dmitry Cherkasov wrote: > make dynamic allocation of page tables on demand in radeon_vm_update_pte > > Signed-off-by: Dmitry Cherkasov > --- > drivers/gpu/drm/radeon/radeon.h | 12

[PATCHv8 18/26] v4l: add buffer exporting via dmabuf

2012-09-25 Thread Tomasz Stanislawski
Hi Hans, Thank you for review. Please refer to the comments below. On 08/22/2012 01:41 PM, Hans Verkuil wrote: > On Tue August 14 2012 17:34:48 Tomasz Stanislawski wrote: >> This patch adds extension to V4L2 api. It allow to export a mmap buffer as >> file >> descriptor. New ioctl VIDIOC_EXPBUF i

-next trees

2012-09-25 Thread Ian Pilcher
Name: edid.bin Type: application/octet-stream Size: 256 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20120925/6e994d06/attachment.bin>

[PATCH] gpu/drm/ttm: use copy_highpage

2012-09-25 Thread Akinobu Mita
Use copy_highpage() to copy from one page to another. Signed-off-by: Akinobu Mita Cc: David Airlie Cc: dri-devel at lists.freedesktop.org --- drivers/gpu/drm/ttm/ttm_tt.c | 16 ++-- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/drivers/gpu/drm/ttm/ttm_tt.c b/drivers

[PATCH 1/2] drm/radeon: interface cleanup patch v6

2012-09-25 Thread Dmitry Cherkasov
add addr_list array to set_page. if it's not NULL these addresses will be put to the ring. Signed-off-by: Dmitry Cherkasov --- to be applied on top of drm/radeon: add 2-level VM pagetables support v9 drivers/gpu/drm/radeon/ni.c | 11 --- drivers/gpu/drm/radeon/radeon.h |

[PATCH 2/2] drm/radeon: implement dynamic PTs allocation via SA

2012-09-25 Thread Dmitry Cherkasov
make dynamic allocation of page tables on demand in radeon_vm_update_pte Signed-off-by: Dmitry Cherkasov --- drivers/gpu/drm/radeon/radeon.h | 12 drivers/gpu/drm/radeon/radeon_gart.c | 106 ++ 2 files changed, 107 insertions(+), 11 deletions(-) diff

[PATCH V6 2/2] video: drm: exynos: Add device tree support

2012-09-25 Thread Mark Brown
On Wed, Sep 26, 2012 at 12:03:44AM +0900, Inki Dae wrote: > 2012/9/25 Laurent Pinchart : > > Aren't DT bindings considered as an ABI, and required to be supported more > > or > > less forever ? If you merge this DT binding you'll have to keep supporting > > it. > > That's why DT bindings should

[PATCH 2/2] drm/radeon: implement dynamic PTs allocation via SA

2012-09-25 Thread Dmitry Cherkassov
I've found introduced error in radeon_vm_free_pt, so will fix in next version of this patch. This one: --- a/drivers/gpu/drm/radeon/radeon_gart.c +++ b/drivers/gpu/drm/radeon/radeon_gart.c @@ -505,15 +505,6 @@ static void radeon_vm_free_pt(struct radeon_device *rdev, int driver_table_ent