Re: [PATCH v3 10/10] drm/vmwgfx: Use __drm_atomic_helper_plane_reset instead of copying the logic

2018-08-07 Thread Alexandru-Cosmin Gheorghe
Hi Sinclair, Is it ok if I merge this patch through drm-misc-next ? Thank you, Alex Gheorghe On Mon, Aug 06, 2018 at 09:57:53AM -0700, Sinclair Yeh wrote: > Acked-by: Sinclair Yeh > > On Sat, Aug 04, 2018 at 05:15:30PM +0100, Alexandru Gheorghe wrote: > > A new helper function(__drm_atomic_hel

Re: [PATCH v5 2/9] drm/exynos: move connector creation to attach callback

2018-08-07 Thread Inki Dae
2018년 07월 26일 00:46에 Andrzej Hajda 이(가) 쓴 글: > From: Maciej Purski > > The current implementation assumes that the only possible peripheral > device for DSIM is a panel. Using an output bridge child device > should also be possible. > > If an output bridge is available, don't create a new conn

Re: [PATCH v3 07/13] drm/mediatek: add YUYV/UYVY color format support for RDMA

2018-08-07 Thread Stu Hsieh
Hi, CK: On Tue, 2018-08-07 at 11:33 +0800, CK Hu wrote: > Hi, Stu: > > On Mon, 2018-08-06 at 19:58 +0800, Stu Hsieh wrote: > > This patch add YUYV/UYVY color format support for RDMA > > and transform matrix for YUYV/UYVY. > > > > Signed-off-by: Stu Hsieh > > --- > > drivers/gpu/drm/mediatek/mt

Re: [PATCH v3 06/13] drm/mediatek: add RGB color format support for RDMA

2018-08-07 Thread Stu Hsieh
Hi, CK: On Tue, 2018-08-07 at 11:01 +0800, CK Hu wrote: > Hi, Stu: > > On Mon, 2018-08-06 at 19:58 +0800, Stu Hsieh wrote: > > This patch add RGB color format support for RDMA, > > including RGB565, RGB888, RGBA and ARGB. > > > > Signed-off-by: Stu Hsieh > > --- > > drivers/gpu/drm/med

Re: [PATCH v3 11/13] drm/mediatek: use layer_nr function to get layer number to init plane

2018-08-07 Thread Stu Hsieh
Hi,CK: On Tue, 2018-08-07 at 12:32 +0800, CK Hu wrote: > Hi, Stu: > > On Mon, 2018-08-06 at 19:58 +0800, Stu Hsieh wrote: > > This patch use layer_nr function to get layer number to init plane > > > > When plane init in crtc create, > > it use the number of OVL layer to init plane. > > That's OV

RE: [PATCH] drm/amdkfd: Use true and false for boolean values

2018-08-07 Thread Russell, Kent
Thanks for that! Reviewed-by: Kent Russell -Original Message- From: amd-gfx On Behalf Of Huang Rui Sent: Tuesday, August 07, 2018 1:28 AM To: Gustavo A. R. Silva ; Kuehling, Felix Cc: Oded Gabbay ; Zhou, David(ChunMing) ; David Airlie ; linux-ker...@vger.kernel.org; amd-...@lists.fre

[PATCH] drm/amdgpu: Transfer fences to dmabuf importer

2018-08-07 Thread Chris Wilson
amdgpu only uses shared-fences internally, but dmabuf importers rely on implicit write hazard tracking via the reservation_object.fence_excl. For example, the importer use the write hazard for timing a page flip to only occur after the exporter has finished flushing its write into the surface. As s

Re: [PATCH v3 1/4] drm/mxsfb: Fix initial corrupt frame when activating display

2018-08-07 Thread Philipp Zabel
On Mon, 2018-08-06 at 22:31 +0300, Leonard Crestez wrote: > LCDIF will repeatedly display data from CUR_BUF and set CUR_BUF to > NEXT_BUF when done. Since we are only ever writing to NEXT_BUF the > display will show an initial corrupt frame. > > Fix by writing the FB paddr to both CUR_BUF and NEXT

Re: [PATCH] drm/amdgpu: Transfer fences to dmabuf importer

2018-08-07 Thread Huang Rui
On Tue, Aug 07, 2018 at 11:45:00AM +0100, Chris Wilson wrote: > amdgpu only uses shared-fences internally, but dmabuf importers rely on > implicit write hazard tracking via the reservation_object.fence_excl. > For example, the importer use the write hazard for timing a page flip to > only occur aft

Re: [RFC] drm: Allow DRM_IOCTL_MODE_MAP_DUMB for render nodes

2018-08-07 Thread Emil Velikov
On 3 August 2018 at 20:50, Sean Paul wrote: > On Fri, Aug 03, 2018 at 06:03:50PM +0100, Emil Velikov wrote: >> On 3 August 2018 at 16:06, Martin Fuzzey >> wrote: >> > Hi Emil, >> > >> > On 03/08/18 14:35, Emil Velikov wrote: >> >> >> >> Hi Martin, >> >> >> >> On 1 August 2018 at 15:24, Martin Fu

[PATCH v2] drm/amdgpu: Transfer fences to dmabuf importer

2018-08-07 Thread Chris Wilson
amdgpu only uses shared-fences internally, but dmabuf importers rely on implicit write hazard tracking via the reservation_object.fence_excl. For example, the importer use the write hazard for timing a page flip to only occur after the exporter has finished flushing its write into the surface. As s

Re: [PATCH] drm/amdgpu: Transfer fences to dmabuf importer

2018-08-07 Thread Chris Wilson
Quoting Huang Rui (2018-08-07 11:56:24) > On Tue, Aug 07, 2018 at 11:45:00AM +0100, Chris Wilson wrote: > > amdgpu only uses shared-fences internally, but dmabuf importers rely on > > implicit write hazard tracking via the reservation_object.fence_excl. > > For example, the importer use the write h

[PATCH v3] drm/amdgpu: Transfer fences to dmabuf importer

2018-08-07 Thread Chris Wilson
amdgpu only uses shared-fences internally, but dmabuf importers rely on implicit write hazard tracking via the reservation_object.fence_excl. For example, the importer use the write hazard for timing a page flip to only occur after the exporter has finished flushing its write into the surface. As s

Re: [PATCH v3] drm/amdgpu: Transfer fences to dmabuf importer

2018-08-07 Thread Christian König
Am 07.08.2018 um 13:05 schrieb Chris Wilson: amdgpu only uses shared-fences internally, but dmabuf importers rely on implicit write hazard tracking via the reservation_object.fence_excl. Well I would rather suggest a solution where we stop doing this. The problem here is that i915 assumes that

Re: [RFC] drm: Allow DRM_IOCTL_MODE_MAP_DUMB for render nodes

2018-08-07 Thread Daniel Vetter
On Tue, Aug 07, 2018 at 12:01:50PM +0100, Emil Velikov wrote: > On 3 August 2018 at 20:50, Sean Paul wrote: > > On Fri, Aug 03, 2018 at 06:03:50PM +0100, Emil Velikov wrote: > >> On 3 August 2018 at 16:06, Martin Fuzzey > >> wrote: > >> > Hi Emil, > >> > > >> > On 03/08/18 14:35, Emil Velikov wr

Re: [PATCH v3] drm/amdgpu: Transfer fences to dmabuf importer

2018-08-07 Thread Daniel Vetter
On Tue, Aug 07, 2018 at 01:23:19PM +0200, Christian König wrote: > Am 07.08.2018 um 13:05 schrieb Chris Wilson: > > amdgpu only uses shared-fences internally, but dmabuf importers rely on > > implicit write hazard tracking via the reservation_object.fence_excl. > > Well I would rather suggest a so

Re: [PATCH v3] drm/amdgpu: Transfer fences to dmabuf importer

2018-08-07 Thread Daniel Vetter
On Tue, Aug 07, 2018 at 02:43:22PM +0200, Daniel Vetter wrote: > On Tue, Aug 07, 2018 at 01:23:19PM +0200, Christian König wrote: > > Am 07.08.2018 um 13:05 schrieb Chris Wilson: > > > amdgpu only uses shared-fences internally, but dmabuf importers rely on > > > implicit write hazard tracking via t

Re: [PATCH v3] drm/amdgpu: Transfer fences to dmabuf importer

2018-08-07 Thread Christian König
Am 07.08.2018 um 14:43 schrieb Daniel Vetter: On Tue, Aug 07, 2018 at 01:23:19PM +0200, Christian König wrote: Am 07.08.2018 um 13:05 schrieb Chris Wilson: amdgpu only uses shared-fences internally, but dmabuf importers rely on implicit write hazard tracking via the reservation_object.fence_exc

[PATCH] drm/scheduler: fix last_scheduled handling

2018-08-07 Thread Christian König
Make sure we access last_scheduled only after checking that there are no more jobs on the entity. Signed-off-by: Christian König --- drivers/gpu/drm/scheduler/gpu_scheduler.c | 21 +++-- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/drivers/gpu/drm/scheduler/gpu

Re: [PATCH v3] drm/amdgpu: Transfer fences to dmabuf importer

2018-08-07 Thread Daniel Vetter
On Tue, Aug 07, 2018 at 02:51:50PM +0200, Christian König wrote: > Am 07.08.2018 um 14:43 schrieb Daniel Vetter: > > On Tue, Aug 07, 2018 at 01:23:19PM +0200, Christian König wrote: > > > Am 07.08.2018 um 13:05 schrieb Chris Wilson: > > > > amdgpu only uses shared-fences internally, but dmabuf impo

Re: [PATCH V4 6/8] backlight: qcom-wled: Add support for WLED4 peripheral

2018-08-07 Thread Bjorn Andersson
On Mon 09 Jul 03:22 PDT 2018, Kiran Gunda wrote: > WLED4 peripheral is present on some PMICs like pmi8998 and > pm660l. It has a different register map and configurations > are also different. Add support for it. > > Signed-off-by: Kiran Gunda Reviewed-by: Bjorn Andersson Regards, Bjorn > --

[PATCH] drm/rockchip: update cursors asynchronously through atomic.

2018-08-07 Thread Enric Balletbo i Serra
Add support to async updates of cursors by using the new atomic interface for that. Signed-off-by: Enric Balletbo i Serra --- Hi, This first version is slightly different from the RFC, note that I did not maintain the Sean reviewed tag for that reason. With this version I don't touch the atomic_

Re: [PATCH v1 5/5] tinydrm: add winstar wg160160 driver

2018-08-07 Thread Sam Ravnborg
On Mon, Aug 06, 2018 at 12:15:48PM +0300, Dan Carpenter wrote: > Hi Sam, > > I love your patch! Perhaps something to improve: > > url: > https://github.com/0day-ci/linux/commits/Sam-Ravnborg/dt-bindings-add-parallel-data-bus-pardata/20180803-090135 > > smatch warnings: > drivers/gpu/drm/tiny

[PATCH v3 2/4] drm/mxsfb: Add pm_runtime calls to pipe_enable/disable

2018-08-07 Thread Leonard Crestez
Adding lcdif nodes to a power domain currently results in black/corrupted screens or hangs because power is not correctly enabled when required. Ensure power is on when display is active by adding pm_runtime_get/put_sync to mxsfb_pipe_enable/disable. Signed-off-by: Leonard Crestez --- drivers/g

Re: [PATCH V4 8/8] backlight: qcom-wled: Add auto string detection logic

2018-08-07 Thread Bjorn Andersson
On Mon 09 Jul 03:22 PDT 2018, Kiran Gunda wrote: > diff --git a/drivers/video/backlight/qcom-wled.c > b/drivers/video/backlight/qcom-wled.c [..] > @@ -189,6 +206,15 @@ static int wled4_set_brightness(struct wled *wled, u16 > brightness) > return 0; > } > > +static void wled_ovp_work(stru

[PATCH v3 4/4] drm/mxsfb: Switch to drm_atomic_helper_commit_tail_rpm

2018-08-07 Thread Leonard Crestez
The lcdif block is only powered on when display is active so plane updates when not enabled are not valid. Writing to an unpowered IP block is mostly ignored but can trigger bus errors on some chips. Prevent this situation by switching to drm_atomic_helper_commit_tail_rpm and having the drm core e

[PATCH v3 3/4] drm/mxsfb: Add PM_SLEEP support

2018-08-07 Thread Leonard Crestez
Since power to the lcdif block can be lost on suspend implement PM_SLEEP_OPS using drm_mode_config_helper_suspend/resume to save/restore the current mode. Signed-off-by: Leonard Crestez --- drivers/gpu/drm/mxsfb/mxsfb_drv.c | 21 + 1 file changed, 21 insertions(+) diff --git

[PATCH] drm/atomic: add ATOMIC_AMEND flag to the Atomic IOCTL.

2018-08-07 Thread Enric Balletbo i Serra
From: Gustavo Padovan This flag tells core to jump ahead the queued update if the conditions in drm_atomic_async_check() are met. That means we are only able to do an async update if no modeset is pending and update for the same plane is not queued. It uses the already in place infrastructure fo

Re: [PATCH v2] backlight: pwm_bl: switch to using "atomic" PWM API

2018-08-07 Thread Enric Balletbo i Serra
Hi Daniel, On 30/07/18 13:12, Daniel Thompson wrote: > On Fri, Jul 27, 2018 at 05:11:21PM +0200, Enric Balletbo i Serra wrote: >> The "atomic" API allows us to configure PWM period and duty_cycle and >> enable it in one call. >> >> The patch also moves the pwm_init_state just before any use of the

[PATCH v3 1/4] drm/mxsfb: Fix initial corrupt frame when activating display

2018-08-07 Thread Leonard Crestez
LCDIF will repeatedly display data from CUR_BUF and set CUR_BUF to NEXT_BUF when done. Since we are only ever writing to NEXT_BUF the display will show an initial corrupt frame. Fix by writing the FB paddr to both CUR_BUF and NEXT_BUF when activating the CRTC. Signed-off-by: Leonard Crestez ---

Re: [PATCH V4 3/8] backlight: qcom-wled: Add new properties for PMI8998

2018-08-07 Thread Bjorn Andersson
On Mon 09 Jul 03:22 PDT 2018, Kiran Gunda wrote: > diff --git a/Documentation/devicetree/bindings/leds/backlight/qcom-wled.txt > b/Documentation/devicetree/bindings/leds/backlight/qcom-wled.txt [..] > - qcom,num-strings > Usage:optional > Value type: > Definition: #

Re: [GIT PULL] TDA998x I2C driver development updates

2018-08-07 Thread Russell King - ARM Linux
On Thu, Aug 02, 2018 at 10:34:21AM +0100, Russell King wrote: > Hi David, > > The following changes since commit 4da1d4c751c9b1b713c13043bad7c4d27cd1418c: > > Merge commit 'refs/for-upstream/mali-dp' of git://linux-arm.org/linux-ld > into drm-next (2018-07-06 10:02:13 +1000) > > are available

Re: [RFC] drm: Allow DRM_IOCTL_MODE_MAP_DUMB for render nodes

2018-08-07 Thread Martin Fuzzey
On 06/08/18 21:05, Rob Herring wrote: On Fri, Aug 3, 2018 at 1:50 PM Sean Paul wrote: Fwiw, I'd lean towards allowing DUMB allocation from the render nodes. I understand it limits use cases that are undesirable, but it is also limiting usecases that are desirable. So, given that people are goin

Re: [PATCH V4 0/8] backlight: qcom-wled: Support for QCOM wled driver

2018-08-07 Thread kgunda
On 2018-08-03 13:15, Daniel Thompson wrote: On Fri, Aug 03, 2018 at 12:49:34PM +0530, kgu...@codeaurora.org wrote: Hi Bjorn, Can you please help review this patch series ? Pavel, Rob, Daniel reviewed the series except the "auto string detection" patch. I did take a glance at the last patch.

[PATCH] gpu/drm/hisilicon: Convert drm_atomic_helper_suspend/resume()

2018-08-07 Thread Souptick Joarder
convert drm_atomic_helper_suspend/resume() to use drm_mode_config_helper_suspend/resume(). Fixed one sparse warning by making hibmc_drm_interrupt static. Signed-off-by: Ajit Negi Signed-off-by: Souptick Joarder Reviewed-by: Xinliang Liu --- v2: remove ret variable from both suspend and resume.

Re: [PATCH V4 5/8] backlight: qcom-wled: Restructure the driver for WLED3

2018-08-07 Thread Bjorn Andersson
On Mon 09 Jul 03:22 PDT 2018, Kiran Gunda wrote: > diff --git a/drivers/video/backlight/qcom-wled.c > b/drivers/video/backlight/qcom-wled.c [..] > @@ -365,6 +434,15 @@ static int wled_configure(struct wled *wled, struct > device *dev) > > cfg->num_strings = cfg->num_strings + 1; > > +

[PATCH v3 0/4] drm/mxsfb: Fix runtime PM for unpowering lcdif block

2018-08-07 Thread Leonard Crestez
Adding lcdif nodes to a power domain currently does work, it results in black/corrupted screens or hangs. While the driver does enable runtime pm it does not deal correctly with the block being unpowered. Changes since v2: * Split into multiple commits. * Use #ifdef CONFIG_PM_SLEEP. * Switch to

Re: [PATCH V4 4/8] backlight: qcom-wled: Rename PM8941* to WLED3

2018-08-07 Thread Bjorn Andersson
On Mon 09 Jul 03:22 PDT 2018, Kiran Gunda wrote: > Rename the PM8941* references as WLED3 to make the > driver generic and have WLED support for other PMICs. > > Signed-off-by: Kiran Gunda I agree with Daniel, regarding the mentioning of the variable rename. Apart from that: Reviewed-by: Bjor

Re: [PATCH 1/8] devfreq: rockchip-dfi: Move GRF definitions to a common place.

2018-08-07 Thread Enric Balletbo i Serra
Hi, On 01/08/18 10:36, Chanwoo Choi wrote: > Hi Enric, > > On 2018년 07월 30일 17:11, Enric Balletbo i Serra wrote: >> Some rk3399 GRF (Generic Register Files) definitions can be used for >> different drivers. Move these definitions to a common include so we >> don't need to duplicate these definiti

Re: [PATCH v3] drm/amdgpu: Transfer fences to dmabuf importer

2018-08-07 Thread Christian König
Am 07.08.2018 um 14:59 schrieb Daniel Vetter: On Tue, Aug 07, 2018 at 02:51:50PM +0200, Christian König wrote: Am 07.08.2018 um 14:43 schrieb Daniel Vetter: On Tue, Aug 07, 2018 at 01:23:19PM +0200, Christian König wrote: Am 07.08.2018 um 13:05 schrieb Chris Wilson: amdgpu only uses shared-fe

Re: [Mesa-dev] libdrm: Fix amdgpu build failure

2018-08-07 Thread Christian König
Hi Mike, it is not the right mailing list, but thanks for the info. I'm going to push that patch ASAP. Christian. Am 07.08.2018 um 14:38 schrieb Mike Lothian: Hi I'm not sure if this is the right mailing list or not but the following patch gets things building with meson again Signed-of-by:

Re: [RFC] drm: Allow DRM_IOCTL_MODE_MAP_DUMB for render nodes

2018-08-07 Thread Emil Velikov
On 7 August 2018 at 13:28, Daniel Vetter wrote: > On Tue, Aug 07, 2018 at 12:01:50PM +0100, Emil Velikov wrote: >> On 3 August 2018 at 20:50, Sean Paul wrote: >> > On Fri, Aug 03, 2018 at 06:03:50PM +0100, Emil Velikov wrote: >> >> On 3 August 2018 at 16:06, Martin Fuzzey >> >> wrote: >> >> > H

Re: [PATCH v3 10/10] drm/vmwgfx: Use __drm_atomic_helper_plane_reset instead of copying the logic

2018-08-07 Thread Sinclair Yeh
On Tue, Aug 07, 2018 at 09:03:27AM +0100, Alexandru-Cosmin Gheorghe wrote: > Hi Sinclair, > > Is it ok if I merge this patch through drm-misc-next ? Sure. Thanks for handling this. Sinclair > Thank you, > Alex Gheorghe > > On Mon, Aug 06, 2018 at 09:57:53AM -0700, Sinclair Yeh wrote: > > Acked

Re: [PATCH v2 1/2] drm/sti: do not remove the drm_bridge that was never added

2018-08-07 Thread Benjamin Gaignard
2018-08-06 8:19 GMT+02:00 Peter Rosin : > Removing the drm_bridge_remove call should avoid a NULL dereference > during list processing in drm_bridge_remove if the error path is ever > taken. > > The more natural approach would perhaps be to add a drm_bridge_add, > but there are several other bridge

[Bug 107516] Firefox for WebGL fallbacks to swrast_dri.so, not using radeon_si.so

2018-08-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107516 Bug ID: 107516 Summary: Firefox for WebGL fallbacks to swrast_dri.so, not using radeon_si.so Product: DRI Version: DRI git Hardware: Other OS: All

Re: [PATCH v3] drm/amdgpu: Transfer fences to dmabuf importer

2018-08-07 Thread Daniel Vetter
On Tue, Aug 07, 2018 at 03:17:06PM +0200, Christian König wrote: > Am 07.08.2018 um 14:59 schrieb Daniel Vetter: > > On Tue, Aug 07, 2018 at 02:51:50PM +0200, Christian König wrote: > > > Am 07.08.2018 um 14:43 schrieb Daniel Vetter: > > > > On Tue, Aug 07, 2018 at 01:23:19PM +0200, Christian König

Re: [PATCH libdrm] tests/util: Add support for stm module

2018-08-07 Thread Benjamin Gaignard
2018-07-20 13:32 GMT+02:00 Benjamin Gaignard : > Signed-off-by: Benjamin Gaignard > --- > tests/util/kms.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/tests/util/kms.c b/tests/util/kms.c > index 8b3e7878..a2d1d7ba 100644 > --- a/tests/util/kms.c > +++ b/tests/util/kms.c > @@ -144,6 +

[Bug 107516] Firefox for WebGL fallbacks to swrast_dri.so, not using radeon_si.so

2018-08-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107516 Mike changed: What|Removed |Added See Also||https://bugs.freedesktop.or |

[Bug 107384] random tab crashes in firefox nightly

2018-08-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107384 Mike changed: What|Removed |Added See Also||https://bugs.freedesktop.or |

[Bug 107516] Firefox for WebGL fallbacks to swrast_dri.so, not using radeon_si.so

2018-08-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107516 --- Comment #1 from Mike --- Possibly related to bugs 107384 and/or 98629. If firefox start with LIBGL_DEBUG=verbose parameter, it shows: libGL error: MESA-LOADER: failed to retrieve device information libGL error: unable to load driver: amdgpu

[Bug 107516] Firefox for WebGL fallbacks to swrast_dri.so, not using radeon_si.so

2018-08-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107516 Mike changed: What|Removed |Added See Also||https://bugs.freedesktop.or |

[Bug 98629] OpenGL applications warns "MESA-LOADER: failed to retrieve device information"

2018-08-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98629 Mike changed: What|Removed |Added See Also||https://bugs.freedesktop.or |

[Bug 107516] Firefox for WebGL fallbacks to swrast_dri.so, not using radeon_si.so

2018-08-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107516 --- Comment #2 from Mike --- One more thing. This bug might be firefox-specific, because other OpenGL apps, say, glxgears, use correct driver and get HW accel. -- You are receiving this mail because: You are the assignee for the bug.__

Re: [PATCH libdrm v3] tests/modetest: Add atomic support

2018-08-07 Thread Emil Velikov
On 25 July 2018 at 15:00, Benjamin Gaignard wrote: > If "-a" option is set this make modetest use atomic API instead > of legacy API. > > Test the frame rate ("-v") it does a loop and swap between two > framebuffer for each active planes. > > Signed-off-by: Benjamin Gaignard > --- > > version 3:

[Bug 107516] Firefox for WebGL fallbacks to swrast_dri.so, not using radeon_si.so

2018-08-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107516 --- Comment #3 from Emil Velikov --- The FF sandboxing is fairly, ahem, strange. The following Mozilla bug addresses that. https://bugzilla.mozilla.org/show_bug.cgi?id=1480755#c1 -- You are receiving this mail because: You are the assignee fo

Re: [PATCH libdrm v3] tests/modetest: Add atomic support

2018-08-07 Thread Daniel Stone
Hi Emil, This is off-topic for the list, but ... On Tue, 7 Aug 2018 at 14:46, Emil Velikov wrote: > Aside: libdrm following X/Wayland in that it lacks contributor/push access > docs. > Might be worth, copying the Mesa ones and adding a doc in-tree. https://gitlab.freedesktop.org/wayland/wayland

Re: [PATCH v3] drm/amdgpu: Transfer fences to dmabuf importer

2018-08-07 Thread Christian König
Am 07.08.2018 um 15:37 schrieb Daniel Vetter: On Tue, Aug 07, 2018 at 03:17:06PM +0200, Christian König wrote: Am 07.08.2018 um 14:59 schrieb Daniel Vetter: On Tue, Aug 07, 2018 at 02:51:50PM +0200, Christian König wrote: Am 07.08.2018 um 14:43 schrieb Daniel Vetter: On Tue, Aug 07, 2018 at 0

[Bug 107516] Firefox for WebGL fallbacks to swrast_dri.so, not using radeon_si.so

2018-08-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107516 --- Comment #4 from Mike --- (In reply to Emil Velikov from comment #3) > https://bugzilla.mozilla.org/show_bug.cgi?id=1480755#c1 Indeed, this is Firefox's problem. Аlthough security.sandbox.content.read_path_whitelist trick didn't work for me

[Bug 107516] Firefox for WebGL fallbacks to swrast_dri.so, not using radeon_si.so

2018-08-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107516 Mike changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

Re: [PATCH v3] drm/amdgpu: Transfer fences to dmabuf importer

2018-08-07 Thread Daniel Vetter
On Tue, Aug 7, 2018 at 3:54 PM, Christian König wrote: > Am 07.08.2018 um 15:37 schrieb Daniel Vetter: >> >> On Tue, Aug 07, 2018 at 03:17:06PM +0200, Christian König wrote: >>> >>> Am 07.08.2018 um 14:59 schrieb Daniel Vetter: On Tue, Aug 07, 2018 at 02:51:50PM +0200, Christian König wr

Re: [PATCH libdrm v3] tests/modetest: Add atomic support

2018-08-07 Thread Emil Velikov
On 7 August 2018 at 14:53, Daniel Stone wrote: > Hi Emil, > This is off-topic for the list, but ... > > On Tue, 7 Aug 2018 at 14:46, Emil Velikov wrote: >> Aside: libdrm following X/Wayland in that it lacks contributor/push access >> docs. >> Might be worth, copying the Mesa ones and adding a do

[Bug 107516] Firefox for WebGL fallbacks to swrast_dri.so, not using radeon_si.so

2018-08-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107516 --- Comment #5 from Mike --- PS. security.sandbox.content.read_path_whitelist works. Need to add /sys/ (with trailing slash, as https://wiki.mozilla.org/Security/Sandbox says), and restart Firefox. -- You are receiving this mail because: You a

[Bug 103199] [CI] igt@drv_missed_irq - fail - Failed assertion: missed_rings == expect_rings

2018-08-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=103199 --- Comment #3 from Martin Peres --- https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_93/fi-icl-u/igt@drv_missed_irq.html (drv_missed_irq:1510) CRITICAL: Test assertion failure function __real_main96, file ../tests/drv_missed_irq.c:159: (drv_mis

Re: [PATCH libdrm] tests/util: Add support for stm module

2018-08-07 Thread Emil Velikov
On 7 August 2018 at 14:39, Benjamin Gaignard wrote: > 2018-07-20 13:32 GMT+02:00 Benjamin Gaignard : >> Signed-off-by: Benjamin Gaignard >> --- >> tests/util/kms.c | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/tests/util/kms.c b/tests/util/kms.c >> index 8b3e7878..a2d1d7ba 100644 >

Re: [PATCH] drm/tinydrm: Replace drm_dev_unref with drm_dev_put

2018-08-07 Thread Noralf Trønnes
Den 13.07.2018 15.46, skrev Thomas Zimmermann: This patch unifies the naming of DRM functions for reference counting of struct drm_device. The resulting code is more aligned with the rest of the Linux kernel interfaces. Signed-off-by: Thomas Zimmermann --- Thanks, applied to drm-misc. Noral

[PATCH v4] drm/amdgpu: Transfer fences to dmabuf importer

2018-08-07 Thread Chris Wilson
amdgpu only uses shared-fences internally, but dmabuf importers rely on implicit write hazard tracking via the reservation_object.fence_excl. For example, the importer use the write hazard for timing a page flip to only occur after the exporter has finished flushing its write into the surface. As s

Re: [PATCH v1 2/5] pardata: new bus for parallel data access

2018-08-07 Thread Noralf Trønnes
Hi Sam, Den 02.08.2018 21.45, skrev Sam Ravnborg: The pardata supports implement a simple bus for devices that are connected using a parallel bus driven by GPIOs. The is often used in combination with simple displays that is often seen in older embedded designs. There is a demand for this suppor

Re: [PATCH] drm/atomic: add ATOMIC_AMEND flag to the Atomic IOCTL.

2018-08-07 Thread Daniel Vetter
On Mon, Aug 06, 2018 at 06:01:02PM +0200, Enric Balletbo i Serra wrote: > From: Gustavo Padovan > > This flag tells core to jump ahead the queued update if the conditions > in drm_atomic_async_check() are met. That means we are only able to do an > async update if no modeset is pending and update

Re: [PATCH v5 0/7] drm: add simpledrm driver

2018-08-07 Thread Daniel Vetter
On Tue, Jul 24, 2018 at 02:27:33PM +0200, Mads Lønsethagen wrote: > > Hey > > > > On request of Noralf, I picked up the patches and prepared v5. Works > > fine with > > Xorg, if configured according to: > > https://lists.freedesktop.org/archives/dri-devel/2014-January/052777.html > > If anyone kno

Re: [PATCH 2/2] drm/vkms: Compute CRC with Cursor Plane

2018-08-07 Thread Daniel Vetter
On Mon, Aug 06, 2018 at 06:58:29AM +0300, Haneen Mohammed wrote: > This patch compute CRC for output frame with cursor and primary plane. > Blend cursor with primary plane and compute CRC on the resulted frame. > > Signed-off-by: Haneen Mohammed Nice! I assume with this you're passing all the c

Re: [PATCH v1 5/5] tinydrm: add winstar wg160160 driver

2018-08-07 Thread Noralf Trønnes
Den 02.08.2018 21.45, skrev Sam Ravnborg: Add driver for the winstar wg160160 display. The driver utilises pardata-dbi that again utilise the pardata subsystem. Signed-off-by: Sam Ravnborg --- MAINTAINERS| 5 + drivers/gpu/drm/tinydrm/Kconfig| 10 ++ drivers/

[PATCH] drm: Remove defunct dma_buf_kmap stubs

2018-08-07 Thread Chris Wilson
Since commit 09ea0dfbf972 ("dma-buf: make map_atomic and map function pointers optional"), we no longer need to provide stub no-op functions as the core now provides them directly. References: 09ea0dfbf972 ("dma-buf: make map_atomic and map function pointers optional") Signed-off-by: Chris Wilson

Re: [PATCH] drm: Remove defunct dma_buf_kmap stubs

2018-08-07 Thread Daniel Vetter
On Tue, Aug 07, 2018 at 06:47:48PM +0100, Chris Wilson wrote: > Since commit 09ea0dfbf972 ("dma-buf: make map_atomic and map function > pointers optional"), we no longer need to provide stub no-op functions > as the core now provides them directly. > > References: 09ea0dfbf972 ("dma-buf: make map_

Re: [PATCH] drm: Remove defunct dma_buf_kmap stubs

2018-08-07 Thread Christian König
Am 07.08.2018 um 19:47 schrieb Chris Wilson: Since commit 09ea0dfbf972 ("dma-buf: make map_atomic and map function pointers optional"), we no longer need to provide stub no-op functions as the core now provides them directly. References: 09ea0dfbf972 ("dma-buf: make map_atomic and map function p

Re: [PATCH v4] drm/amdgpu: Transfer fences to dmabuf importer

2018-08-07 Thread Christian König
Am 07.08.2018 um 18:08 schrieb Chris Wilson: amdgpu only uses shared-fences internally, but dmabuf importers rely on implicit write hazard tracking via the reservation_object.fence_excl. For example, the importer use the write hazard for timing a page flip to only occur after the exporter has fin

Re: [PATCH v4] drm/amdgpu: Transfer fences to dmabuf importer

2018-08-07 Thread Chris Wilson
Quoting Christian König (2018-08-07 18:57:16) > Am 07.08.2018 um 18:08 schrieb Chris Wilson: > > amdgpu only uses shared-fences internally, but dmabuf importers rely on > > implicit write hazard tracking via the reservation_object.fence_excl. > > For example, the importer use the write hazard for t

Re: [PATCH v4] drm/amdgpu: Transfer fences to dmabuf importer

2018-08-07 Thread Christian König
Am 07.08.2018 um 20:14 schrieb Chris Wilson: Quoting Christian König (2018-08-07 18:57:16) Am 07.08.2018 um 18:08 schrieb Chris Wilson: amdgpu only uses shared-fences internally, but dmabuf importers rely on implicit write hazard tracking via the reservation_object.fence_excl. For example, the

Re: [PATCH v3 1/4] drm/mxsfb: Fix initial corrupt frame when activating display

2018-08-07 Thread Stefan Agner
On 06.08.2018 21:31, Leonard Crestez wrote: > LCDIF will repeatedly display data from CUR_BUF and set CUR_BUF to > NEXT_BUF when done. Since we are only ever writing to NEXT_BUF the > display will show an initial corrupt frame. > > Fix by writing the FB paddr to both CUR_BUF and NEXT_BUF when > ac

Re: [PATCH v4] drm/amdgpu: Transfer fences to dmabuf importer

2018-08-07 Thread Chris Wilson
Quoting Christian König (2018-08-07 19:18:55) > Am 07.08.2018 um 20:14 schrieb Chris Wilson: > > Quoting Christian König (2018-08-07 18:57:16) > >> Am 07.08.2018 um 18:08 schrieb Chris Wilson: > >>> amdgpu only uses shared-fences internally, but dmabuf importers rely on > >>> implicit write hazard

[PATCH v5] drm/amdgpu: Transfer fences to dmabuf importer

2018-08-07 Thread Chris Wilson
amdgpu only uses shared-fences internally, but dmabuf importers rely on implicit write hazard tracking via the reservation_object.fence_excl. For example, the importer use the write hazard for timing a page flip to only occur after the exporter has finished flushing its write into the surface. As s

Re: [PATCH v3 2/4] drm/mxsfb: Add pm_runtime calls to pipe_enable/disable

2018-08-07 Thread Stefan Agner
On 06.08.2018 21:31, Leonard Crestez wrote: > Adding lcdif nodes to a power domain currently results in > black/corrupted screens or hangs because power is not correctly enabled > when required. > > Ensure power is on when display is active by adding > pm_runtime_get/put_sync to mxsfb_pipe_enable/

[PATCH] dma-buf: Remove requirement for ops->map() from dma_buf_export

2018-08-07 Thread Chris Wilson
Since commit 9ea0dfbf972 ("dma-buf: make map_atomic and map function pointers optional"), the core provides the no-op functions when map and map_atomic are not provided, so we no longer need assert that are supplied by a dma-buf exporter. Fixes: 09ea0dfbf972 ("dma-buf: make map_atomic and map func

Re: [PATCH v3 3/4] drm/mxsfb: Add PM_SLEEP support

2018-08-07 Thread Stefan Agner
On 06.08.2018 21:31, Leonard Crestez wrote: > Since power to the lcdif block can be lost on suspend implement > PM_SLEEP_OPS using drm_mode_config_helper_suspend/resume to save/restore > the current mode. > > Signed-off-by: Leonard Crestez Reviewed-by: Stefan Agner > --- > drivers/gpu/drm/mxs

Re: [PATCH v5] drm/amdgpu: Transfer fences to dmabuf importer

2018-08-07 Thread Christian König
Am 07.08.2018 um 20:32 schrieb Chris Wilson: amdgpu only uses shared-fences internally, but dmabuf importers rely on implicit write hazard tracking via the reservation_object.fence_excl. For example, the importer use the write hazard for timing a page flip to only occur after the exporter has fin

Re: [PATCH v3 4/4] drm/mxsfb: Switch to drm_atomic_helper_commit_tail_rpm

2018-08-07 Thread Stefan Agner
On 06.08.2018 21:31, Leonard Crestez wrote: > The lcdif block is only powered on when display is active so plane > updates when not enabled are not valid. Writing to an unpowered IP block > is mostly ignored but can trigger bus errors on some chips. > > Prevent this situation by switching to drm_a

Re: [PATCH] dma-buf: Remove requirement for ops->map() from dma_buf_export

2018-08-07 Thread Daniel Vetter
On Tue, Aug 07, 2018 at 07:36:47PM +0100, Chris Wilson wrote: > Since commit 9ea0dfbf972 ("dma-buf: make map_atomic and map function > pointers optional"), the core provides the no-op functions when map and > map_atomic are not provided, so we no longer need assert that are > supplied by a dma-buf

[Bug 107518] polaris powerplay init fails: There must be 1 or more PCIE levels defined in PPTable

2018-08-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107518 Bug ID: 107518 Summary: polaris powerplay init fails: There must be 1 or more PCIE levels defined in PPTable Product: DRI Version: unspecified Hardware: PowerPC

[PATCH] drm/vc4: Make sure to emit a tile coordinates between two MSAA loads.

2018-08-07 Thread Eric Anholt
The HW only executes a load once the tile coordinates packet happens, and only tracks one at a time, so by emitting our two MSAA loads back to back we would end up with an undefined color or Z buffer. Fixes dEQP-EGL.functional.render.multi_context.gles2.rgb888_window Signed-off-by: Eric Anholt C

[PATCH] drm/sun4i: Avoid failing to init fbdev without any connector

2018-08-07 Thread Paul Kocialkowski
Initializing and registering fbdev requires at least one DRM connector and will fail otherwise. In order to support headless setups (for instance for GPU rendering with the GBM backend, where a DRI card node is required to provide GEM memory reservation), add a check on the number of registered con

[PATCH v6] drm/amdgpu: Transfer fences to dmabuf importer

2018-08-07 Thread Chris Wilson
amdgpu only uses shared-fences internally, but dmabuf importers rely on implicit write hazard tracking via the reservation_object.fence_excl. For example, the importer use the write hazard for timing a page flip to only occur after the exporter has finished flushing its write into the surface. As s

[Bug 107518] polaris powerplay init fails: There must be 1 or more PCIE levels defined in PPTable

2018-08-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107518 --- Comment #1 from Shawn Anastasio --- Created attachment 141003 --> https://bugs.freedesktop.org/attachment.cgi?id=141003&action=edit dmesg for 4.18.0-rc8+ -- You are receiving this mail because: You are the assignee for the bug.__

Re: [GIT PULL] tilcdc fixes for v4.19

2018-08-07 Thread Dave Airlie
On 3 August 2018 at 02:55, Jyri Sarha wrote: > Hi Dave, > Please pull the tilcdc fixes for Linux v4.19. This fix has been pending > for some while, because I was planning for a bigger clean up that would > remove the need for this fix. But as it is the time for it - at least > for v4.19 - is gone

[PATCH] drm/doc: clarify how to acquire required vblank event reference

2018-08-07 Thread Stefan Agner
As a driver write it is not entirely obvious that a reference to the event e mentioned in the doc can be obtained via drm_crtc_vblank_get(). Clarify how to obtain the reference. Signed-off-by: Stefan Agner --- drivers/gpu/drm/drm_vblank.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

Re: [PATCH] drm/sun4i: Avoid failing to init fbdev without any connector

2018-08-07 Thread Daniel Vetter
On Tue, Aug 07, 2018 at 09:39:19PM +0200, Paul Kocialkowski wrote: > Initializing and registering fbdev requires at least one DRM connector > and will fail otherwise. In order to support headless setups (for > instance for GPU rendering with the GBM backend, where a DRI card node > is required to p

Re: [PATCH] drm/sun4i: Avoid failing to init fbdev without any connector

2018-08-07 Thread Paul Kocialkowski
Hi, Le mardi 07 août 2018 à 22:18 +0200, Daniel Vetter a écrit : > On Tue, Aug 07, 2018 at 09:39:19PM +0200, Paul Kocialkowski wrote: > > Initializing and registering fbdev requires at least one DRM connector > > and will fail otherwise. In order to support headless setups (for > > instance for GP

[Bug 107518] polaris powerplay init fails: There must be 1 or more PCIE levels defined in PPTable

2018-08-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107518 --- Comment #2 from Shawn Anastasio --- Upon further testing, the issue seems to go away when the firmware is removed from petitboot, preventing it from initializing the card before the host OS. This indicates that it may have something to do wi

Re: [PATCH libdrm] radeon, evergreen: ensure equal sizes for depth-stencil npot textures

2018-08-07 Thread Gert Wollny
It seems I did a wrong indication in the subject, Am Montag, den 06.08.2018, 10:13 +0200 schrieb Gert Wollny: > On evergreen depth-stencil textures are allocated as two objects, and > when using the eg_surface_init_1d_miptrees code path the size > evaluation > uses the generalized surf_minify fun

[PATCH v5 01/13] drm/nouveau: Fix bogus drm_kms_helper_poll_enable() placement

2018-08-07 Thread Lyude Paul
Turns out this part is my fault for not noticing when reviewing 9a2eba337cace ("drm/nouveau: Fix drm poll_helper handling"). Currently we call drm_kms_helper_poll_enable() from nouveau_display_hpd_work(). This makes basically no sense however, because that means we're calling drm_kms_helper_poll_en

[PATCH v5 07/13] drm/nouveau: Add missing unroll functions in nouveau_do_suspend()

2018-08-07 Thread Lyude Paul
Currently, it appears that nouveau_do_suspend() forgets to roll back suspending fbcon and suspending the device LEDs. We also currently skip the entire rollback process if nouveau_display_suspend() fails. So, fix that. Signed-off-by: Lyude Paul Cc: sta...@vger.kernel.org Cc: Lukas Wunner Cc: Kar

[PATCH v5 00/13] Fix connector probing deadlocks from RPM bugs

2018-08-07 Thread Lyude Paul
This is the latest version of https://patchwork.freedesktop.org/series/46815/ I moved everything out of fb_helper and back into nouveau, because it seems that other drivers actually do have this handled already as far as I can tell. Lyude Paul (13): drm/nouveau: Fix bogus drm_kms_helper_poll_en

  1   2   >