Re: [PATCH v2] fbcon: Silence fbcon logo on 'quiet' boots

2018-10-29 Thread kbuild test robot
Hi Prarit, Thank you for the patch! Yet something to improve: [auto build test ERROR on sof-driver-fuweitax/master] [also build test ERROR on v4.19 next-20181029] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day

Re: [PATCH] gpu/drm/virtio/virtgpu_vq.c: Use kmem_cache_zalloc

2018-10-29 Thread Gerd Hoffmann
On Tue, Oct 23, 2018 at 12:50:36PM +0300, Jani Nikula wrote: > On Tue, 23 Oct 2018, Souptick Joarder wrote: > > On Fri, Oct 19, 2018 at 9:30 PM Sabyasachi Gupta > > wrote: > >> > >> Replaced kmem_cache_alloc + memset with kmem_cache_zalloc > > > > Put a new line gap in between these two lines

Re: [PATCH v2] drm/virtio: document drm_dev_set_unique workaround

2018-10-29 Thread Gerd Hoffmann
On Wed, Oct 24, 2018 at 03:42:52PM +0100, Emil Velikov wrote: > From: Emil Velikov > > A while back we removed it, yet that lead to regressions. At some later > point, I've attempted to remove it again without fully grasping the > unique (pun intended) situation that virtio is in. > > Add a

[Bug 108585] *ERROR* hw_init of IP block failed -22

2018-10-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108585 --- Comment #4 from Joel --- I see a similar backtrace on 4.19.0-11706-g11743c56785c (Linus' tree mid-merge window). My system has a "fiji" card. The first kernel is 4.19 (upstream release), and the second kernel where the backtrace occurs is

[Bug 108577] Black X laptop screen with cursor if HDMI not plugged in, bisected

2018-10-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108577 --- Comment #11 from Duncan Roe --- (and the patch enables DRM_AMD_DC_FBC) -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing list

Re: [Intel-gfx] [PATCH] RFC: Make igts for cross-driver stuff mandatory?

2018-10-29 Thread Dave Airlie
On Fri, 19 Oct 2018 at 18:51, Daniel Vetter wrote: > > Hi all, > > This is just to collect feedback on this idea, and see whether the > overall dri-devel community stands on all this. I think the past few > cross-vendor uapi extensions all came with igts attached, and > personally I think there's

[PATCH] udmabuf: set read/write flag when exporting

2018-10-29 Thread Gurchetan Singh
Otherwise, mmap fails when done with PROT_WRITE. --- drivers/dma-buf/udmabuf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/dma-buf/udmabuf.c b/drivers/dma-buf/udmabuf.c index 5b44ef226904..fc359ca4503d 100644 --- a/drivers/dma-buf/udmabuf.c +++ b/drivers/dma-buf/udmabuf.c @@

[Bug 107947] REG_WAIT timeout 10us * 3500 tries - dce_mi_free_dmif line:563 during boot

2018-10-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107947 --- Comment #5 from Kent Ross --- Created attachment 142269 --> https://bugs.freedesktop.org/attachment.cgi?id=142269=edit dmesg logs for successful boot to login screen -- You are receiving this mail because: You are the assignee for the

[Bug 107947] REG_WAIT timeout 10us * 3500 tries - dce_mi_free_dmif line:563 during boot

2018-10-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107947 --- Comment #4 from Kent Ross --- Created attachment 142268 --> https://bugs.freedesktop.org/attachment.cgi?id=142268=edit dmesg logs for failed boot to black screen -- You are receiving this mail because: You are the assignee for the

[Bug 107947] REG_WAIT timeout 10us * 3500 tries - dce_mi_free_dmif line:563 during boot

2018-10-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107947 Kent Ross changed: What|Removed |Added CC||root.m...@gmail.com --- Comment #3 from

Re: [Intel-gfx] [PATCH v6 13/28] drm/i915/dp: Compute DSC pipe config in atomic check

2018-10-29 Thread Manasi Navare
On Mon, Oct 29, 2018 at 10:34:58PM +0200, Ville Syrjälä wrote: > On Mon, Oct 29, 2018 at 10:30:39PM +0200, Ville Syrjälä wrote: > > On Wed, Oct 24, 2018 at 03:28:25PM -0700, Manasi Navare wrote: > > > DSC params like the enable, compressed bpp, slice count and > > > dsc_split are added to the

Re: [PATCH v4 1/2] drm: Add drm_any_plane_has_format()

2018-10-29 Thread Eric Anholt
Ville Syrjala writes: > From: Ville Syrjälä > > Add a function to check whether there is at least one plane that > supports a specific format and modifier combination. Drivers can > use this to reject unsupported formats/modifiers in .fb_create(). > > v2: Accept anyformat if the driver doesn't

Re: [PATCH v6 13/28] drm/i915/dp: Compute DSC pipe config in atomic check

2018-10-29 Thread Manasi Navare
On Mon, Oct 29, 2018 at 10:30:39PM +0200, Ville Syrjälä wrote: > On Wed, Oct 24, 2018 at 03:28:25PM -0700, Manasi Navare wrote: > > DSC params like the enable, compressed bpp, slice count and > > dsc_split are added to the intel_crtc_state. These parameters > > are set based on the requested mode

Re: [PATCH 0/4] Improve virtio ID allocation

2018-10-29 Thread Gerd Hoffmann
On Wed, Sep 26, 2018 at 09:00:27AM -0700, Matthew Wilcox wrote: > I noticed you were using IDRs where you could be using the more efficient > IDAs, then while fixing that I noticed the lack of error handling, > and I decided to follow that up with an efficiency improvement. > > There's probably a

[Bug 108577] Black X laptop screen with cursor if HDMI not plugged in, bisected

2018-10-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108577 --- Comment #10 from Duncan Roe --- DRM_AMD_DC_FBC is not in my .config and never has been (from the RCS tree) -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel

Re: [PATCH v6 13/28] drm/i915/dp: Compute DSC pipe config in atomic check

2018-10-29 Thread Manasi Navare
On Mon, Oct 29, 2018 at 10:30:39PM +0200, Ville Syrjälä wrote: > On Wed, Oct 24, 2018 at 03:28:25PM -0700, Manasi Navare wrote: > > DSC params like the enable, compressed bpp, slice count and > > dsc_split are added to the intel_crtc_state. These parameters > > are set based on the requested mode

Re: [PATCH v6 27/28] drm/i915/dsc: Add Per connector debugfs node for DSC support/enable

2018-10-29 Thread Manasi Navare
On Mon, Oct 29, 2018 at 10:39:21PM +0200, Ville Syrjälä wrote: > On Wed, Oct 24, 2018 at 03:28:39PM -0700, Manasi Navare wrote: > > DSC can be supported per DP connector. This patch adds a per connector > > debugfs node to expose DSC support capability by the kernel. > > The same node can be used

[Bug 201201] [amdgpu] Can't raise power limit on Vega

2018-10-29 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=201201 Aleksandr Mezin (mezin.alexan...@gmail.com) changed: What|Removed |Added Status|NEW |RESOLVED

[Bug 201201] [amdgpu] Can't raise power limit on Vega

2018-10-29 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=201201 Alex Deucher (alexdeuc...@gmail.com) changed: What|Removed |Added CC|

[Bug 108493] Unigine Heaven at 4K crashes amdgpu and causes a GPU hang

2018-10-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108493 --- Comment #14 from Alex Deucher --- I suspect the display may require additional voltage in your case which is why you see the issue at 4k. The display requirements are not handled as finely on Linux as they are in windows. -- You are

[PATCH v4] drm/bochs: add edid support.

2018-10-29 Thread Gerd Hoffmann
Recent qemu (latest master branch, upcoming 3.1 release) got support for EDID data. This patch adds guest driver support. EDID support in qemu is not (yet) enabled by default, so please use 'qemu -device VGA,edid=on' for testing. Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/bochs/bochs.h

[Bug 107334] Artifacts in Unigine Valley with RX 580

2018-10-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107334 Christian Widmer changed: What|Removed |Added Status|NEEDINFO|RESOLVED Resolution|---

[Bug 108260] [Regression?] [powerplay] Failed to retrieve minimum clocks. 4.19-rc6+

2018-10-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108260 taij...@posteo.de changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug 108493] Unigine Heaven at 4K crashes amdgpu and causes a GPU hang

2018-10-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108493 --- Comment #13 from Alex Deucher --- (In reply to Timur Kristóf from comment #9) > OD_MCLK: > 0:300MHz750mV > 1: 1000MHz800mV > 2: 1750MHz900mV This is vddc. > [DEFAULT] ATOM_MCLK_ENTRY Array >

Re: [PATCH v6 27/28] drm/i915/dsc: Add Per connector debugfs node for DSC support/enable

2018-10-29 Thread Ville Syrjälä
On Wed, Oct 24, 2018 at 03:28:39PM -0700, Manasi Navare wrote: > DSC can be supported per DP connector. This patch adds a per connector > debugfs node to expose DSC support capability by the kernel. > The same node can be used from userspace to force DSC enable. Why is the force_dsc thing split

Re: [Intel-gfx] [PATCH v6 13/28] drm/i915/dp: Compute DSC pipe config in atomic check

2018-10-29 Thread Ville Syrjälä
On Mon, Oct 29, 2018 at 10:30:39PM +0200, Ville Syrjälä wrote: > On Wed, Oct 24, 2018 at 03:28:25PM -0700, Manasi Navare wrote: > > DSC params like the enable, compressed bpp, slice count and > > dsc_split are added to the intel_crtc_state. These parameters > > are set based on the requested mode

Re: [PATCH v6 13/28] drm/i915/dp: Compute DSC pipe config in atomic check

2018-10-29 Thread Ville Syrjälä
On Wed, Oct 24, 2018 at 03:28:25PM -0700, Manasi Navare wrote: > DSC params like the enable, compressed bpp, slice count and > dsc_split are added to the intel_crtc_state. These parameters > are set based on the requested mode and available link parameters > during the pipe configuration in atomic

Re: [PATCH v3] drm/bochs: add edid support.

2018-10-29 Thread Gerd Hoffmann
On Mon, Oct 29, 2018 at 07:44:28PM +0200, Jani Nikula wrote: > On Mon, 29 Oct 2018, Gerd Hoffmann wrote: > > Recent qemu (latest master branch, upcoming 3.1 release) got support > > for EDID data. This patch adds guest driver support. > > > > EDID support in qemu is not (yet) enabled by default,

virtio-gpu without ARCH_HAS_SG_CHAIN

2018-10-29 Thread Michael Forney
Hi, I was looking at adding virtio-gpu support to tinyemu (https://bellard.org/tinyemu/). I got it to work on x86, but just for fun I tried it under riscv and ran into an issue with buffer allocations (though, this should affect any arch without ARCH_HAS_SG_CHAIN). virtio-gpu uses ttm to

Re: [PATCH v4 2/2] drm/i915: Eliminate the horrendous format check code

2018-10-29 Thread Dhinakaran Pandiyan
On Mon, 2018-10-29 at 20:34 +0200, Ville Syrjala wrote: > From: Ville Syrjälä > > Replace the messy framebuffer format/modifier validation code > with a single call to drm_any_plane_has_format(). The code was > extremely annoying to maintain as you had to have a lot of platform > checks for

Re: [PATCH v6 21/28] drm/i915/dp: Use the existing write_infoframe() for DSC PPS SDPs

2018-10-29 Thread Manasi Navare
On Thu, Oct 25, 2018 at 05:08:39PM +0300, Ville Syrjälä wrote: > On Wed, Oct 24, 2018 at 03:28:33PM -0700, Manasi Navare wrote: > > Infoframes are used to send secondary data packets. This patch > > adds support for DSC Picture parameter set secondary data packets > > in the existing

Re: [PATCH v2 8/9] drm/tilcdc: Use drm_fbdev_generic_setup()

2018-10-29 Thread Jyri Sarha
On 25/10/18 23:13, Noralf Trønnes wrote: > The CMA helper is already using the drm_fb_helper_generic_probe part of > the generic fbdev emulation. This patch makes full use of the generic > fbdev emulation by using its drm_client callbacks. This means that >

Re: [PATCH v4 3/4] drm: Document variable refresh properties

2018-10-29 Thread Kazlauskas, Nicholas
On 10/29/18 2:03 PM, Ville Syrjälä wrote: > On Mon, Oct 29, 2018 at 05:37:49PM +0100, Michel Dänzer wrote: >> On 2018-10-26 7:59 p.m., Ville Syrjälä wrote: >>> On Fri, Oct 26, 2018 at 05:34:15PM +, Kazlauskas, Nicholas wrote: On 10/26/18 10:53 AM, Ville Syrjälä wrote: > > Speaking

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

2018-10-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107518 --- Comment #14 from Alex Deucher --- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=11a88c2e92feca1ed3fba19fa375f76d3c75f5d5 -- You are receiving this mail because: You are the assignee for the

[Bug 102646] Screen flickering under amdgpu-experimental [buggy auto power profile]

2018-10-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102646 --- Comment #35 from Alex Deucher --- (In reply to bmilreu from comment #34) > The flickering issues I have with 75hz are gone after forcing profile to > high. The disables mclk switching by forcing the clocks to high. What modes and refresh

[PATCH v4 2/2] drm/i915: Eliminate the horrendous format check code

2018-10-29 Thread Ville Syrjala
From: Ville Syrjälä Replace the messy framebuffer format/modifier validation code with a single call to drm_any_plane_has_format(). The code was extremely annoying to maintain as you had to have a lot of platform checks for different formats. The new code requires zero maintenance. v2: Nuke the

[PATCH v4 1/2] drm: Add drm_any_plane_has_format()

2018-10-29 Thread Ville Syrjala
From: Ville Syrjälä Add a function to check whether there is at least one plane that supports a specific format and modifier combination. Drivers can use this to reject unsupported formats/modifiers in .fb_create(). v2: Accept anyformat if the driver doesn't do planes (Eric)

[Bug 108507] [rv790] Broken ground textures in World of Tanks

2018-10-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108507 --- Comment #5 from Vladimir Usikov --- I found environment variable MESA_EXTENSION_OVERRIDE. But i don't understand how it works with comp profile. And cant test. -- You are receiving this mail because: You are the assignee for the

Re: [PATCH v4 3/4] drm: Document variable refresh properties

2018-10-29 Thread Ville Syrjälä
On Mon, Oct 29, 2018 at 05:37:49PM +0100, Michel Dänzer wrote: > On 2018-10-26 7:59 p.m., Ville Syrjälä wrote: > > On Fri, Oct 26, 2018 at 05:34:15PM +, Kazlauskas, Nicholas wrote: > >> On 10/26/18 10:53 AM, Ville Syrjälä wrote: > >>> > >>> Speaking of timestamps. What is the expected

[Bug 102646] Screen flickering under amdgpu-experimental [buggy auto power profile]

2018-10-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102646 --- Comment #34 from bmil...@gmail.com --- Alex this bug looks like the same I reported here https://bugs.freedesktop.org/show_bug.cgi?id=108322 The flickering issues I have with 75hz are gone after forcing profile to high. -- You are

Re: [PATCH v3] drm/bochs: add edid support.

2018-10-29 Thread Jani Nikula
On Mon, 29 Oct 2018, Gerd Hoffmann wrote: > Recent qemu (latest master branch, upcoming 3.1 release) got support > for EDID data. This patch adds guest driver support. > > EDID support in qemu is not (yet) enabled by default, so please use > 'qemu -device VGA,edid=on' for testing. Any chance of

[PATCH v6 4/9] drm: Extend framebuffer_check to handle formats with cpp/char_per_block 0

2018-10-29 Thread Alexandru-Cosmin Gheorghe
For formats that are supported only with non-linear modifiers it doesn't make to much sense to define cpp or char_per_block, so that will be set to 0. This patch adds a restriction to force having a modifier attached when cpp/char_per_block is 0, and to bypass checking the pitch restriction.

[PATCH v6 5/9] drm/fourcc: Add AFBC yuv fourccs for Mali

2018-10-29 Thread Alexandru-Cosmin Gheorghe
From: 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). AFBC (as an encoding) is fully flexible, and for example YUV data can be encoded into 1, 2 or 3 encoded

[PATCH v6 7/9] drm/selftests: Add tests for drm_format_info* helpers

2018-10-29 Thread Alexandru-Cosmin Gheorghe
Add selftests for the following newly added functions: - drm_format_info_block_width - drm_format_info_block_height - drm_format_info_min_pitch Signed-off-by: Alexandru Gheorghe --- drivers/gpu/drm/selftests/Makefile| 3 +- .../gpu/drm/selftests/drm_modeset_selftests.h | 3 +

[PATCH v6 9/9] drm/selftests: Add tests for drm_internal_framebuffer_create

2018-10-29 Thread Alexandru-Cosmin Gheorghe
Add tests that verify that drm_internal_framebuffer_create creates buffers correctly by creating a dummy drm_device with a mock function for the fb_create callback. To decide if a buffer has been created or not it just checks if fb_create callback has been called for the particular

[PATCH v6 3/9] drm: mali-dp: Enable Mali-DP tiled buffer formats

2018-10-29 Thread Alexandru-Cosmin Gheorghe
Enable the following formats - DRM_FORMAT_X0L0: DP650 - DRM_FORMAT_X0L2: DP550, DP650 Reviewed-by: Brian Starkey Signed-off-by: Alexandru Gheorghe --- drivers/gpu/drm/arm/malidp_hw.c | 14 +++--- drivers/gpu/drm/arm/malidp_planes.c | 28 +--- 2 files

[PATCH v6 2/9] drm/fourcc: Add fourcc for Mali linear tiled formats

2018-10-29 Thread Alexandru-Cosmin Gheorghe
Mali-DP implements a number of tiled yuv formats which are not currently described in drm_fourcc.h. This adds those definitions and describes their memory layout by using the newly added char_per_block, block_w, block_h. Reviewed-by: Brian Starkey Signed-off-by: Alexandru Gheorghe ---

[PATCH v6 1/9] drm/fourcc: Add char_per_block, block_w and block_h in drm_format_info

2018-10-29 Thread Alexandru-Cosmin Gheorghe
For some pixel formats .cpp structure in drm_format info it's not enough to describe the peculiarities of the pixel layout, for example tiled formats or packed formats at bit level. What's implemented here is to add three new members to drm_format_info that could describe such formats: -

[PATCH v6 8/9] drm: Add macro to export functions only when CONFIG_DRM_DEBUG_SELFTEST is enabled

2018-10-29 Thread Alexandru-Cosmin Gheorghe
If we want to be able to write drmselftests for non-static core functions that are not intended to be used by drivers we need this functions to be exported. This adds a macro that is tied of CONFIG_DRM_DEBUG_SELFTEST, and uses that to export drm_internal_framebuffer_create, in order for

[PATCH v6 6/9] drm/afbc: Add AFBC modifier usage documentation

2018-10-29 Thread Alexandru-Cosmin Gheorghe
From: 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

[PATCH v6 0/9] Add method to describe tile/bit_level_packed formats

2018-10-29 Thread Alexandru-Cosmin Gheorghe
Changes since v5: - Added selftests for drm_internal_framebuffer_create - Added a macro to export internal function only when DRM_DEBUG_SELFTEST is enabled, suggested by Daniel Vetter, here [5]. - Cosmetic fixes suggested by Brian Starkey. - Rebased against drm-misc-next Changes

[Bug 108096] [amd-staging-drm-next] SDDM screen corruption (not usable) with RX580, amdgpu, dc=1 (of course), regression - [bisected]

2018-10-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108096 --- Comment #21 from Andrey Grodzovsky --- Please load the driver in debug mode so I can see the error code value in dmesg - when loading the kernel add drm.debug=0xff Also to trace where exactly the error originated from please install

Re: [PATCH v2 2/4] drm/dp_mst: Start tracking per-port VCPI allocations

2018-10-29 Thread Lyude Paul
On Mon, 2018-10-29 at 15:24 +0100, Daniel Vetter wrote: > On Fri, Oct 26, 2018 at 04:35:47PM -0400, Lyude Paul wrote: > > There has been a TODO waiting for quite a long time in > > drm_dp_mst_topology.c: > > > > /* We cannot rely on port->vcpi.num_slots to update > > *

Re: [PATCH v4 3/4] drm: Document variable refresh properties

2018-10-29 Thread Michel Dänzer
On 2018-10-26 7:59 p.m., Ville Syrjälä wrote: > On Fri, Oct 26, 2018 at 05:34:15PM +, Kazlauskas, Nicholas wrote: >> On 10/26/18 10:53 AM, Ville Syrjälä wrote: >>> >>> Speaking of timestamps. What is the expected behaviour of vblank >>> timestamps when vrr is enabled? >> >> When vrr is enabled

Re: [PATCH v2 1/6] dt-bindings: drm/panel: simple: Add no-hpd property

2018-10-29 Thread Sean Paul
On Thu, Oct 25, 2018 at 03:21:29PM -0700, Douglas Anderson wrote: > Some eDP panels that are designed to be always connected to a board > use their HPD signal to signal that they've finished powering on and > they're ready to be talked to. > > However, for various reasons it's possible that the

[Bug 108585] *ERROR* hw_init of IP block failed -22

2018-10-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108585 --- Comment #3 from Dan Horák --- Ha, so it's the firmware stored in the initrds, what is different (lsinitrd lied). And the latest polaris11* ones provoke the crash. When I manually replaced them with the ones from the rc8 initrd, I've

[Bug 102646] Screen flickering under amdgpu-experimental [buggy auto power profile]

2018-10-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102646 --- Comment #33 from Alex Deucher --- The mclk switching needs to happen during the vblank period to avoid the flickering. If there is not enough time in the vblank period, you may see flickering outside of the blanking period. Can you figure

Re: [PATCH v2 3/4] drm/dp_mst: Check payload count in drm_dp_mst_atomic_check()

2018-10-29 Thread Lyude Paul
On Mon, 2018-10-29 at 15:25 +0100, Daniel Vetter wrote: > On Fri, Oct 26, 2018 at 04:35:48PM -0400, Lyude Paul wrote: > > It occurred to me that we never actually check this! So let's start > > doing that. > > > > Signed-off-by: Lyude Paul > > Cc: Daniel Vetter > > Reviewed-by: Daniel Vetter

[PATCH v2] fbcon: Silence fbcon logo on 'quiet' boots

2018-10-29 Thread Prarit Bhargava
A variant of this patch has been in Fedora since at least 2010 and AFAWCT there haven't been any complaints about the change in behavior. https://src.fedoraproject.org/cgit/rpms/kernel.git/tree/silence-fbcon-logo.patch P. ---8<--- On text-based systems the 'quiet' boot option will show printk

Re: [PATCH v2 6/6] drm/i915: Define Intel HDCP2.2 registers

2018-10-29 Thread Daniel Vetter
On Mon, Oct 29, 2018 at 03:15:51PM +0530, Ramalingam C wrote: > Intel HDCP2.2 registers are defined with addr offsets and bit details. > > v2: > Replaced the arith calc with _PICK [Sean Paul] > v3: > No changes. > v4: > %s/HDCP2_CTR_DDI/HDCP2_CTL_DDI [Uma] > v5: > Added parentheses for

Re: [PATCH] fbcon: Silence fbcon logo on 'quiet' boots

2018-10-29 Thread Prarit Bhargava
On 10/29/2018 11:24 AM, Thierry Reding wrote: > On Mon, Oct 29, 2018 at 09:02:32AM -0400, Prarit Bhargava wrote: >> A variant of this patch has been in Fedora since at least 2010 and >> AFAWCT there haven't been any complaints about the change in behavior. >> >>

Re: [PATCH] fbcon: Silence fbcon logo on 'quiet' boots

2018-10-29 Thread Thierry Reding
On Mon, Oct 29, 2018 at 09:02:32AM -0400, Prarit Bhargava wrote: > A variant of this patch has been in Fedora since at least 2010 and > AFAWCT there haven't been any complaints about the change in behavior. > > https://src.fedoraproject.org/cgit/rpms/kernel.git/tree/silence-fbcon-logo.patch > >

Re: [PATCH v2 3/6] drm/i915: Cancel the Link check before disable

2018-10-29 Thread Daniel Vetter
On Mon, Oct 29, 2018 at 03:15:48PM +0530, Ramalingam C wrote: > To avoid the execution of link integrity check when the HDCP is > already disabled, cancel the delayed work for link integrity check > before disabling the HDCP. > > Signed-off-by: Ramalingam C This is racy. As an exercise, please

Re: [PATCH] fbcon: Silence fbcon logo on 'quiet' boots

2018-10-29 Thread Prarit Bhargava
On 10/29/2018 09:56 AM, kbuild test robot wrote: > Hi Prarit, > > Thank you for the patch! Yet something to improve: > > [auto build test ERROR on sof-driver-fuweitax/master] > [also build test ERROR on v4.19 next-20181029] > [if your patch is applied to the wrong git

Re: [PATCH v2] drm/scheduler: Add drm_sched_job_cleanup

2018-10-29 Thread Koenig, Christian
Reviewed-by: Christian König Going to push that to into our upstream branch. Thanks, Christian. Am 29.10.18 um 16:01 schrieb Grodzovsky, Andrey: > Acked-by: Andrey Grodzovsky > > Andrey > > > On 10/29/2018 05:32 AM, Sharat Masetty wrote: >> This patch adds a new API to clean up the scheduler

[Bug 108573] Cannot set pstate values with under-voltage values for Vega M

2018-10-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108573 Alex Deucher changed: What|Removed |Added Severity|normal |enhancement -- You are receiving this

Re: [PATCH v2] drm/scheduler: Add drm_sched_job_cleanup

2018-10-29 Thread Grodzovsky, Andrey
Acked-by: Andrey Grodzovsky Andrey On 10/29/2018 05:32 AM, Sharat Masetty wrote: > This patch adds a new API to clean up the scheduler job resources. This > is primarliy needed in cases the job was created but was not queued to > the scheduler queue. Additionally with this change, the layer

[Bug 108096] [amd-staging-drm-next] SDDM screen corruption (not usable) with RX580, amdgpu, dc=1 (of course), regression - [bisected]

2018-10-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108096 --- Comment #20 from Samuel Pitoiset --- Make sure to load the right version of libdrm (ie. 2.4.93 or more recent). I had this problem today because I was loading and old version of libdrm. Something was installed in the wrong place. -- You

Re: [PATCH v4 3/4] drm: Document variable refresh properties

2018-10-29 Thread Kazlauskas, Nicholas
On 10/29/18 4:36 AM, Pekka Paalanen wrote: > On Fri, 26 Oct 2018 17:34:15 + > "Kazlauskas, Nicholas" wrote: > >> On 10/26/18 10:53 AM, Ville Syrjälä wrote: >>> On Fri, Oct 26, 2018 at 02:49:31PM +, Kazlauskas, Nicholas wrote: On 10/26/18 7:37 AM, Pekka Paalanen wrote: > > Hi,

Re: [PATCH v2 3/4] drm/dp_mst: Check payload count in drm_dp_mst_atomic_check()

2018-10-29 Thread Daniel Vetter
On Fri, Oct 26, 2018 at 04:35:48PM -0400, Lyude Paul wrote: > It occurred to me that we never actually check this! So let's start > doing that. > > Signed-off-by: Lyude Paul > Cc: Daniel Vetter Reviewed-by: Daniel Vetter One thought on testing all this: I think long term some unti tests,

Re: [PATCH v2 2/4] drm/dp_mst: Start tracking per-port VCPI allocations

2018-10-29 Thread Daniel Vetter
On Fri, Oct 26, 2018 at 04:35:47PM -0400, Lyude Paul wrote: > There has been a TODO waiting for quite a long time in > drm_dp_mst_topology.c: > > /* We cannot rely on port->vcpi.num_slots to update >* topology_state->avail_slots as the port may not exist if the parent >*

Re: [PATCH v6 7/7] drm/rockchip: dsi: add dual mipi support

2018-10-29 Thread Andrzej Hajda
On 01.10.2018 14:38, Heiko Stuebner wrote: > Add the Rockchip-sepcific dual-dsi setup and hook it into the VOP as well. > As described in the general dual-dsi devicetree binding, the panel should > define two input ports and point each of them to one of the used dsi- > controllers, as well as

Re: [PATCH v2 4/4] drm/nouveau: Use atomic VCPI helpers for MST

2018-10-29 Thread Daniel Vetter
On Fri, Oct 26, 2018 at 04:35:49PM -0400, Lyude Paul wrote: > Currently, nouveau uses the yolo method of setting up MST displays: it > uses the old VCPI helpers (drm_dp_find_vcpi_slots()) for computing the > display configuration. These helpers don't take care to make sure they > take a reference

Re: [PATCH v2 1/4] drm/dp_mst: Add some atomic state iterator macros

2018-10-29 Thread Daniel Vetter
On Fri, Oct 26, 2018 at 04:35:46PM -0400, Lyude Paul wrote: > Signed-off-by: Lyude Paul > Cc: Daniel Vetter > --- > include/drm/drm_dp_mst_helper.h | 77 + > 1 file changed, 77 insertions(+) > > diff --git a/include/drm/drm_dp_mst_helper.h

[Bug 108096] [amd-staging-drm-next] SDDM screen corruption (not usable) with RX580, amdgpu, dc=1 (of course), regression - [bisected]

2018-10-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108096 --- Comment #19 from Andrey Grodzovsky --- (In reply to Michel Dänzer from comment #18) > Andrey, can you work with Dieter to figure out where the error is coming > from? E.g. by attaching patches adding debugging printks. Yes, i will look

Re: [RFC] drm/vkms: Add writeback support

2018-10-29 Thread Rodrigo Siqueira
On 10/24, Brian Starkey wrote: > Hi Rodrigo, Hi Brian, Thanks a lot for your feedback! I learned a lot with all of them :) I will work for make a real PATCH soon. Again, thanks a lot. Best Regards > On Mon, Oct 22, 2018 at 09:27:18AM -0300, Rodrigo Siqueira wrote: > >Hi, > > > >I started to

Re: [PATCH] fbcon: Silence fbcon logo on 'quiet' boots

2018-10-29 Thread kbuild test robot
Hi Prarit, Thank you for the patch! Yet something to improve: [auto build test ERROR on sof-driver-fuweitax/master] [also build test ERROR on v4.19 next-20181029] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day

Re: [PATCH] fbcon: Silence fbcon logo on 'quiet' boots

2018-10-29 Thread kbuild test robot
Hi Prarit, Thank you for the patch! Yet something to improve: [auto build test ERROR on sof-driver-fuweitax/master] [also build test ERROR on v4.19 next-20181029] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day

Re: [Outreachy kernel] [PATCH 0/6] drm/qxl: Remove checkpatch issues

2018-10-29 Thread Daniel Vetter
On Fri, Oct 26, 2018 at 04:20:30PM -0300, Shayenne da Luz Moura wrote: > This series cleans the following checkpatch.pl issues: > > ERROR: trailing whitespace > WARNING: Missing a blank line after declarations > CHECK: Please don't use multiple blank lines > WARNING: Prefer 'unsigned int' to bare

Re: [PATCH v2] drm/bridge: analogix_dp: Fix misleading indentation reported by smatch

2018-10-29 Thread Andrzej Hajda
On 16.10.2018 11:53, Enric Balletbo i Serra wrote: > This patch avoids that building the bridge/analogix source code with > smatch triggers complaints about inconsistent indenting. It also fixes > a typo in DRM_ERROR message, attch is replaced for attach. > > Signed-off-by: Enric Balletbo i Serra

Re: [PATCH] drm/vgem: create a render node for vgem

2018-10-29 Thread Daniel Vetter
On Mon, Oct 29, 2018 at 12:03:46PM +, Emil Velikov wrote: > On Fri, 26 Oct 2018 at 14:40, Daniel Vetter wrote: > > > > On Fri, Oct 26, 2018 at 01:06:47PM +0100, Emil Velikov wrote: > > > From: Emil Velikov > > > > > > VGEM doesn't do anything modeset specific, so in a way exposing a > > >

Re: [RFC PATCH] drm/vc4: Add a load tracker to prevent HVS underflow errors

2018-10-29 Thread Daniel Vetter
On Mon, Oct 29, 2018 at 10:10:56AM +0100, Boris Brezillon wrote: > On Mon, 29 Oct 2018 10:03:01 +0100 > Daniel Vetter wrote: > > On Mon, Oct 29, 2018 at 09:41:36AM +0100, Boris Brezillon wrote: > > > On Mon, 29 Oct 2018 09:06:40 +0100 > > > > The other upshot of a counter is that there's no

Re: [RFC] Allow fd.o to join forces with X.Org

2018-10-29 Thread Daniel Vetter
On Mon, Oct 29, 2018 at 01:24:56PM +, Wentland, Harry wrote: > On 2018-10-26 7:22 a.m., Daniel Vetter wrote: > > On Fri, Oct 26, 2018 at 1:08 PM Daniel Stone wrote: > >> > >> Hi, > >> > >> On Fri, 26 Oct 2018 at 11:57, Daniel Vetter wrote: > >>> On Fri, Oct 26, 2018 at 10:13:51AM +1000,

[PATCH v3] drm/bochs: add edid support.

2018-10-29 Thread Gerd Hoffmann
Recent qemu (latest master branch, upcoming 3.1 release) got support for EDID data. This patch adds guest driver support. EDID support in qemu is not (yet) enabled by default, so please use 'qemu -device VGA,edid=on' for testing. Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/bochs/bochs.h

Re: [RFC] Allow fd.o to join forces with X.Org

2018-10-29 Thread Wentland, Harry
On 2018-10-26 7:22 a.m., Daniel Vetter wrote: > On Fri, Oct 26, 2018 at 1:08 PM Daniel Stone wrote: >> >> Hi, >> >> On Fri, 26 Oct 2018 at 11:57, Daniel Vetter wrote: >>> On Fri, Oct 26, 2018 at 10:13:51AM +1000, Peter Hutterer wrote: On Wed, Oct 17, 2018 at 02:37:25PM +0200, Daniel Vetter

Re: [PATCH 2/2] drm/sun4i: hdmi: Fix double flag assignation

2018-10-29 Thread Maxime Ripard
On Wed, Oct 24, 2018 at 10:43:34AM +0200, Giulio Benetti wrote: > Il 21/10/2018 18:34, Maxime Ripard ha scritto: > > The is_double flag is a boolean currently assigned to the value of the d > > variable, that is either 1 or 2. It means that this is_double variable is > > always set to true, even

[PATCH] fbcon: Silence fbcon logo on 'quiet' boots

2018-10-29 Thread Prarit Bhargava
A variant of this patch has been in Fedora since at least 2010 and AFAWCT there haven't been any complaints about the change in behavior. https://src.fedoraproject.org/cgit/rpms/kernel.git/tree/silence-fbcon-logo.patch P. ---8<--- On text-based systems the 'quiet' boot option will show printk

[Bug 108585] *ERROR* hw_init of IP block failed -22

2018-10-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108585 --- Comment #2 from Dan Horák --- (In reply to Michel Dänzer from comment #1) > There were no amdgpu driver changes between rc8 and final... Are you sure > this is 100% reproducible with the latter and not reproducible with the > former? If so,

Re: [PATCH] drm/vgem: create a render node for vgem

2018-10-29 Thread Chris Wilson
Quoting Emil Velikov (2018-10-29 12:00:17) > On Fri, 26 Oct 2018 at 15:40, Chris Wilson wrote: > > > > Quoting Daniel Vetter (2018-10-26 14:40:36) > > > On Fri, Oct 26, 2018 at 01:06:47PM +0100, Emil Velikov wrote: > > > > From: Emil Velikov > > > > > > > > VGEM doesn't do anything modeset

Re: [PATCH] drm/vgem: create a render node for vgem

2018-10-29 Thread Emil Velikov
On Fri, 26 Oct 2018 at 14:40, Daniel Vetter wrote: > > On Fri, Oct 26, 2018 at 01:06:47PM +0100, Emil Velikov wrote: > > From: Emil Velikov > > > > VGEM doesn't do anything modeset specific, so in a way exposing a > > primary node is 'wrong'. At the same time, we extensively use if for > >

Re: [PATCH] drm/vgem: create a render node for vgem

2018-10-29 Thread Emil Velikov
On Fri, 26 Oct 2018 at 15:40, Chris Wilson wrote: > > Quoting Daniel Vetter (2018-10-26 14:40:36) > > On Fri, Oct 26, 2018 at 01:06:47PM +0100, Emil Velikov wrote: > > > From: Emil Velikov > > > > > > VGEM doesn't do anything modeset specific, so in a way exposing a > > > primary node is

[PATCH 3/7] drm/bridge: tc358767: fix single lane configuration

2018-10-29 Thread Tomi Valkeinen
PHY_2LANE bit is always set in DP_PHY_CTRL, breaking 1 lane use. Set PHY_2LANE only when 2 lanes are used. Signed-off-by: Tomi Valkeinen --- drivers/gpu/drm/bridge/tc358767.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/bridge/tc358767.c

[PATCH 1/7] drm/bridge: tc358767: add bus flags

2018-10-29 Thread Tomi Valkeinen
tc358767 driver does not set DRM bus_flags, even if it does configures the polarity settings into its registers. This means that the DPI source can't configure the polarities correctly. Add sync flags accordingly. Signed-off-by: Tomi Valkeinen --- drivers/gpu/drm/bridge/tc358767.c | 4 1

[PATCH 5/7] drm/bridge: tc358767: reject modes which require too much BW

2018-10-29 Thread Tomi Valkeinen
The current driver accepts any videomode with pclk < 154MHz. This is not correct, as with 1 lane and/or 1.62Mbps speed not all videomodes can be supported. Add code to reject modes that require more bandwidth that is available. Signed-off-by: Tomi Valkeinen ---

[PATCH 0/7] drm/bridge: tc358767: small fixes

2018-10-29 Thread Tomi Valkeinen
Hi, We have TC358867 on our board, which I believe is almost identical to TC358767. We're using it with a DP connector instead of eDP with a fixed panel. I have tested these patches only on TI's 4.14 based kernel, as unfortunately we don't have all the necessary support in mainline yet. These

[PATCH 2/7] drm/bridge: tc358767: add defines for DP1_SRCCTRL & PHY_2LANE

2018-10-29 Thread Tomi Valkeinen
DP1_SRCCTRL register and PHY_2LANE field did not have matching defines. Add these. Signed-off-by: Tomi Valkeinen --- drivers/gpu/drm/bridge/tc358767.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/bridge/tc358767.c

[PATCH 6/7] drm/bridge: tc358767: fix output H/V syncs

2018-10-29 Thread Tomi Valkeinen
The H and V syncs of the DP output are always set to active high. This patch fixes the syncs by configuring them according to the videomode. Signed-off-by: Tomi Valkeinen --- drivers/gpu/drm/bridge/tc358767.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

[PATCH 4/7] drm/bridge: tc358767: fix initial DP0/1_SRCCTRL value

2018-10-29 Thread Tomi Valkeinen
Initially DP0_SRCCTRL is set to a static value which includes DP0_SRCCTRL_LANES_2 and DP0_SRCCTRL_BW27, even when only 1 lane of 1.62Gbps speed is used. DP1_SRCCTRL is configured to a magic number. This patch changes the configuration as follows: Configure DP0_SRCCTRL by using tc_srcctrl() which

[PATCH 7/7] drm/bridge: tc358767: use DP connector if no panel set

2018-10-29 Thread Tomi Valkeinen
tc358767 driver sets the connector type always to eDP. This patch sets the type to DP if there is no panel defined, which implies that there's a DP connector on the board. Signed-off-by: Tomi Valkeinen --- drivers/gpu/drm/bridge/tc358767.c | 3 ++- 1 file changed, 2 insertions(+), 1

Re: [PATCH libdrm 0/2] xf86drm: add OF_ fallback mechanism

2018-10-29 Thread Lucas Stach
Am Dienstag, den 23.10.2018, 18:28 +0100 schrieb Emil Velikov: > On Thu, 18 Oct 2018 at 21:07, Christian Gmeiner > > wrote: > > > > Since kernel 4.17 (drm/etnaviv: remove the need for a gpu-subsystem DT > > node) the etnaviv DRM driver doesn't have an associated DT node > > anymore. This is

  1   2   >