[Bug 76490] Hang during boot when DPM is on (R9 270X)

2015-02-26 Thread bugzilla-dae...@freedesktop.org
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/20150226/b1ad4967/attachment.html>

[Bug 89196] Radeon GPU crashes at random times (GPU lockup)

2015-02-26 Thread bugzilla-dae...@freedesktop.org
o "low". After about 2 hours it locked up again with the same error (GPU lockup) -- 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/dr

[PATCH] drm/i915: fix failure to power off after hibernate

2015-02-26 Thread Ville Syrjälä
On Thu, Feb 26, 2015 at 08:50:48PM +0200, Imre Deak wrote: > On to, 2015-02-26 at 10:34 +0100, Bjørn Mork wrote: > > Imre Deak writes: > > > > >> That patch fixes the problem, with only pci_set_power_state commented > > >> out. Do you still want me to try with pci_disable_device() commented > >

[PATCH] drm/i915: fix failure to power off after hibernate

2015-02-26 Thread Bjørn Mork
Ville Syrjälä writes: >> @@ -651,7 +651,14 @@ static int i915_drm_suspend_late(struct drm_device >> *drm_dev) >> } >> >> pci_disable_device(drm_dev->pdev); >> -pci_set_power_state(drm_dev->pdev, PCI_D3hot); >> +/* >> + * During hibernation on some GM45 platforms the BIO

[Bug 73528] Deferred lighting in Second Life causes system hiccups and screen flickering

2015-02-26 Thread bugzilla-dae...@freedesktop.org
next release, if not I can still test other patches. -- 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/20150226/d375ec87/attachment.html>

[Intel-gfx] [PATCH] drm/i915: fix failure to power off after hibernate

2015-02-26 Thread Daniel Vetter
On Thu, Feb 26, 2015 at 08:50:48PM +0200, Imre Deak wrote: > On to, 2015-02-26 at 10:34 +0100, Bjørn Mork wrote: > > Imre Deak writes: > > > > >> That patch fixes the problem, with only pci_set_power_state commented > > >> out. Do you still want me to try with pci_disable_device() commented > >

[PATCH RESEND] drm: tda998x: Use drm_do_get_edid()

2015-02-26 Thread Laurent Pinchart
Hi Russell, On Thursday 26 February 2015 09:20:08 Russell King - ARM Linux wrote: > On Thu, Feb 26, 2015 at 09:52:02AM +0200, Laurent Pinchart wrote: > > On Friday 16 January 2015 17:47:34 Russell King - ARM Linux wrote: > >> On Fri, Jan 16, 2015 at 06:37:43PM +0200, Laurent Pinchart wrote: > >>>

[PATCH 2/2] drm/exynos: decon: Add support for DECON-EXT

2015-02-26 Thread Ajay Kumar
* Modify DECON-INT driver to support DECON-EXT. * Add a table of porch values needed to set timing registers of DECON-EXT. * DECON-EXT supports only H/w Triggered COMMAND mode. * DECON-EXT supports only one DMA window(window 1), so modify all window management routines to support 2 windows of DEC

[PATCH 1/2] drm/exynos: hdmi: Add support for Exynos7 HDMI

2015-02-26 Thread Ajay Kumar
Modify the exynos HDMI driver to support Exynos7 HDMI 1.4. * Add phy configs for Exynos7. * Exynos7 has a different clock structure for HDMI, so introduce the new clocks. * Add sysreg support to enable HDMI SYSREG on Exynos7. * Exynos7 based boards need a DCDC_EN and LS_EN pins for powering up

[PATCH] drm/i915: fix failure to power off after hibernate

2015-02-26 Thread Imre Deak
e that we want for the generic case. The issue on your platform is the exception, so working around that is a sensible choice. Attached is the proposed fix for this issue. --Imre -- next part -- A non-text attachment was scrubbed... Name: 0001-drm-i915-gm45-work-around-hang-during-hibernation.patch Type: text/x-patch Size: 3625 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150226/52357a6d/attachment-0001.bin>

[PATCH 04/11] dt-bindings: Add documentation for rockchip lvds

2015-02-26 Thread Laurent Pinchart
Hi Heiko, Thank you for the patch. On Saturday 31 January 2015 17:32:57 Heiko Stuebner wrote: > From: Mark Yao > > Add binding documentation for Rockchip SoC LVDS driver. > > Signed-off-by: Mark Yao > Signed-off-by: Heiko Stuebner > --- > .../devicetree/bindings/video/rockchip-lvds.txt|

[PATCH 03/11] drm: add driver for simple vga encoders

2015-02-26 Thread Laurent Pinchart
Hi Heiko, Thank you for the patch. On Saturday 31 January 2015 17:32:56 Heiko Stuebner wrote: > There exist simple vga encoders without any type of management interface > and just maybe a simple gpio for turning it on or off. Examples for these > are the Analog Devices ADV7123, Chipsea CS7123 or

[PATCH 02/11] drm: add bindings for simple vga encoders

2015-02-26 Thread Laurent Pinchart
Hi Heiko, Thank you for the patch. On Saturday 31 January 2015 17:32:55 Heiko Stuebner wrote: > Add the necessary devicetree binding document for simple vga encoders. > > Signed-off-by: Heiko Stuebner > --- > .../devicetree/bindings/drm/i2c/vga-simple.txt | 18 +++ > 1 file

[Intel-gfx] [patch -next] drm/i915: fix a printk format

2015-02-26 Thread Daniel Vetter
On Thu, Feb 26, 2015 at 07:53:54PM +0300, Dan Carpenter wrote: > This printk leads to the following Smatch warning: > > drivers/gpu/drm/i915/i915_gem_gtt.c:336 alloc_pt_range() > error: '%pa' expects argument of type 'phys_addr_t*', > argument 5 has type 'struct i

[PATCH] drm/i915: fix failure to power off after hibernate

2015-02-26 Thread Bjørn Mork
Imre Deak writes: > Attached is the proposed fix for this issue. > > --Imre > > From 5c23657bc168db12a1ba100ab65fabd305c89c8a Mon Sep 17 00:00:00 2001 > From: Imre Deak > Date: Thu, 26 Feb 2015 18:38:53 +0200 > Subject: [PATCH] drm/i915: gm45: work around hang during hibernation I can confirm t

[Bug 93921] No Audio HDMI

2015-02-26 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=93921 Dieter Nützel changed: What|Removed |Added CC||Dieter at nuetzel-hh.de --- Comment #1 f

[patch -next] drm/i915: fix a printk format

2015-02-26 Thread Dan Carpenter
This printk leads to the following Smatch warning: drivers/gpu/drm/i915/i915_gem_gtt.c:336 alloc_pt_range() error: '%pa' expects argument of type 'phys_addr_t*', argument 5 has type 'struct i915_page_table_entry*' It looks like a simple typo to me where "%p

[PATCH 1/3] drm/panel: Add display_timing support

2015-02-26 Thread Philipp Zabel
Hi Boris, Am Donnerstag, den 26.02.2015, 14:51 +0100 schrieb Boris Brezillon: > Hi Philipp, > > On Mon, 23 Feb 2015 15:04:32 +0100 > Philipp Zabel wrote: > > > Hi Thierry, > > > > do you have any further thoughts on this? > > > > Am Dienstag, den 03.02.2015, 14:30 +0100 schrieb Thierry Reding

[PATCH] drm: Don't assign fbs for universal cursor support to files

2015-02-26 Thread Matt Roper
On Wed, Feb 25, 2015 at 01:45:26PM +, Chris Wilson wrote: > The internal framebuffers we create to remap legacy cursor ioctls to > plane operations for the universal plane support shouldn't be linke to > the file like normal userspace framebuffers. This bug goes back to the > original universal

[Bug 89196] Radeon GPU crashes at random times (GPU lockup)

2015-02-26 Thread bugzilla-dae...@freedesktop.org
s" section on this page: http://xorg.freedesktop.org/wiki/RadeonFeature/ -- 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/20150226/049cb960/attachment.html>

[Bug 89196] Radeon GPU crashes at random times (GPU lockup)

2015-02-26 Thread bugzilla-dae...@freedesktop.org
nts/20150226/77937336/attachment.html>

[Intel-gfx] [PATCH 1/2] drm: Complete moving rotation property to core

2015-02-26 Thread Daniel Vetter
On Thu, Feb 26, 2015 at 07:24:24AM -0800, Matt Roper wrote: > For both patches: > > Reviewed-by: Matt Roper Both merged to drm-misc, thanks. -Daniel > > On Thu, Feb 26, 2015 at 01:49:17PM +, Tvrtko Ursulin wrote: > > From: Tvrtko Ursulin > > > > Commit 1da30627fc511a57c9bd23a02c97f057637

[Bug 89196] Radeon GPU crashes at random times (GPU lockup)

2015-02-26 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/20150226/ce53c948/attachment.html>

[Intel-gfx] [PATCH 4/4] drm/dp: add DPCD definitions from eDP 1.4

2015-02-26 Thread sonika
On Wednesday 25 February 2015 06:16 PM, Jani Nikula wrote: > Signed-off-by: Jani Nikula > --- > include/drm/drm_dp_helper.h | 37 + > 1 file changed, 37 insertions(+) > > diff --git a/include/drm/drm_dp_helper.h b/include/drm/drm_dp_helper.h > index cc96024e

[PATCH RFC 6/6] ARM: dts: am335x-boneblack: Use new binding for HDMI

2015-02-26 Thread Jyri Sarha
Use new binding for the external tda19988 HDMI encoder. Signed-off-by: Jyri Sarha --- arch/arm/boot/dts/am335x-boneblack.dts | 20 +++- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/am335x-boneblack.dts b/arch/arm/boot/dts/am335x-boneblack.dts

[PATCH RFC 5/6] drm/tilcdc: Force building of DRM_TILCDC_INIT

2015-02-26 Thread Jyri Sarha
If I read Documentation/kbuild/makefiles.txt section 3.6 right, this patch should not be needed. However, without this patch the objects needed for DRM_TILCDC_INIT are not linked, if DRM_TILCDC is built as module. Signed-off-by: Jyri Sarha --- drivers/gpu/drm/Makefile | 1 + 1 file changed, 1 in

[PATCH RFC 4/6] drm/tilcdc: Add DRM_TILCDC_INIT for "ti, tilcdc, slave" binding support

2015-02-26 Thread Jyri Sarha
Adds a DRM_TILCDC_INIT module for "ti,tilcdc,slave" node conversion. The implementation is in tilcdc_boot_init.c and it uses tilcdc_slave_convert.dts as a basis for creating a DTS overlay. The DTS overlay adds an external tda998x encoder to tilcdc that corresponds to the old tda998x based slave enc

[PATCH RFC 3/6] drm/tilcdc: Add support for external compontised DRM encoder

2015-02-26 Thread Jyri Sarha
Add support for an external compontised DRM encoder. The external encoder can be connected to tilcdc trough device tree graph binding. The binding document for tilcdc has been updated. The support has only been tested with tda998x encoder, but other encoders should work too with a little tweaking.

[PATCH RFC 2/6] drm/tilcdc: Remove tilcdc slave support for tda998x driver

2015-02-26 Thread Jyri Sarha
Remove tilcdc slave support for tda998x driver. The tilcdc slave support would conflicts with componentized use of tda998x. Signed-off-by: Jyri Sarha --- .../devicetree/bindings/drm/tilcdc/slave.txt | 18 - drivers/gpu/drm/tilcdc/Makefile| 1 - drivers/gpu/drm/tilcdc

[PATCH RFC 1/6] drm/tilcdc: Fix module unloading

2015-02-26 Thread Jyri Sarha
Force crtc dpms off before destroying the crtc instead of just checking the dpms state. This fixes warning message and frozen picture after tilcdc module unloading. Signed-off-by: Jyri Sarha --- drivers/gpu/drm/tilcdc/tilcdc_crtc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --

[PATCH RFC 0/6] Use DRM component API in tilcdc to connect to tda998x

2015-02-26 Thread Jyri Sarha
Remove tilcdc slave support and connect to tda998x trough its component DRM API. For dtb backward compatibility the code creates at boot time a DT overlay based on the earlier binding. The overlay conforms to the new graph based binding. The first patch is just a bugfix and can be applied or dropp

[Bug 89196] Radeon GPU crashes at random times (GPU lockup)

2015-02-26 Thread bugzilla-dae...@freedesktop.org
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/20150226/6bdaa2ae/attachment.html>

[Bug 84648] Lag/Pause When VRAM->GTT or GTT->VRAM transfer occur

2015-02-26 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/20150226/3a3673c5/attachment.html>

[Bug 93921] New: No Audio HDMI

2015-02-26 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=93921 Bug ID: 93921 Summary: No Audio HDMI Product: Drivers Version: 2.5 Kernel Version: 4.0-rc1 Hardware: i386 OS: Linux Tree: Mainline Status: NEW

[PATCH 00/38] Renesas R-Car DU atomic updates support

2015-02-26 Thread Magnus Damm
Hi Laurent, On Thu, Feb 26, 2015 at 1:23 AM, Laurent Pinchart wrote: > Hi Magnus, > > On Wednesday 25 February 2015 16:43:53 Magnus Damm wrote: >> On Wed, Feb 25, 2015 at 1:54 PM, Laurent Pinchart wrote: >> > Hello, >> > >> > This patch series implements atomic updates support for the rcar-du >>

[PATCH 14/21] drm/omap: stop connector polling during suspend

2015-02-26 Thread grygorii.stras...@linaro.org
Hi Tomi, On 02/26/2015 03:20 PM, Tomi Valkeinen wrote: > When not using proper hotplug detection, DRM polls periodically the > connectors to find out if a cable is connected. This polling can happen > at any time, even very late in the suspend process. > > This causes a problem with omapdrm, when

[Bug 83226] Allow use of ColorRange and ColorSpace in xorg.conf.d files

2015-02-26 Thread bugzilla-dae...@freedesktop.org
tput is not supported yet. -- 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/20150226/7ef45084/attachment.html>

[Bug 83226] Allow use of ColorRange and ColorSpace in xorg.conf.d files

2015-02-26 Thread bugzilla-dae...@freedesktop.org
r the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150226/611ba41c/attachment.html>

[PATCH 2/4] drm/dp: add DPCD definitions from DP 1.2a

2015-02-26 Thread sonika
On Wednesday 25 February 2015 06:16 PM, Jani Nikula wrote: > Signed-off-by: Jani Nikula > --- > include/drm/drm_dp_helper.h | 95 > ++--- > 1 file changed, 90 insertions(+), 5 deletions(-) > > diff --git a/include/drm/drm_dp_helper.h b/include/drm/drm_d

[PATCH 1/4] drm/dp: indentation and ordering cleanups

2015-02-26 Thread sonika
On Wednesday 25 February 2015 06:16 PM, Jani Nikula wrote: > Keep the DPCD macros ordered by address, and make indentation conform to > the rest of the file. > > commit e045d20bef41707dbba676e58624b54f9f39e172 > Author: Sonika Jindal > Date: Thu Feb 19 13:16:44 2015 +0530 > > drm: Adding e

[PATCH 3/4] drm/dp: add DPCD definitions from eDP 1.2

2015-02-26 Thread sonika
On Wednesday 25 February 2015 06:16 PM, Jani Nikula wrote: > Mostly display control related DPCD addresses. > > Signed-off-by: Jani Nikula > --- > include/drm/drm_dp_helper.h | 32 > 1 file changed, 32 insertions(+) > > diff --git a/include/drm/drm_dp_helper.h

[PATCH 21/21] drm/omap: keep ref to old_fb

2015-02-26 Thread Tomi Valkeinen
We store the fb being page-flipped to 'old_fb' field, but we don't increase the ref count of the fb when doing that. While I am not sure if it can cause problem in practice, it's still safer to keep a ref when storing a pointer to a fb. Signed-off-by: Tomi Valkeinen --- drivers/gpu/drm/omapdrm/o

[PATCH 20/21] drm/omap: fix race conditon in DMM

2015-02-26 Thread Tomi Valkeinen
The omapdrm DMM code sometimes crashes with: WARNING: CPU: 0 PID: 1235 at lib/list_debug.c:36 __list_add+0x8c/0xbc() list_add double add: new=e9265368, prev=e90139c4, next=e9265368. This is caused by the code calling release_engine() twice for the same engine. dmm_txn_commit(wait=true) call is s

[PATCH 19/21] drm/omap: fix race condition with dev->obj_list

2015-02-26 Thread Tomi Valkeinen
omap_gem_objects are added to dev->obj_list in omap_gem_new, and removed in omap_gem_free_object. Unfortunately there's no locking for dev->obj_list, which eventually leads to a crash: WARNING: CPU: 1 PID: 1123 at lib/list_debug.c:59 __list_del_entry+0xa4/0xe0() list_del corruption. prev->next sho

[PATCH 18/21] drm/omap: do not use BUG_ON(!spin_is_locked(x))

2015-02-26 Thread Tomi Valkeinen
spin_is_locked(x) returns always 0 on uniprocessor, triggering BUG() in omapdrm. Change it to use assert_spin_locked() to fix the issue. Signed-off-by: Tomi Valkeinen --- drivers/gpu/drm/omapdrm/omap_irq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/omapd

[PATCH 17/21] drm/omap: only ignore DIGIT SYNC LOST for TV output

2015-02-26 Thread Tomi Valkeinen
We need to ignore DIGIT SYNC LOST error when enabling/disabling TV output. The code does that, but it ignores the DIGI SYNC LOST when enabling any output. Normally this does no harm, but it could make us miss DIGIT SYNC LOST on some rare occasions. Fix the code to only ignore DIGIT SYNC LOST when

[PATCH 16/21] drm/omap: fix race with error_irq

2015-02-26 Thread Tomi Valkeinen
omapdrm tries to avoid error floods by unregistering the error irq when an error happens, and then registering the error irq again later. However, the code is racy, as it sometimes tries to unregister the error irq when it's already unregistered, leading to WARN(). Also, the code only registers th

[PATCH 15/21] drm/omap: use DRM_ERROR_RATELIMITED() for error irqs

2015-02-26 Thread Tomi Valkeinen
omapdrm uses normal DRM_ERROR() print when the HW reports an error. As we sometimes may get a flood of errors, let's rather use DRM_ERROR_RATELIMITED(). Signed-off-by: Tomi Valkeinen --- drivers/gpu/drm/omapdrm/omap_crtc.c | 2 +- drivers/gpu/drm/omapdrm/omap_plane.c | 3 ++- 2 files changed, 3

[PATCH 14/21] drm/omap: stop connector polling during suspend

2015-02-26 Thread Tomi Valkeinen
When not using proper hotplug detection, DRM polls periodically the connectors to find out if a cable is connected. This polling can happen at any time, even very late in the suspend process. This causes a problem with omapdrm, when the poll happens during the suspend process after GPIOs have been

[PATCH 13/21] drm/omap: remove dummy PM functions

2015-02-26 Thread Tomi Valkeinen
omapdrm has dummy functions for platform_device's suspend/resume/shutdown. The functions don't do anything, and those platform device functions are deprecated, so remove them from omapdrm. Signed-off-by: Tomi Valkeinen --- drivers/gpu/drm/omapdrm/omap_drv.c | 20 1 file chan

[PATCH 12/21] drm/omap: tiler: fix race condition with engine->async

2015-02-26 Thread Tomi Valkeinen
The tiler irq handler uses engine->async value, but the code that sets engine->async and enables the interrupt does not have a barrier. This may cause the irq handler to see the old value of engine->async, causing memory corruption. Reported-by: Harinarayan Bhatta Signed-off-by: Tomi Valkeinen -

[PATCH 11/21] drm/omap: fix plane's channel selection

2015-02-26 Thread Tomi Valkeinen
omap_plane_pre_apply() sets the plane's output channel too late, only after the plane has already been otherwise configured and enabled. This causes problems, as at the configuration stage we need to make decisions based on the output channel. This may lead to bad plane settings or failing to setu

[PATCH 10/21] drm/omap: fix TILER on OMAP5

2015-02-26 Thread Tomi Valkeinen
On OMAP5 it is not possible to use TILER buffer with CPU when caching or write-combining is used. Doing so leads to errors from the memory manager. However, on OMAP4, write-combining works fine. This patch adds platform specific data for the TILER, and a function tiler_get_cpu_cache_flags() which

[PATCH 09/21] drm/omap: handle mismatching color format and buffer width

2015-02-26 Thread Tomi Valkeinen
omapdrm doesn't check if the width of the framebuffer and the color format's bits-per-pixel match. For example, using a display with a width of 1280, and a buffer allocated with using 32 bits per pixel (i.e. 1280*4 = 5120 bytes), with a 24 bits per pixel color format, leads to the following mismat

[PATCH 08/21] drm/omap: fix error handling in omap_framebuffer_create()

2015-02-26 Thread Tomi Valkeinen
When an error happens in omap_framebuffer_create(), omap_framebuffer_create() calls omap_framebuffer_destroy() if the fb struct has been allocated. However, that crashes, as omap_framebuffer_destroy(), which calls drm_framebuffer_cleanup(), should only be called after drm_framebuffer_init() Fix th

[PATCH 07/21] drm/omap: fix operation without fbdev

2015-02-26 Thread Tomi Valkeinen
omapdrm should work fine even if fbdev is missing. The current driver crashes in that case, though, as it is missing checks for the fbdev. Add the checks so that we don't free fbdev or restore fbdev mode when there's no fbdev. Signed-off-by: Tomi Valkeinen --- drivers/gpu/drm/omapdrm/omap_drv.c

[PATCH 06/21] drm/omap: check CRTC color format earlier

2015-02-26 Thread Tomi Valkeinen
When setting a color format to a DRM plane, the DRM core checks whether the format is supported by the HW. However, it seems that when setting the color format of a CRTC (i.e. a root plane), there's no checking done. This causes omapdrm to configure omapdss with the bad color format, which omapdss

[PATCH 05/21] drm/omap: add a comment why locking is missing

2015-02-26 Thread Tomi Valkeinen
unpin_worker() calls omap_framebuffer_unpin() without any locks, which looks very suspicious. However, both pin and unpin are always called via the driver's private workqueue, so the access is synchronized that way. Add a comment to make this clear. Signed-off-by: Tomi Valkeinen --- drivers/gpu

[PATCH 04/21] drm/omap: add pin refcounting to omap_framebuffer

2015-02-26 Thread Tomi Valkeinen
omap_framebuffer_pin() and omap_framebuffer_unpin() are currently broken, as they cannot be called multiple times (i.e. pin, pin, unpin, unpin), which is what happens in certain cases. This issue causes the driver to possibly use 0 as an address for a displayed buffer, leading to OCP error from DSS

[PATCH 03/21] drm/omap: clear omap_obj->paddr in omap_gem_put_paddr()

2015-02-26 Thread Tomi Valkeinen
Clear omap_obj's paddr when unmapping the memory, so that it's easier to catch bad use of the paddr. Signed-off-by: Tomi Valkeinen --- drivers/gpu/drm/omapdrm/omap_gem.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/omapdrm/omap_gem.c b/drivers/gpu/drm/omapdrm/omap_gem.c i

[PATCH 02/21] drm/omap: page_flip: return -EBUSY if flip pending

2015-02-26 Thread Tomi Valkeinen
The DRM documentation says: "If a page flip is already pending, the page_flip operation must return -EBUSY." Currently omapdrm returns -EINVAL instead. Fix omapdrm by returning -EBUSY. Signed-off-by: Tomi Valkeinen --- drivers/gpu/drm/omapdrm/omap_crtc.c | 2 +- 1 file changed, 1 insertion(+),

[PATCH 01/21] drm/omap: fix encoder-crtc mapping

2015-02-26 Thread Tomi Valkeinen
OMAP DSS hardware supports changing the output port to which an overlay manager's video stream goes. For example, DPI video stream can come from any of the four overlay managers on OMAP5. However, as it's difficult to manage the change in the driver, the omapdss driver does not support that at the

[PATCH 00/21] drm/omap: misc fixes/improvements

2015-02-26 Thread Tomi Valkeinen
Various small(ish) fixes and improvements for omapdrm. Laurent, some of these may conflict with your work. I'm fine with dropping the conflicting ones from this series, as long as the issue has been fixed in your WIP branch. Or maybe some of these should be rebased on top of your work. Tomi Tom

[Bug 83226] Allow use of ColorRange and ColorSpace in xorg.conf.d files

2015-02-26 Thread bugzilla-dae...@freedesktop.org
vel/attachments/20150226/363ca5ad/attachment.html>

[PATCH 1/3] drm/panel: Add display_timing support

2015-02-26 Thread Boris Brezillon
Hi Philipp, On Mon, 23 Feb 2015 15:04:32 +0100 Philipp Zabel wrote: > Hi Thierry, > > do you have any further thoughts on this? > > Am Dienstag, den 03.02.2015, 14:30 +0100 schrieb Thierry Reding: > > On Thu, Dec 11, 2014 at 06:32:44PM +0100, Philipp Zabel wrote: > > > Many panel data sheets a

[Intel-gfx] [PATCH 4/4] drm/dp: add DPCD definitions from eDP 1.4

2015-02-26 Thread Jani Nikula
On Thu, 26 Feb 2015, sonika wrote: > On Wednesday 25 February 2015 06:16 PM, Jani Nikula wrote: >> Signed-off-by: Jani Nikula >> --- >> include/drm/drm_dp_helper.h | 37 + >> 1 file changed, 37 insertions(+) >> >> diff --git a/include/drm/drm_dp_helper.h b/i

[PATCH 03/11] drm: add driver for simple vga encoders

2015-02-26 Thread Rob Herring
On Sat, Jan 31, 2015 at 10:32 AM, Heiko Stuebner wrote: > There exist simple vga encoders without any type of management interface > and just maybe a simple gpio for turning it on or off. Examples for these > are the Analog Devices ADV7123, Chipsea CS7123 or Micronas SDA7123. > > Add a generic enc

[Intel-gfx] [PATCH 3/4] drm/dp: add DPCD definitions from eDP 1.2

2015-02-26 Thread Daniel Vetter
On Thu, Feb 26, 2015 at 03:21:13PM +0530, sonika wrote: > > On Wednesday 25 February 2015 06:16 PM, Jani Nikula wrote: > >Mostly display control related DPCD addresses. > > > >Signed-off-by: Jani Nikula > >--- > > include/drm/drm_dp_helper.h | 32 > > 1 file chan

[PATCH] drm: atmel-hlcdc: remove clock polarity from crtc driver

2015-02-26 Thread Boris Brezillon
On Wed, 25 Feb 2015 18:44:51 +0100 Nicolas Ferre wrote: > Remove this configuration bit in crtc driver as the rising edge clock is > widely > used. Applied to drm-atmel-hlcdc-fixes. Thanks, Boris > > Signed-off-by: Boris BREZILLON > Signed-off-by: Nicolas Ferre > --- > drivers/gpu/drm/at

[PATCH] drm/atomic-helper: Fix kerneldoc for prepare_planes

2015-02-26 Thread Daniel Vetter
Copypaste-fail from cleanup_planes. Reported by Tvrtko. Cc: Tvrtko Ursulin Reviewed-by: Tvrtko Ursulin Signed-off-by: Daniel Vetter --- drivers/gpu/drm/drm_atomic_helper.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/drm_atomic_helper.c b/drivers/gpu

[PATCH 2/2] drm/i915: Rotation property is now handled in DRM core

2015-02-26 Thread Tvrtko Ursulin
From: Tvrtko Ursulin So no need to have code which never gets called in the driver. Signed-off-by: Tvrtko Ursulin Cc: Matt Roper Reviewed-by: Daniel Vetter Cc: dri-devel at lists.freedesktop.org --- drivers/gpu/drm/i915/intel_atomic_plane.c | 24 1 file changed, 4 in

[PATCH 1/2] drm: Complete moving rotation property to core

2015-02-26 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Commit 1da30627fc511a57c9bd23a02c97f0576379f761 "drm: Add rotation value to plane state" moved the rotation property to DRM core but only did the set property part. This does the get property part as well. Signed-off-by: Tvrtko Ursulin Cc: Matt Roper Reviewed-by: Daniel Ve

[Bug 89156] r300g: GL_COMPRESSED_RED_RGTC1 / ATI1N support broken

2015-02-26 Thread bugzilla-dae...@freedesktop.org
. -- 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/20150226/03c017ea/attachment.html>

[alsa-devel] [PATCH 1/8] clk: add helper function clk_is_match()

2015-02-26 Thread Ricard Wanderlof
On Thu, 26 Feb 2015, Ben Dooks wrote: > > > small observaton, clk_is_same() is linguistically nicer. > > > > How about clk_equal() ? > > That's good, the only issue that's not clear in any of these names is > that does this mean "the same clock", a "clock of the same rate" or a > "clock that is

[Bug 89148] r300g: Kernel rejected CS in Wine d3d multisample test

2015-02-26 Thread bugzilla-dae...@freedesktop.org
doesn't seem to matter here. -- 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/20150226/57954498/attachment.html>

[PATCH v2 4/4] nouveau: Do not add most bo's to the global bo list.

2015-02-26 Thread Maarten Lankhorst
Only add wrapped bo's and bo's that have been exported through flink or dma-buf. This avoids a lock in the common case, and decreases traversal needed for importing a dma-buf or flink. Signed-off-by: Maarten Lankhorst --- nouveau/nouveau.c | 46 ++ 1

[PATCH v2 3/4] nouveau: make nouveau importing global buffers completely thread-safe, with tests

2015-02-26 Thread Maarten Lankhorst
While I've closed off most races in a previous patch, a small race still existed where importing then unreffing cound cause an invalid bo. Add a test for this case. Racing sequence fixed: - thread 1 releases bo, refcount drops to zero, blocks on acquiring nvdev->lock. - thread 2 increases refcou

[PATCH v2 2/4] Use __sync_add_and_fetch instead of __sync_fetch_and_add for atomic_dec_and_test

2015-02-26 Thread Maarten Lankhorst
Signed-off-by: Maarten Lankhorst --- xf86atomic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xf86atomic.h b/xf86atomic.h index 17fb088..194554c 100644 --- a/xf86atomic.h +++ b/xf86atomic.h @@ -50,7 +50,7 @@ typedef struct { # define atomic_set(x, val) ((x)->atomic = (val

[PATCH v2 1/4] Add atomic_inc_return to atomics.

2015-02-26 Thread Maarten Lankhorst
Signed-off-by: Maarten Lankhorst --- xf86atomic.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xf86atomic.h b/xf86atomic.h index 8c4b696..17fb088 100644 --- a/xf86atomic.h +++ b/xf86atomic.h @@ -49,6 +49,7 @@ typedef struct { # define atomic_read(x) ((x)->atomic) # define atomic_set(x

[Bug 89156] r300g: GL_COMPRESSED_RED_RGTC1 / ATI1N support broken

2015-02-26 Thread bugzilla-dae...@freedesktop.org
elps you. There may be something like an off by one error that the driver can account for. -- 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/20150226/04f6519d/attachment.html>

[PATCH 6/8] ASoC: fsl_esai: fix struct clk pointer comparing

2015-02-26 Thread Mark Brown
cked-by: Mark Brown -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 473 bytes Desc: Digital signature URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150226/a789c434/attachment-0001.sig>

[PATCH 8/8] ASoC: kirkwood: fix struct clk pointer comparing

2015-02-26 Thread Mark Brown
cked-by: Mark Brown -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 473 bytes Desc: Digital signature URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150226/0555aca7/attachment.sig>

[PATCH 7/8] ASoC: fsl_spdif: fix struct clk pointer comparing

2015-02-26 Thread Mark Brown
cked-by: Mark Brown -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 473 bytes Desc: Digital signature URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150226/f40b117a/attachment.sig>

[PATCH] drm/radeon: release digital encoder before asking for new one.

2015-02-26 Thread Dave Airlie
From: Dave Airlie This stops a DRM_ERROR that says we already used the encoder. Reported-by: Dieter Nützel Signed-off-by: Dave Airlie --- drivers/gpu/drm/radeon/atombios_encoders.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/radeon/atombios_encoders.c b/drivers/gpu

[PATCH 7/8] ASoC: fsl_spdif: fix struct clk pointer comparing

2015-02-26 Thread Mark Brown
g/archives/dri-devel/attachments/20150226/0cf9f199/attachment-0001.sig>

[alsa-devel] [PATCH 1/8] clk: add helper function clk_is_match()

2015-02-26 Thread Ben Dooks
On Thu, Feb 26, 2015 at 10:56:58AM +0100, Philipp Zabel wrote: > Am Donnerstag, den 26.02.2015, 09:02 + schrieb Ben Dooks: > > On Wed, Feb 25, 2015 at 09:27:57AM -0800, Mike Turquette wrote: > [...] > > > From: Michael Turquette > > > Date: Wed, 25 Feb 2015 09:11:01 -0800 > > > Subject: [PATCH

[PATCH 00/38] Renesas R-Car DU atomic updates support

2015-02-26 Thread Laurent Pinchart
Hi Magnus, On Wednesday 25 February 2015 16:43:53 Magnus Damm wrote: > On Wed, Feb 25, 2015 at 1:54 PM, Laurent Pinchart wrote: > > Hello, > > > > This patch series implements atomic updates support for the rcar-du > > driver. > > > > The series starts with four core atomic helpers fixes/cleanup

[Bug 89156] r300g: GL_COMPRESSED_RED_RGTC1 / ATI1N support broken

2015-02-26 Thread bugzilla-dae...@freedesktop.org
0, 0x00, 0x00, 0x00, 0x00, > }; That's expected. ATI1N operates at lower precision. I'm afraid I can't change that. -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <htt

[Bug 89148] r300g: Kernel rejected CS in Wine d3d multisample test

2015-02-26 Thread bugzilla-dae...@freedesktop.org
e bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150226/89743641/attachment.html>

linux-next: manual merge of the drm-intel tree with the drm-intel-fixes tree

2015-02-26 Thread Stephen Rothwell
return 0; - + if (fb->modifier[0] != DRM_FORMAT_MOD_NONE) { DRM_DEBUG_KMS("cursor cannot be tiled\n"); ret = -EINVAL; } ------ next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150226/b67d267e/attachment.sig>

[PULL] drm-intel-fixes

2015-02-26 Thread Jani Nikula
Hi Dave - First batch of fixes for v4.0-rc, plenty of cc: stable material. BR, Jani. The following changes since commit c517d838eb7d07bbe9507871fab3931deccff539: Linux 4.0-rc1 (2015-02-22 18:21:14 -0800) are available in the git repository at: git://anongit.freedesktop.org/drm-intel tags

[PATCH 7/8] ASoC: fsl_spdif: fix struct clk pointer comparing

2015-02-26 Thread Mark Brown
by Applied, thanks. -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 473 bytes Desc: Digital signature URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150226/acd119b1/attachment-0001.sig>

[PATCH 8/8] ASoC: kirkwood: fix struct clk pointer comparing

2015-02-26 Thread Mark Brown
by Applied, thanks. -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 473 bytes Desc: Digital signature URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150226/130aa66d/attachment-0001.sig>

[alsa-devel] [PATCH 1/8] clk: add helper function clk_is_match()

2015-02-26 Thread Philipp Zabel
Am Donnerstag, den 26.02.2015, 09:02 + schrieb Ben Dooks: > On Wed, Feb 25, 2015 at 09:27:57AM -0800, Mike Turquette wrote: [...] > > From: Michael Turquette > > Date: Wed, 25 Feb 2015 09:11:01 -0800 > > Subject: [PATCH] clk: introduce clk_is_match > > > > Some drivers compare struct clk poin

eDP display control registers in Linux kernel

2015-02-26 Thread Jani Nikula
On Thu, 26 Feb 2015, Michael Leuchtenburg wrote: > Okay, here's the results: > : 12 0a 02 41 00 00 00 00 00 00 00 00 00 0b 00 > 0070: 01 00 > 0080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 0100: 0a 02 00 09 09 00 00 00 01 00 00 > 0200: 01 00 77 00 01 01 55 00 > 0600: 01 > 0700: 02 > 0

[PATCH] drm/i915: fix failure to power off after hibernate

2015-02-26 Thread Bjørn Mork
Imre Deak writes: >> That patch fixes the problem, with only pci_set_power_state commented >> out. Do you still want me to try with pci_disable_device() commented >> out as well? > > No, but it would help if you could still try the two attached patch > separately, without any of the previous wor

[PATCH 4/8] pwm: atmel-hlcdc: fix struct clk pointer comparing

2015-02-26 Thread Boris Brezillon
Nicolas, Shawn, On Thu, 26 Feb 2015 10:22:50 +0100 Nicolas Ferre wrote: > Le 25/02/2015 15:53, Shawn Guo a écrit : > > Since commit 035a61c314eb ("clk: Make clk API return per-user struct clk > > instances"), clk API users can no longer check if two struct clk > > pointers are pointing to the s

[PATCH 11/15] ARM: shmobile: lager: Add DU HDMI output support

2015-02-26 Thread Simon Horman
On Thu, Dec 11, 2014 at 01:42:11AM +0200, Laurent Pinchart wrote: > Add DT nodes for the ADV7511 HDMI encoder and its HDMI output connector. > > Signed-off-by: Laurent Pinchart Thanks, I have queued this up. > --- > arch/arm/boot/dts/r8a7790-lager.dts | 48 > ++

[PATCH 4/8] pwm: atmel-hlcdc: fix struct clk pointer comparing

2015-02-26 Thread Nicolas Ferre
Le 25/02/2015 15:53, Shawn Guo a écrit : > Since commit 035a61c314eb ("clk: Make clk API return per-user struct clk > instances"), clk API users can no longer check if two struct clk > pointers are pointing to the same hardware clock, i.e. struct clk_hw, by > simply comparing two pointers. That's

[PATCH 7/8] ASoC: fsl_spdif: fix struct clk pointer comparing

2015-02-26 Thread Shawn Guo
On Thu, Feb 26, 2015 at 11:12:50AM +0900, Mark Brown wrote: > On Wed, Feb 25, 2015 at 10:53:37PM +0800, Shawn Guo wrote: > > Since commit 035a61c314eb ("clk: Make clk API return per-user struct clk > > instances"), clk API users can no longer check if two struct clk > > pointers are pointing to the

  1   2   >