[Bug 102204] GLideN64 very slow on oland/radeonsi

2018-01-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102204 H4nN1baL changed: What|Removed |Added Version|17.1|17.2 OS|All

[Bug 102204] GLideN64 very slow on r600/radeonsi

2018-01-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102204 H4nN1baL changed: What|Removed |Added Summary|GLideN64 very slow on |GLideN64 very slow on |ola

[Bug 104717] Rocket League: grass rendering broken with nir

2018-01-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104717 Kenneth Graunke changed: What|Removed |Added QA Contact|intel-3d-bugs@lists.freedes |dri-devel@lists.freedesktop

[Bug 198123] Console is the wrong color at boot with radeon 6670

2018-01-22 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=198123 Paul Tobias (tobias@gmail.com) changed: What|Removed |Added CC||tobias@gmail.com

[Bug 198123] Console is the wrong color at boot with radeon 6670

2018-01-22 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=198123 --- Comment #22 from Paul Tobias (tobias@gmail.com) --- Created attachment 273783 --> https://bugzilla.kernel.org/attachment.cgi?id=273783&action=edit Red console text with kernel 4.14 and ast driver -- You are receiving this mail because:

[Bug 198511] lags in youtube videos 1080p 60fps with radeon hd4650 and kernel 4.15rc8

2018-01-22 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=198511 --- Comment #29 from Christian König (christian.koe...@amd.com) --- For this you need to call the driver IOCTL to create a buffer object directly. Best is probably you use the Mesa code as and work from that backward, see here https://cgit.freede

Re: [PATCH 1/2] drm/sun4i: Handle DRM_BUS_FLAG_PIXDATA_*EDGE

2018-01-22 Thread Maxime Ripard
Hi, On Sat, Jan 20, 2018 at 07:50:20PM +0100, Giulio Benetti wrote: > Can't set dclk polarity on sun4i. > > Handle both positive and negative dclk polarity, > according to bus_flags. It's not really that we can't set it, it's that it's been ignored. > Signed-off-by: Giulio Benetti > --- > dri

Re: [v3, 3/6] dt: booting-without-of: DT fix s/#interrupt-cell/#interrupt-cells/

2018-01-22 Thread Michael Ellerman
On Fri, 2017-06-02 at 12:38:46 UTC, Geert Uytterhoeven wrote: > Signed-off-by: Geert Uytterhoeven > Acked-by: Rob Herring Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/4be4119d1fbd93c44d5c639735c312 cheers ___ dri-devel mailing li

Re: [PATCH 2/2] drm/sun4i: Handle DRM_MODE_FLAG_**SYNC_POSITIVE correctly

2018-01-22 Thread Maxime Ripard
On Sat, Jan 20, 2018 at 07:50:21PM +0100, Giulio Benetti wrote: > On previous handling, if specified DRM_MODE_FLAG_N*SYNC, > it was ignored, > because only PHSYNC and PVSYNC were taken into account. > DRM_MODE_FLAG_P*SYNC and DRM_MODE_FLAG_N*SYNC are not exclusive. > > If flags contains PVSYNC, it

[Bug 101900] No HDMI HBR audio on Polaris (no TrueHD, no Atmos, no Neo:X, no HD Master audio)

2018-01-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101900 --- Comment #27 from letha...@gmail.com --- After more tests, i have a small race condition on my systemctl setup which causes X to be unable to load the "amdgpu" driver and fallbacks on "modesetting" instead. In this case, the videocard can't u

[Bug 101900] No HDMI HBR audio on Polaris (no TrueHD, no Atmos, no Neo:X, no HD Master audio) and static noise in sound when LPCM on amdgpu Xorg driver

2018-01-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101900 letha...@gmail.com changed: What|Removed |Added Summary|No HDMI HBR audio on|No HDMI HBR audio on

[PATCH v4 04/13] drm/sun4i: backend: Add a custom plane state

2018-01-22 Thread Maxime Ripard
We will need to store some additional data in the future to the state. Create a custom plane state that will embed those data, in order to store the pipe or whether or not that plane should use the frontend. Reviewed-by: Chen-Yu Tsai Reviewed-by: Neil Armstrong Signed-off-by: Maxime Ripard ---

[PATCH v4 00/13] drm/sun4i: Support the Display Engine frontend

2018-01-22 Thread Maxime Ripard
Hi, This is a first serie to enable the display engine frontend. This hardware block is found in the first generation Display Engine from Allwinner. Its role is to implement more advanced features that the associated backend, even though the backend alone can be used (and was used so far) for bas

[PATCH v4 10/13] drm/sun4i: backend: Add a custom atomic_check for the frontend

2018-01-22 Thread Maxime Ripard
Now that we have everything in place, we can start enabling the frontend. This is more difficult than one would assume since there can only be one plane using the frontend per-backend. We therefore need to make sure that the userspace will not try to setup multiple planes using it, since that woul

[PATCH v4 06/13] drm/sun4i: engine: Add a VBLANK quirk callback

2018-01-22 Thread Maxime Ripard
In some cases, the display engine needs to apply some quirks during the VBLANK event. In the Display Engine 1.0 case for example, we can only disable the frontend once the backend has been, which is at VBLANK. Let's introduce a callback that can be implemented by the various engines. Reviewed-by:

[PATCH v4 12/13] drm/sun4i: backend: Make sure we don't have a commit pending

2018-01-22 Thread Maxime Ripard
If we try to read the backend registers while it fetches the new values, we end up with the value of some random register instead of the one we asked for. In order to prevent that, let's make sure that the very first thing we do during our atomic modesetting is to let the commit bit come to a rest

[PATCH v4 03/13] drm/sun4i: backend: Allow a NULL plane pointer to retrieve the format

2018-01-22 Thread Maxime Ripard
The function converting the DRM format to its equivalent in the backend registers was assuming that we were having a plane. However, we might want to use that function when setting up a plane using the frontend, in which case we will not have a plane associated to the backend's layer. Yet, we stil

[PATCH v4 02/13] drm/sun4i: backend: Document the engine operations

2018-01-22 Thread Maxime Ripard
Our operations were missing some documentation to explain what was expected from them. Let's make that clearer. Reviewed-by: Chen-Yu Tsai Signed-off-by: Maxime Ripard --- drivers/gpu/drm/sun4i/sunxi_engine.h | 46 +- 1 file changed, 46 insertions(+) diff --git a/dr

[PATCH v4 05/13] drm/sun4i: engine: Add a custom crtc atomic_check

2018-01-22 Thread Maxime Ripard
We have some restrictions on what the planes and CRTC can provide that are tied to only one generation of display engines. For example, on the first generation, we can only have one YUV plane or one plane that uses the frontend output. Let's allow our engines to provide an atomic_check callback t

[PATCH v4 08/13] drm/sun4i: Add a driver for the display frontend

2018-01-22 Thread Maxime Ripard
The display frontend is an hardware block that can be used to implement some more advanced features like hardware scaling or colorspace conversions. It can also be used to implement the output format of the VPU. Let's create a minimal driver for it that will only enable the hardware scaling featur

[PATCH v4 01/13] drm/sun4i: backend: Move line stride setup to buffer setup function

2018-01-22 Thread Maxime Ripard
Setup the line stride in the buffer setup function, since it's tied to the buffer itself, and is not needed when we do not set the buffer in the backend. This is for example the case when using the frontend and then routing its output to the backend. Reviewed-by: Chen-Yu Tsai Reviewed-by: Neil A

[PATCH v4 13/13] ARM: dts: sun8i: a33 Enable our display frontend

2018-01-22 Thread Maxime Ripard
The display frontend can be used to do hardware scaling, colorspaces conversion or to implement the buffer format output by the Cedar VPU. Since we're starting to have some support for it in the DRM driver, let's enable its DT node. Reviewed-by: Chen-Yu Tsai Signed-off-by: Maxime Ripard --- ar

[PATCH v4 11/13] drm/sun4i: backend: Use runtime_pm variant of atomic_commit_tail

2018-01-22 Thread Maxime Ripard
During a hardware commit, the commit bit in the backend will only be cleared if the TCON is enabled. Use the runtime_pm variant of the atomic_commit_tail hook that makes sure that the CRTC, our TCON, is enabled when we perform an atomic_commit. Reviewed-by: Chen-Yu Tsai Signed-off-by: Maxime Ripa

[PATCH v4 09/13] drm/sun4i: backend: Wire in the frontend

2018-01-22 Thread Maxime Ripard
Now that we have a driver, we can make use of it. This is done by adding a flag to our custom plane state that will trigger whether we should use the frontend on that particular plane or not. The rest is just plumbing to set up the backend to not perform the DMA but receive its data from the front

[PATCH v4 07/13] drm/sun4i: engine: Create an atomic_begin callback

2018-01-22 Thread Maxime Ripard
We have to implement some display engine specific behaviours in atomic_begin. Let's add a function for that. Reviewed-by: Chen-Yu Tsai Signed-off-by: Maxime Ripard --- drivers/gpu/drm/sun4i/sun4i_crtc.c | 6 +- drivers/gpu/drm/sun4i/sunxi_engine.h | 13 + 2 files changed, 18

Re: [PATCH RFC 8/9] drm/i915: Allow default context priority to be set via cgroup parameter

2018-01-22 Thread Michel Dänzer
On 2018-01-20 11:40 AM, Chris Wilson wrote: > > Along this vein, it's worthwhile pointing out that the current scheduler > is not even close to being the cgroup-enabled CFS implementation it > needs to be to call itself a scheduler. (It's more or less a no-op > scheduler.) It may be premature to s

[Bug 101900] No HDMI HBR audio on Polaris (no TrueHD, no Atmos, no Neo:X, no HD Master audio) and static noise in sound when LPCM on amdgpu Xorg driver

2018-01-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101900 --- Comment #28 from Andy Furniss --- (In reply to lethalwp from comment #27) > After more tests, i have a small race condition on my systemctl setup which > causes X to be unable to load the "amdgpu" driver and fallbacks on > "modesetting" inst

Re: [PATCH RFC 8/9] drm/i915: Allow default context priority to be set via cgroup parameter

2018-01-22 Thread Chris Wilson
Quoting Michel Dänzer (2018-01-22 09:50:38) > On 2018-01-20 11:40 AM, Chris Wilson wrote: > > > > Along this vein, it's worthwhile pointing out that the current scheduler > > is not even close to being the cgroup-enabled CFS implementation it > > needs to be to call itself a scheduler. (It's more

[PATCH] drm/bridge/synopsys: dsi: Adopt SPDX identifiers

2018-01-22 Thread Philippe Cornu
Add SPDX identifiers to the Synopsys DesignWare MIPI DSI host controller driver. Signed-off-by: Philippe Cornu --- drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c b/drivers/gpu/d

[PATCH] drm/stm: drv: Improve data transfers

2018-01-22 Thread Philippe Cornu
To optimize data transfers, align pitch on 128 bytes & height on 4 bytes. This optimization is not applicable without MMU. Signed-off-by: Yannick Fertre Signed-off-by: Vincent Abriou Signed-off-by: Philippe Cornu --- drivers/gpu/drm/stm/drv.c | 21 + 1 file changed, 21 inse

[PATCH v2 00/19] drm/sun4i: Support more planes, zpos and plane-wide alpha

2018-01-22 Thread Maxime Ripard
Hi, This serie aims at enhancing the support for our planes in the current drm driver on the first generation of Allwinner's display engine. This also introduces a few generic stuff, as well as some conversion for some other drivers. This series basically implements three things that look orthog

[PATCH v2 11/19] drm/sun4i: framebuffer: Add a custom atomic_check

2018-01-22 Thread Maxime Ripard
In order to support normalized zpos, we need to call drm_atomic_normalize_zpos in our driver's drm_mode_config_funcs' atomic_check. Let's duplicate the definition of drm_atomic_helper_check for now. Signed-off-by: Maxime Ripard --- drivers/gpu/drm/sun4i/sun4i_framebuffer.c | 14 +-

[PATCH v2 07/19] drm/atmel-hclcdc: Convert to the new generic alpha property

2018-01-22 Thread Maxime Ripard
Now that we have support for per-plane alpha in the core, let's use it. Acked-by: Boris Brezillon Signed-off-by: Maxime Ripard --- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.h| 13 +--- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c | 89 ++ 2 files changed, 14 insertions(+

[PATCH v2 09/19] drm/sun4i: backend: Fix structure indentation

2018-01-22 Thread Maxime Ripard
The sun4i_plane_desc structure was somehow indented to two tabulations instead of one as we shoud do. Fix that. Signed-off-by: Maxime Ripard --- drivers/gpu/drm/sun4i/sun4i_layer.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/sun4i/sun4i_layer.c b/

[PATCH v2 08/19] drm/rcar-du: Convert to the new generic alpha property

2018-01-22 Thread Maxime Ripard
Now that we have support for per-plane alpha in the core, let's use it. Reviewed-by: Laurent Pinchart Signed-off-by: Maxime Ripard --- drivers/gpu/drm/rcar-du/rcar_du_drv.h | 1 +- drivers/gpu/drm/rcar-du/rcar_du_kms.c | 5 +--- drivers/gpu/drm/rcar-du/rcar_du_plane.c | 15 +++-- driv

[PATCH v2 02/19] drm/atmel-hlcdc: Use the alpha format field in drm_format_info

2018-01-22 Thread Maxime Ripard
Now that the drm_format_info has a alpha field to tell if a format embeds an alpha component in it, let's use it. Acked-by: Boris Brezillon Reviewed-by: Daniel Vetter Signed-off-by: Maxime Ripard --- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c | 24 +++--- 1 file changed, 5 ins

[PATCH v2 05/19] drm/vc4: Use the alpha format field in drm_format_info

2018-01-22 Thread Maxime Ripard
Now that the drm_format_info has a alpha field to tell if a format embeds an alpha component in it, let's use it. Cc: Eric Anholt Reviewed-by: Daniel Vetter Signed-off-by: Maxime Ripard --- drivers/gpu/drm/vc4/vc4_plane.c | 19 +-- 1 file changed, 9 insertions(+), 10 deletions(

[PATCH v2 16/19] drm/sun4i: backend: Assign the pipes automatically

2018-01-22 Thread Maxime Ripard
Since we now have a way to enforce the zpos, check for the number of alpha planes, the only missing part is to assign our pipe automatically instead of hardcoding it. The algorithm is quite simple, but requires two iterations over the list of planes. In the first one (which is the same one that w

[PATCH v2 01/19] drm/fourcc: Add a alpha field to drm_format_info

2018-01-22 Thread Maxime Ripard
There's a bunch of drivers that duplicate the same function to know if a particular format embeds an alpha component or not. Let's create a field in the drm_format_info to avoid duplicating that logic and looking up formats all the time. Cc: Eric Anholt Cc: Inki Dae Cc: Joonyoung Shim Cc: Kyun

[PATCH v2 19/19] drm/sun4i: backend: Remove ARGB spoofing

2018-01-22 Thread Maxime Ripard
We've had some code for quite some time to prevent the alpha bug from happening on the lowest primary plane. Since we now check for this in our atomic_check, we can simply remove it. Signed-off-by: Maxime Ripard --- drivers/gpu/drm/sun4i/sun4i_backend.c | 12 +++- 1 file changed, 3 inser

[PATCH v2 10/19] drm/sun4i: backend: Fix define typo

2018-01-22 Thread Maxime Ripard
There was a typo in the width spelling of the (unused) SUN4I_BACKEND_IYUVLINEWITDTH_REG macro. Fix it. Signed-off-by: Maxime Ripard --- drivers/gpu/drm/sun4i/sun4i_backend.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/sun4i/sun4i_backend.h b/drivers/gp

[PATCH v2 13/19] drm/sun4i: backend: Set a default zpos in our reset hook

2018-01-22 Thread Maxime Ripard
The our plane state zpos value will be set only if there's an existing state attached to the plane when creating the property. However, this is not the case during the probe, and we therefore need to put our default value in our reset hook. Signed-off-by: Maxime Ripard --- drivers/gpu/drm/sun4i

[PATCH v2 12/19] drm/sun4i: backend: Move the coord function in the shared part

2018-01-22 Thread Maxime Ripard
The function supposed to update a plane's coordinates is called in both branches of our function. Let's move it out the if statement. Signed-off-by: Maxime Ripard --- drivers/gpu/drm/sun4i/sun4i_layer.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/sun4i/s

[PATCH v2 06/19] drm/blend: Add a generic alpha property

2018-01-22 Thread Maxime Ripard
Some drivers duplicate the logic to create a property to store a per-plane alpha. This is especially useful if we ever want to support extra protocols for Wayland like: https://lists.freedesktop.org/archives/wayland-devel/2017-August/034741.html Let's create a helper in order to move that to the

[PATCH v2 15/19] drm/sun4i: backend: Check for the number of alpha planes

2018-01-22 Thread Maxime Ripard
Due to the way the composition is done in hardware, we can only have a single alpha-enabled plane active at a time, placed in the second (highest priority) pipe. Make sure of that in our atomic_check to not end up in an impossible scenario. Signed-off-by: Maxime Ripard --- drivers/gpu/drm/sun4i

[PATCH v2 04/19] drm/rockchip: Use the alpha format field in drm_format_info

2018-01-22 Thread Maxime Ripard
Now that the drm_format_info has a alpha field to tell if a format embeds an alpha component in it, let's use it. Acked-by: Sandy huang Reviewed-by: Daniel Vetter Signed-off-by: Maxime Ripard --- drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 13 + 1 file changed, 1 insertion(+), 12

[PATCH v2 18/19] drm/sun4i: Add support for plane alpha

2018-01-22 Thread Maxime Ripard
Our backend supports a per-plane alpha property. Support it through our new helper. Signed-off-by: Maxime Ripard --- drivers/gpu/drm/sun4i/sun4i_backend.c | 16 +--- drivers/gpu/drm/sun4i/sun4i_backend.h | 3 +++ drivers/gpu/drm/sun4i/sun4i_layer.c | 2 ++ 3 files changed, 18 ins

[PATCH v2 17/19] drm/sun4i: backend: Make zpos configurable

2018-01-22 Thread Maxime Ripard
Now that we have everything in place, we can make zpos configurable now. Change the zpos property from an immutable one to a regular. Signed-off-by: Maxime Ripard --- drivers/gpu/drm/sun4i/sun4i_layer.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/sun4

[PATCH v2 14/19] drm/sun4i: backend: Add support for zpos

2018-01-22 Thread Maxime Ripard
Our various planes have a configurable zpos, that combined with the pipes allow to configure the composition. Since the interaction between the pipes, zpos and alphas framebuffers are not trivials, let's just enable the zpos as an immutable property for now, and use that zpos in our atomic_update

[PATCH v2 03/19] drm/atmel-exynos: Use the alpha format field in drm_format_info

2018-01-22 Thread Maxime Ripard
Now that the drm_format_info has a alpha field to tell if a format embeds an alpha component in it, let's use it. Cc: Joonyoung Shim Cc: Kyungmin Park Cc: Seung-Woo Kim Acked-by: Inki Dae Reviewed-by: Daniel Vetter Signed-off-by: Maxime Ripard --- drivers/gpu/drm/exynos/exynos_mixer.c | 14

Re: [PATCH 02/40] drm/rockchip: support prime import sg table

2018-01-22 Thread Heiko Stuebner
Am Montag, 15. Januar 2018, 18:15:36 CET schrieb Thierry Escande: > From: Haixia Shi > > The prime fd to handle ioctl was not used with rockchip before. Support > was added in order to pass graphics_Gbm and to support potential uses > within Chrome OS (e.g. zero-copy video decode, camera). > > S

Re: [PATCH 03/40] drm/rockchip: Respect page offset for PRIME mmap calls

2018-01-22 Thread Heiko Stuebner
Am Montag, 15. Januar 2018, 18:15:37 CET schrieb Thierry Escande: > From: Ørjan Eide > > When mapping external DMA-bufs through the PRIME mmap call, we might be > given an offset which has to be respected. However for the internal DRM > GEM mmap path, we have to ignore the fake mmap offset used t

Re: [PATCH libdrm] modetest: Fix to check return value of asprintf()

2018-01-22 Thread Eric Engestrom
On Wednesday, 2018-01-10 11:16:41 +0900, Seung-Woo Kim wrote: > There is warning about ignoring return value of 'asprintf'. Fix to > check return value of asprintf(). > > Signed-off-by: Seung-Woo Kim Reviewed-by: Eric Engestrom Do you have commit access or would you like me to push it for you?

[PATCH] video: remove unused kconfig SH_LCD_MIPI_DSI

2018-01-22 Thread Corentin Labbe
SH_LCD_MIPI_DSI is unused since commit 18b6562c243f ("fbdev: sh_mipi_dsi: remove driver") So no need to keep it. Fixes: 18b6562c243f ("fbdev: sh_mipi_dsi: remove driver") Signed-off-by: Corentin Labbe --- drivers/video/Kconfig | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/video/

[Bug 104723] [CI] igt@[kms_3d|igt@kms_panel_fitting] - fail - Could not open data file "1080p-left.png": No such file or directoryReceived signal SIGSEGV.

2018-01-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104723 Marta Löfstedt changed: What|Removed |Added Summary|[CI] igt@kms_3d - fail -|[CI] |Could not open

[PATCH 0/2] Add support for i2c_new_secondary_device

2018-01-22 Thread Kieran Bingham
Back in 2014, Jean-Michel provided patches [0] to implement a means of describing software defined I2C addresses for devices through the DT nodes. The patch to implement the function "i2c_new_secondary_device()" was integrated, but the corresponding driver update didn't get applied. This short se

[PATCH 1/2] media: adv7604: Add support for i2c_new_secondary_device

2018-01-22 Thread Kieran Bingham
From: Jean-Michel Hautbois The ADV7604 has thirteen 256-byte maps that can be accessed via the main I²C ports. Each map has it own I²C address and acts as a standard slave device on the I²C bus. Allow a device tree node to override the default addresses so that address conflicts with other devic

[PATCH 2/2] drm: adv7511: Add support for i2c_new_secondary_device

2018-01-22 Thread Kieran Bingham
The ADV7511 has four 256-byte maps that can be accessed via the main I²C ports. Each map has it own I²C address and acts as a standard slave device on the I²C bus. Allow a device tree node to override the default addresses so that address conflicts with other devices on the same bus may be resolve

Re: [PATCH 2/2] drm: adv7511: Add support for i2c_new_secondary_device

2018-01-22 Thread Lars-Peter Clausen
On 01/22/2018 01:50 PM, Kieran Bingham wrote: > The ADV7511 has four 256-byte maps that can be accessed via the main I²C > ports. Each map has it own I²C address and acts as a standard slave > device on the I²C bus. > > Allow a device tree node to override the default addresses so that > address c

[Bug 104723] [CI] igt@[kms_3d|igt@kms_panel_fitting] - fail - Could not open data file "1080p-left.png": No such file or directoryReceived signal SIGSEGV.

2018-01-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104723 --- Comment #3 from Petri Latvala --- Caused by meson build using an incorrect string for IGT_DATADIR. Patch sent: https://patchwork.freedesktop.org/series/36896/ -- You are receiving this mail because: You are the assignee for the bug.___

Re: [PATCH v4 08/13] drm/sun4i: Add a driver for the display frontend

2018-01-22 Thread Chen-Yu Tsai
On Mon, Jan 22, 2018 at 5:25 PM, Maxime Ripard wrote: > The display frontend is an hardware block that can be used to implement > some more advanced features like hardware scaling or colorspace > conversions. It can also be used to implement the output format of the VPU. > > Let's create a minimal

[Bug 103915] Undertale crashes on startup (compiling shaders?)

2018-01-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=103915 --- Comment #6 from Alexander Schlarb --- Hi! Just wanted to report that I'm also affected by this issue. I own an Undertale DRM-free edition from Humble Store and it crashes on startup. Running `apitrace` also only produces the word "on". How

[Bug 103915] Undertale crashes on startup (compiling shaders?)

2018-01-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=103915 --- Comment #7 from Alexander Schlarb --- Created attachment 136894 --> https://bugs.freedesktop.org/attachment.cgi?id=136894&action=edit Backtrace of Undertale / YoYo Game Linux Runner just before crash -- You are receiving this mail becaus

[Bug 103915] Undertale crashes on startup (compiling shaders?)

2018-01-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=103915 --- Comment #8 from Alexander Schlarb --- Created attachment 136895 --> https://bugs.freedesktop.org/attachment.cgi?id=136895&action=edit API trace warnings of game startup -- You are receiving this mail because: You are the assignee for the

[Bug 103915] Undertale crashes on startup (compiling shaders?)

2018-01-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=103915 --- Comment #9 from Alexander Schlarb --- BTW: I should also probably mention my hardware & software: * Radeon R9 M280X (BonaireXT) * Linux 4.14.0-3-amd64 * Debian unstable * Mesa 17.3.3 * DRM 3.19.0 * LLVM 5.0.1 from http://apt.llvm.org/

[Bug 104730] VLC crashes on playback with "READ_ONLY without WC is disallowed"

2018-01-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104730 Bug ID: 104730 Summary: VLC crashes on playback with "READ_ONLY without WC is disallowed" Product: Mesa Version: git Hardware: Other OS: All St

Re: [PATCH v4 00/13] drm/sun4i: Support the Display Engine frontend

2018-01-22 Thread Maxime Ripard
On Mon, Jan 22, 2018 at 10:25:14AM +0100, Maxime Ripard wrote: > Hi, > > This is a first serie to enable the display engine frontend. > > This hardware block is found in the first generation Display Engine from > Allwinner. Its role is to implement more advanced features that the > associated bac

Re: [PATCH] dt-bindings: display: stm32: correct clock-names in dsi panel example

2018-01-22 Thread Rob Herring
On Sun, Jan 21, 2018 at 2:58 PM, Philippe Cornu wrote: > In the dsi panel example, clock names in the "clock-names" > field have been swapped: > * "pclk" (peripheral clock) is <&rcc 1 CLK_F469_DSI> on stm32f4 > * "ref" (dsi phy pll ref clock) is <&clk_hse> on stm32f4 > > Signed-off-by: Philippe Co

Re: [PATCH] dt-bindings: display: stm32: correct clock-names in dsi panel example

2018-01-22 Thread Philippe CORNU
Hi Rob, On 01/22/2018 03:30 PM, Rob Herring wrote: > On Sun, Jan 21, 2018 at 2:58 PM, Philippe Cornu wrote: >> In the dsi panel example, clock names in the "clock-names" >> field have been swapped: >> * "pclk" (peripheral clock) is <&rcc 1 CLK_F469_DSI> on stm32f4 >> * "ref" (dsi phy pll ref cloc

[PATCH v18 00/10] Add backlight helper functions

2018-01-22 Thread Meghana Madhyastha
Move drm helper functions from tinydrm-helpers to linux/backlight for ease of use by callers in other drivers. Changes in v18: -Fixed warnings resulting from passing device_node* to of_find_backlight. Fixed it by passing struct device* to of_find_backlight Meghana Madhyastha (10): video: back

[PATCH v18 01/10] video: backlight: Add helpers to enable and disable backlight

2018-01-22 Thread Meghana Madhyastha
Add helper functions backlight_enable and backlight_disable to enable/disable a backlight device. These helper functions can then be used by different drm and tinydrm drivers to avoid repetition of code and also to enforce a uniform and consistent way to enable/disable a backlight device. Signed-o

[PATCH v18 02/10] drm/tinydrm: Convert tinydrm_enable/disable_backlight to backlight_enable/disable

2018-01-22 Thread Meghana Madhyastha
Remove tinydrm_enable/disable_backlight and let the callers call the more generic backlight_enable/disable helpers Signed-off-by: Meghana Madhyastha --- Reviewed-by: Noralf Trønnes Reviewed-by: Sean Paul drivers/gpu/drm/tinydrm/core/tinydrm-helpers.c | 55 -- drivers/gp

[PATCH v18 03/10] video: backlight: Add of_find_backlight helper in backlight.c

2018-01-22 Thread Meghana Madhyastha
Add of_find_backlight, a helper function which is a generic version of tinydrm_of_find_backlight that can be used by other drivers to avoid repetition of code and simplify things. Signed-off-by: Meghana Madhyastha --- Acked-by: Daniel Thompson Reviewed-by: Noralf Trønnes Reviewed-by: Sean Paul

[PATCH v18 04/10] drm/tinydrm: Replace tinydrm_of_find_backlight with of_find_backlight

2018-01-22 Thread Meghana Madhyastha
Remove tinydrm_of_find_backlight from tinydrm-helpers.c. We now have a generic of_find_backlight defined in backlight.c. Let the callers of tinydrm_of_find_backlight call of_find_backlight. Also, remove select BACKLIGHT_LCD_SUPPORT and select BACKLIGHT_CLASS_DEVICE from tinydrm/Kconfig as it is a h

[PATCH v18 05/10] video: backlight: Add devres versions of of_find_backlight

2018-01-22 Thread Meghana Madhyastha
Add devm_of_find_backlight and the corresponding release function because some drivers use devres versions of functions for acquiring device resources. Signed-off-by: Meghana Madhyastha --- Acked-by: Daniel Thompson Reviewed-by: Noralf Trønnes Reviewed-by: Sean Paul drivers/video/backlight/ba

[PATCH v18 06/10] drm/tinydrm: Call devres version of of_find_backlight

2018-01-22 Thread Meghana Madhyastha
Call devm_of_find_backlight (the devres version) instead of of_find_backlight. Signed-off-by: Meghana Madhyastha --- Reviewed-by: Noralf Trønnes Reviewed-by: Sean Paul drivers/gpu/drm/tinydrm/mi0283qt.c | 2 +- drivers/gpu/drm/tinydrm/st7735r.c | 2 +- 2 files changed, 2 insertions(+), 2 dele

[PATCH v18 08/10] drm/omapdrm: Use backlight_enable/disable helpers

2018-01-22 Thread Meghana Madhyastha
Use backlight_enable/disable helpers instead of changing the property and calling backlight_update_status for cleaner and simpler code and also to avoid repetitions. Signed-off-by: Meghana Madhyastha --- drivers/gpu/drm/omapdrm/displays/panel-dpi.c | 11 ++- 1 file changed, 2 insertions(

[PATCH v18 07/10] drm/panel: Use backlight_enable/disable helpers

2018-01-22 Thread Meghana Madhyastha
Use backlight_enable/disable helpers instead of changing the property and calling backlight_update_status for cleaner and simpler code and also to avoid repetitions. Signed-off-by: Meghana Madhyastha --- drivers/gpu/drm/panel/panel-innolux-p079zca.c | 6 ++ drivers/gpu/drm/panel/panel-jdi

[PATCH v18 09/10] drm/panel: Use of_find_backlight helper

2018-01-22 Thread Meghana Madhyastha
Replace of_find_backlight_by_node and of the code around it with of_find_backlight helper to avoid repetition of code. Signed-off-by: Meghana Madhyastha --- Changes in v18: -Fixed warnings resulting from passing device_node* to of_find_backlight. Fixed it by passing struct device* to of_find_ba

Re: [PATCH] dt-bindings: display: stm32: correct clock-names in dsi panel example

2018-01-22 Thread Rob Herring
On Mon, Jan 22, 2018 at 8:39 AM, Philippe CORNU wrote: > Hi Rob, > > On 01/22/2018 03:30 PM, Rob Herring wrote: >> On Sun, Jan 21, 2018 at 2:58 PM, Philippe Cornu >> wrote: >>> In the dsi panel example, clock names in the "clock-names" >>> field have been swapped: >>> * "pclk" (peripheral clock)

[PATCH v18 10/10] drm/omapdrm: Use of_find_backlight helper

2018-01-22 Thread Meghana Madhyastha
Replace of_find_backlight_by_node and of the code around it with of_find_backlight helper to avoid repetition of code. Signed-off-by: Meghana Madhyastha --- Changes in v18: -Fixed warnings resulting from passing device_node* to of_find_backlight. Fixed it by passing struct device* to of_find_ba

[Bug 103277] [bisected] Systems hangs on resume from S3 sleep due to "Match actual state during S3 resume" commit

2018-01-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=103277 --- Comment #12 from Harry Wentland --- Can you try blacklisting amdgpu and try S3 again? We've seen issues with S3 on 4.15 RCs outside of amdgpu where the system wouldn't come back from S3. It's fixed in more recent RCs (definitely 4.15-rc6 an

[PATCH] drm/bridge/synopsys: dsi: Add 1.31 version support

2018-01-22 Thread Philippe Cornu
From: Philippe CORNU Add support for the Synopsys DesignWare MIPI DSI version 1.31 Two registers need to be updated/added for supporting 1.31: * PHY_TMR_CFG 0x9c (updated) 1.30 [31:24] phy_hs2lp_time [23:16] phy_lp2hs_time [14: 0] max_rd_time 1.31 [25:16] phy_hs2lp_time

[PATCH] dt-bindings: display: stm32: correct clock-names in dsi panel example

2018-01-22 Thread Philippe Cornu
In the dsi panel example, clock names in the "clock-names" field have been swapped: * "pclk" (peripheral clock) is <&rcc 1 CLK_F469_DSI> on stm32f4 * "ref" (dsi phy pll ref clock) is <&clk_hse> on stm32f4 Signed-off-by: Philippe Cornu --- Documentation/devicetree/bindings/display/st,stm32-ltdc.t

[PATCH] dt-bindings: display: stm32: add pixel clock mandatory property

2018-01-22 Thread Philippe Cornu
Add the DPI/RGB input pixel clock in mandatory properties because it really offers a better preciseness for timing computations. Signed-off-by: Philippe Cornu --- Please apply "dt-bindings: display: stm32: correct clock-names in dsi panel example" before this patch. Changes in v3: remove the not

[PATCH libdrm] tests: Add drm_set_cgrp_param

2018-01-22 Thread Matt Roper
drm_set_cgrp_param is a simple tool to set DRM parameters associated with a cgroup. It is intended to be called at system initialization time (e.g., from a sysv-init script or systemd service) to configure graphics policy and resource management according to the wishes of the system integrator. S

[Bug 103443] [CI] igt@ - success - WARN - no modes for connector 76

2018-01-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=103443 Bug 103443 depends on bug 103369, which changed state. Bug 103369 Summary: [CI] igt@kms_* fail - igt-kms-WARNING: connector 76/eDP-1 has no modes https://bugs.freedesktop.org/show_bug.cgi?id=103369 What|Removed

Re: [PATCH RFC 8/9] drm/i915: Allow default context priority to be set via cgroup parameter

2018-01-22 Thread Matt Roper
On Sat, Jan 20, 2018 at 10:40:19AM +, Chris Wilson wrote: > Quoting Chris Wilson (2018-01-20 09:36:10) > > Quoting Matt Roper (2018-01-20 01:51:40) > > > GPU contexts are usually created with "normal" priority as a starting > > > point and > > > then may be adjusted from their either via expli

[PATCH] gpu: ipu-cpmem: add 8-bit grayscale support to ipu_cpmem_set_image

2018-01-22 Thread Philipp Zabel
Add the missing offset calculation for grayscale images. Since the IPU only supports capturing greyscale in raw passthrough mode, it is the same as 8-bit bayer formats. Signed-off-by: Philipp Zabel --- drivers/gpu/ipu-v3/ipu-cpmem.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu

Re: [PATCH RFC 6/9] drm: Add cgroup helper library

2018-01-22 Thread Tejun Heo
Hello, Matt. On Fri, Jan 19, 2018 at 05:51:38PM -0800, Matt Roper wrote: > Most DRM drivers will want to handle the CGROUP_SETPARAM ioctl by looking up a > driver-specific per-cgroup data structure (or allocating a new one) and > storing > the supplied parameter value into the data structure (pos

Re: [PATCH 2/3] dt-bindings: etnaviv: change clocks to be optional

2018-01-22 Thread Rob Herring
On Fri, Jan 19, 2018 at 6:06 AM, Lucas Stach wrote: > While the clocks were documented as required, the driver always treated them > as optional and there are existing Marvell Dove DTs, which would break if > changed to required. Accept reality and document the clocks as optional. The fact that c

Re: [PATCH 2/3] dt-bindings: etnaviv: change clocks to be optional

2018-01-22 Thread Lucas Stach
Am Montag, den 22.01.2018, 10:28 -0600 schrieb Rob Herring: > On Fri, Jan 19, 2018 at 6:06 AM, Lucas Stach > wrote: > > While the clocks were documented as required, the driver always > > treated them > > as optional and there are existing Marvell Dove DTs, which would > > break if > > changed to

[PATCH 06/10] drm/etnaviv: add hardware database

2018-01-22 Thread Lucas Stach
New versions of the Vivante kernel driver don't trust the hardware feature bits anymore, but use an internal hardware database. This also includes more feature fields than are available in hardware. As we can't trust the hardware feature bits to be correct anymore, we need to replicate the HWDB in

[PATCH 03/10] drm/etnaviv: add support for slave interface clock

2018-01-22 Thread Lucas Stach
The slave interface clock is a clock input found on newer cores to gate the register interface. For now we simply ungate it when the GPU is in active state. Signed-off-by: Lucas Stach --- drivers/gpu/drm/etnaviv/etnaviv_gpu.c | 13 + drivers/gpu/drm/etnaviv/etnaviv_gpu.h | 1 + 2 fi

[PATCH 01/10] drm/etnaviv: use correct format specifier for size_t

2018-01-22 Thread Lucas Stach
Signed-off-by: Lucas Stach --- drivers/gpu/drm/etnaviv/etnaviv_mmu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/etnaviv/etnaviv_mmu.c b/drivers/gpu/drm/etnaviv/etnaviv_mmu.c index d113fe06e6b5..49e049713a52 100644 --- a/drivers/gpu/drm/etnaviv/etnaviv

[PATCH 00/10] GC7000L aka i.MX8M support

2018-01-22 Thread Lucas Stach
Hi all, the following series adds the necessary bits to get the GC7000L, as found on the NXP i.MX8M, up and running. It's not enough to run the GL userspace bits yet, as we are still missing reloc support for the texture descriptors, but it gets the basic FE and MMU state setup into place. I've o

[PATCH 02/10] drm/etnaviv: split out and optimize MMU fault dumping

2018-01-22 Thread Lucas Stach
Split out the fault dumping, as this will get more complex in the future. Also there is no need to read and dump the fault address from MMUs that didn't signal a fault. Signed-off-by: Lucas Stach --- drivers/gpu/drm/etnaviv/etnaviv_gpu.c | 31 +-- 1 file changed, 17 i

[PATCH 05/10] drm/etnaviv: add more minor features fields

2018-01-22 Thread Lucas Stach
Newer GPU cores added yet more feature bits. Make room for them and let userspace query them. Signed-off-by: Lucas Stach --- drivers/gpu/drm/etnaviv/etnaviv_gpu.c | 36 +++ drivers/gpu/drm/etnaviv/etnaviv_gpu.h | 16 ++-- include/uapi/drm/etnaviv_drm.h

[PATCH 09/10] drm/etnaviv: add function to load the initial PTA state

2018-01-22 Thread Lucas Stach
On GPUs with the security feature the MTLB config is stored in the PTA. Add a function to trigger the initial PTA load through the FE. Signed-off-by: Lucas Stach --- drivers/gpu/drm/etnaviv/etnaviv_buffer.c | 18 ++ drivers/gpu/drm/etnaviv/etnaviv_drv.h| 1 + 2 files changed

[PATCH 10/10] drm/etnaviv: add PTA handling to MMUv2

2018-01-22 Thread Lucas Stach
The Page Table Array is a new first level structure above the MTLB availabale on GPUs with the security feature. Use the PTa to set up the MMU when the security related states are handled by the kernel driver. Signed-off-by: Lucas Stach --- drivers/gpu/drm/etnaviv/etnaviv_iommu_v2.c | 76 +++

  1   2   >