Re: [PATCH libdrm] xf86drm: fallback to normal path when realpath fails

2018-08-23 Thread Michel Dänzer
On 2018-08-23 2:52 p.m., Emil Velikov wrote: > On Thu, 23 Aug 2018 at 11:38, Michel Dänzer wrote: >> On 2018-08-23 12:04 p.m., Emil Velikov wrote: >>> From: Emil Velikov >>> >>> Earlier commit reworked our sysfs handling to use realpath. >>> Sadly that backfired since the Firefox sandboxing

[RFC PATCH v2 2/3] drm/fourcc: Add remaining fourccs for Mali

2018-08-23 Thread Brian Starkey
As we look to enable AFBC using DRM format modifiers, we run into problems which we've historically handled via vendor-private details (i.e. gralloc, on Android). The AFBC modifiers can be found in [3]. AFBC (as an encoding) is fully flexible, and for example YUV data can be encoded into 1, 2 or

Re: [PATCH] drm/fourcc: Add DOC: overview comment

2018-08-23 Thread Brian Starkey
Hi Matthew, On Thu, Aug 23, 2018 at 07:34:45AM -0700, Matthew Wilcox wrote: On Wed, Aug 22, 2018 at 04:57:33PM +0100, Brian Starkey wrote: On Wed, Aug 22, 2018 at 05:11:55PM +0200, Daniel Vetter wrote: > On Wed, Aug 22, 2018 at 4:59 PM, Eric Engestrom > wrote: > > On Tuesday, 2018-08-21

Re: [PATCH 1/5] drm/msm: suspend devfreq on init

2018-08-23 Thread Jordan Crouse
On Thu, Aug 23, 2018 at 02:48:27PM +0530, Sharat Masetty wrote: > Devfreq turns on and starts recommending power level as soon as it is > initialized. The GPU is still not powered on by the time the devfreq > init happens and this leads to problems on GPU's where register access > is needed to

Re: [PATCH v5 0/8] drm/rockchip: migrate to common dw-mipi-dsi bridge and dual-dsi

2018-08-23 Thread Philippe CORNU
Hi Heiko, On 08/21/2018 04:05 PM, Heiko Stuebner wrote: > The Rockchip DSI driver was separate till now, not using the common > bridge driver that was introduced a bit later. So this series migrates > over to use that common bridge driver and then also adds support for > dual-dsi to both the

Re: [PATCH v3 7/7] drm/bridge: ti-sn65dsi86: Add mystery delay to enable()

2018-08-23 Thread Sean Paul
On Tue, Aug 14, 2018 at 10:01:45AM -0400, Sean Paul wrote: > On Tue, Aug 14, 2018 at 10:00:33AM -0400, Sean Paul wrote: > > On Tue, Aug 14, 2018 at 04:59:31PM +0530, spa...@codeaurora.org wrote: > > > On 2018-08-14 03:00, Sean Paul wrote: > > > > From: Sean Paul > > > > > > > > This patch adds a

Re: [PATCH 3/5] drm/msm/A6x: Add gmu_read64() register read op

2018-08-23 Thread Jordan Crouse
On Thu, Aug 23, 2018 at 02:48:29PM +0530, Sharat Masetty wrote: > Add a simple function to read 64 registers in the GMU domain > > Signed-off-by: Sharat Masetty > --- > drivers/gpu/drm/msm/adreno/a6xx_gmu.h | 13 + > 1 file changed, 13 insertions(+) > > diff --git

Re: [PATCH] drm/pl111: add in missing sentinel to a of_device_id array

2018-08-23 Thread zhong jiang
Hi, Colin I has posted the same patch about a month ago. but it seems to be ignored.:-( https://lore.kernel.org/patchwork/patch/971652/ Thanks, zhong jiang On 2018/8/21 18:54, Colin King wrote: > From: Colin Ian King > > Array vexpress_muxfpga_match is missing an end of array sentinel, > add

Re: [PATCH] gpu: do not double put device node in zx_drm_probe

2018-08-23 Thread zhong jiang
Ping, Anyone has any objections a about the patch? Best wishes, zhong jiang On 2018/8/17 10:24, zhong jiang wrote: > for_each_available_child_of_node will get and put the node properly, > the following of_node_put will lead to the double put. So just > remove it. > > Signed-off-by: zhong jiang

[Bug 107595] amd-staging-drm-next: BUG: unable to handle kernel NULL pointer dereference at 0000000000000018 - R4 Mullins

2018-08-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107595 --- Comment #10 from Michel Dänzer --- Thanks for testing the patches. Looks like there's still an issue with DC. -- You are receiving this mail because: You are the assignee for the bug.___

[Bug 105913] [IGT] igt@gem_shrink@pread Test assertion failure function gem_read, file ioctl_wrappers.c

2018-08-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105913 Lakshmi changed: What|Removed |Added Status|RESOLVED|CLOSED --- Comment #2 from Lakshmi ---

Re: [PATCH v2 4/5] drm: Add support for handling linear tile formats

2018-08-23 Thread Ville Syrjälä
On Wed, Aug 22, 2018 at 09:48:29PM +0200, Daniel Vetter wrote: > On Wed, Aug 22, 2018 at 4:05 PM, Alexandru-Cosmin Gheorghe > wrote: > > On Wed, Aug 22, 2018 at 04:45:34PM +0300, Ville Syrjälä wrote: > >> On Wed, Aug 22, 2018 at 02:36:06PM +0100, Alexandru-Cosmin Gheorghe wrote: > >> > On Wed,

[RFC PATCH v2 1/3] drm/fourcc: Add 'bpp' field for formats with non-integer bytes-per-pixel

2018-08-23 Thread Brian Starkey
Some formats have a non-integer number of bytes per pixel, which can't be handled with the existing 'cpp' field in drm_format_info. To handle these formats, add a 'bpp' field, which is only used if cpp[0] == 0. This updates all the users of format->cpp in the core DRM code, converting them to use

[RFC PATCH v2 3/3] drm/afbc: Add AFBC modifier usage documentation

2018-08-23 Thread Brian Starkey
AFBC is a flexible, proprietary, lossless compression protocol and format, with a number of defined DRM format modifiers. To facilitate consistency and compatibility between different AFBC producers and consumers, document the expectations for usage of the AFBC DRM format modifiers in a new .rst

[RFC PATCH v2 0/3] Groundwork for AFBC YUV formats

2018-08-23 Thread Brian Starkey
Hi, This is the second round of RFC for adding a bunch of new YUV formats for Mali/AFBC. I've included a proper AFBC documentation file too, for posterity. Some of the new formats don't have an integer number of bytes-per-pixel, so I've added a bpp field to drm_format_info (patch 1), keen to

Re: [PATCH 0/5] msm/drm: A6x DCVS series

2018-08-23 Thread Jordan Crouse
On Thu, Aug 23, 2018 at 02:48:26PM +0530, Sharat Masetty wrote: > This patch series starts off with a few bug fixes in devfreq code, followed by > refactoring the devfreq code needed for supporting different chipsets, and > ends with adding devfreq support for A6x. Just an aside, I'm a sucker for

Re: [PATCH v2] drm/malidp: Fix writeback in NV12

2018-08-23 Thread Liviu Dudau
On Wed, Aug 22, 2018 at 04:18:19PM +0100, Alexandru Gheorghe wrote: > When we want to writeback to memory in NV12 format we need to program > the RGB2YUV coefficients. Currently, we don't program the coefficients > and NV12 doesn't work at all. > > This patchset fixes that by programming a sane

Re: [PATCH] drm: Fix crtc color management when doing suspend/resume

2018-08-23 Thread Brian Starkey
Hi Alex, On Thu, Aug 23, 2018 at 04:11:17PM +0100, Alexandru Gheorghe wrote: When doing suspend/resume drivers usually use the drm_atomic_helper_suspend/drm_atomic_helper_resume pair for saving the state and then re-comitting it. The problems is that drm_crtc_state has a bool field called

Re: [PATCH 4/5] drm/msm: re-factor devfreq code

2018-08-23 Thread Jordan Crouse
On Thu, Aug 23, 2018 at 02:48:30PM +0530, Sharat Masetty wrote: > devfreq framework requires the drivers to provide busy time estimations. It would help if you added an article to this sentence, i.e: "The devfreq framework..." > The GPU driver relies on the hardware performance counteres for

[PATCH libdrm v2] xf86drm: fallback to normal path when realpath fails

2018-08-23 Thread Emil Velikov
From: Emil Velikov Earlier commit reworked our sysfs handling to use realpath. Sadly that backfired since the Firefox sandboxing mechanism rejects that. Despite the files/folders being in the allowed list, of the sandboxing mechanism. Oddly enough, the Chromium sandboxing doesn't complain about

Re: [PATCH v5 1/2] drm: Add per-plane pixel blend mode property

2018-08-23 Thread Sean Paul
On Thu, Aug 23, 2018 at 04:30:19PM +0800, Lowry Li wrote: > Pixel blend modes represent the alpha blending equation > selection, describing how the pixels from the current > plane are composited with the background. > > Adds a pixel_blend_mode to drm_plane_state and a > blend_mode_property to

[PATCH] drm: Fix crtc color management when doing suspend/resume

2018-08-23 Thread Alexandru Gheorghe
When doing suspend/resume drivers usually use the drm_atomic_helper_suspend/drm_atomic_helper_resume pair for saving the state and then re-comitting it. The problems is that drm_crtc_state has a bool field called color_mgmt_changed, which mali-dp and other drivers uses it to detect if

Re: [PATCH 2/5] drm/msm: unregister devfreq upon clean up

2018-08-23 Thread Jordan Crouse
On Thu, Aug 23, 2018 at 02:48:28PM +0530, Sharat Masetty wrote: > Call the devfreq_remove_device() API to remove the GPU devfreq instance > during GPU driver cleanup. > > Signed-off-by: Sharat Masetty > --- > drivers/gpu/drm/msm/msm_gpu.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff

Re: [PATCH libdrm v2] xf86drm: fallback to normal path when realpath fails

2018-08-23 Thread Eric Engestrom
On Thursday, 2018-08-23 14:37:28 +0100, Emil Velikov wrote: > From: Emil Velikov > > Earlier commit reworked our sysfs handling to use realpath. > Sadly that backfired since the Firefox sandboxing mechanism rejects > that. Despite the files/folders being in the allowed list, of the > sandboxing

Re: [PATCH 5/5] drm/msm/A6x: Add devfreq support in A6x

2018-08-23 Thread Jordan Crouse
On Thu, Aug 23, 2018 at 02:48:31PM +0530, Sharat Masetty wrote: > Implement routines to estimate GPU busy time and fetching the > current frequency for the polling interval. This is required by > the devfreq framework which recommends a frequency change if needed. > The driver code then tries to

Re: [PATCH 1/5] drm/nouveau: Check backlight IDs are >= 0, not > 0

2018-08-23 Thread Lyude Paul
On Thu, 2018-08-23 at 14:00 +0200, Karol Herbst wrote: > Patches 1-5 are Reviewed-by: Karol Herbst > > I think it might be worth to test those patches on a system without > any backlight devices just to verify we don't break things, but the > code looked good already, so maybe we don't really

Re: [PATCH v2 4/5] drm: Add support for handling linear tile formats

2018-08-23 Thread Alexandru-Cosmin Gheorghe
On Wed, Aug 22, 2018 at 10:18:51PM +0200, Daniel Vetter wrote: > On Tue, Aug 21, 2018 at 07:30:03PM +0100, Alexandru Gheorghe wrote: > > The previous patch added tile_w and tile_h, which represent the > > horizontal and vertical sizes of a tile. > > > > This one uses that to plumb through drm

Re: [Intel-gfx] [PATCH v5 4/8] drm/cma-helper: Use the generic fbdev emulation

2018-08-23 Thread John Stultz
On Thu, Aug 23, 2018 at 10:24 AM, Ville Syrjälä wrote: > On Wed, Aug 22, 2018 at 09:14:08PM -0700, John Stultz wrote: >> On Mon, Aug 20, 2018 at 11:44 PM, John Stultz wrote: >> > Hey Noralf, all, >> > I've been digging for a bit on the regression that this patch has >> > tripped on the HiKey

[PATCH] etnaviv: setup missing dma_mask

2018-08-23 Thread Eugeniy Paltsev
As for today etnaviv device doesn't setup dma_mask. The etnaviv device is a virtual device not represented in DT so missing dma_mask isn't setup by generic plaform code (by of_dma_configure function). Missing dma_mask causes fails in some dma cache ops functions. For example it causes fails on

Re: [PATCH v2 4/5] drm: Add support for handling linear tile formats

2018-08-23 Thread Alexandru-Cosmin Gheorghe
On Thu, Aug 23, 2018 at 08:25:46PM +0300, Ville Syrjälä wrote: > On Thu, Aug 23, 2018 at 06:19:31PM +0100, Alexandru-Cosmin Gheorghe wrote: > > On Thu, Aug 23, 2018 at 05:30:36PM +0300, Ville Syrjälä wrote: > > > On Wed, Aug 22, 2018 at 09:48:29PM +0200, Daniel Vetter wrote: > > > > On Wed, Aug

Re: Possible use_mm() mis-uses

2018-08-23 Thread Linus Torvalds
On Wed, Aug 22, 2018 at 11:16 PM Zhenyu Wang wrote: > > yeah, that's the clear way to fix this imo. We only depend on guest > life cycle to access guest memory properly. Here's proposed fix, will > verify and integrate it later. Thanks, this looks sane to me, Linus

Re: [PATCH v5 4/8] drm/cma-helper: Use the generic fbdev emulation

2018-08-23 Thread Noralf Trønnes
Den 23.08.2018 09.37, skrev Daniel Vetter: On Wed, Aug 22, 2018 at 11:21:11PM -0700, John Stultz wrote: On Wed, Aug 22, 2018 at 10:51 PM, Daniel Vetter wrote: On Thu, Aug 23, 2018 at 6:14 AM, John Stultz wrote: On Mon, Aug 20, 2018 at 11:44 PM, John Stultz wrote: Hey Noralf, all, I've

Re: [Intel-gfx] [PATCH v5 4/8] drm/cma-helper: Use the generic fbdev emulation

2018-08-23 Thread Ville Syrjälä
On Wed, Aug 22, 2018 at 09:14:08PM -0700, John Stultz wrote: > On Mon, Aug 20, 2018 at 11:44 PM, John Stultz wrote: > > Hey Noralf, all, > > I've been digging for a bit on the regression that this patch has > > tripped on the HiKey board as reported here: > > https://lkml.org/lkml/2018/8/16/81

Re: [PATCH v2 4/5] drm: Add support for handling linear tile formats

2018-08-23 Thread Alexandru-Cosmin Gheorghe
On Thu, Aug 23, 2018 at 05:30:36PM +0300, Ville Syrjälä wrote: > On Wed, Aug 22, 2018 at 09:48:29PM +0200, Daniel Vetter wrote: > > On Wed, Aug 22, 2018 at 4:05 PM, Alexandru-Cosmin Gheorghe > > wrote: > > > On Wed, Aug 22, 2018 at 04:45:34PM +0300, Ville Syrjälä wrote: > > >> On Wed, Aug 22,

Visibility of issues fd.o admins are faced with (Was: Re: RFC: Migration to Gitlab)

2018-08-23 Thread Emil Velikov
[Changing subject/recipients, to avoid hijacking the thread] Hi Dan, On Wed, 22 Aug 2018 at 17:29, Daniel Stone wrote: > > Hi, > > On Wed, 22 Aug 2018 at 16:02, Emil Velikov wrote: > > On 22 August 2018 at 12:44, Daniel Vetter wrote: > > > I think it's time to brainstorm a bit about the

Re: [PATCH 0/2] Add R-Car V3H (R8A77980) support to the R-Car LVDS driver

2018-08-23 Thread Sergei Shtylyov
On 06/05/2018 11:25 PM, Sergei Shtylyov wrote: > Here's the set of 2 patches against the 'drm-next' branch of the 'drm.git' > repo. > The purpose of these patches is to add the R-Car V3H (R8A77980) support to the > R-Car LVDS driver. > > [1/2] dt-bindings: display: renesas: lvds: document

Re: [PATCH v2 4/5] drm: Add support for handling linear tile formats

2018-08-23 Thread Ville Syrjälä
On Thu, Aug 23, 2018 at 06:19:31PM +0100, Alexandru-Cosmin Gheorghe wrote: > On Thu, Aug 23, 2018 at 05:30:36PM +0300, Ville Syrjälä wrote: > > On Wed, Aug 22, 2018 at 09:48:29PM +0200, Daniel Vetter wrote: > > > On Wed, Aug 22, 2018 at 4:05 PM, Alexandru-Cosmin Gheorghe > > > wrote: > > > > On

Re: [PATCH v5 4/8] drm/cma-helper: Use the generic fbdev emulation

2018-08-23 Thread John Stultz
On Thu, Aug 23, 2018 at 12:46 AM, Laurent Pinchart wrote: > Hi John, > > On Thursday, 23 August 2018 07:14:08 EEST John Stultz wrote: >> On Mon, Aug 20, 2018 at 11:44 PM, John Stultz wrote: >> > Hey Noralf, all, >> > >> > I've been digging for a bit on the regression that this patch has >> > >>

Re: [PATCH (repost) 5/5] drm/amdgpu: add DisplayPort CEC-Tunneling-over-AUX support

2018-08-23 Thread Harry Wentland
On 2018-08-17 10:11 AM, Hans Verkuil wrote: > From: Hans Verkuil > > Add DisplayPort CEC-Tunneling-over-AUX support to amdgpu. > > Signed-off-by: Hans Verkuil > Acked-by: Alex Deucher > --- > drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 13 +++-- >

[Bug 107572] Unrecoverable GPU hang with IP block:gfx_v8_0 is hung

2018-08-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107572 --- Comment #17 from madc...@atlas.cz --- I just ran a few tests with git/svn versions of LLVM 8.0 and mesa 18.3 and the problem is still there. I attached a dmesg log of the crash in Unigine Superposition. Just FTR the crash with LLVM 8.0/mesa

[Bug 107572] Unrecoverable GPU hang with IP block:gfx_v8_0 is hung

2018-08-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107572 --- Comment #18 from madc...@atlas.cz --- Created attachment 141261 --> https://bugs.freedesktop.org/attachment.cgi?id=141261=edit dmesg log of the crash in Unigine Superposition -- You are receiving this mail because: You are the assignee

Re: [PATCH v5 4/8] drm/cma-helper: Use the generic fbdev emulation

2018-08-23 Thread Daniel Vetter
On Thu, Aug 23, 2018 at 6:49 PM, Noralf Trønnes wrote: > > Den 23.08.2018 09.37, skrev Daniel Vetter: >> >> On Wed, Aug 22, 2018 at 11:21:11PM -0700, John Stultz wrote: >>> >>> On Wed, Aug 22, 2018 at 10:51 PM, Daniel Vetter wrote: On Thu, Aug 23, 2018 at 6:14 AM, John Stultz

[PATCH V2] drm/vkms: Add support for vkms work without vblank

2018-08-23 Thread Rodrigo Siqueira
Currently, vkms needs VBlank to work well. This patch adds another operation model that make vkms works without VBlank support. In this scenario, vblank signaling is faked by calling drm_send_vblank_event() in vkms_crtc_atomic_flush(); this approach works due to the drm_vblank_get() == 0

Re: [PATCH v5 4/8] drm/cma-helper: Use the generic fbdev emulation

2018-08-23 Thread John Stultz
On Thu, Aug 23, 2018 at 1:09 AM, Daniel Vetter wrote: > On Thu, Aug 23, 2018 at 10:46:15AM +0300, Laurent Pinchart wrote: >> Hi John, >> >> On Thursday, 23 August 2018 07:14:08 EEST John Stultz wrote: >> > On Mon, Aug 20, 2018 at 11:44 PM, John Stultz wrote: >> > > Hey Noralf, all, >> > > >> > >

[Bug 105733] Amdgpu randomly hangs and only ssh works. Mouse cursor moves sometimes but does nothing. Keyboard stops working.

2018-08-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105733 --- Comment #29 from Andrey Grodzovsky --- (In reply to Jan Jurzitza from comment #28) > (In reply to Andrey Grodzovsky from comment #25) > > Still same issue happening here on both projects built from git. One issue > here which doesn't seem

[Bug 105733] Amdgpu randomly hangs and only ssh works. Mouse cursor moves sometimes but does nothing. Keyboard stops working.

2018-08-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105733 --- Comment #28 from Jan Jurzitza --- (In reply to Andrey Grodzovsky from comment #25) Still same issue happening here on both projects built from git. One issue here which doesn't seem completely related: Aug 23 20:41:20 archlinux kernel:

[Bug 104284] [IGT] some gem_exec_fence Failed assertion: __gem_execbuf(fd, execbuf) == 0

2018-08-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104284 Lakshmi changed: What|Removed |Added Status|RESOLVED|CLOSED --- Comment #18 from Lakshmi --- No

Re: [PATCH v2 07/23] drm/dsc: Define Display Stream Compression PPS infoframe

2018-08-23 Thread Harry Wentland
On 2018-07-31 05:07 PM, Manasi Navare wrote: > This patch defines a new header file for all the DSC 1.2 structures > and creates a structure for PPS infoframe which will be used to send > picture parameter set secondary data packet for display stream compression. > All the PPS infoframe syntax

Re: [PATCH v2 10/23] drm/dsc: Add helpers for DSC picture parameter set infoframes

2018-08-23 Thread Harry Wentland
On 2018-07-31 05:07 PM, Manasi Navare wrote: > According to Display Stream compression spec 1.2, the picture > parameter set metadata is sent from source to sink device > using the DP Secondary data packet. An infoframe is formed > for the PPS SDP header and PPS SDP payload bytes. > This patch

Re: [PATCH v2 07/23] drm/dsc: Define Display Stream Compression PPS infoframe

2018-08-23 Thread Manasi Navare
On Fri, Aug 17, 2018 at 12:31:51PM -0700, Srivatsa, Anusha wrote: > This patch needs to now incorporate the newly added slice_row_per_frame > parameter in PPS_16. Nope, the slice_row_per_frame and slice_per_line are only required to configure PPS on the source side. They are not DSC spec

[PULL] drm-misc-next-fixes for -rc1 part 2

2018-08-23 Thread Sean Paul
Hi Dave, One more patch snuck in between my PR and today. drm-misc-next-fixes-2018-08-23-1: - Add quirk to Lenovo B50-80 to use 6 bpc instead of 8 (Feng) Cc: Kai-Heng Feng Cheers, Sean The following changes since commit 4acd8d01a2393f2145ad1db10b2d5c764582a98d: MAINTAINERS: drm-misc:

Re: [PATCH v2 08/23] drm/dsc: Define VESA Display Stream Compression Capabilities

2018-08-23 Thread Harry Wentland
On 2018-07-31 05:07 PM, Manasi Navare wrote: > From: Gaurav K Singh > > This defines all the DSC parameters as per the VESA DSC spec > that will be required for DSC encoder/decoder > > v4 (From Manasi) > * Add the DSC_MUX_WORD_SIZE constants (Manasi) > > v3 (From Manasi) > * Remove the

Re: [PATCH v2 07/23] drm/dsc: Define Display Stream Compression PPS infoframe

2018-08-23 Thread Manasi Navare
Thanks for the review. And yes it just removes the bitfields in PPS since the packing of the bitfields and memory allocations are heavily dependent on HW. So we cant have them in DRM level. I will make sure to add this in version history and also add Suggested-by: jani.nik...@linux.intel.com

[Bug 107666] st_sampler_view.c:546 assert

2018-08-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107666 Bug ID: 107666 Summary: st_sampler_view.c:546 assert Product: Mesa Version: 18.2 Hardware: Other OS: All Status: NEW Severity: normal

Re: [PATCH v5 4/8] drm/cma-helper: Use the generic fbdev emulation

2018-08-23 Thread Laurent Pinchart
Hi John, On Thursday, 23 August 2018 20:48:40 EEST John Stultz wrote: > On Thu, Aug 23, 2018 at 1:09 AM, Daniel Vetter wrote: > > On Thu, Aug 23, 2018 at 10:46:15AM +0300, Laurent Pinchart wrote: > >> On Thursday, 23 August 2018 07:14:08 EEST John Stultz wrote: > >>> On Mon, Aug 20, 2018 at

Re: [PATCH v5 4/8] drm/cma-helper: Use the generic fbdev emulation

2018-08-23 Thread John Stultz
On Thu, Aug 23, 2018 at 1:49 PM, Laurent Pinchart wrote: > On Thursday, 23 August 2018 20:48:40 EEST John Stultz wrote: >> On Thu, Aug 23, 2018 at 1:09 AM, Daniel Vetter wrote: >> > On Thu, Aug 23, 2018 at 10:46:15AM +0300, Laurent Pinchart wrote: >> >> Possibly slightly out of topic, but we're

Re: [ANNOUNCE] libdrm 2.4.94

2018-08-23 Thread Laurent Carlier
Le vendredi 24 août 2018, 00:37:51 CEST Kristian H. Kristensen a écrit : > https://dri.freedesktop.org/libdrm/libdrm-2.4.94.tar.bz2 -> Forbidden You don't have permission to access /libdrm/libdrm-2.4.94.tar.bz2 on this server. > PGP:

[Bug 107377] [CI][DRMTIP] igt@gem_gpgpu_fill - fail - Test assertion failure function gen7_render_flush, Failed assertion: ret == 0, Last errno: 5, Input/output error

2018-08-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107377 Lakshmi changed: What|Removed |Added Status|RESOLVED|CLOSED --- Comment #2 from Lakshmi ---

[no subject]

2018-08-23 Thread Dave Airlie
Hi Linus, Just a couple of fixes PRs for rc1, One MAINTAINERS address change, two panels fixes, and set of amdgpu fixes (build fixes, display fixes and some others). Thanks Dave. drm-next-2018-08-24: amdgpu and panel/misc fixes. The following changes since commit

Re: [PATCH] mach64: detect the dot clock divider correctly on sparc

2018-08-23 Thread Mikulas Patocka
On Sun, 19 Aug 2018, Ville Syrjälä wrote: > On Fri, Aug 17, 2018 at 03:19:37PM -0400, Mikulas Patocka wrote: > > On Sun Ultra 5, it happens that the dot clock is not set up properly for > > some videomodes. For example, if we set the videomode "r1024x768x60" in > > the firmware, Linux would

[Bug 105046] Screen resolution reset to 1368x768 when turning monitor off

2018-08-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105046 --- Comment #17 from Michael Zapf --- Just installed openSUSE with kernel 4.18; the issue seems to be fixed! Let me check with my office PC (in about a week) before declaring it resolved. -- You are receiving this mail because: You are the

[PATCH] drm/nouveau: Fix nouveau_connector_ddc_detect()

2018-08-23 Thread Lyude Paul
It looks like that when we moved over to using drm_connector_for_each_possible_encoder() in nouveau, that one rather important part of this function got dropped by accident: /* Right v here */ for (i = 0; nv_encoder = NULL, i < DRM_CONNECTOR_MAX_ENCODER; i++) {

[Bug 107545] radeon - ring 0 stalled - GPU lockup - SI

2018-08-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107545 --- Comment #7 from Christopher --- Hello, I am getting similar issues with regards to fence wait timeouts. However I have narrowed it further to it ONLY happening when gnome is running on xorg. I have over the past month or so rebuilt my

[Bug 107545] radeon - ring 0 stalled - GPU lockup - SI

2018-08-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107545 --- Comment #6 from Christopher --- Created attachment 141263 --> https://bugs.freedesktop.org/attachment.cgi?id=141263=edit dmsg output running on wayland -- You are receiving this mail because: You are the assignee for the

[Bug 107668] Blank screen since Kernel 4.17 (AMDGPU.DC) on Amd Radeon RX460 and RX380 on HDMI Ultrawidescreen Monitor

2018-08-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107668 Bug ID: 107668 Summary: Blank screen since Kernel 4.17 (AMDGPU.DC) on Amd Radeon RX460 and RX380 on HDMI Ultrawidescreen Monitor Product: DRI Version: XOrg git Hardware:

[Bug 107627] Freedesktop runtime version 18.08 Mesa cached shaders result in crashes

2018-08-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107627 Timothy Arceri changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[ANNOUNCE] libdrm 2.4.94

2018-08-23 Thread Kristian H. Kristensen
Benjamin Gaignard (2): tests/modetest: Add atomic support tests/util: Add support for stm module Christian König (7): amdgpu: stop using the hash table for fd_tab amdgpu: add handle table implementation v2 amdgpu: use handle table for KMS handles amdgpu: use

Re: [PATCH 1/1] drm/ttm: Set memory as decrypted for ttm framebuffer mappings

2018-08-23 Thread Jiandi An
On 08/23/2018 01:47 AM, Christian König wrote: Am 22.08.2018 um 22:57 schrieb Jiandi An: On 08/22/2018 02:09 PM, Christian König wrote: Am 22.08.2018 um 20:57 schrieb Jiandi An: Framebuffer memory needs to be accessed decrypted.  Ensure the memory encryption mask is not set for the ttm

[Bug 107545] radeon - ring 0 stalled - GPU lockup - SI

2018-08-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107545 --- Comment #8 from Christopher --- Created attachment 141264 --> https://bugs.freedesktop.org/attachment.cgi?id=141264=edit dmsg output running on xorg -- You are receiving this mail because: You are the assignee for the

[Bug 107668] Blank screen since Kernel 4.17 (AMDGPU.DC) on Amd Radeon RX460 and RX380 on HDMI Ultrawidescreen Monitor

2018-08-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107668 --- Comment #1 from Naheem Zaffar --- Created attachment 141266 --> https://bugs.freedesktop.org/attachment.cgi?id=141266=edit Dmesg output with amdgpu.dc=0 Taken when booting with Vanilla Mainline kernel

Re: [PATCH v5 4/8] drm/cma-helper: Use the generic fbdev emulation

2018-08-23 Thread John Stultz
On Wed, Aug 22, 2018 at 10:51 PM, Daniel Vetter wrote: > On Thu, Aug 23, 2018 at 6:14 AM, John Stultz wrote: >> On Mon, Aug 20, 2018 at 11:44 PM, John Stultz wrote: >>> Hey Noralf, all, >>> I've been digging for a bit on the regression that this patch has >>> tripped on the HiKey board as

Re: [PATCH v4 1/2] drm: Add per-plane pixel blend mode property

2018-08-23 Thread Lowry Li
On Wed, Aug 22, 2018 at 03:27:44PM +0200, Maarten Lankhorst wrote: > Op 15-08-18 om 08:35 schreef Lowry Li: > > Pixel blend modes represent the alpha blending equation > > selection, describing how the pixels from the current > > plane are composited with the background. > > > > Adds a

Re: [PATCH 1/1] drm/ttm: Set memory as decrypted for ttm framebuffer mappings

2018-08-23 Thread kbuild test robot
/commits/Jiandi-An/drm-ttm-Set-memory-as-decrypted-for-ttm-framebuffer-mappings/20180823-113546 config: arm64-defconfig (attached as .config) compiler: aarch64-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin

[PATCH 0/3] drm: rcar-du: A few cosmetic changes

2018-08-23 Thread Jacopo Mondi
Hi Laurent, there are a few things currently in-flight for DU on my side: - non-DPLL channel clock source selction - ESCR/OTAR handling for non-DPLL channel Before taking those two functional changes series into account, could you include these three cosmetic changes in your tree? Patches

[PATCH 3/3] drm: rcar-du: Write OTAR register per channel

2018-08-23 Thread Jacopo Mondi
The OTAR registers offset definition is confusing, as each channel is equipped with an OTAR register instance, but the names suggest only OTAR and OTAR2 are taken into account. Rename the offsets to a name that includes the channels they apply to, and write them to each channel with

[PATCH 1/3] drm: rcar-du: Rename and document dpll_ch field

2018-08-23 Thread Jacopo Mondi
Document and re-name the 'dpll_ch' field to a more precise 'dpll_mask' for consistency with the 'channels_mask' field defined in 'struct rcar_du_device_info'. Signed-off-by: Jacopo Mondi --- drivers/gpu/drm/rcar-du/rcar_du_crtc.c | 2 +- drivers/gpu/drm/rcar-du/rcar_du_drv.c | 6 +++---

Re: [PATCH 0/2] drm: convert to SPDX identifiers for Renesas

2018-08-23 Thread Kuninori Morimoto
Hi Laurent > > These are not yet appear on Linus tree. > > I will re-post it. > > Thank you, but there was no need to, they're stored safely in my tree :-) > I'll > send a pull request for v4.20. Thanks. Nice to know. Best regards --- Kuninori Morimoto

[PATCH] drm/edid: Add 6 bpc quirk for SDC panel in Lenovo B50-80

2018-08-23 Thread Kai-Heng Feng
Another panel that reports "DFP 1.x compliant TMDS" but it supports 6bpc instead of 8 bpc. Apply 6 bpc quirk for the panel to fix it. BugLink: https://bugs.launchpad.net/bugs/1788308 Cc: # v4.8+ Signed-off-by: Kai-Heng Feng --- drivers/gpu/drm/drm_edid.c | 3 +++ 1 file changed, 3

atmel-hlcdc select pixel-clock outside of given range

2018-08-23 Thread Peter Rosin
Hi! I just discovered that the atmel-hlcdc driver picks a pixel-clock way outside the given range when used with a panel with these timings from the device tree. panel-timing { // 1024x768 @ 60Hz (typical) clock-frequency = <5335 6500 8000>;

Re: [PROTO][PATCH 05/10] drm/bridge: adv7511: Add max-clock, min-vrefresh options

2018-08-23 Thread Ulrich Hecht
> On August 21, 2018 at 10:09 AM Laurent Pinchart > wrote: > > > Hi Ulrich, > > On Tuesday, 21 August 2018 11:03:45 EEST Ulrich Hecht wrote: > > On August 20, 2018 at 11:28 AM Laurent Pinchart wrote: > > > On Tuesday, 14 August 2018 16:49:59 EEST Ulrich Hecht wrote: > > >> From: Koji

Re: [PATCH 1/2] drm: rcar-du: convert to SPDX identifiers

2018-08-23 Thread Simon Horman
On Wed, Aug 22, 2018 at 01:57:19AM +, Kuninori Morimoto wrote: > > From: Kuninori Morimoto > > This patch updates license to use SPDX-License-Identifier > instead of verbose license text. > > Kconfig doesn't have license line, thus, it is GPL-2.0 as default. > > Signed-off-by: Kuninori

Re: [PATCH 1/2] drm: rcar-du: Refactor Feature and Quirk definitions

2018-08-23 Thread Simon Horman
On Mon, Aug 20, 2018 at 05:00:43PM +0100, Kieran Bingham wrote: > These flags are represented by bit fields. To make this clear, utilise > the BIT() macro. > > Signed-off-by: Kieran Bingham > > --- > This patch fails checkpatch's 80-char limit, due to the line comments > extending across the

[PATCH] dt-bindings: Fix typo in compatible description.

2018-08-23 Thread Jan Tuerk
This fixes the error in the compatible documentation for the EDT etm0700[g].. panels which have accidentally documented as etm0700[8]0.. Signed-off-by: Jan Tuerk --- .../devicetree/bindings/display/panel/edt,et-series.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff

Re: [PATCH] drm: omapdrm: displays: fix port_num for opa362 output

2018-08-23 Thread H. Nikolaus Schaller
Hi Laurent, > Am 19.08.2018 um 16:07 schrieb Laurent Pinchart > : > > Hi Nikolaus, > > Thank you for the patch. > > On Friday, 27 July 2018 17:24:32 EEST H. Nikolaus Schaller wrote: >> The opa362 amplifier has two ports, an input (usually connected >> to the OMAP3 VENC) and an output port

Re: [PATCH] MAINTAINERS: Update tree location for the Renesas DRM drivers

2018-08-23 Thread Simon Horman
On Mon, Aug 20, 2018 at 01:14:13AM +0300, Laurent Pinchart wrote: > The fbdev git tree referenced in the MAINTAINERS file doesn't exist > anymore. Update the location to point to the new git tree. > > Signed-off-by: Laurent Pinchart Reviewed-by: Simon Horman

[PATCH 2/3] drm: rcar-du: Write ESCR register per channel

2018-08-23 Thread Jacopo Mondi
The ESCR registers offset definition is confusing, as each channel is equipped with an ESCR register instance, but the names suggest only ESCR and ESCR2 are taken into account. Rename the offsets to a name that includes the channels they apply to, and write them to each channel with

Re: [PATCH 2/2] drm: shmobile: convert to SPDX identifiers

2018-08-23 Thread Simon Horman
On Wed, Aug 22, 2018 at 01:57:34AM +, Kuninori Morimoto wrote: > > From: Kuninori Morimoto > > This patch updates license to use SPDX-License-Identifier > instead of verbose license text. > > Signed-off-by: Kuninori Morimoto > Acked-by: Laurent Pinchart Reviewed-by: Simon Horman

Re: [PATCH v5 4/8] drm/cma-helper: Use the generic fbdev emulation

2018-08-23 Thread Daniel Vetter
On Wed, Aug 22, 2018 at 11:21:11PM -0700, John Stultz wrote: > On Wed, Aug 22, 2018 at 10:51 PM, Daniel Vetter wrote: > > On Thu, Aug 23, 2018 at 6:14 AM, John Stultz wrote: > >> On Mon, Aug 20, 2018 at 11:44 PM, John Stultz > >> wrote: > >>> Hey Noralf, all, > >>> I've been digging for a

Re: [PATCH v5 4/8] drm/cma-helper: Use the generic fbdev emulation

2018-08-23 Thread Laurent Pinchart
Hi John, On Thursday, 23 August 2018 07:14:08 EEST John Stultz wrote: > On Mon, Aug 20, 2018 at 11:44 PM, John Stultz wrote: > > Hey Noralf, all, > > > > I've been digging for a bit on the regression that this patch has > > > > tripped on the HiKey board as reported here: > >

Re: [PATCH] drm/edid: Add 6 bpc quirk for SDC panel in Lenovo B50-80

2018-08-23 Thread Daniel Vetter
On Thu, Aug 23, 2018 at 05:53:32AM +, Kai-Heng Feng wrote: > Another panel that reports "DFP 1.x compliant TMDS" but it supports 6bpc > instead of 8 bpc. > > Apply 6 bpc quirk for the panel to fix it. > > BugLink: https://bugs.launchpad.net/bugs/1788308 > Cc: # v4.8+ > Signed-off-by:

[PATCH 1/5] drm: fix syncobj null_fence_enable_signaling

2018-08-23 Thread Chunming Zhou
That is certainly totally nonsense. dma_fence_enable_sw_signaling() is the function who is calling this callback. Signed-off-by: Chunming Zhou Cc: Jason Ekstrand --- drivers/gpu/drm/drm_syncobj.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/drm_syncobj.c

Re: [RFC PATCH 0/7] add at91sam9 LCDC DRM driver

2018-08-23 Thread Daniel Vetter
On Wed, Aug 22, 2018 at 10:12 PM, Sam Ravnborg wrote: > Hi Daniel. > >> > > Based on the above, would it be possible to utilise some >> > > of these features without any dedicated userspace (mesa) support? >> > > Any other driver that has something similar that can be used >> > > for inspiration?

Re: [PATCH] drm/i915: Add plane alpha blending support, v2.

2018-08-23 Thread Maarten Lankhorst
Op 23-08-18 om 00:57 schreef Matt Roper: > On Wed, Aug 15, 2018 at 12:34:05PM +0200, Maarten Lankhorst wrote: >> Add plane alpha blending support with the different blend modes. >> This has been tested on a icl to show the correct results, >> on earlier platforms small rounding errors cause

Re: [PATCH 1/1] drm/ttm: Set memory as decrypted for ttm framebuffer mappings

2018-08-23 Thread Christian König
Am 22.08.2018 um 22:57 schrieb Jiandi An: On 08/22/2018 02:09 PM, Christian König wrote: Am 22.08.2018 um 20:57 schrieb Jiandi An: Framebuffer memory needs to be accessed decrypted.  Ensure the memory encryption mask is not set for the ttm framebuffer mappings. NAK, the memory not only needs

Re: [PATCH v4 1/2] drm: Add per-plane pixel blend mode property

2018-08-23 Thread Lowry Li
On Wed, Aug 22, 2018 at 08:39:49AM -0400, Sean Paul wrote: > On Wed, Aug 15, 2018 at 02:35:32PM +0800, Lowry Li wrote: > > Pixel blend modes represent the alpha blending equation > > selection, describing how the pixels from the current > > plane are composited with the background. > > > > Adds a

Re: Possible use_mm() mis-uses

2018-08-23 Thread Zhenyu Wang
On 2018.08.22 20:20:46 +0200, Paolo Bonzini wrote: > On 22/08/2018 18:44, Linus Torvalds wrote: > > An example of something that *isn't* right, is the i915 kvm interface, > > which does > > > > use_mm(kvm->mm); > > > > on an mm that was initialized in virt/kvm/kvm_main.c using > > > >

Re: [PATCH 1/1] drm/ttm: Set memory as decrypted for ttm framebuffer mappings

2018-08-23 Thread kbuild test robot
/commits/Jiandi-An/drm-ttm-Set-memory-as-decrypted-for-ttm-framebuffer-mappings/20180823-113546 config: arm-allmodconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O

Re: [PATCH v5 4/8] drm/cma-helper: Use the generic fbdev emulation

2018-08-23 Thread Daniel Vetter
On Thu, Aug 23, 2018 at 10:46:15AM +0300, Laurent Pinchart wrote: > Hi John, > > On Thursday, 23 August 2018 07:14:08 EEST John Stultz wrote: > > On Mon, Aug 20, 2018 at 11:44 PM, John Stultz wrote: > > > Hey Noralf, all, > > > > > > I've been digging for a bit on the regression that this

[Bug 107560] radeon (amdgpu) GDM flip queue failed invalid argument, DisplayPort issues

2018-08-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107560 --- Comment #7 from Michel Dänzer --- (In reply to Jorge Blasio from comment #6) > I've an almost identical issue, however I'm using HDMI and I can get back to > the graphical session by switching to VT1 and then back to VT2. Sounds like bug

[PATCH 4/5] drm: expand replace_fence to support timeline point

2018-08-23 Thread Chunming Zhou
we can place a fence to a timeline point after expanded. Signed-off-by: Chunming Zhou --- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 2 +- drivers/gpu/drm/drm_syncobj.c | 16 +--- drivers/gpu/drm/i915/i915_gem_execbuffer.c | 2 +- drivers/gpu/drm/v3d/v3d_gem.c

  1   2   >