[PATCH v7 1/1] drm/i915: Add 180 degree primary plane rotation support

2014-02-12 Thread sagar.a.kam...@intel.com
From: Sagar Kamble Primary planes support 180 degree rotation. Expose the feature through rotation drm property. v2: Calculating linear/tiled offsets based on pipe source width and height. Added 180 degree rotation support in ironlake_update_plane. v3: Checking if CRTC is active before issueing

[PATCH v7 1/1] drm/i915: Add 180 degree primary plane rotation support

2014-02-12 Thread sagar.a.kam...@intel.com
From: Sagar Kamble Primary planes support 180 degree rotation. Expose the feature through rotation drm property. v2: Calculating linear/tiled offsets based on pipe source width and height. Added 180 degree rotation support in ironlake_update_plane. v3: Checking if CRTC is active before issueing

[PATCH] drm: Avoid NULL master_priv access in i915 kernel driver

2014-02-12 Thread Daniel Vetter
On Wed, Feb 12, 2014 at 11:24 PM, St?phane Marchesin wrote: > From: Stuart Abercrombie > > In several places, including the interrupt handler, the i915 driver assumes > it can deref. dev->primary->master->driver_priv if dev->primary->master > is non-NULL. This wasn't true if drm_open_helper was

Fixing the kernels backlight API

2014-02-12 Thread David Herrmann
Hi On Wed, Feb 12, 2014 at 9:43 PM, Ville Syrj?l? wrote: > On Thu, Feb 13, 2014 at 06:14:04AM +1000, Dave Airlie wrote: >> > >> > The biggest remaining stumbling block is the backlight API, because >> > opening the >> > sysfs files requires root rights. I'll very likely write a little helper >>

[Intel-gfx] [PATCH 0/5] drm/i915: Full pipe rotation & rotation property name bikeshedding

2014-02-12 Thread Chris Wilson
On Wed, Feb 12, 2014 at 11:14:59PM +0200, ville.syrjala at linux.intel.com wrote: > From: Ville Syrj?l? > > After playing around Sagar's primary plane rotation a bit, I decided that > extending that to full pipe rotation would be nice. Chris also seemed to > want that, but I'm not sure he does a

[PATCH 5/5] drm/i915: Add full pipe rotation

2014-02-12 Thread ville.syrj...@linux.intel.com
From: Ville Syrj?l? We can pretend that we can rotate the entire pipe by rotating all the planes and adjusting their positions appropriately. Add a "rotation" property on the crtc which will do this. The main upshot of doing the full pipe rotation instead of rotating all the planes individually

[PATCH 4/5] drm/i915: Add rotation support for the cursor plane

2014-02-12 Thread ville.syrj...@linux.intel.com
From: Ville Syrj?l? The cursor plane also supports 180 degree rotation. Add a new "cursor-rotation" property on the crtc which controls this. Unlike sprites, the cursor has a fixed size, so if you have a small cursor image with the rest of the bo filled by transparent pixels, simply flipping the

[PATCH 3/5] drm: Add drm_rotation_chain()

2014-02-12 Thread ville.syrj...@linux.intel.com
From: Ville Syrj?l? drm_rotation_chain() can be used to combine the plane and crtc rotations to calculate the total rotation for a specific plane. Cc: Sagar Kamble Signed-off-by: Ville Syrj?l? --- drivers/gpu/drm/drm_crtc.c | 42 ++ include/drm/drm_crtc

[PATCH 2/5] drm/i915: Rename primary plane rotation property to "plane-rotation"

2014-02-12 Thread ville.syrj...@linux.intel.com
From: Ville Syrj?l? I'd prefer have the crtc "rotation" property rotate the entire crtc (planes and all). So for that reason we'd need to come up with some other name for the "rotate the primary plane only" property. Originally I had though that omapdrm had already made the decision for us, but

[PATCH 1/5] drm: Pass name to drm_rotation_property_create()

2014-02-12 Thread ville.syrj...@linux.intel.com
From: Ville Syrj?l? Allow rotation properties to have custom names. TODO: maybe squash into "drm: Add drm_mode_create_rotation_property()" Cc: Sagar Kamble Signed-off-by: Ville Syrj?l? --- drivers/gpu/drm/drm_crtc.c | 3 ++- drivers/gpu/drm/i915/intel_display.c | 2 +- drivers/gpu/

[PATCH 0/5] drm/i915: Full pipe rotation & rotation property name bikeshedding

2014-02-12 Thread ville.syrj...@linux.intel.com
From: Ville Syrj?l? After playing around Sagar's primary plane rotation a bit, I decided that extending that to full pipe rotation would be nice. Chris also seemed to want that, but I'm not sure he does anymore :) But then I decided it's so easy to implement that I can't leave it hanging. So here

[PATCH] drm/ttm: Fix memory leak in ttm_agp_backend.c

2014-02-12 Thread Masanari Iida
This patch fix a memory leak found by cppcheck. [drivers/gpu/drm/ttm/ttm_agp_backend.c:129]: (error) Memory leak: agp_be Signed-off-by: Masanari Iida --- drivers/gpu/drm/ttm/ttm_agp_backend.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/ttm/ttm_agp_backend.c b/drivers/gpu

Fixing the kernels backlight API

2014-02-12 Thread Ville Syrjälä
On Thu, Feb 13, 2014 at 06:14:04AM +1000, Dave Airlie wrote: > > > > The biggest remaining stumbling block is the backlight API, because opening > > the > > sysfs files requires root rights. I'll very likely write a little helper > > for this > > for now, but in the long run it would be good to h

[PATCH RFC v2 00/35] Second preview of imx-drm cleanup series

2014-02-12 Thread Shawn Guo
On Mon, Feb 10, 2014 at 12:28:03PM +, Russell King - ARM Linux wrote: > This is the latest revision of my series cleaning up imx-drm and > hopefully getting it ready to be moved out of drivers/staging. > This series is updated to v3.14-rc2. > > Since the last round of patches were posted, the

[PATCH 0/3] drm/tegra: Restore licensing consistency

2014-02-12 Thread Thierry Reding
f the file. But if you insist I can resend with Wei and Emil on Cc. 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/20140212/9e821bb3/attachment.pgp>

[Bug 73191] [radeonsi] vdpau playback issues, skipping & looping

2014-02-12 Thread bugzilla-dae...@freedesktop.org
part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140212/686c3ad5/attachment.html>

[PATCH 05/13] drm: provide device-refcount

2014-02-12 Thread Daniel Vetter
On Wed, Feb 12, 2014 at 06:48:50PM +0100, David Herrmann wrote: > On Wed, Feb 12, 2014 at 5:40 PM, Greg KH > wrote: > > On Wed, Feb 12, 2014 at 05:26:57PM +0100, Daniel Vetter wrote: > >> On Wed, Feb 12, 2014 at 3:44 PM, David Herrmann > >> wrote: > >> >>> +/** > >> >>> + * drm_dev_ref - Take r

[BUG] Circular locking dependency - DRM/CMA/MM/hotplug/...

2014-02-12 Thread Daniel Vetter
On Wed, Feb 12, 2014 at 04:33:17PM +, Russell King - ARM Linux wrote: > On Wed, Feb 12, 2014 at 04:40:50PM +0100, Marek Szyprowski wrote: > >> -> #3 (console_lock){+.+.+.}: > >> [] __lock_acquire+0x151c/0x1ca0 > >> [] lock_acquire+0xa0/0x130 > >> [] console_lock+0x60/0x7

Removal of 'synth_clock' and 'clock_index' in kernel 3.13

2014-02-12 Thread Thomas Pietrowski
Hello mailing-list members, I'm currently working on getting Intel EMGD drivers working on Ubuntu. Thanks to all of you working for yoctoproject for providing patches for the drm kernel module. Well, my problem is also based on it. I tried to build it against kernel 3.13 and got a error message ab

[PATCH 05/13] drm: provide device-refcount

2014-02-12 Thread David Herrmann
Hi On Wed, Feb 12, 2014 at 5:40 PM, Greg KH wrote: > On Wed, Feb 12, 2014 at 05:26:57PM +0100, Daniel Vetter wrote: >> On Wed, Feb 12, 2014 at 3:44 PM, David Herrmann >> wrote: >> >>> +/** >> >>> + * drm_dev_ref - Take reference of a DRM device >> >>> + * @dev: device to take reference of or NU

[BUG] Circular locking dependency - DRM/CMA/MM/hotplug/...

2014-02-12 Thread Russell King - ARM Linux
On Wed, Feb 12, 2014 at 07:29:01PM +0100, Daniel Vetter wrote: > On Wed, Feb 12, 2014 at 04:33:17PM +, Russell King - ARM Linux wrote: > > On Wed, Feb 12, 2014 at 04:40:50PM +0100, Marek Szyprowski wrote: > > >> -> #3 (console_lock){+.+.+.}: > > >> [] __lock_acquire+0x151c/0x1ca0 > > >>

[PATCH RFC v2 00/35] Second preview of imx-drm cleanup series

2014-02-12 Thread Philipp Zabel
Am Mittwoch, den 12.02.2014, 09:56 + schrieb Russell King - ARM Linux: > On Mon, Feb 10, 2014 at 12:28:03PM +, Russell King - ARM Linux wrote: > > This is the latest revision of my series cleaning up imx-drm and > > hopefully getting it ready to be moved out of drivers/staging. > > This ser

[RFC PATCH v2 02/21] drm/exynos: delay fbdev initialization until an output is connected

2014-02-12 Thread Sachin Kamat
+cc Inki Dae Looks like you missed CCing Exynos DRM maintainers. On 12 February 2014 17:01, Andrzej Hajda wrote: > In case fbdev is initialized before any output is connected, > fb resolution defaults to 1024x768. After that any output with > bigger resolution is ignored and fbdev is not display

[PATCH 05/13] drm: provide device-refcount

2014-02-12 Thread Daniel Vetter
On Wed, Feb 12, 2014 at 3:44 PM, David Herrmann wrote: >>> +/** >>> + * drm_dev_ref - Take reference of a DRM device >>> + * @dev: device to take reference of or NULL >>> + * >>> + * This increases the ref-count of @dev by one. You *must* already own a >>> + * reference when calling this. Use drm

[RFC PATCH v2 16/21] ARM: dts: exynos5250: add display power domain node

2014-02-12 Thread Sachin Kamat
Hi Andrzej, On 12 February 2014 17:01, Andrzej Hajda wrote: > The patch adds power domain for display subsystem. > > Signed-off-by: Andrzej Hajda > --- > arch/arm/boot/dts/exynos5250.dtsi | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/arch/arm/boot/dts/exynos5250.dtsi > b/arch/a

[Bug 73297] Xorg crashes with kernel 3.13-rc7

2014-02-12 Thread bugzilla-dae...@freedesktop.org
or the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140212/02aaf447/attachment.html>

[BUG] Circular locking dependency - DRM/CMA/MM/hotplug/...

2014-02-12 Thread Marek Szyprowski
Hello, On 2014-02-11 19:35, Russell King - ARM Linux wrote: > The cubox-i4 just hit a new lockdep problem - not quite sure what to > make of this - it looks like an interaction between quite a lot of > locks - I suspect more than the lockdep code is reporting in its > "Possible unsafe locking scen

[BUG] Circular locking dependency - DRM/CMA/MM/hotplug/...

2014-02-12 Thread Russell King - ARM Linux
On Wed, Feb 12, 2014 at 04:40:50PM +0100, Marek Szyprowski wrote: > Hello, > > On 2014-02-11 19:35, Russell King - ARM Linux wrote: >> The cubox-i4 just hit a new lockdep problem - not quite sure what to >> make of this - it looks like an interaction between quite a lot of >> locks - I suspect more

[Bug 74803] [r600g] HyperZ broken on RV630 (Cogs shadows are broken)

2014-02-12 Thread bugzilla-dae...@freedesktop.org
h other drivers. -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140212/74b50c82/attachment.html>

[PATCH] Prevent zero sized wl_egl_window

2014-02-12 Thread Sinclair Yeh
It is illegal to create or resize a window to zero (or negative) width and/or height. This patch prevents such a request from happening. --- src/egl/wayland/wayland-egl/wayland-egl.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/src/egl/wayland/wayland-egl/wayland-egl.c b/src/egl/way

Fixing the kernels backlight API

2014-02-12 Thread Hans de Goede
Hi All, Quick self intro: I've been a FOSS developer for 15+ years now and I've been working for Red Hat for 5 years. Recently I've moved to the graphics team. One of my first tasks in the graphics team is to make the xserver run without root rights. I'm making good progress with this, having sol

[Bug 74803] [r600g] HyperZ broken on RV630 (Cogs shadows are broken)

2014-02-12 Thread bugzilla-dae...@freedesktop.org
art -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140212/3eacdc47/attachment.html>

[PATCH 05/13] drm: provide device-refcount

2014-02-12 Thread David Herrmann
Hi On Wed, Feb 12, 2014 at 2:25 PM, Daniel Vetter wrote: > On Wed, Jan 29, 2014 at 03:01:52PM +0100, David Herrmann wrote: >> Lets not trick ourselves into thinking "drm_device" objects are not >> ref-counted. That's just utterly stupid. We manage "drm_minor" objects on >> each drm-device and eac

[Bug 74892] New: HyperZ GPU lockup with radeonsi 7970M PITCAIRN and Distance Alpha game

2014-02-12 Thread bugzilla-dae...@freedesktop.org
ssignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140212/40faf09b/attachment-0001.html>

[Bug 70411] 7970M PRIME: lockup with Distance game, recovery doesn't work

2014-02-12 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=70411 --- Comment #4 from Alex Deucher --- (In reply to Christoph Haag from comment #3) > > Still, this lockup is not nice since currently only a reboot makes the > radeon gpu usable again. Welcome to GPUs. Unfortunately, there's not really a whole l

[Bug 73297] Xorg crashes with kernel 3.13-rc7

2014-02-12 Thread bugzilla-dae...@freedesktop.org
ignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140212/3e43761d/attachment.html>

[Bug 74420] EQ overflowing - recurring total X crash

2014-02-12 Thread bugzilla-dae...@freedesktop.org
n HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140212/e179c548/attachment.html>

[PATCH v2] drm/nouveau: support for platform devices

2014-02-12 Thread Alexandre Courbot
Upcoming mobile Kepler GPUs (such as GK20A) use the platform bus instead of PCI to which Nouveau is tightly dependent. This patch allows Nouveau to handle platform devices by: - abstracting PCI-dependent functions that were typically used for resource querying and page mapping, - introducing a n

[PATCH 11/13] drm: remove redundant minor->device field

2014-02-12 Thread Daniel Vetter
On Wed, Jan 29, 2014 at 03:01:58PM +0100, David Herrmann wrote: > Whenever we access minor->device, we are in a minor->kdev->...->fops > callback so the minor->kdev pointer *must* be valid. Thus, simply use > minor->kdev->devt instead of minor->device and remove the redundant field. > > Signed-off

[Bug 73297] Xorg crashes with kernel 3.13-rc7

2014-02-12 Thread bugzilla-dae...@freedesktop.org
are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140212/f801ee8d/attachment.html>

[PATCH 05/13] drm: provide device-refcount

2014-02-12 Thread Daniel Vetter
On Wed, Jan 29, 2014 at 03:01:52PM +0100, David Herrmann wrote: > Lets not trick ourselves into thinking "drm_device" objects are not > ref-counted. That's just utterly stupid. We manage "drm_minor" objects on > each drm-device and each minor can have an unlimited number of open > handles. Each of

[PATCH] drm: Avoid NULL master_priv access in i915 kernel driver

2014-02-12 Thread Stéphane Marchesin
From: Stuart Abercrombie In several places, including the interrupt handler, the i915 driver assumes it can deref. dev->primary->master->driver_priv if dev->primary->master is non-NULL. This wasn't true if drm_open_helper was midway through, so rearrange the initialization order. v2: Address th

[Nouveau] [PATCH v2] drm/nouveau: support for platform devices

2014-02-12 Thread Emil Velikov
On 12/02/14 05:38, Alexandre Courbot wrote: > Upcoming mobile Kepler GPUs (such as GK20A) use the platform bus instead > of PCI to which Nouveau is tightly dependent. This patch allows Nouveau > to handle platform devices by: > > - abstracting PCI-dependent functions that were typically used for >

[PATCH] drm: export cmdline and preferred mode functions from fb helper

2014-02-12 Thread Jesse Barnes
This allows drivers to use them in custom initial_config functions. Signed-off-by: Jesse Barnes --- drivers/gpu/drm/drm_fb_helper.c |6 -- include/drm/drm_fb_helper.h |6 ++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/drm_fb_helper.c b/driv

Fw: [Intel-gfx] [PATCH 1/6] drm: export cmdline and preferred mode functions from fb helper

2014-02-12 Thread Jesse Barnes
Begin forwarded message: Date: Wed, 12 Feb 2014 12:26:24 -0800 From: Jesse Barnes To: intel-gfx at lists.freedesktop.org Subject: [Intel-gfx] [PATCH 1/6] drm: export cmdline and preferred mode functions from fb helper This allows drivers to use them in custom initial_config functions. Signed

[PATCH RFC v2 00/35] Second preview of imx-drm cleanup series

2014-02-12 Thread Christian Gmeiner
2014-02-12 13:45 GMT+01:00 Russell King - ARM Linux : > On Wed, Feb 12, 2014 at 01:04:30PM +0100, Christian Gmeiner wrote: >> 2014-02-12 12:53 GMT+01:00 Fabio Estevam : >> > On Mon, Feb 10, 2014 at 10:28 AM, Russell King - ARM Linux >> > wrote: >> >> This is the latest revision of my series cleani

drmModeSetCrtc and how to use x,y

2014-02-12 Thread Rian Quinn
next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140212/dceb/attachment.html>

[PATCH v6 1/1] drm/i915: Add 180 degree primary plane rotation support

2014-02-12 Thread Chris Wilson
On Wed, Feb 12, 2014 at 12:22:00PM +0530, sagar.a.kamble at intel.com wrote: > From: Sagar Kamble > > Primary planes support 180 degree rotation. Expose the feature > through rotation drm property. > > v2: Calculating linear/tiled offsets based on pipe source width and > height. Added 180 degree

[PATCH v2] drm/nouveau: handle -EACCES runtime PM return code

2014-02-12 Thread Alexandre Courbot
pm_runtime_get*() may return -EACCES to indicate a device does not have runtime PM enabled. This is currently the case with platform devices on Nouveau, and is not an error in that context. Handle this case without failure. Signed-off-by: Alexandre Courbot --- Changes since v1: - Fixed typo and i

[Bug 74766] no image output in Sonic Robo Blast 2 in OpenGL mode

2014-02-12 Thread bugzilla-dae...@freedesktop.org
g this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140212/89c05110/attachment.html>

[PATCH] modesetting: query cursor size from the kernel

2014-02-12 Thread Alex Deucher
Use new drm caps. This allows hw cursors to work correctly on gpus with non-64x64 cursors. Signed-off-by: Alex Deucher --- src/driver.c | 21 - src/driver.h | 1 + src/drmmode_display.c | 20 +++- 3 files changed, 36 insertions(+), 6 deleti

[PATCH 2/2] drm/radeon: fill in DRM_CAPs for cursor size

2014-02-12 Thread Alex Deucher
CIK parts are 128x128, older parts are 64x64. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_display.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/radeon/radeon_display.c b/drivers/gpu/drm/radeon/radeon_display.c index d680608..fbd8b93 100644 --- a/drive

[PATCH 1/2] drm: add DRM_CAPs for cursor size

2014-02-12 Thread Alex Deucher
Some hardware may not support standard 64x64 cursors. Add a drm cap to query the cursor size from the kernel. Some examples include radeon CIK parts (128x128 cursors) and armada (32x64 or 64x32). This allows things like device specific ddxes to remove asics specific logic and also allows xf86-vid

[PATCH RFC v2 00/35] Second preview of imx-drm cleanup series

2014-02-12 Thread Christian Gmeiner
2014-02-12 12:53 GMT+01:00 Fabio Estevam : > On Mon, Feb 10, 2014 at 10:28 AM, Russell King - ARM Linux > wrote: >> This is the latest revision of my series cleaning up imx-drm and >> hopefully getting it ready to be moved out of drivers/staging. >> This series is updated to v3.14-rc2. >> >> Since

[RFC PATCH v2 16/21] ARM: dts: exynos5250: add display power domain node

2014-02-12 Thread Andrzej Hajda
On 02/12/2014 12:51 PM, Sachin Kamat wrote: Hi Sachin, > Hi Andrzej, > > On 12 February 2014 17:01, Andrzej Hajda wrote: >> The patch adds power domain for display subsystem. >> >> Signed-off-by: Andrzej Hajda >> --- >> arch/arm/boot/dts/exynos5250.dtsi | 5 + >> 1 file changed, 5 insertions

[PATCH RFC v2 00/35] Second preview of imx-drm cleanup series

2014-02-12 Thread Russell King - ARM Linux
On Wed, Feb 12, 2014 at 01:04:30PM +0100, Christian Gmeiner wrote: > 2014-02-12 12:53 GMT+01:00 Fabio Estevam : > > On Mon, Feb 10, 2014 at 10:28 AM, Russell King - ARM Linux > > wrote: > >> This is the latest revision of my series cleaning up imx-drm and > >> hopefully getting it ready to be move

[Bug 71138] flashlight bug in L4D2

2014-02-12 Thread bugzilla-dae...@freedesktop.org
part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140212/7d0721f3/attachment.html>

[RFC PATCH v2 21/21] ARM: dts: exynos4412-trats2: enable exynos/fimd node

2014-02-12 Thread Andrzej Hajda
The patch changes fimd node status to OK. Signed-off-by: Andrzej Hajda --- arch/arm/boot/dts/exynos4412-trats2.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/exynos4412-trats2.dts b/arch/arm/boot/dts/exynos4412-trats2.dts index 0986d08..9296f86 100644 --- a/arch/a

[RFC PATCH v2 20/21] ARM: dts: exynos4210-trats: enable exynos/fimd node

2014-02-12 Thread Andrzej Hajda
The patch changes fimd node status to OK. Signed-off-by: Andrzej Hajda --- arch/arm/boot/dts/exynos4210-trats.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/exynos4210-trats.dts b/arch/arm/boot/dts/exynos4210-trats.dts index 5483969..f121505 100644 --- a/arch/arm/

[RFC PATCH v2 19/21] ARM: dts: exynos5250-arndale: add dsi and panel nodes

2014-02-12 Thread Andrzej Hajda
The patch adds bridge and panel nodes. It adds also DSI properties specific for arndale board. Signed-off-by: Andrzej Hajda --- arch/arm/boot/dts/exynos5250-arndale.dts | 39 1 file changed, 39 insertions(+) diff --git a/arch/arm/boot/dts/exynos5250-arndale.dts

[RFC PATCH v2 18/21] ARM: dts: exynos5250-arndale: add display regulators

2014-02-12 Thread Andrzej Hajda
The patch adds fixed regulators used by DSI/LVDS bridge and panel. Regulators are named according to schematics. Signed-off-by: Andrzej Hajda --- arch/arm/boot/dts/exynos5250-arndale.dts | 24 1 file changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/exynos5250-ar

[RFC PATCH v2 17/21] ARM: dts: exynos5250: add DSI node

2014-02-12 Thread Andrzej Hajda
The patch adds common part of DSI node for Exynos5250 platforms. Signed-off-by: Andrzej Hajda --- arch/arm/boot/dts/exynos5250.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi index 0935dca..bbe8ef4 10

[RFC PATCH v2 16/21] ARM: dts: exynos5250: add display power domain node

2014-02-12 Thread Andrzej Hajda
The patch adds power domain for display subsystem. Signed-off-by: Andrzej Hajda --- arch/arm/boot/dts/exynos5250.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi index c8745a0..0935dca 100644 --- a/arch/arm/boot/

[RFC PATCH v2 15/21] ARM: dts: exynos5250: add mipi-phy node

2014-02-12 Thread Andrzej Hajda
The patch adds phy node, required by MIPI devices. Signed-off-by: Andrzej Hajda --- arch/arm/boot/dts/exynos5250.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi index 177becd..c8745a0 100644 --- a/arch/arm/boot

[RFC PATCH v2 14/21] ARM: dts: exynos4412-trats2: add panel node

2014-02-12 Thread Andrzej Hajda
The patch adds s6e8aa0 panel node for trats2. It adds also trats2 specific properties for DSI and regulator required by panel. Signed-off-by: Andrzej Hajda --- arch/arm/boot/dts/exynos4412-trats2.dts | 47 + 1 file changed, 47 insertions(+) diff --git a/arch/arm/

[RFC PATCH v2 13/21] ARM: dts: exynos4210-trats: add panel node

2014-02-12 Thread Andrzej Hajda
The patch adds s6e8aa0 panel node for trats. It adds also trats specific properties for DSI. Signed-off-by: Andrzej Hajda --- arch/arm/boot/dts/exynos4210-trats.dts | 38 ++ 1 file changed, 38 insertions(+) diff --git a/arch/arm/boot/dts/exynos4210-trats.dts b/a

[RFC PATCH v2 12/21] ARM: dts: exynos4: add MIPI DSI Master node

2014-02-12 Thread Andrzej Hajda
This is a common part of DSI node for all Exynos4 boards. Signed-off-by: Andrzej Hajda --- arch/arm/boot/dts/exynos4.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/exynos4.dtsi b/arch/arm/boot/dts/exynos4.dtsi index a73eeb5..7102f29 100644 --- a/arch/a

[RFC PATCH v2 11/21] drm/panel: add support for BOE HV070WSA-100 panel to simple-panel

2014-02-12 Thread Andrzej Hajda
The patch adds support for BOE HV070WSA-100 WSVGA 7.01 inch panel in panel-simple driver. The panel is used in Exynos5250-arndale boards. Signed-off-by: Andrzej Hajda --- drivers/gpu/drm/panel/panel-simple.c | 25 + 1 file changed, 25 insertions(+) diff --git a/drivers/g

[RFC PATCH v2 10/21] panel/hv070wsa-100: add DT bindings

2014-02-12 Thread Andrzej Hajda
The patch adds bindings to BOE HV070-WSA WSVGA panel. Bindings are compatible with simple panel bindings. Signed-off-by: Andrzej Hajda --- Documentation/devicetree/bindings/panel/boe,hv070wsa-100.txt | 7 +++ 1 file changed, 7 insertions(+) create mode 100644 Documentation/devicetree/bindin

[RFC PATCH v2 09/21] panel/simple: add video interface DT bindings

2014-02-12 Thread Andrzej Hajda
The bindings allow to create explicit link between devices providing video signal and the panel. Signed-off-by: Andrzej Hajda --- Documentation/devicetree/bindings/panel/simple-panel.txt | 6 ++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/panel/simple-pane

[RFC PATCH v2 08/21] drm/panel: add TC358764 driver

2014-02-12 Thread Andrzej Hajda
The patch adds driver for Toshiba DSI/LVDS TC358764 bridge. Driver registers itself as mipi_dsi_driver. It is exposed to the system via drm_panel interface, it uses also drm_panel framework to interact with LVDS panel connected to it. Driver supports only DT bindings. Signed-off-by: Andrzej Hajda

[RFC PATCH v2 07/21] panel/tc358764: add DT bindings

2014-02-12 Thread Andrzej Hajda
The patch add bindings to Toshiba DSI/LVDS bridge TC358764. Bindings describes power supplies, reset gpio and video interfaces. Signed-off-by: Andrzej Hajda --- .../devicetree/bindings/panel/toshiba,tc358764.txt | 41 ++ 1 file changed, 41 insertions(+) create mode 100644 Do

[RFC PATCH v2 06/21] drm/panel: add S6E8AA0 driver

2014-02-12 Thread Andrzej Hajda
The patch adds MIPI-DSI based S6E8AA0 AMOLED LCD panel driver. Driver uses mipi_dsi bus to communicate with panel and exposes drm_panel interface. Signed-off-by: Andrzej Hajda --- v2 - added bus error handling, - set maxmimum DSI packet size on init, - removed unsupported brightness drm_panel cal

[RFC PATCH v2 05/21] panel/s6e8aa0: add DT bindings

2014-02-12 Thread Andrzej Hajda
The patch adds bindings for s6e8aa0 panel. Bindings describes panel resources, boot delays, display timings, orientation and physical size. Signed-off-by: Andrzej Hajda --- v2 - removed samsung prefix from panel physical size props, - renamed file to follow convention of panel bindings --- .../d

[RFC PATCH v2 04/21] drm/exynos: add DSIM driver

2014-02-12 Thread Andrzej Hajda
The patch adds driver for Exynos DSI master (DSIM). It is a platform driver which is registered as exynos_drm_display sub-driver of exynos_drm framework and implements DRM encoder/connector pair. It is also MIPI-DSI host driver and provides DSI bus for panels. It interacts with its panel(s) using d

[RFC PATCH v2 03/21] exynos/dsim: add DT bindings

2014-02-12 Thread Andrzej Hajda
The patch adds DT bindings for Exynos DSI Master. DSIM follows rules for DSI bus host bindings [1]. Properties describes its resources: memory, interrupt, clocks, phy, regulators and frequencies of clocks. [1]: Documentation/devicetree/bindings/mipi/dsi/mipi-dsi-bus.txt Signed-off-by: Andrzej Haj

[RFC PATCH v2 02/21] drm/exynos: delay fbdev initialization until an output is connected

2014-02-12 Thread Andrzej Hajda
In case fbdev is initialized before any output is connected, fb resolution defaults to 1024x768. After that any output with bigger resolution is ignored and fbdev is not displayed. The patch postpones fbdev initialization to avoid such situation. Signed-off-by: Andrzej Hajda --- drivers/gpu/drm/

[RFC PATCH v2 01/21] drm_mipi_dsi: add flags to DSI messages

2014-02-12 Thread Andrzej Hajda
This patch adds flags field to mipi_dsi_msg structure and two flags: - MIPI_DSI_MSG_REQ_ACK - request ACK from peripheral for given message, - MIPI_DSI_MSG_USE_LPM - use Low Power Mode to transmit message. The first flag is usually helpful during DSI diagnostic, the second flag is required by some

[RFC PATCH v2 00/21] Add DSI display support for Exynos based boards

2014-02-12 Thread Andrzej Hajda
Hi, This patchset adds drivers and bindings to the following devices: - Exynos DSI master, - S6E8AA0 DSI panel, - TC358764 DSI/LVDS bridge, - HV070WSA-100 LVDS panel. It adds also display support in DTS files for the following boards: - Exynos4210/Trats, - Exynos4412/Trats2, - Exynos5250/Arndale.

[PATCH v3 1/1] drm/i915: Add 180 degree sprite rotation support

2014-02-12 Thread sagar.a.kam...@intel.com
From: Ville Syrj?l? The sprite planes (in fact all display planes starting from gen4) support 180 degree rotation. Add the relevant low level bits to the sprite code to make use of that feature. The upper layers are not yet plugged in. v2: HSW handles the rotated buffer offset automagically v3

[Intel-gfx] [PATCH 1/6] drm: export cmdline and preferred mode functions from fb helper

2014-02-12 Thread Jesse Barnes
This allows drivers to use them in custom initial_config functions. Signed-off-by: Jesse Barnes --- drivers/gpu/drm/drm_fb_helper.c |6 -- include/drm/drm_fb_helper.h |6 ++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/drm_fb_helper.c b/driv

[patch] drm/vmwgfx: add error checking for kmalloc()

2014-02-12 Thread Thomas Hellstrom
On 02/11/2014 05:04 PM, Dan Carpenter wrote: > Return -ENOMEM if kmalloc() fails. > > Fixes: d5bde956630b ('drm/vmwgfx: Emulate legacy shaders on guest-backed > devices v2') > Signed-off-by: Dan Carpenter > > diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_shader.c > b/drivers/gpu/drm/vmwgfx/vmwgfx_s

[patch] drm/vmwgfx: unlock on error path in vmw_execbuf_process()

2014-02-12 Thread Thomas Hellstrom
On 02/11/2014 05:03 PM, Dan Carpenter wrote: > There is a missing unlock on error here. > > Fixes: 30f82d816d2d ('drm/vmwgfx: Reemit context bindings when necessary v2') > Signed-off-by: Dan Carpenter > > diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c > b/drivers/gpu/drm/vmwgfx/vmwgfx_execb

[PATCH v6 1/1] drm/i915: Add 180 degree primary plane rotation support

2014-02-12 Thread sagar.a.kam...@intel.com
From: Sagar Kamble Primary planes support 180 degree rotation. Expose the feature through rotation drm property. v2: Calculating linear/tiled offsets based on pipe source width and height. Added 180 degree rotation support in ironlake_update_plane. v3: Checking if CRTC is active before issueing

[PATCH 0/3] drm/tegra: Restore licensing consistency

2014-02-12 Thread Stephen Warren
On 02/12/2014 12:13 PM, Thierry Reding wrote: > On Wed, Feb 12, 2014 at 09:46:57AM -0700, Stephen Warren wrote: >> On 02/12/2014 12:30 AM, Thierry Reding wrote: >>> The bulk of the Tegra DRM driver is GPL v2 licensed, but some of the new >>> subdrivers were licensed under an MIT license. This was s

[Bug 74420] EQ overflowing - recurring total X crash

2014-02-12 Thread bugzilla-dae...@freedesktop.org
HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140212/0b248a87/attachment.html>

[Bug 74803] [r600g] HyperZ broken on RV630 (Cogs shadows are broken)

2014-02-12 Thread bugzilla-dae...@freedesktop.org
-- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140212/fb5dc144/attachment.html>

[Bug 74803] [r600g] HyperZ broken on RV630 (Cogs shadows are broken)

2014-02-12 Thread bugzilla-dae...@freedesktop.org
assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140212/5c829523/attachment.html>

[Intel-gfx] [PATCH v6 1/1] drm/i915: Add 180 degree primary plane rotation support

2014-02-12 Thread Ville Syrjälä
On Wed, Feb 12, 2014 at 12:22:00PM +0530, sagar.a.kamble at intel.com wrote: > From: Sagar Kamble > > Primary planes support 180 degree rotation. Expose the feature > through rotation drm property. > > v2: Calculating linear/tiled offsets based on pipe source width and > height. Added 180 degree

[PATCH] gpu: host1x: do not check previously handled gathers

2014-02-12 Thread Thierry Reding
e Type: application/pgp-signature Size: 836 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140212/8aa0bf3c/attachment-0001.pgp>

[PATCH 1/1] drm/tegra: Add guard to avoid double disable/enable of RGB outputs

2014-02-12 Thread Thierry Reding
ure Size: 836 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140212/7d416ee6/attachment.pgp>

[PATCH] drm/tegra: fix typo 'CONFIG_TEGRA_DRM_FBDEV'

2014-02-12 Thread Thierry Reding
plied, thanks! 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/20140212/0ef988b7/attachment.pgp>

[PATCH 05/13] drm: provide device-refcount

2014-02-12 Thread Greg KH
On Wed, Feb 12, 2014 at 06:48:50PM +0100, David Herrmann wrote: > Hi > > On Wed, Feb 12, 2014 at 5:40 PM, Greg KH > wrote: > > On Wed, Feb 12, 2014 at 05:26:57PM +0100, Daniel Vetter wrote: > >> On Wed, Feb 12, 2014 at 3:44 PM, David Herrmann > >> wrote: > >> >>> +/** > >> >>> + * drm_dev_ref

[Bug 74878] DRI_PRIME not working correctly

2014-02-12 Thread bugzilla-dae...@freedesktop.org
xt part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140212/b59ec78b/attachment.html>

[Bug 73127] [r600g] Possible memory leak when playing WoW with CAICOS

2014-02-12 Thread bugzilla-dae...@freedesktop.org
scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140212/6c52e9e2/attachment.html>

[Bug 74511] Increasing EQ - X freezes

2014-02-12 Thread bugzilla-dae...@freedesktop.org
re the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140212/80d4ec2a/attachment.html>

[Bug 74420] EQ overflowing - recurring total X crash

2014-02-12 Thread bugzilla-dae...@freedesktop.org
scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140212/72b09ad3/attachment.html>

[Bug 74420] EQ overflowing - recurring total X crash

2014-02-12 Thread bugzilla-dae...@freedesktop.org
: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140212/de67f45e/attachment.html>

[BUG] Circular locking dependency - DRM/CMA/MM/hotplug/...

2014-02-12 Thread Daniel Vetter
On Tue, Feb 11, 2014 at 06:35:43PM +, Russell King - ARM Linux wrote: > The cubox-i4 just hit a new lockdep problem - not quite sure what to > make of this - it looks like an interaction between quite a lot of > locks - I suspect more than the lockdep code is reporting in its > "Possible unsafe

[PATCH RFC v2 00/35] Second preview of imx-drm cleanup series

2014-02-12 Thread Russell King - ARM Linux
On Mon, Feb 10, 2014 at 12:28:03PM +, Russell King - ARM Linux wrote: > This is the latest revision of my series cleaning up imx-drm and > hopefully getting it ready to be moved out of drivers/staging. > This series is updated to v3.14-rc2. > > Since the last round of patches were posted, the

  1   2   >