Re: [PATCH v15 13/17] IB, arm64: untag user pointers in ib_uverbs_(re)reg_mr()

2019-05-06 Thread Leon Romanovsky
On Mon, May 06, 2019 at 04:50:20PM -0300, Jason Gunthorpe wrote: > On Mon, May 06, 2019 at 06:30:59PM +0200, Andrey Konovalov wrote: > > This patch is a part of a series that extends arm64 kernel ABI to allow to > > pass tagged user pointers (with the top byte set to something else other > > than 0

[Bug 109649] [bisected][raven] gfx ring timeout when running clover apps

2019-05-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109649 --- Comment #7 from Jan Vesely --- The workaround is still necessary in kernel 5.1.0. The failure mode is a bit different, it hangs just the application, not entire machine. -- You are receiving this mail because: You are the assignee for the

[PATCH AUTOSEL 3.18 10/10] gpu: ipu-v3: dp: fix CSC handling

2019-05-06 Thread Sasha Levin
From: Lucas Stach [ Upstream commit d4fad0a426c6e26f48c9a7cdd21a7fe9c198d645 ] Initialize the flow input colorspaces to unknown and reset to that value when the channel gets disabled. This avoids the state getting mixed up with a previous mode. Also keep the CSC settings for the background flow

[PATCH AUTOSEL 4.4 14/14] gpu: ipu-v3: dp: fix CSC handling

2019-05-06 Thread Sasha Levin
From: Lucas Stach [ Upstream commit d4fad0a426c6e26f48c9a7cdd21a7fe9c198d645 ] Initialize the flow input colorspaces to unknown and reset to that value when the channel gets disabled. This avoids the state getting mixed up with a previous mode. Also keep the CSC settings for the background flow

[PATCH AUTOSEL 4.9 22/25] gpu: ipu-v3: dp: fix CSC handling

2019-05-06 Thread Sasha Levin
From: Lucas Stach [ Upstream commit d4fad0a426c6e26f48c9a7cdd21a7fe9c198d645 ] Initialize the flow input colorspaces to unknown and reset to that value when the channel gets disabled. This avoids the state getting mixed up with a previous mode. Also keep the CSC settings for the background flow

[PATCH AUTOSEL 4.9 20/25] drm/sun4i: Set device driver data at bind time for use in unbind

2019-05-06 Thread Sasha Levin
From: Paul Kocialkowski [ Upstream commit 02b92adbe33e6dbd15dc6e32540b22f47c4ff0a2 ] Our sun4i_drv_unbind gets the drm device using dev_get_drvdata. However, that driver data is never set in sun4i_drv_bind. Set it there to avoid getting a NULL pointer at unbind time. Fixes: 9026e0d122ac ("drm:

[PATCH AUTOSEL 4.14 82/95] drm/rockchip: fix for mailbox read validation.

2019-05-06 Thread Sasha Levin
From: Damian Kos [ Upstream commit e4056bbb6719fe713bfc4030ac78e8e97ddf7574 ] This is basically the same fix as in commit fa68d4f8476b ("drm/rockchip: fix for mailbox read size") but for cdn_dp_mailbox_validate_receive function. See patchwork.kernel.org/patch/10671981/ for details. Signed-off-

[PATCH AUTOSEL 4.14 67/95] drm/rockchip: psr: do not dereference encoder before it is null checked.

2019-05-06 Thread Sasha Levin
From: Enric Balletbo i Serra [ Upstream commit 4eda776c3cefcb1f01b2d85bd8753f67606282b5 ] 'encoder' is dereferenced before it is null sanity checked, hence we potentially have a null pointer dereference bug. Instead, initialise drm_drv from encoder->dev->dev_private after we are sure 'encoder' i

[PATCH AUTOSEL 4.14 49/95] drm/i915: Disable LP3 watermarks on all SNB machines

2019-05-06 Thread Sasha Levin
From: Ville Syrjälä [ Upstream commit 03981c6ebec4fc7056b9b45f847393aeac90d060 ] I have a Thinkpad X220 Tablet in my hands that is losing vblank interrupts whenever LP3 watermarks are used. If I nudge the latency value written to the WM3 register just by one in either direction the problem disa

[PATCH AUTOSEL 4.14 55/95] drm/i915: Downgrade Gen9 Plane WM latency error

2019-05-06 Thread Sasha Levin
From: Chris Wilson [ Upstream commit 86c1c87d0e6241cbe35bd52badfc84b154e1b959 ] According to intel_read_wm_latency() it is perfectly legal for one WM and all subsequent levels to be 0 (and the deeper powersaving states disabled), so don't shout *ERROR*, over and over again. Signed-off-by: Chris

[PATCH AUTOSEL 4.14 28/95] drm/sun4i: Set device driver data at bind time for use in unbind

2019-05-06 Thread Sasha Levin
From: Paul Kocialkowski [ Upstream commit 02b92adbe33e6dbd15dc6e32540b22f47c4ff0a2 ] Our sun4i_drv_unbind gets the drm device using dev_get_drvdata. However, that driver data is never set in sun4i_drv_bind. Set it there to avoid getting a NULL pointer at unbind time. Fixes: 9026e0d122ac ("drm:

[PATCH AUTOSEL 4.14 30/95] gpu: ipu-v3: dp: fix CSC handling

2019-05-06 Thread Sasha Levin
From: Lucas Stach [ Upstream commit d4fad0a426c6e26f48c9a7cdd21a7fe9c198d645 ] Initialize the flow input colorspaces to unknown and reset to that value when the channel gets disabled. This avoids the state getting mixed up with a previous mode. Also keep the CSC settings for the background flow

[PATCH AUTOSEL 4.14 31/95] drm/imx: don't skip DP channel disable for background plane

2019-05-06 Thread Sasha Levin
From: Lucas Stach [ Upstream commit 7bcde275eb1d0ac8793c77c7e666a886eb16633d ] In order to make sure that the plane color space gets reset correctly. Signed-off-by: Lucas Stach Signed-off-by: Philipp Zabel Signed-off-by: Sasha Levin --- drivers/gpu/drm/imx/ipuv3-crtc.c | 2 +- 1 file change

[PATCH AUTOSEL 4.19 49/81] drm/sun4i: Set device driver data at bind time for use in unbind

2019-05-06 Thread Sasha Levin
From: Paul Kocialkowski [ Upstream commit 02b92adbe33e6dbd15dc6e32540b22f47c4ff0a2 ] Our sun4i_drv_unbind gets the drm device using dev_get_drvdata. However, that driver data is never set in sun4i_drv_bind. Set it there to avoid getting a NULL pointer at unbind time. Fixes: 9026e0d122ac ("drm:

[PATCH AUTOSEL 4.19 54/81] drm/imx: don't skip DP channel disable for background plane

2019-05-06 Thread Sasha Levin
From: Lucas Stach [ Upstream commit 7bcde275eb1d0ac8793c77c7e666a886eb16633d ] In order to make sure that the plane color space gets reset correctly. Signed-off-by: Lucas Stach Signed-off-by: Philipp Zabel Signed-off-by: Sasha Levin --- drivers/gpu/drm/imx/ipuv3-crtc.c | 2 +- 1 file change

[PATCH AUTOSEL 4.19 50/81] drm/sun4i: Fix component unbinding and component master deletion

2019-05-06 Thread Sasha Levin
From: Paul Kocialkowski [ Upstream commit f5a9ed867c83875546c9aadd4ed8e785e9adcc3c ] For our component-backed driver to be properly removed, we need to delete the component master in sun4i_drv_remove and make sure to call component_unbind_all in the master's unbind so that all components are unb

[PATCH AUTOSEL 4.19 53/81] gpu: ipu-v3: dp: fix CSC handling

2019-05-06 Thread Sasha Levin
From: Lucas Stach [ Upstream commit d4fad0a426c6e26f48c9a7cdd21a7fe9c198d645 ] Initialize the flow input colorspaces to unknown and reset to that value when the channel gets disabled. This avoids the state getting mixed up with a previous mode. Also keep the CSC settings for the background flow

[PATCH AUTOSEL 4.19 59/81] drm/sun4i: Unbind components before releasing DRM and memory

2019-05-06 Thread Sasha Levin
From: Paul Kocialkowski [ Upstream commit e02bc29b2cfa7806830d6da8b2322cddd67e8dfe ] Our components may still be using the DRM device driver (if only to access our driver's private data), so make sure to unbind them before the final drm_dev_put. Also release our reserved memory after component

[PATCH AUTOSEL 4.19 28/81] drm/amd/display: If one stream full updates, full update all planes

2019-05-06 Thread Sasha Levin
From: David Francis [ Upstream commit c238bfe0be9ef7420f7669a69e27c8c8f4d8a568 ] [Why] On some compositors, with two monitors attached, VT terminal switch can cause a graphical issue by the following means: There are two streams, one for each monitor. Each stream has one plane current state:

[PATCH AUTOSEL 4.19 20/81] drm/amd/display: extending AUX SW Timeout

2019-05-06 Thread Sasha Levin
From: Martin Leung [ Upstream commit f4bbebf8e7eb4d294b040ab2d2ba71e70e69b930 ] [Why] AUX takes longer to reply when using active DP-DVI dongle on some asics resulting in up to 2000+ us edid read (timeout). [How] 1. Adjust AUX poll to match spec 2. Extend the SW timeout. This does not affect no

[PATCH AUTOSEL 5.0 99/99] drm/rockchip: fix for mailbox read validation.

2019-05-06 Thread Sasha Levin
From: Damian Kos [ Upstream commit e4056bbb6719fe713bfc4030ac78e8e97ddf7574 ] This is basically the same fix as in commit fa68d4f8476b ("drm/rockchip: fix for mailbox read size") but for cdn_dp_mailbox_validate_receive function. See patchwork.kernel.org/patch/10671981/ for details. Signed-off-

[PATCH AUTOSEL 5.0 79/99] drm/imx: don't skip DP channel disable for background plane

2019-05-06 Thread Sasha Levin
From: Lucas Stach [ Upstream commit 7bcde275eb1d0ac8793c77c7e666a886eb16633d ] In order to make sure that the plane color space gets reset correctly. Signed-off-by: Lucas Stach Signed-off-by: Philipp Zabel Signed-off-by: Sasha Levin --- drivers/gpu/drm/imx/ipuv3-crtc.c | 2 +- 1 file change

[PATCH AUTOSEL 5.0 87/99] drm/sun4i: Unbind components before releasing DRM and memory

2019-05-06 Thread Sasha Levin
From: Paul Kocialkowski [ Upstream commit e02bc29b2cfa7806830d6da8b2322cddd67e8dfe ] Our components may still be using the DRM device driver (if only to access our driver's private data), so make sure to unbind them before the final drm_dev_put. Also release our reserved memory after component

[PATCH AUTOSEL 5.0 70/99] drm/sun4i: Fix component unbinding and component master deletion

2019-05-06 Thread Sasha Levin
From: Paul Kocialkowski [ Upstream commit f5a9ed867c83875546c9aadd4ed8e785e9adcc3c ] For our component-backed driver to be properly removed, we need to delete the component master in sun4i_drv_remove and make sure to call component_unbind_all in the master's unbind so that all components are unb

[PATCH AUTOSEL 5.0 69/99] drm/sun4i: Set device driver data at bind time for use in unbind

2019-05-06 Thread Sasha Levin
From: Paul Kocialkowski [ Upstream commit 02b92adbe33e6dbd15dc6e32540b22f47c4ff0a2 ] Our sun4i_drv_unbind gets the drm device using dev_get_drvdata. However, that driver data is never set in sun4i_drv_bind. Set it there to avoid getting a NULL pointer at unbind time. Fixes: 9026e0d122ac ("drm:

[PATCH AUTOSEL 5.0 85/99] Revert "drm/virtio: drop prime import/export callbacks"

2019-05-06 Thread Sasha Levin
From: Dave Airlie [ Upstream commit a0cecc23cfcbf2626497a8c8770856dd56b67917 ] This patch does more harm than good, as it breaks both Xwayland and gnome-shell with X11. Xwayland requires DRI3 & DRI3 requires PRIME. X11 crash for obscure double-free reason which are hard to debug (starting X11

[PATCH AUTOSEL 5.0 60/99] drm: bridge: dw-hdmi: Fix overflow workaround for Rockchip SoCs

2019-05-06 Thread Sasha Levin
From: Jonas Karlman [ Upstream commit d15d9fd02575ecfada92d42f655940c4f10af842 ] The Rockchip RK3288 SoC (v2.00a) and RK3328/RK3399 SoCs (v2.11a) have also been identified as needing this workaround with a single iteration. Fixes: be41fc55f1aa ("drm: bridge: dw-hdmi: Handle overflow workaround

[PATCH AUTOSEL 5.0 78/99] gpu: ipu-v3: dp: fix CSC handling

2019-05-06 Thread Sasha Levin
From: Lucas Stach [ Upstream commit d4fad0a426c6e26f48c9a7cdd21a7fe9c198d645 ] Initialize the flow input colorspaces to unknown and reset to that value when the channel gets disabled. This avoids the state getting mixed up with a previous mode. Also keep the CSC settings for the background flow

[PATCH AUTOSEL 5.0 27/99] drm/amdgpu: shadow in shadow_list without tbo.mem.start cause page fault in sriov TDR

2019-05-06 Thread Sasha Levin
From: wentalou [ Upstream commit b575f10dbd6f84c2c8744ff1f486bfae1e4f6f38 ] shadow was added into shadow_list by amdgpu_bo_create_shadow. meanwhile, shadow->tbo.mem was not fully configured. tbo.mem would be fully configured by amdgpu_vm_sdma_map_table until calling amdgpu_vm_clear_bo. If sriov

[PATCH AUTOSEL 5.0 38/99] drm/amd/display: If one stream full updates, full update all planes

2019-05-06 Thread Sasha Levin
From: David Francis [ Upstream commit c238bfe0be9ef7420f7669a69e27c8c8f4d8a568 ] [Why] On some compositors, with two monitors attached, VT terminal switch can cause a graphical issue by the following means: There are two streams, one for each monitor. Each stream has one plane current state:

[PATCH AUTOSEL 5.0 23/99] drm/amd/display: extending AUX SW Timeout

2019-05-06 Thread Sasha Levin
From: Martin Leung [ Upstream commit f4bbebf8e7eb4d294b040ab2d2ba71e70e69b930 ] [Why] AUX takes longer to reply when using active DP-DVI dongle on some asics resulting in up to 2000+ us edid read (timeout). [How] 1. Adjust AUX poll to match spec 2. Extend the SW timeout. This does not affect no

[PATCH AUTOSEL 5.0 22/99] drm/ttm: fix dma_fence refcount imbalance on error path

2019-05-06 Thread Sasha Levin
From: Lin Yi [ Upstream commit 543c364d8eeeb42c0edfaac9764f4e9f3d777ec1 ] the ttm_bo_add_move_fence takes a reference to the struct dma_fence, but failed to release it on the error path, leading to a memory leak. add dma_fence_put before return when error occur. Signed-off-by: Lin Yi Reviewed-

[Bug 88275] [865G] Intel OpenGL rendering isn't starting

2019-05-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=88275 Timothy Arceri changed: What|Removed |Added Assignee|mesa-dev@lists.freedesktop. |dri-devel@lists.freedesktop

Re: [PATCH] drm: Fix timestamp docs for variable refresh properties.

2019-05-06 Thread Mario Kleiner
Nag nag: The below documentation patch, acked-by Daniel and r-b'd by Nicholas seems to not have made it into drm-next yet? thanks, -mario On Thu, Apr 18, 2019 at 2:45 PM Kazlauskas, Nicholas wrote: > > On 4/18/19 2:01 AM, Mario Kleiner wrote: > > As discussed with Nicholas and Daniel Vetter (pat

[Bug 37274] Crash in draw_llvm_shader23 (r300g, rs690, in warzone2100)

2019-05-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=37274 Timothy Arceri changed: What|Removed |Added Assignee|mesa-dev@lists.freedesktop. |dri-devel@lists.freedesktop

[Bug 44344] [i915g] state_tracker/st_glsl_to_tgsi.cpp:3082:simplify_cmp: Assertion `inst->dst.index < 4096' failed.

2019-05-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44344 Timothy Arceri changed: What|Removed |Added Component|Mesa core |Drivers/Gallium/i915g Assigne

[Bug 108893] Slow redrawing of menu in Gothic 2 under wine

2019-05-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108893 --- Comment #19 from Timothy Arceri --- I installed the game via Proton. Seems it is still very buggy in wine. I had to follow the instructions here [1] to get it to load without crashing or constantly changing the screen between windowed and fu

[Bug 101769] 2X performance regression on Mesa 17.1 vs 17.0

2019-05-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101769 Timothy Arceri changed: What|Removed |Added Status|NEW |NEEDINFO --- Comment #3 from Timothy A

Re: [PULL] 2nd pull for malidp-next

2019-05-06 Thread Dave Airlie
On Fri, 3 May 2019 at 22:17, Daniel Vetter wrote: > > On Fri, May 03, 2019 at 10:29:48AM +0100, Liviu Dudau wrote: > > On Fri, May 03, 2019 at 11:15:23AM +0200, Daniel Vetter wrote: > > > On Fri, May 3, 2019 at 11:11 AM Liviu Dudau wrote: > > > > > > > > On Fri, May 03, 2019 at 09:54:35AM +1000,

[Bug 100239] Incorrect rendering in CS:GO

2019-05-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100239 Timothy Arceri changed: What|Removed |Added Resolution|--- |FIXED Status|REOPENED

Re: [PATCH] drm: Fix drm.h uapi header for GNU/kFreeBSD

2019-05-06 Thread James Clarke
On 6 May 2019, at 09:16, Daniel Vetter wrote: > On Sat, May 04, 2019 at 09:43:14PM +0100, James Clarke wrote: >> On 15 Jan 2019, at 18:41, Eric Anholt wrote: >>> >>> Daniel Vetter writes: >>> On Tue, Jan 15, 2019 at 03:04:18PM +, James Clarke wrote: > Like GNU/Linux, GNU/kFreeBSD'

[Bug 203525] brightness with function buttons Acer Aspire A315-41 notebook with AMD Ryzen 5 2500U

2019-05-06 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=203525 --- Comment #5 from Erik (erikjohans...@flashbox.5july.org) --- By adding commit b59dfdaef173677b0b7e10f375226c0a1114fd20 i was able to boot 4.19.36. I tried 4.19.36 but it was broken. 4.19.36 broken and 4.19.37 fixed. I then ran a bisect but i wa

Re: [Intel-gfx] [PATCH v6 03/10] drm: revocation check at drm subsystem

2019-05-06 Thread Matt Roper
On Mon, May 06, 2019 at 06:56:03PM +0200, Daniel Vetter wrote: > On Thu, May 02, 2019 at 06:52:56PM +0530, Ramalingam C wrote: > > On every hdcp revocation check request SRM is read from fw file > > /lib/firmware/display_hdcp_srm.bin > > > > SRM table is parsed and stored at drm_hdcp.c, with funct

Re: [PATCH v2 12/17] kunit: tool: add Python wrappers for running KUnit tests

2019-05-06 Thread Brendan Higgins
> On Sun, May 5, 2019 at 5:19 PM Frank Rowand wrote: > > You can see the full version 14 document in the submitter's repo: > > > > $ git clone https://github.com/isaacs/testanything.github.io.git > > $ cd testanything.github.io > > $ git checkout tap14 > > $ ls tap-version-14-specification

Re: [PATCH v2 12/17] kunit: tool: add Python wrappers for running KUnit tests

2019-05-06 Thread Brendan Higgins
> On 5/3/19 4:14 PM, Brendan Higgins wrote: > >> On 5/2/19 10:36 PM, Brendan Higgins wrote: > >>> On Thu, May 2, 2019 at 6:45 PM Frank Rowand > >>> wrote: > > On 5/2/19 4:45 PM, Brendan Higgins wrote: > > On Thu, May 2, 2019 at 2:16 PM Frank Rowand > > wrote: > >> > >>

[Bug 110630] Random Horizontal green lines after screen resize

2019-05-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110630 --- Comment #4 from Axel Davy --- Created attachment 144181 --> https://bugs.freedesktop.org/attachment.cgi?id=144181&action=edit dmesg (after capturing the issue) -- You are receiving this mail because: You are the assignee for the bug.

[Bug 110630] Random Horizontal green lines after screen resize

2019-05-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110630 --- Comment #3 from Axel Davy --- Yes sure, Here is a video: http://dev.ipol.im/~adavy/green_lines.mp4 -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing

[Bug 110630] Random Horizontal green lines after screen resize

2019-05-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110630 --- Comment #5 from Axel Davy --- Created attachment 144182 --> https://bugs.freedesktop.org/attachment.cgi?id=144182&action=edit Xorg log (after having the issue) -- You are receiving this mail because: You are the assignee for the bug.

[Bug 110630] Random Horizontal green lines after screen resize

2019-05-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110630 --- Comment #2 from Alex Deucher --- Can you get a picture or video of the lines? Please attach your dmesg output and xorg log (if using X). -- You are receiving this mail because: You are the assignee for the bug.

[Bug 110630] Random Horizontal green lines after screen resize

2019-05-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110630 Axel Davy changed: What|Removed |Added Summary|Horizontal green lines |Random Horizontal green |

[Bug 110614] [Regression] Freeze at desktop manager startup

2019-05-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110614 --- Comment #5 from raffa...@zoho.com --- Maybe I should have stated so explicitely, ec6c2297634eba77248a929048cf4201887a5f0a is the first commit to crash. It looks like it crashes even before calling si_texture_get_handle as there's nothing logg

[Bug 110614] [Regression] Freeze at desktop manager startup

2019-05-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110614 --- Comment #6 from Julien Isorce --- This one https://cgit.freedesktop.org/mesa/mesa/commit/?id=ec6c2297634eba77248a929048cf4201887a5f0a ? or https://cgit.freedesktop.org/mesa/mesa/commit/?id=a3c202de0a963c0562796cf75e3a9b3eedf1afad ? Any cha

[Bug 110629] Intel i915 graphics driver issues with external monitor when laptop in docking station (opensuse bug 1132926)

2019-05-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110629 otrebor changed: What|Removed |Added Assignee|dri-devel@lists.freedesktop |intel-gfx-bugs@lists.freede

[Bug 95298] Can't "connect" to external display attached to docking station via DP on laptop with Intel/AMD dual

2019-05-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=95298 otrebor changed: What|Removed |Added See Also||https://bugs.freedesktop.or

[Bug 110629] Intel i915 graphics driver issues with external monitor when laptop in docking station (opensuse bug 1132926)

2019-05-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110629 Bug ID: 110629 Summary: Intel i915 graphics driver issues with external monitor when laptop in docking station (opensuse bug 1132926) Product: Mesa Version: unsp

[PATCH v5 03/11] drm/fb-helper: No need to cache rotation and sw_rotations

2019-05-06 Thread Noralf Trønnes
Getting rotation info is cheap so we can do it on demand. This is done in preparation for the removal of struct drm_fb_helper_crtc. Cc: Hans de Goede Signed-off-by: Noralf Trønnes Acked-by: Daniel Vetter Reviewed-by: Maxime Ripard --- drivers/gpu/drm/drm_fb_helper.c | 131 ---

[PATCH v5 02/11] drm/fb-helper: Avoid race with DRM userspace

2019-05-06 Thread Noralf Trønnes
drm_fb_helper_is_bound() is used to check if DRM userspace is in control. This is done by looking at the fb on the primary plane. By the time fb-helper gets around to committing, it's possible that the facts have changed. Avoid this race by holding the drm_device->master_mutex lock while committin

[PATCH v5 01/11] drm/atomic: Move __drm_atomic_helper_disable_plane/set_config()

2019-05-06 Thread Noralf Trønnes
Prepare for moving drm_fb_helper modesetting code to drm_client. drm_client will be linked to drm.ko, so move __drm_atomic_helper_disable_plane() and __drm_atomic_helper_set_config() out of drm_kms_helper.ko. While at it, fix two checkpatch complaints: - WARNING: Block comments use a trailing */ o

[PATCH v5 05/11] drm/fb-helper: Remove drm_fb_helper_crtc

2019-05-06 Thread Noralf Trønnes
It now only contains the modeset so use that directly instead and attach a modeset array to drm_client_dev. drm_fb_helper will use this array. Code will later be moved to drm_client, so add code there in a new file drm_client_modeset.c with MIT license to match drm_fb_helper.c. The modeset connect

[PATCH v5 00/11] drm/fb-helper: Move modesetting code to drm_client

2019-05-06 Thread Noralf Trønnes
This moves the modesetting code from drm_fb_helper to drm_client so it can be shared by all internal clients. Changes this time: - Use restore_fbdev_mode_force() in drm_fb_helper_restore_fbdev_mode_unlocked() to please igt tests. I'm not currently motivated to learn igt so I have added a todo

[PATCH v5 10/11] drm/fb-helper: Move out modeset config code

2019-05-06 Thread Noralf Trønnes
No functional changes, just moving code as-is and fixing includes. Signed-off-by: Noralf Trønnes Reviewed-by: Maxime Ripard --- drivers/gpu/drm/drm_client_modeset.c | 707 ++- drivers/gpu/drm/drm_fb_helper.c | 692 -- include/drm/drm_client.h

[PATCH v5 08/11] drm/fb-helper: Remove drm_fb_helper_connector

2019-05-06 Thread Noralf Trønnes
All drivers add all their connectors so there's no need to keep around an array of available connectors. Rename functions which signature is changed since they will be moved to drm_client in a later patch. Signed-off-by: Noralf Trønnes --- Documentation/gpu/todo.rst | 4 + drivers/gpu/dr

[PATCH v5 06/11] drm/fb-helper: Prepare to move out commit code

2019-05-06 Thread Noralf Trønnes
This makes the necessary changes so the commit code can be moved out to drm_client as-is in the next patch. It's split up to ease review. Signed-off-by: Noralf Trønnes --- drivers/gpu/drm/drm_fb_helper.c | 122 +--- 1 file changed, 81 insertions(+), 41 deletions(-) d

[PATCH v5 07/11] drm/fb-helper: Move out commit code

2019-05-06 Thread Noralf Trønnes
Move the modeset commit code to drm_client_modeset. No changes except exporting API. v2: Move to drm_client_modeset.c instead of drm_client.c Signed-off-by: Noralf Trønnes --- drivers/gpu/drm/drm_client_modeset.c | 287 +++ drivers/gpu/drm/drm_fb_helper.c | 282

[PATCH v5 09/11] drm/fb-helper: Prepare to move out modeset config code

2019-05-06 Thread Noralf Trønnes
This prepares the modeset code so it can be moved out as-is in the next patch. v3: Remove stray newline Signed-off-by: Noralf Trønnes Reviewed-by: Maxime Ripard --- drivers/gpu/drm/drm_fb_helper.c | 62 +++-- include/drm/drm_fb_helper.h | 4 --- 2 files changed

[PATCH v5 11/11] drm/client: Hack: Add bootsplash example

2019-05-06 Thread Noralf Trønnes
An example to showcase the client API. TODO: - A bootsplash client needs a way to tell drm_fb_helper to stay away, otherwise it will chime in on setup and hotplug. Most DRM drivers register fbdev before calling drm_dev_register() (the generic emulation is an exception). This have to be rever

[PATCH v5 04/11] drm/fb-helper: Remove drm_fb_helper_crtc->{x, y, desired_mode}

2019-05-06 Thread Noralf Trønnes
The values are already present in the modeset. This is done in preparation for the removal of struct drm_fb_helper_crtc. Signed-off-by: Noralf Trønnes Reviewed-by: Daniel Vetter Reviewed-by: Maxime Ripard --- drivers/gpu/drm/drm_fb_helper.c | 12 include/drm/drm_fb_helper.h |

[Bug 203525] brightness with function buttons Acer Aspire A315-41 notebook with AMD Ryzen 5 2500U

2019-05-06 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=203525 --- Comment #4 from Erik (erikjohans...@flashbox.5july.org) --- Created attachment 282653 --> https://bugzilla.kernel.org/attachment.cgi?id=282653&action=edit dmesg fixed 4.19.37 -- You are receiving this mail because: You are watching the ass

Re: [Intel-gfx] [PATCH v6 03/10] drm: revocation check at drm subsystem

2019-05-06 Thread Daniel Vetter
On Thu, May 02, 2019 at 06:52:56PM +0530, Ramalingam C wrote: > On every hdcp revocation check request SRM is read from fw file > /lib/firmware/display_hdcp_srm.bin > > SRM table is parsed and stored at drm_hdcp.c, with functions exported > for the services for revocation check from drivers (which

Re: [PATCH 1/1] MAINTAINERS: update amdkfd maintainer

2019-05-06 Thread Alex Deucher
On Fri, May 3, 2019 at 4:04 AM Oded Gabbay wrote: > > amdkfd is now being upstreamed together with the amdgpu driver. Therefore, > update the maintainer entry for the driver with the name of the amdgpu > driver maintainer. > We use one tree, but Felix is the maintainer. Should probably put him r

[Bug 203525] brightness with function buttons Acer Aspire A315-41 notebook with AMD Ryzen 5 2500U

2019-05-06 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=203525 --- Comment #3 from Erik (erikjohans...@flashbox.5july.org) --- Created attachment 282649 --> https://bugzilla.kernel.org/attachment.cgi?id=282649&action=edit dmesg broken 4.19.35 -- You are receiving this mail because: You are watching the as

[Bug 203525] brightness with function buttons Acer Aspire A315-41 notebook with AMD Ryzen 5 2500U

2019-05-06 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=203525 --- Comment #2 from Erik (erikjohans...@flashbox.5july.org) --- Created attachment 282647 --> https://bugzilla.kernel.org/attachment.cgi?id=282647&action=edit dmesg fixed 4.19.39 -- You are receiving this mail because: You are watching the ass

Re: [PATCH] drm/doc: Improve docs for conn_state->best_encoder

2019-05-06 Thread Daniel Vetter
On Mon, May 06, 2019 at 05:57:53PM +0300, Laurent Pinchart wrote: > Hi Daniel, > > Thank you for the patch. > > On Mon, May 06, 2019 at 04:46:29PM +0200, Daniel Vetter wrote: > > It's mandatory and considered core state since ioctls rely on this > > working. > > > > Thanks to Laurent for pointin

Re: [RFC PATCH 0/5] cgroup support for GPU devices

2019-05-06 Thread Tejun Heo
Hello, On Wed, May 01, 2019 at 10:04:33AM -0400, Brian Welty wrote: > The patch series enables device drivers to use cgroups to control the > following resources within a GPU (or other accelerator device): > * control allocation of device memory (reuse of memcg) > and with future work, we could e

Re: [PATCH v4 00/19] Share TTM code among DRM framebuffer drivers

2019-05-06 Thread Daniel Vetter
On Mon, May 06, 2019 at 04:20:34PM +0200, Gerd Hoffmann wrote: > On Mon, May 06, 2019 at 03:09:20PM +0200, Thomas Zimmermann wrote: > > Hi > > > > Am 06.05.19 um 14:22 schrieb Gerd Hoffmann: > > >> GEM VRAM could implement PRIME helpers, which would allow for using > > >> the generic fbcon. > > >

[Bug 110614] [Regression] Freeze at desktop manager startup

2019-05-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110614 --- Comment #4 from Julien Isorce --- So somehow the factoring is incorrect https://cgit.freedesktop.org/mesa/mesa/commit/?id=1cec049d4db1c4dcd121bad17df4a77273dd9bb1 If you can log the values for offset and stride before and after this patch i

[Bug 110614] [Regression] Freeze at desktop manager startup

2019-05-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110614 --- Comment #3 from raffa...@zoho.com --- Tested both master and 8cd71f399e73c5d87e9162cc74da76e317a9f41f specifically, but it still hangs and the stacktrace looks the same. Any way I can help debug this? -- You are receiving this mail because:

Re: [PATCH 1/2] drm/panel: simple: Add FriendlyELEC HD702E 800x1280 LCD panel

2019-05-06 Thread Rob Herring
On Mon, May 6, 2019 at 4:56 AM Jagan Teki wrote: > > Hi Sam, > > On Thu, May 2, 2019 at 1:04 AM Sam Ravnborg wrote: > > > > Hi Jagan > > > > On Wed, May 01, 2019 at 05:44:47PM +0530, Jagan Teki wrote: > > > HD702E lcd is FriendlyELEC developed eDP LCD panel with 800x1280 > > > resolution. It has

Re: [PATCH 10/12] drm/amdgpu: add independent DMA-buf export v3

2019-05-06 Thread Daniel Vetter
On Mon, May 06, 2019 at 10:05:07AM +, Koenig, Christian wrote: > Am 06.05.19 um 10:04 schrieb Daniel Vetter: > > [SNIP] > + /* pin buffer into GTT */ > + return amdgpu_bo_pin(bo, AMDGPU_GEM_DOMAIN_GTT); > >>> This is kinda what I mean with "shouldn't we pin the attachment" - afaiui >

Re: [PATCH] drm/doc: Improve docs for conn_state->best_encoder

2019-05-06 Thread Laurent Pinchart
Hi Daniel, Thank you for the patch. On Mon, May 06, 2019 at 04:46:29PM +0200, Daniel Vetter wrote: > It's mandatory and considered core state since ioctls rely on this > working. > > Thanks to Laurent for pointing out this gap. > > v2: Clarify to "atomic drivers" only. > > Cc: Laurent Pinchart

[PATCH] drm/doc: Improve docs for conn_state->best_encoder

2019-05-06 Thread Daniel Vetter
It's mandatory and considered core state since ioctls rely on this working. Thanks to Laurent for pointing out this gap. v2: Clarify to "atomic drivers" only. Cc: Laurent Pinchart Cc: Sean Paul Signed-off-by: Daniel Vetter --- include/drm/drm_connector.h | 4 1 file changed, 4 insertion

Re: [PATCH] gpu/drm: Remove duplicate headers

2019-05-06 Thread Daniel Vetter
On Fri, May 03, 2019 at 11:28:13PM +0530, jagdsh.li...@gmail.com wrote: > From: Jagadeesh Pagadala > > Remove duplicate headers which are included twice. > > Signed-off-by: Jagadeesh Pagadala I collected some acks for the msm and nouveau parts and pushed this. For next time around would be gre

[Bug 110614] [Regression] Freeze at desktop manager startup

2019-05-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110614 --- Comment #2 from Julien Isorce --- Can you try with latest master ? Should be fixed with: https://cgit.freedesktop.org/mesa/mesa/commit/?id=8cd71f399e73c5d87e9162cc74da76e317a9f41f Sorry for the inconvenience -- You are receiving this mail

Re: [PATCH v4 00/19] Share TTM code among DRM framebuffer drivers

2019-05-06 Thread Gerd Hoffmann
On Mon, May 06, 2019 at 03:09:20PM +0200, Thomas Zimmermann wrote: > Hi > > Am 06.05.19 um 14:22 schrieb Gerd Hoffmann: > >> GEM VRAM could implement PRIME helpers, which would allow for using > >> the generic fbcon. > > > > bochs_gem_prime_*() functions with this series applied look like you can

[Bug 108514] heavy screen flickering with Mobility Radeon X1600 and kernel version 3.15rc2 onward

2019-05-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108514 Werner Lueckel changed: What|Removed |Added Version|unspecified |DRI git -- You are receiving this mai

[Bug 108514] heavy screen flickering with Mobility Radeon X1600 and kernel version 3.15rc2 onward

2019-05-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108514 --- Comment #34 from Werner Lueckel --- Is there any chance to get the patch implemented into 18.04 LTS? The flickering screen is really annoying ... -- You are receiving this mail because: You are the assignee for the bug.

[Bug 110621] inbox is going to blank page

2019-05-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110621 Andre Klapper changed: What|Removed |Added Resolution|FIXED |INVALID Product|DRI

[Bug 203525] brightness with function buttons Acer Aspire A315-41 notebook with AMD Ryzen 5 2500U

2019-05-06 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=203525 Alex Deucher (alexdeuc...@gmail.com) changed: What|Removed |Added CC||alexdeuc...@gmail.c

[Bug 203525] New: brightness with function buttons Acer Aspire A315-41 notebook with AMD Ryzen 5 2500U

2019-05-06 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=203525 Bug ID: 203525 Summary: brightness with function buttons Acer Aspire A315-41 notebook with AMD Ryzen 5 2500U Product: Drivers Version: 2.5 Kernel Version: 4.19.37 5.0.11 5.1

Re: [PATCH v4 01/19] drm: Add |struct drm_gem_vram_object| and helpers

2019-05-06 Thread Thomas Zimmermann
Hi Am 06.05.19 um 15:17 schrieb Gerd Hoffmann: > Hi, > >> This misses the call to drm_gem_vram_placement(), where >> drm_gem_vram_push_to_system() enforces placement in system memory. > > Ah, missed that detail. > >> We >> could build a common implementation out of both interfaces, but that >

Re: [PATCH next 25/25] video: fbdev: Use dev_get_drvdata()

2019-05-06 Thread Bartlomiej Zolnierkiewicz
On 04/23/2019 09:50 AM, Kefeng Wang wrote: > Using dev_get_drvdata directly. > > Cc: Wan ZongShun > Cc: Kukjin Kim > Cc: Bartlomiej Zolnierkiewicz > Cc: Krzysztof Kozlowski > Cc: Michal Januszewski > Cc: dri-devel@lists.freedesktop.org > Cc: linux-fb...@vger.kernel.org > Signed-off-by: Kefen

Re: [PATCH v2 45/79] docs: console.txt: convert docs to ReST and rename to *.rst

2019-05-06 Thread Bartlomiej Zolnierkiewicz
On 04/22/2019 03:27 PM, Mauro Carvalho Chehab wrote: > Convert this small file to ReST in preparation for adding it to > the driver-api book. > > While this is not part of the driver-api book, mark it as > :orphan:, in order to avoid build warnings. > > Signed-off-by: Mauro Carvalho Chehab Ack

Re: [PATCH v2 13/79] docs: fb: convert docs to ReST and rename to *.rst

2019-05-06 Thread Bartlomiej Zolnierkiewicz
On 04/22/2019 03:27 PM, Mauro Carvalho Chehab wrote: > The conversion is actually: > - add blank lines and identation in order to identify paragraphs; > - fix tables markups; > - add some lists markups; > - mark literal blocks; > - adjust title markups. > > At its new index.rst, let's a

Re: [PATCH v2] drm/virtio: Remove redundant return type

2019-05-06 Thread Gerd Hoffmann
On Mon, May 06, 2019 at 11:10:34AM +0200, Robert Foss wrote: > virtio_gpu_fence_emit() always returns 0, since it > has no error paths. > > Consequently no calls for virtio_gpu_fence_emit() > use the return value, and it can be removed. > > Signed-off-by: Robert Foss > Suggested-by: Emil Velikov

Re: [PATCH v3 14/26] compat_ioctl: move ATYFB_CLK handling to atyfb driver

2019-05-06 Thread Bartlomiej Zolnierkiewicz
On 04/16/2019 10:25 PM, Arnd Bergmann wrote: > These are two obscure ioctl commands, in a driver that only > has compatible commands, so just let the driver handle this > itself. > > Signed-off-by: Arnd Bergmann Acked-by: Bartlomiej Zolnierkiewicz Best regards, -- Bartlomiej Zolnierkiewicz Sa

Re: [PATCH 13/57] docs: fb: convert documentation to ReST format

2019-05-06 Thread Bartlomiej Zolnierkiewicz
On 04/16/2019 04:55 AM, Mauro Carvalho Chehab wrote: > Convert all documents here from plain txt to ReST format, in > order to allow parsing them with the documentation build > system. > > Signed-off-by: Mauro Carvalho Chehab Acked-by: Bartlomiej Zolnierkiewicz Best regards, -- Bartlomiej Zol

Re: [PATCH] fbcon: Don't reset logo_shown when logo is currently shown

2019-05-06 Thread Bartlomiej Zolnierkiewicz
On 04/02/2019 08:09 PM, Andreas Schwab wrote: > When the logo is currently drawn on a virtual console, and the console > loglevel is reduced to quiet, logo_shown must be left alone, so that it > the scrolling region on that virtual console is properly reset. > > Fixes: 10993504d647 ("fbcon: Silen

Re: [PATCH 18/20] lib: image-formats: Add v4l2 formats support

2019-05-06 Thread Maxime Ripard
Hi Hans On Thu, May 02, 2019 at 10:24:00AM +0200, Hans Verkuil wrote: > On 4/17/19 9:54 AM, Maxime Ripard wrote: > > V4L2 uses different fourcc's than DRM, and has a different set of formats. > > For now, let's add the v4l2 fourcc's for the already existing formats. > > For this lib to be more use

Re: [PATCH v4 01/19] drm: Add |struct drm_gem_vram_object| and helpers

2019-05-06 Thread Gerd Hoffmann
Hi, > This misses the call to drm_gem_vram_placement(), where > drm_gem_vram_push_to_system() enforces placement in system memory. Ah, missed that detail. > We > could build a common implementation out of both interfaces, but that > would obfuscate the code IMHO. I'd just leave it as it is. O

Re: [PATCH v4 12/19] drm/bochs: Convert bochs driver to VRAM MM

2019-05-06 Thread Thomas Zimmermann
Hi Am 06.05.19 um 14:40 schrieb Gerd Hoffmann: > Hi, > >> static const struct file_operations bochs_fops = { >> .owner = THIS_MODULE, >> -.open = drm_open, >> -.release= drm_release, >> -.unlocked_ioctl = drm_ioctl, >> -.compat_ioctl = drm_comp

  1   2   3   >