Re: [PATCH v2 1/4] drm/atomic: implement drm_atomic_helper_commit_tail for runtime_pm users

2017-07-24 Thread Maxime Ripard
Hi Daniel, On Thu, Jul 20, 2017 at 08:46:28PM +0200, Daniel Vetter wrote: > On Thu, Jul 20, 2017 at 03:01:16PM +0200, Maxime Ripard wrote: > > The current drm_atomic_helper_commit_tail helper works only if the CRTC is > > accessible, and documents an alternative implementation that is supposed to

Re: [PATCH 00/41] drm/dumb-buffers: Add defaults for .dumb_map_offset and .dumb_destroy

2017-07-24 Thread Daniel Vetter
On Mon, Jul 24, 2017 at 09:39:08PM +0200, Noralf Trønnes wrote: > > Den 23.07.2017 21.16, skrev Noralf Trønnes: > > This adds defaults for the drm_driver.dumb_destroy and > > drm_driver.dumb_map_offset callbacks as discussed with Daniel. > > > > vmwgfx is the only driver that doesn't use drm_gem_

Re: [PATCH 1/2] drm/edid: Add helper to detect whether EDID changed

2017-07-24 Thread Daniel Vetter
On Mon, Jul 24, 2017 at 05:54:46PM +0300, Paul Kocialkowski wrote: > This adds a common drm helper to detect whether the EDID changed from > the last known cached one. This is useful help detect that a monitor was > changed during a suspend/resume cycle. > > When that happens (a monitor is replace

Re: [PATCH] dma-buf: fix reservation_object_wait_timeout_rcu to wait correctly

2017-07-24 Thread Daniel Vetter
On Tue, Jul 25, 2017 at 02:16:55PM +0800, zhoucm1 wrote: > > > On 2017年07月24日 19:57, Daniel Vetter wrote: > > On Mon, Jul 24, 2017 at 11:51 AM, Christian König > > wrote: > > > Am 24.07.2017 um 10:33 schrieb Daniel Vetter: > > > > On Fri, Jul 21, 2017 at 06:20:01PM +0200, Christian König wrote:

[Bug 99316] Radeon crash when laptop on AC power

2017-07-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99316 mat...@yahoo.de changed: What|Removed |Added Priority|medium |high CC|

Re: [PATCH] dma-buf: fix reservation_object_wait_timeout_rcu to wait correctly

2017-07-24 Thread zhoucm1
On 2017年07月24日 19:57, Daniel Vetter wrote: On Mon, Jul 24, 2017 at 11:51 AM, Christian König wrote: Am 24.07.2017 um 10:33 schrieb Daniel Vetter: On Fri, Jul 21, 2017 at 06:20:01PM +0200, Christian König wrote: From: Christian König With hardware resets in mind it is possible that all sha

Re: [PATCH 1/4] drm: Plumb modifiers through plane init

2017-07-24 Thread kbuild test robot
Hi Ben, [auto build test ERROR on drm/drm-next] [also build test ERROR on v4.13-rc2 next-20170724] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Ben-Widawsky/drm-Plumb-modifiers-through-plane

Re: iMac 10,1 with Ubuntu 16.04: black screen after suspend

2017-07-24 Thread Mario Kleiner
On 07/24/2017 03:45 PM, Florian Echtler wrote: Hello Lukas, On 17.07.2017 11:02, Lukas Wunner wrote: On Fri, Jun 02, 2017 at 06:47:07PM +0200, Florian Echtler wrote: Sorry for the delay Florian. Commit 564d8a2cf3ab by Mario Kleiner (+cc) landed in Linus' tree last week and is included in 4.13

Re: [Intel-gfx] [PATCH 2/4] drm: Create a format/modifier blob

2017-07-24 Thread kbuild test robot
Hi Ben, [auto build test WARNING on drm/drm-next] [also build test WARNING on v4.13-rc2 next-20170724] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Ben-Widawsky/drm-Plumb-modifiers-through

Re: [PATCH 1/4] drm: Plumb modifiers through plane init

2017-07-24 Thread kbuild test robot
Hi Ben, [auto build test WARNING on drm/drm-next] [also build test WARNING on v4.13-rc2 next-20170724] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Ben-Widawsky/drm-Plumb-modifiers-through

Re: [PATCH v5 6/7] dt-bindings: display: rockchip: fill Documents for vop series

2017-07-24 Thread Mark yao
On 2017年07月25日 03:53, Rob Herring wrote: On Thu, Jul 20, 2017 at 10:43:53AM +0800, Mark Yao wrote: Signed-off-by: Mark Yao --- Changes in v5: - clean document commit title - move changes description out of docummit commit msg Changes in v2: - rename rk322x to rk3228 - correct some vop register

[PATCHv1 02/14] drm/omap: drop incorrect comment

2017-07-24 Thread Sebastian Reichel
The wrappers have been removed in commit 5a35876e2830 (drm: omapdrm: Remove manual update display support) and will not be reintroduced, since the normal sys functions properly call the dirty callback. Signed-off-by: Sebastian Reichel --- drivers/gpu/drm/omapdrm/omap_fbdev.c | 3 --- 1 file chan

[PATCHv1 11/14] drm/omap: panel-dsi-cm: add external backlight support

2017-07-24 Thread Sebastian Reichel
Droid 4 has a command mode DSI panel, which does not have/use DSI based backlight support. This adds proper support for this using a backlight phandle property, which follows the common panel binding. If no backlight phandle is found, it is assumed, that the native backlight should be used instead

Re: [PATCH 2/4] drm/bridge: dw-hdmi: add cec notifier support

2017-07-24 Thread Russell King - ARM Linux
On Mon, Jul 24, 2017 at 02:07:17PM +0100, Russell King - ARM Linux wrote: > On Mon, Jul 24, 2017 at 02:16:40PM +0200, Hans Verkuil wrote: > > Just to make sure you aren't waiting for me to do anything: as far as I can > > tell > > the Kconfig above will ensure the right dependencies. If you have a

RE: [PATCH 03/41] drm/arc: Use .dumb_map_offset and .dumb_destroy defaults

2017-07-24 Thread Alexey Brodkin
Hi Noralf, > -Original Message- > From: Noralf Trønnes [mailto:nor...@tronnes.org] > Sent: Sunday, July 23, 2017 10:16 PM > To: dri-devel@lists.freedesktop.org > Cc: alexander.deuc...@amd.com; alexey.brod...@synopsys.com; > alison.w...@freescale.com; benjamin.gaign...@linaro.org; > bske..

Re: [PATCH] android: amdgpu: move asic id table to a separate file

2017-07-24 Thread Mauro Rossi
Hi, after git-send I noticed that libdrm patches in drii-devel are prefixed by [ PATCH libdrm ] Please consider that this is a libdrm patch. Mauro 2017-07-22 11:01 GMT+02:00 Mauro Rossi : > Changes in Android.mk makefile to avoid building errors in mesa > due to missing LOCAL_CFLAGS variable de

[PATCHv1 12/14] drm/omap: panel-dsi-cm: switch to gpiod

2017-07-24 Thread Sebastian Reichel
Use the new descriptor based GPIO API instead of the legacy one, which results in cleaner code with less lines of code. Signed-off-by: Sebastian Reichel --- drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c | 74 + 1 file changed, 27 insertions(+), 47 deletions(-) diff --g

[PATCH 1/3][resend] drm: rcar-du: use of_graph_get_remote_endpoint()

2017-07-24 Thread Kuninori Morimoto
From: Kuninori Morimoto Now, we can use of_graph_get_remote_endpoint(). Let's use it. Signed-off-by: Kuninori Morimoto Reviewed-by: Laurent Pinchart --- based on 4c9c3d595f1bad021cc126d20879df4016801736 ("of_graph: add of_graph_get_remote_endpoint()") drivers/gpu/drm/rcar-du/rcar_du_kms.c |

[PATCHv1 07/14] drm/omap: add support for physical size hints from display drivers

2017-07-24 Thread Sebastian Reichel
While physical size information is automatically parsed for EDID based displays, we need to provide it manually for displays providing one fixed mode. Signed-off-by: Sebastian Reichel --- drivers/gpu/drm/omapdrm/dss/omapdss.h| 2 ++ drivers/gpu/drm/omapdrm/omap_connector.c | 6 ++ 2 file

[PATCH][resend] drm: dw-hdmi-i2s: add missing company name on Copyright

2017-07-24 Thread Kuninori Morimoto
From: Kuninori Morimoto This driver's Copyright is under Renesas Solutions Corp Signed-off-by: Kuninori Morimoto --- drivers/gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c b

[PATCHv1 01/14] drm/omap: remove unused function defines

2017-07-24 Thread Sebastian Reichel
Remove driver (un)register API defines. They do not even exist anymore. Signed-off-by: Sebastian Reichel --- drivers/gpu/drm/omapdrm/dss/omapdss.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/gpu/drm/omapdrm/dss/omapdss.h b/drivers/gpu/drm/omapdrm/dss/omapdss.h index 85953a0bc7

[PATCHv1 13/14] ARM: dts: omap4-droid4: improve LCD description

2017-07-24 Thread Sebastian Reichel
This improves LCD support for the Droid 4. Signed-off-by: Sebastian Reichel --- arch/arm/boot/dts/omap4-droid4-xt894.dts | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/omap4-droid4-xt894.dts b/arch/arm/boot/dts/omap4-droid4-xt894.dts index 3af4905a6b6

Re: iMac 10,1 with Ubuntu 16.04: black screen after suspend

2017-07-24 Thread Florian Echtler
Hello Lukas, On 17.07.2017 11:02, Lukas Wunner wrote: > On Fri, Jun 02, 2017 at 06:47:07PM +0200, Florian Echtler wrote: > > Sorry for the delay Florian. Commit 564d8a2cf3ab by Mario Kleiner (+cc) > landed in Linus' tree last week and is included in 4.13-rc1. It is > supposed to fix black scree

Re: [PATCH 2/4] drm/bridge: dw-hdmi: add cec notifier support

2017-07-24 Thread Russell King - ARM Linux
On Mon, Jul 24, 2017 at 02:16:40PM +0200, Hans Verkuil wrote: > Hi Russell, > > On 07/17/2017 02:23 PM, Hans Verkuil wrote: > >On 17/07/17 14:05, Russell King - ARM Linux wrote: > >>On Mon, Jul 17, 2017 at 01:39:48PM +0200, Hans Verkuil wrote: > >>>On 17/07/17 11:05, Russell King - ARM Linux wrote

Re: [PATCH v4 1/5] mm: add mkwrite param to vm_insert_mixed()

2017-07-24 Thread Ross Zwisler
On Mon, Jul 24, 2017 at 01:25:30PM +0200, Jan Kara wrote: > > @@ -1658,14 +1658,28 @@ static int insert_pfn(struct vm_area_struct *vma, > > unsigned long addr, > > if (!pte) > > goto out; > > retval = -EBUSY; > > - if (!pte_none(*pte)) > > - goto out_unlock; > > +

[PATCHv1 05/14] drm/omap: add manual update detection helper

2017-07-24 Thread Sebastian Reichel
In preparation for manually updated display support, such as DSI command mode panels, this adds a simple helper to see if a connector is manually updated. Signed-off-by: Sebastian Reichel --- drivers/gpu/drm/omapdrm/omap_connector.c | 8 drivers/gpu/drm/omapdrm/omap_drv.h | 1 + 2

[PATCHv1 14/14] ARM: dts: n950: add display support

2017-07-24 Thread Sebastian Reichel
Add basic panel support for the Nokia N950. It must be tweaked a little bit later, since the panel was built into the device upside-down. Also the first 5 and the last 5 pixels are covered by plastic. Signed-off-By: Sebastian Reichel --- arch/arm/boot/dts/omap3-n950.dts | 88

[PATCHv1 04/14] drm/omap: add framedone interrupt support

2017-07-24 Thread Sebastian Reichel
This prepares framedone interrupt handling for manual display update support. Signed-off-by: Sebastian Reichel --- drivers/gpu/drm/omapdrm/omap_crtc.c | 48 + drivers/gpu/drm/omapdrm/omap_drv.h | 2 ++ drivers/gpu/drm/omapdrm/omap_irq.c | 24 +++

[PATCHv1 03/14] drm/omap: plane: update fifo size on ovl setup

2017-07-24 Thread Sebastian Reichel
This is a workaround for a hardware bug occuring on OMAP3 with manually updated panels. Details about the HW bug are unknown to me, but without this fix the panel refresh does not work at all on Nokia N950. Signed-off-by: Sebastian Reichel --- drivers/gpu/drm/omapdrm/dss/dispc.c | 16 +++

Re: [PATCH] powerpc/asm/cacheflush: Cleanup cacheflush function params

2017-07-24 Thread Matt Brown
I've realised that changing the arguments for the cacheflush functions is much more work than its worth, due to other archs using these functions. The next patch will just translate the asm cacheflush functions to c, keeping the existing parameters. So this won't have any effect on the drivers. Th

[PATCHv1 06/14] drm/omap: add support for manually updated displays

2017-07-24 Thread Sebastian Reichel
This adds the required infrastructure for manually updated displays, such as DSI command mode panels. While those panels often support partial updates we currently always do a full refresh. Display will be refreshed when something calls the dirty callback, such as libdrm's drmModeDirtyFB(). This

[PATCHv1 10/14] drm/omap: panel-dsi-cm: add physical size support

2017-07-24 Thread Sebastian Reichel
Add support to load physical size information from DT using the properties defined by the common panel binding. Signed-off-by: Sebastian Reichel --- drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/drivers/gpu/drm/omapdrm/di

[PATCHv1 08/14] drm/omap: panel-dsi-cm: fix driver

2017-07-24 Thread Sebastian Reichel
From: Tony Lindgren This adds support for get_timings() and check_timings() to get the driver working and properly initializes the timing information from DT. Signed-off-by: Tony Lindgren Signed-off-by: Sebastian Reichel --- drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c | 56 +++

[PATCHv1 09/14] drm/omap: panel-dsi-cm: add regulator support

2017-07-24 Thread Sebastian Reichel
Add support for regulators used by panels found inside of the Nokia N950, N9 and Motorola Droid 4. Signed-off-by: Sebastian Reichel --- drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c | 57 +++-- 1 file changed, 53 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/o

[PATCHv1 00/14] omapdrm: DSI command mode panel support

2017-07-24 Thread Sebastian Reichel
Hi, This adds support for command mode DSI panels to omapdrm. I tested the patches on Nokia N950 (omap3) and Motorola Droid 4 (omap4). This is basically PATCHv3 of my series adding N950 display support, but I started from scratch without reverting the removal of manual display update support. Tes

Re: [PATCH v4 1/5] mm: add mkwrite param to vm_insert_mixed()

2017-07-24 Thread Ross Zwisler
On Mon, Jul 24, 2017 at 01:15:31PM +0200, Jan Kara wrote: > On Sat 22-07-17 09:21:31, Dan Williams wrote: > > On Fri, Jul 21, 2017 at 3:39 PM, Ross Zwisler > > wrote: > > > To be able to use the common 4k zero page in DAX we need to have our PTE > > > fault path look more like our PMD fault path w

Re: [PATCH 000/102] Convert drivers to explicit reset API

2017-07-24 Thread Philipp Zabel
On Sun, 2017-07-23 at 20:41 +0200, Linus Walleij wrote: > On Thu, Jul 20, 2017 at 10:46 PM, Dmitry Torokhov > wrote: > > On Thu, Jul 20, 2017 at 5:55 AM, Philipp Zabel > > wrote: > > >>> What about reset_control_get(struct device *, const char *, int flags) > >>> to replace all those variants ?

Re: [PATCH 4/4] drm/i915: Add support for CCS modifiers

2017-07-24 Thread kbuild test robot
Hi Ben, [auto build test ERROR on drm/drm-next] [also build test ERROR on v4.13-rc2 next-20170724] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Ben-Widawsky/drm-Plumb-modifiers-through-plane

[Bug 22226] [945] DRI memory manager reports 18014398509481940 kB

2017-07-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=6 Elizabeth changed: What|Removed |Added Status|RESOLVED|CLOSED -- You are receiving this mail becau

[Bug 20235] [i915] [Regression] VT switch and suspend to disk broken

2017-07-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=20235 Elizabeth changed: What|Removed |Added Status|RESOLVED|CLOSED -- You are receiving this mail becau

[Bug 17768] 2.6.27-rc5 kernel Oops with i915

2017-07-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=17768 Elizabeth changed: What|Removed |Added Status|RESOLVED|CLOSED -- You are receiving this mail becau

[Bug 16334] [DRM 945GM] i915 Oops (i915_driver_lastclose) when shutdown X

2017-07-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=16334 Elizabeth changed: What|Removed |Added Status|RESOLVED|CLOSED -- You are receiving this mail becau

[Bug 26326] [855] Xserver freezing on Toshiba Satellite A10

2017-07-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=26326 Elizabeth changed: What|Removed |Added Status|RESOLVED|CLOSED -- You are receiving this mail becau

[Bug 12882] [855GM missing DVO driver] s-video not detected

2017-07-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=12882 Elizabeth changed: What|Removed |Added Status|RESOLVED|CLOSED -- You are receiving this mail becau

[Bug 9751] i915_wait_irq crash on G965, 2.6.19.2

2017-07-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=9751 Elizabeth changed: What|Removed |Added Status|RESOLVED|CLOSED -- You are receiving this mail becaus

[Bug 16245] [kernel modesetting] display mashed after change mode

2017-07-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=16245 Elizabeth changed: What|Removed |Added Status|RESOLVED|CLOSED -- You are receiving this mail becau

[Bug 19415] [945GM] X fail to start on kernel 2.6.28

2017-07-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=19415 Elizabeth changed: What|Removed |Added Status|RESOLVED|CLOSED -- You are receiving this mail becau

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

2017-07-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=17902 Elizabeth changed: What|Removed |Added Status|RESOLVED|CLOSED -- You are receiving this mail becau

[Bug 28430] [865G] OOPS when stolen memory set to zero

2017-07-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=28430 Elizabeth changed: What|Removed |Added Status|RESOLVED|CLOSED -- You are receiving this mail becau

[Bug 27563] [810] Xorg freezes sometimes when playing Crack-Attack (races in drivers/char/drm/drm.ko?)

2017-07-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27563 Elizabeth changed: What|Removed |Added Status|RESOLVED|CLOSED -- You are receiving this mail becau

[Bug 27541] [830M] [KMS] internal display goes nuts during boot

2017-07-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27541 Elizabeth changed: What|Removed |Added Status|RESOLVED|CLOSED -- You are receiving this mail becau

[Bug 28509] [852] gpu hang

2017-07-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=28509 Elizabeth changed: What|Removed |Added Status|RESOLVED|CLOSED -- You are receiving this mail becau

[Bug 30654] [855] flickers when vblank_mode is enabled

2017-07-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=30654 Elizabeth changed: What|Removed |Added Status|RESOLVED|CLOSED -- You are receiving this mail becau

[Bug 30845] [855 missing dvo driver] DVI output unsupported

2017-07-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=30845 Elizabeth changed: What|Removed |Added Status|RESOLVED|CLOSED -- You are receiving this mail becau

[Bug 40181] [845G] GPU Hang on First Login with Display Manager

2017-07-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=40181 Elizabeth changed: What|Removed |Added Status|RESOLVED|CLOSED -- You are receiving this mail becau

Re: [PATCH 30/41] drm/omapdrm: Use the drm_driver.dumb_destroy default

2017-07-24 Thread Laurent Pinchart
Hi Noralf, Thank you for the patch. On Sunday 23 Jul 2017 21:16:46 Noralf Trønnes wrote: > drm_gem_dumb_destroy() is the drm_driver.dumb_destroy default, > so no need to set it. > > Cc: Tomi Valkeinen > Signed-off-by: Noralf Trønnes Reviewed-by: Laurent Pinchart > --- > drivers/gpu/drm/oma

Re: [PATCH 14/41] drm/shmobile: Use .dumb_map_offset and .dumb_destroy defaults

2017-07-24 Thread Laurent Pinchart
Hi Noralf, Thank you for the patch. On Sunday 23 Jul 2017 21:16:30 Noralf Trønnes wrote: > This driver can use the drm_driver.dumb_destroy and > drm_driver.dumb_map_offset defaults, so no need to set them. > > Cc: Laurent Pinchart > Signed-off-by: Noralf Trønnes Reviewed-by: Laurent Pinchart

Re: [PATCH 01/41] drm/gem: Add drm_gem_dumb_map_offset()

2017-07-24 Thread Laurent Pinchart
Hi Noralf, Thank you for the patch. On Sunday 23 Jul 2017 21:16:17 Noralf Trønnes wrote: > Add a common drm_driver.dumb_map_offset function for GEM backed drivers. > > Signed-off-by: Noralf Trønnes Reviewed-by: Laurent Pinchart > --- > drivers/gpu/drm/drm_gem.c | 35

Re: [PATCH 13/41] drm/rcar-du: Use .dumb_map_offset and .dumb_destroy defaults

2017-07-24 Thread Laurent Pinchart
Hi Noralf, Thank you for the patch. On Sunday 23 Jul 2017 21:16:29 Noralf Trønnes wrote: > This driver can use the drm_driver.dumb_destroy and > drm_driver.dumb_map_offset defaults, so no need to set them. > > Cc: Laurent Pinchart > Signed-off-by: Noralf Trønnes Reviewed-by: Laurent Pinchart

[Bug 92240] [SKL] igt/kms_fbcon_fbt/fbc fail

2017-07-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=92240 Elizabeth changed: What|Removed |Added Status|RESOLVED|CLOSED -- You are receiving this mail becau

[PATCH] drm/amdgpu: fix spelling mistake: "suuport"-> "support"

2017-07-24 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in WARN_ONCE message Signed-off-by: Colin Ian King --- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.

Re: [PATCH] drm/radeon: Set depth on low mem to 16 bpp instead of 8 bpp

2017-07-24 Thread Alex Deucher
On Wed, Jul 19, 2017 at 4:45 AM, Takashi Iwai wrote: > On Tue, 18 Jul 2017 22:53:48 +0200, > Michel D4nzer wrote: >> >> On 18/07/17 11:20 AM, Takashi Iwai wrote: >> > From: Egbert Eich >> > >> > The radeon driver reduces the framebuffer resolution to 8bpp if a >> > device with less than 32MB VRAM

Re: [PATCH v5 6/7] dt-bindings: display: rockchip: fill Documents for vop series

2017-07-24 Thread Rob Herring
On Thu, Jul 20, 2017 at 10:43:53AM +0800, Mark Yao wrote: > Signed-off-by: Mark Yao > --- > Changes in v5: > - clean document commit title > - move changes description out of docummit commit msg > > Changes in v2: > - rename rk322x to rk3228 > - correct some vop registers define > > Documentati

Re: [RFC 1/7] drm/gem: Add drm_gem_dumb_map_offset()

2017-07-24 Thread Noralf Trønnes
Den 24.07.2017 10.28, skrev Daniel Vetter: On Fri, Jul 21, 2017 at 08:41:50PM +0200, Noralf Trønnes wrote: Den 20.07.2017 10.00, skrev Daniel Vetter: On Thu, Jul 20, 2017 at 12:13:07AM +0200, Noralf Trønnes wrote: Den 19.07.2017 23.01, skrev Eric Anholt: Noralf Trønnes writes: Add a commo

Re: [PATCH 00/41] drm/dumb-buffers: Add defaults for .dumb_map_offset and .dumb_destroy

2017-07-24 Thread Noralf Trønnes
Den 23.07.2017 21.16, skrev Noralf Trønnes: This adds defaults for the drm_driver.dumb_destroy and drm_driver.dumb_map_offset callbacks as discussed with Daniel. vmwgfx is the only driver that doesn't use drm_gem_dumb_destroy(). vgem vgem changes behaviour after this, because it didn't ha

Re: [PATCH 09/41] drm/imx: Use .dumb_map_offset and .dumb_destroy defaults

2017-07-24 Thread Noralf Trønnes
Den 24.07.2017 09.46, skrev Philipp Zabel: On Sun, 2017-07-23 at 21:16 +0200, Noralf Trønnes wrote: This driver can use the drm_driver.dumb_destroy and drm_driver.dumb_map_offset defaults, so no need to set them. Cc: Philipp Zabel Signed-off-by: Noralf Trønnes --- drivers/gpu/drm/imx/imx-d

[Bug 94410] [radeonsi] Unreal engine 4 Segmentation fault

2017-07-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=94410 --- Comment #2 from Felix Hellmann --- This still happens in current git (dd072cf4b1) with unreal editor 4.16. Kernel 4.12.3-ARCH Rx 480 libdrm-2.4.82 Full log output from two runs. One with default binned2 malloc and one with ansimalloc: http

[Bug 99316] Radeon crash when laptop on AC power

2017-07-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99316 --- Comment #10 from mat...@yahoo.de --- I have also a Dell notebook with the same dGPU, but cannot reproduce your error with Ubuntu 16.04 kernel 4.10.0. Instead I have the problem, that the dGPU only gets powered at a low frequency, and becomes

Re: linux-next: build failure after merge of the drm-misc tree

2017-07-24 Thread Greg KH
On Mon, Jul 24, 2017 at 10:24:41AM +0200, Daniel Vetter wrote: > On Mon, Jul 24, 2017 at 2:03 AM, Stephen Rothwell > wrote: > > Hi Daniel, > > > > On Fri, 21 Jul 2017 09:24:49 +0200 Daniel Vetter > > wrote: > >> > >> How are we going to handle this now? The refactor is deeply burried in > >> dr

[RFC v3] drm/hdcp: drm enum property for CP State

2017-07-24 Thread Ramalingam C
DRM connector property is created to represent the content protection state of the connector and to configure the same. Content protection states defined: DRM_MODE_CONTENT_PROTECTION_UNSUPPORTED - Unsupported DRM_MODE_CONTENT_PROTECTION_DISABLE - Disabled

Re: [PATCH 1/2] drm/edid: Add helper to detect whether EDID changed

2017-07-24 Thread Harry Wentland
On 2017-07-24 10:54 AM, Paul Kocialkowski wrote: > This adds a common drm helper to detect whether the EDID changed from > the last known cached one. This is useful help detect that a monitor was > changed during a suspend/resume cycle. > > When that happens (a monitor is replaced by another one d

Re: [PATCH v2 2/5] dt-bindings: gpu: add a power_model optional properties for MALI

2017-07-24 Thread Rob Herring
On Tue, Jul 18, 2017 at 08:58:50AM +0800, Caesar Wang wrote: > Rob, > > 在 2017年07月18日 04:07, Rob Herring 写道: > > On Mon, Jul 17, 2017 at 04:14:28PM +0800, Caesar Wang wrote: > > > This patch adds the MALI's power-model to set the IPA model to be used > > > for power management. > > What's IPA? Ind

Re: [PATCH 12/41] drm/pl111: Use .dumb_map_offset and .dumb_destroy defaults

2017-07-24 Thread Eric Anholt
Noralf Trønnes writes: > This driver can use the drm_driver.dumb_destroy and > drm_driver.dumb_map_offset defaults, so no need to set them. Reviewed-by: Eric Anholt signature.asc Description: PGP signature ___ dri-devel mailing list dri-devel@lists.

Re: [PATCH 19/41] drm/vc4: Use .dumb_map_offset and .dumb_destroy defaults

2017-07-24 Thread Eric Anholt
Noralf Trønnes writes: > This driver can use the drm_driver.dumb_destroy and > drm_driver.dumb_map_offset defaults, so no need to set them. Reviewed-by: Eric Anholt signature.asc Description: PGP signature ___ dri-devel mailing list dri-devel@lists.

Re: [PATCH 02/41] drm/dumb-buffers: Add defaults for .dumb_map_offset and .dumb_destroy

2017-07-24 Thread Eric Anholt
Noralf Trønnes writes: > Almost everyone did end up using GEM as bo, so this adds defaults > for the drm_driver.dumb_destroy and drm_driver.dumb_map_offset > callbacks. > > Signed-off-by: Noralf Trønnes > --- > drivers/gpu/drm/drm_dumb_buffers.c | 26 ++ > 1 file changed

Re: [PATCH v4 1/5] mm: add mkwrite param to vm_insert_mixed()

2017-07-24 Thread Jan Kara
On Mon 24-07-17 09:23:57, Ross Zwisler wrote: > On Mon, Jul 24, 2017 at 01:25:30PM +0200, Jan Kara wrote: > > > @@ -1658,14 +1658,28 @@ static int insert_pfn(struct vm_area_struct *vma, > > > unsigned long addr, > > > if (!pte) > > > goto out; > > > retval = -EBUSY; > > > - if (!pte_

[Bug 101832] [regression][bisect] sddm fails to start after f50aa21456d82c8cb6fbaa565835f1acc1720a5d

2017-07-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101832 --- Comment #7 from Laurent carlier --- With debug symbols, backtrace is a bit different: [442527.173] (EE) Backtrace: [442527.174] (EE) 0: /usr/lib/xorg-server/Xorg (OsSigHandler+0x2a) [0x5645b1d61fba] [442527.174] (EE) 1: /usr/lib/libpthread.

Re: [PATCH 01/14] amdgpu: powerplay: Remove unused function

2017-07-24 Thread Harry Wentland
On 2017-07-24 10:06 AM, Ricardo Ribalda Delgado wrote: > Hi Harry > On Mon, Jul 24, 2017 at 4:01 PM, Harry Wentland > wrote: > >> >> This is used and needed by the DC display driver. See >> display/amdgpu_dm/amdgpu_dm_services.c:193 in Alex's amd-staging-4.11 tree: >> >> https://cgit.freedesktop

RE: [PATCH 1/4] drm/modes: Fix drm_mode_is_420_only() comment

2017-07-24 Thread Sharma, Shashank
Reviewed-by: Shashank Sharma Regards Shashank -Original Message- From: dri-devel [mailto:dri-devel-boun...@lists.freedesktop.org] On Behalf Of Sean Paul Sent: Thursday, July 20, 2017 11:18 PM To: dri-devel@lists.freedesktop.org Cc: Vetter, Daniel Subject: [PATCH 1/4] drm/modes: Fix drm

[Bug 101900] No HDMI audio on Polaris

2017-07-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101900 --- Comment #1 from Direx --- Created attachment 132869 --> https://bugs.freedesktop.org/attachment.cgi?id=132869&action=edit Alsa codec info for HDMI device -- You are receiving this mail because: You are the assignee for the bug.__

[Bug 101900] No HDMI audio on Polaris

2017-07-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101900 Bug ID: 101900 Summary: No HDMI audio on Polaris Product: DRI Version: unspecified Hardware: Other OS: All Status: NEW Severity: normal Priorit

Re: FW: [PATCH v2 2/4] drm: Fix warning when building docs for scdc_helper

2017-07-24 Thread Sharma, Shashank
Thanks for adding this fix , Sean, and sorry about missing this alignment in doc. Regards Shashank On 7/24/2017 9:01 PM, Sharma, Shashank wrote: -Original Message- From: dri-devel [mailto:dri-devel-boun...@lists.freedesktop.org] On Behalf Of Sean Paul Sent: Friday, July 21, 2017 1:39

[Bug 101832] [regression][bisect] sddm fails to start after f50aa21456d82c8cb6fbaa565835f1acc1720a5d

2017-07-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101832 --- Comment #6 from Laurent carlier --- The patchset fixes the unresolved symbols, but segfault is still here. I will try to grab a better backtrace. -- You are receiving this mail because: You are the assignee for the bug.

RE: [PATCH 29/41] drm/amdgpu: Use the drm_driver.dumb_destroy default

2017-07-24 Thread Deucher, Alexander
> -Original Message- > From: Noralf Trønnes [mailto:nor...@tronnes.org] > Sent: Sunday, July 23, 2017 3:17 PM > To: dri-devel@lists.freedesktop.org > Cc: Deucher, Alexander; abrod...@synopsys.com; > alison.w...@freescale.com; benjamin.gaign...@linaro.org; > bske...@redhat.com; boris.brezil.

[PATCH 2/2] drm/i915: Detect monitor change from EDID change after resume

2017-07-24 Thread Paul Kocialkowski
This introduces a dedicated work and related helpers to detect whether a monitor was replaced by another one during suspend. This detection is based on EDID change detection, using the associated generic drm helper. This requires storing more information to the intel_connector structure, such as t

[PATCH 1/2] drm/edid: Add helper to detect whether EDID changed

2017-07-24 Thread Paul Kocialkowski
This adds a common drm helper to detect whether the EDID changed from the last known cached one. This is useful help detect that a monitor was changed during a suspend/resume cycle. When that happens (a monitor is replaced by another one during suspend), no hotplug event will be triggered so the c

Re: 10bit output via KMS

2017-07-24 Thread Alex Deucher
On Mon, Jul 24, 2017 at 8:34 AM, Volker Vogelhuber wrote: > I have implemented a display manager application that takes DMB-BUF FDs > from another process and presents them to a connected output display > using the KMS infrastructure (drmModeAddFB, etc.). So far this works > without problems for X

Re: [PATCH 01/14] amdgpu: powerplay: Remove unused function

2017-07-24 Thread Harry Wentland
On 2017-07-24 09:35 AM, Ricardo Ribalda Delgado wrote: > amd_powerplay_display_configuration_change is never called. > > Signed-off-by: Ricardo Ribalda Delgado > --- > drivers/gpu/drm/amd/powerplay/amd_powerplay.c | 21 - > drivers/gpu/drm/amd/powerplay/inc/amd_powerplay.

Re: [PATCH 01/14] amdgpu: powerplay: Remove unused function

2017-07-24 Thread Ricardo Ribalda Delgado
Hi Harry On Mon, Jul 24, 2017 at 4:01 PM, Harry Wentland wrote: > > This is used and needed by the DC display driver. See > display/amdgpu_dm/amdgpu_dm_services.c:193 in Alex's amd-staging-4.11 tree: > > https://cgit.freedesktop.org/~agd5f/linux/tree/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_d

[PATCH 14/14] amdgpu: powerplay: Remove unused structure

2017-07-24 Thread Ricardo Ribalda Delgado
Remove unused structure definition amd_pp_display_configuration. Signed-off-by: Ricardo Ribalda Delgado --- drivers/gpu/drm/amd/powerplay/inc/amd_powerplay.h | 40 --- 1 file changed, 40 deletions(-) diff --git a/drivers/gpu/drm/amd/powerplay/inc/amd_powerplay.h b/drivers/g

[PATCH 13/14] amdgpu: amdgpu_dpm: Remove unused field

2017-07-24 Thread Ricardo Ribalda Delgado
Remove unused field pm_display_cfg Signed-off-by: Ricardo Ribalda Delgado --- drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h index 8c96a4caa715..5c740814dba4 100644 ---

[PATCH 12/14] amdgpu: powerplay: hwmgr: Remove unused field

2017-07-24 Thread Ricardo Ribalda Delgado
Remove unused field display_config Signed-off-by: Ricardo Ribalda Delgado --- drivers/gpu/drm/amd/powerplay/inc/hwmgr.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h b/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h index 47e57bd2c36f..220bb8cde530 10064

[PATCH 11/14] amdgpu: ci_dpm: Assume pm_display_cfg is zero

2017-07-24 Thread Ricardo Ribalda Delgado
pm_display_cfg is never set, so we can assume that it is zero Signed-off-by: Ricardo Ribalda Delgado --- drivers/gpu/drm/amd/amdgpu/ci_dpm.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/ci_dpm.c b/drivers/gpu/drm/amd/amdgpu/ci_dpm.c index cb508a211b2f..831

[PATCH 10/14] amdgpu: powerplay: vega10_hwmgr: Assume display_config is zero

2017-07-24 Thread Ricardo Ribalda Delgado
display_config is never set, so we can assume that it is zero Signed-off-by: Ricardo Ribalda Delgado --- drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c | 19 ++- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c

[PATCH 08/14] amdgpu: powerplay: tonga_smc: Assume display_config is zero

2017-07-24 Thread Ricardo Ribalda Delgado
display_config is never set, we can assume it is zero. Signed-off-by: Ricardo Ribalda Delgado --- drivers/gpu/drm/amd/powerplay/smumgr/tonga_smc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/powerplay/smumgr/tonga_smc.c b/drivers/gpu/drm/amd/powerpl

[PATCH 09/14] amdgpu: powerplay: rv_hwmgr: Assume display_config is zero

2017-07-24 Thread Ricardo Ribalda Delgado
display_config is never set, so we can assume that it is zero. Signed-off-by: Ricardo Ribalda Delgado --- drivers/gpu/drm/amd/powerplay/hwmgr/rv_hwmgr.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/rv_hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/rv_h

[PATCH 05/14] amdgpu: powerplay: fiji_smc: Assume display_config is zero

2017-07-24 Thread Ricardo Ribalda Delgado
display_config is never set, so we can assume it is zero. Signed-off-by: Ricardo Ribalda Delgado --- drivers/gpu/drm/amd/powerplay/smumgr/fiji_smc.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/amd/powerplay/smumgr/fiji_smc.c b/drivers/gpu/drm/amd

[PATCH 06/14] amdgpu: powerplay: iceland_smc: Assume display_config is zero

2017-07-24 Thread Ricardo Ribalda Delgado
display_config is never set, we can assume it is zero. Signed-off-by: Ricardo Ribalda Delgado --- drivers/gpu/drm/amd/powerplay/smumgr/iceland_smc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/powerplay/smumgr/iceland_smc.c b/drivers/gpu/drm/amd/pow

[PATCH 07/14] amdgpu: powerplay: polaris10_smc: Assume display_config is zero

2017-07-24 Thread Ricardo Ribalda Delgado
display_config is never set, we can assume it is zero. Signed-off-by: Ricardo Ribalda Delgado --- drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smc.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smc.c b/drivers/gpu/

[PATCH 03/14] amdgpu: powerplay: cz_hwmgr: Fix invalid error message.

2017-07-24 Thread Ricardo Ribalda Delgado
display_config is never set, therefore we can assume it is zero. Without this fix, the user will get the following invalid warning on its dmesg: amdgpu: [powerplay] min_core_set_clock not set. Signed-off-by: Ricardo Ribalda Delgado --- drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c | 20 ++

  1   2   >