Re: [PATCH 3/5] drm/virtio: track whether or not a context has been initiated

2020-02-14 Thread Chia-I Wu
On Fri, Feb 14, 2020 at 6:29 PM Gurchetan Singh wrote: > > On Fri, Feb 14, 2020 at 11:27 AM Chia-I Wu wrote: > > > > On Thu, Feb 13, 2020 at 3:18 PM Gurchetan Singh > > wrote: > > > > > > Use an atomic variable to track whether a context has been > > > initiated. > > > > > > v2: Fix possible

[PATCH] drm/lima: fix recovering from PLBU out of memory

2020-02-14 Thread Vasily Khoruzhick
It looks like on PLBU_OUT_OF_MEM interrupt we need to resume from where we stopped, i.e. new PLBU heap start is old end. Also update end address in GP frame to grow heap on 2nd and subsequent out of memory interrupts. Fixes: 2081e8dcf1ee ("drm/lima: recover task by enlarging heap buffer")

Re: [PATCH 3/5] drm/virtio: track whether or not a context has been initiated

2020-02-14 Thread Gurchetan Singh
On Fri, Feb 14, 2020 at 11:27 AM Chia-I Wu wrote: > > On Thu, Feb 13, 2020 at 3:18 PM Gurchetan Singh > wrote: > > > > Use an atomic variable to track whether a context has been > > initiated. > > > > v2: Fix possible race (@olv) > > > > Signed-off-by: Gurchetan Singh > > --- > >

Re: [PATCH v2 2/2] drm/bridge: anx7688: Add anx7688 bridge driver support

2020-02-14 Thread Nicolas Boichat
On Sat, Feb 15, 2020 at 5:36 AM Vasily Khoruzhick wrote: > > On Thu, Feb 13, 2020 at 6:54 AM Enric Balletbo i Serra > wrote: > > > > From: Nicolas Boichat > > > > ANX7688 is a HDMI to DP converter (as well as USB-C port controller), > > that has an internal microcontroller. > > > > The only

Re: [PATCH v2 2/2] drm/bridge: anx7688: Add anx7688 bridge driver support

2020-02-14 Thread Nicolas Boichat
On Fri, Feb 14, 2020 at 8:18 PM Andrzej Hajda wrote: > > On 13.02.2020 15:54, Enric Balletbo i Serra wrote: > > From: Nicolas Boichat > > > > ANX7688 is a HDMI to DP converter (as well as USB-C port controller), > > that has an internal microcontroller. > > > > The only reason a Linux kernel

Re: [PATCH AUTOSEL 5.5 155/542] drm/amdkfd: remove set but not used variable 'top_dev'

2020-02-14 Thread Sasha Levin
On Fri, Feb 14, 2020 at 04:44:29PM -0500, Greg KH wrote: On Fri, Feb 14, 2020 at 10:42:27AM -0500, Sasha Levin wrote: From: zhengbin [ Upstream commit d191bd678153307573d615bb42da4fcca19fe477 ] Fixes gcc '-Wunused-but-set-variable' warning: drivers/gpu/drm/amd/amdkfd/kfd_iommu.c: In

Re: [PATCH 0/3] drm/mst: Add support for simultaneous down replies

2020-02-14 Thread Lyude Paul
On Thu, 2020-02-13 at 16:15 -0500, Sean Paul wrote: > From: Sean Paul > > Hey all, > Earlier this week on my 5.5 kernel (I can't seem to get a 5.6 kernel to > behave on any of my devices), I ran into the multi-reply problem that > Wayne fixed in January. Without realizing there was already a fix

[PATCH v2 3/5] drm/nouveau/kms/gv100-: Add support for interlaced modes

2020-02-14 Thread Lyude Paul
We advertise being able to set interlaced modes, so let's actually make sure to do that. Otherwise, we'll end up hanging the display engine due to trying to set a mode with timings adjusted for interlacing without telling the hardware it's actually an interlaced mode. Signed-off-by: Lyude Paul

[PATCH v2 4/5] drm/nouveau/kms/nv50-: Move 8BPC limit for MST into nv50_mstc_get_modes()

2020-02-14 Thread Lyude Paul
This just limits the BPC for MST connectors to a maximum of 8 from nv50_mstc_get_modes(), instead of doing so during nv50_msto_atomic_check(). This doesn't introduce any functional changes yet (other then userspace now lying about the max bpc, but we can't support that yet anyway so meh). But,

[PATCH v2 2/5] drm/nouveau/kms/nv50-: Probe SOR caps for DP interlacing support

2020-02-14 Thread Lyude Paul
Right now, we make the mistake of allowing interlacing on all connectors. Nvidia hardware does not always support interlacing with DP though, so we need to make sure that we don't allow interlaced modes to be set in such situations as otherwise we'll end up accidentally hanging the display HW.

[PATCH v2 5/5] drm/nouveau/kms/nv50-: Share DP SST mode_valid() handling with MST

2020-02-14 Thread Lyude Paul
Currently, the nv50_mstc_mode_valid() function is happy to take any and all modes, even the ones we can't actually support sometimes like interlaced modes. Luckily, the only difference between the mode validation that needs to be performed for MST vs. SST is that eventually we'll need to check

[PATCH v2 0/5] drm/nouveau: DP interlace fixes

2020-02-14 Thread Lyude Paul
Currently, nouveau doesn't actually bother to try probing whether or not it can actually handle interlaced modes over DisplayPort. As a result, on volta and later we'll end up trying to set an interlaced mode even when it's not supported and cause the front end for the display engine to hang. So,

[PATCH v2 1/5] drm/nouveau/kms/nv50-: Initialize core channel in nouveau_display_create()

2020-02-14 Thread Lyude Paul
We'll need the core channel initialized and ready by the time that we start creating modesetting objects, so that we can call the NV507D_GET_CAPABILITIES method to make the hardware expose it's modesetting capabilities for later probing. So, when loading the driver prepare the core channel from

Re: [PATCH v2 2/2] drm/bridge: anx7688: Add anx7688 bridge driver support

2020-02-14 Thread Vasily Khoruzhick
On Fri, Feb 14, 2020 at 2:20 PM Enric Balletbo Serra wrote: > > Hi Vasily, > > Missatge de Vasily Khoruzhick del dia dv., 14 de > febr. 2020 a les 23:17: > > > > On Fri, Feb 14, 2020 at 1:53 PM Enric Balletbo Serra > > wrote: > > > > > > Hi Vasily, > > > > > > Missatge de Vasily Khoruzhick del

Re: [PATCH v2 2/2] drm/bridge: anx7688: Add anx7688 bridge driver support

2020-02-14 Thread Enric Balletbo Serra
Hi Vasily, Missatge de Vasily Khoruzhick del dia dv., 14 de febr. 2020 a les 23:17: > > On Fri, Feb 14, 2020 at 1:53 PM Enric Balletbo Serra > wrote: > > > > Hi Vasily, > > > > Missatge de Vasily Khoruzhick del dia dv., 14 de > > febr. 2020 a les 22:36: > > > > > > On Thu, Feb 13, 2020 at 6:54

Re: [PATCH v2 2/2] drm/bridge: anx7688: Add anx7688 bridge driver support

2020-02-14 Thread Vasily Khoruzhick
On Fri, Feb 14, 2020 at 1:53 PM Enric Balletbo Serra wrote: > > Hi Vasily, > > Missatge de Vasily Khoruzhick del dia dv., 14 de > febr. 2020 a les 22:36: > > > > On Thu, Feb 13, 2020 at 6:54 AM Enric Balletbo i Serra > > wrote: > > > > > > From: Nicolas Boichat > > > > > > ANX7688 is a HDMI to

Re: [RFC PATCH 0/3] KVM: x86: honor guest memory type

2020-02-14 Thread Sean Christopherson
On Fri, Feb 14, 2020 at 01:56:48PM -0800, Jim Mattson wrote: > On Fri, Feb 14, 2020 at 1:47 PM Chia-I Wu wrote: > > AFAICT, it is currently allowed on ARM (verified) and AMD (not > > verified, but svm_get_mt_mask returns 0 which supposedly means the NPT > > does not restrict what the guest PAT

Re: [PATCH v2 2/2] drm/bridge: anx7688: Add anx7688 bridge driver support

2020-02-14 Thread Enric Balletbo Serra
Hi Vasily, Missatge de Vasily Khoruzhick del dia dv., 14 de febr. 2020 a les 22:36: > > On Thu, Feb 13, 2020 at 6:54 AM Enric Balletbo i Serra > wrote: > > > > From: Nicolas Boichat > > > > ANX7688 is a HDMI to DP converter (as well as USB-C port controller), > > that has an internal

Re: [PATCH AUTOSEL 5.5 155/542] drm/amdkfd: remove set but not used variable 'top_dev'

2020-02-14 Thread Greg KH
On Fri, Feb 14, 2020 at 10:42:27AM -0500, Sasha Levin wrote: > From: zhengbin > > [ Upstream commit d191bd678153307573d615bb42da4fcca19fe477 ] > > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/gpu/drm/amd/amdkfd/kfd_iommu.c: In function kfd_iommu_device_init: >

Re: [RFC PATCH 0/3] KVM: x86: honor guest memory type

2020-02-14 Thread Chia-I Wu
On Fri, Feb 14, 2020 at 11:52 AM Sean Christopherson wrote: > > On Fri, Feb 14, 2020 at 11:26:06AM +0100, Paolo Bonzini wrote: > > On 13/02/20 23:18, Chia-I Wu wrote: > > > > > > The bug you mentioned was probably this one > > > > > > https://bugzilla.kernel.org/show_bug.cgi?id=104091 > > > >

Re: [git pull] drm fixes for 5.6-rc2

2020-02-14 Thread pr-tracker-bot
The pull request you sent on Fri, 14 Feb 2020 14:15:53 +1000: > git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2020-02-14 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/3f0d329371c08dfa3227f1716e522f3a8a081155 Thank you! -- Deet-doot-dot, I am a bot.

Re: [PATCH 3/3] drm/panel: simple: fix osd070t1718_19ts sync drive edge

2020-02-14 Thread Sam Ravnborg
Hi Tomi. On Mon, Feb 10, 2020 at 10:15:33AM +0200, Tomi Valkeinen wrote: > Hi Thierry, > > On 02/12/2019 15:07, Laurent Pinchart wrote: > > Hi Tomi, > > > > Thank you for the patch. > > > > On Thu, Nov 14, 2019 at 11:39:50AM +0200, Tomi Valkeinen wrote: > > > The panel datasheet says that the

Re: [PATCH v2 2/2] drm/bridge: anx7688: Add anx7688 bridge driver support

2020-02-14 Thread Vasily Khoruzhick
On Thu, Feb 13, 2020 at 6:54 AM Enric Balletbo i Serra wrote: > > From: Nicolas Boichat > > ANX7688 is a HDMI to DP converter (as well as USB-C port controller), > that has an internal microcontroller. > > The only reason a Linux kernel driver is necessary is to reject > resolutions that require

Re: [RFC PATCH 0/3] KVM: x86: honor guest memory type

2020-02-14 Thread Chia-I Wu
On Fri, Feb 14, 2020 at 2:26 AM Paolo Bonzini wrote: > > On 13/02/20 23:18, Chia-I Wu wrote: > > > > The bug you mentioned was probably this one > > > > https://bugzilla.kernel.org/show_bug.cgi?id=104091 > > Yes, indeed. > > > From what I can tell, the commit allowed the guests to create cached

Re: [PATCH 09/11] drm, cgroup: Introduce lgpu as DRM cgroup resource

2020-02-14 Thread Tejun Heo
On Fri, Feb 14, 2020 at 03:28:40PM -0500, Kenny Ho wrote: > Can you elaborate, per your understanding, how the lgpu weight > attribute differ from the io.weight you suggested? Is it merely a Oh, it's the non-weight part which is problematic. > formatting/naming issue or is it the implementation

Re: [PATCH 09/11] drm, cgroup: Introduce lgpu as DRM cgroup resource

2020-02-14 Thread Kenny Ho
Hi Tejun, On Fri, Feb 14, 2020 at 2:17 PM Tejun Heo wrote: > > I have to agree with Daniel here. My apologies if I weren't clear > enough. Here's one interface I can think of: > > * compute weight: The same format as io.weight. Proportional control >of gpu compute. > > * memory low: Please

Re: [PATCH 13/15] drm/amdgpu/display: split dp connector registration (v3)

2020-02-14 Thread Alex Deucher
On Fri, Feb 14, 2020 at 1:35 PM Daniel Vetter wrote: > > On Fri, Feb 14, 2020 at 12:39:22PM -0500, Alex Deucher wrote: > > On Fri, Feb 14, 2020 at 2:39 AM Daniel Vetter wrote: > > > > > > On Fri, Feb 07, 2020 at 04:17:13PM -0500, Alex Deucher wrote: > > > > Split into init and register functions

Re: [RFC PATCH 0/3] KVM: x86: honor guest memory type

2020-02-14 Thread Sean Christopherson
On Fri, Feb 14, 2020 at 11:26:06AM +0100, Paolo Bonzini wrote: > On 13/02/20 23:18, Chia-I Wu wrote: > > > > The bug you mentioned was probably this one > > > > https://bugzilla.kernel.org/show_bug.cgi?id=104091 > > Yes, indeed. > > > From what I can tell, the commit allowed the guests to

Re: [PATCH v4 0/6] drm/virtio: rework batching

2020-02-14 Thread Chia-I Wu
Series is Reviewed-by: Chia-I Wu Thanks! On Fri, Feb 14, 2020 at 4:55 AM Gerd Hoffmann wrote: > > v4: > - add patches #2 + #6. > v3: > - split into multiple patches. > > Gerd Hoffmann (6): > drm/virtio: rework notification for better batching > drm/virtio: notify before waiting >

Re: [PATCH 3/5] drm/virtio: track whether or not a context has been initiated

2020-02-14 Thread Chia-I Wu
On Thu, Feb 13, 2020 at 3:18 PM Gurchetan Singh wrote: > > Use an atomic variable to track whether a context has been > initiated. > > v2: Fix possible race (@olv) > > Signed-off-by: Gurchetan Singh > --- > drivers/gpu/drm/virtio/virtgpu_drv.h | 1 + > drivers/gpu/drm/virtio/virtgpu_ioctl.c |

Re: [PATCH 09/11] drm, cgroup: Introduce lgpu as DRM cgroup resource

2020-02-14 Thread Tejun Heo
Hello, Kenny, Daniel. (cc'ing Johannes) On Fri, Feb 14, 2020 at 01:51:32PM -0500, Kenny Ho wrote: > On Fri, Feb 14, 2020 at 1:34 PM Daniel Vetter wrote: > > > > I think guidance from Tejun in previos discussions was pretty clear that > > he expects cgroups to be both a) standardized and c)

Re: [PATCH 09/11] drm, cgroup: Introduce lgpu as DRM cgroup resource

2020-02-14 Thread Kenny Ho
On Fri, Feb 14, 2020 at 1:34 PM Daniel Vetter wrote: > > I think guidance from Tejun in previos discussions was pretty clear that > he expects cgroups to be both a) standardized and c) sufficient clear > meaning that end-users have a clear understanding of what happens when > they change the

Re: [v2] arm64: dts: sc7180: add dsi controller and phy entries for idp dts

2020-02-14 Thread Matthias Kaehlcke
On Tue, Feb 11, 2020 at 05:07:35PM +0530, Harigovindan P wrote: > subject: arm64: dts: sc7180: add dsi controller and phy entries for idp dts nit: 'dts' at the end is redundant, the prefixes make it clear that this is about DT entries. Also the message isn't really concise. The main entries for

[PATCH] drm/msm/a5xx: Always set an OPP supported hardware value

2020-02-14 Thread Jordan Crouse
If the opp table specifies opp-supported-hw as a property but the driver has not set a supported hardware value the OPP subsystem will reject all the table entries. Set a "default" value that will match the default table entries but not conflict with any possible real bin values. Also fix a small

Re: [PATCH 13/15] drm/amdgpu/display: split dp connector registration (v3)

2020-02-14 Thread Daniel Vetter
On Fri, Feb 14, 2020 at 12:39:22PM -0500, Alex Deucher wrote: > On Fri, Feb 14, 2020 at 2:39 AM Daniel Vetter wrote: > > > > On Fri, Feb 07, 2020 at 04:17:13PM -0500, Alex Deucher wrote: > > > Split into init and register functions to avoid a segfault > > > in some configs when the load/unload

Re: [PATCH 09/11] drm, cgroup: Introduce lgpu as DRM cgroup resource

2020-02-14 Thread Daniel Vetter
On Fri, Feb 14, 2020 at 12:08:35PM -0500, Kenny Ho wrote: > Hi Jason, > > Thanks for the review. > > On Fri, Feb 14, 2020 at 11:44 AM Jason Ekstrand wrote: > > > > Pardon my ignorance but I'm a bit confused by this. What is a "logical > > GPU"? What are we subdividing? Are we carving up

RE: [PATCH] drm/amd/display: Don't take the address of skip_scdc_overwrite in dc_link_detect_helper

2020-02-14 Thread Liu, Zhan
> -Original Message- > From: Liu, Zhan > Sent: 2020/February/14, Friday 11:01 AM > To: Nathan Chancellor ; Wentland, Harry > ; Li, Sun peng (Leo) ; > Deucher, Alexander ; Koenig, Christian > ; Zhou, David(ChunMing) > > Cc: clang-built-li...@googlegroups.com;

Re: [PATCH RESEND] drm/mcde: Fix Sphinx formatting

2020-02-14 Thread Daniel Vetter
On Fri, Feb 14, 2020 at 05:38:15PM +0100, Jonathan Neuschäfer wrote: > - Format the pipe diagram as a monospace block. > - Fix formatting of the list. Without the empty line, the first dash is > not parsed as a bullet point. > > Signed-off-by: Jonathan Neuschäfer > --- > Previous copy: >

drm/print: clean up RATELIMITED macros

2020-02-14 Thread Sam Ravnborg
>From 6fdc9c030ba88e6d0d8abc319f3dfe83751d5900 Mon Sep 17 00:00:00 2001 From: Sam Ravnborg Date: Fri, 14 Feb 2020 18:54:42 +0100 Subject: [PATCH v1 1/1] drm/print: clean up RATELIMITED macros Drop a few indirections, making the code simpler. This also drops a RATELIMITED variant that is not in

Re: [PATCH 09/11] drm, cgroup: Introduce lgpu as DRM cgroup resource

2020-02-14 Thread Jason Ekstrand
On Fri, Feb 14, 2020 at 11:08 AM Kenny Ho wrote: > > Hi Jason, > > Thanks for the review. > > On Fri, Feb 14, 2020 at 11:44 AM Jason Ekstrand wrote: > > > > Pardon my ignorance but I'm a bit confused by this. What is a "logical > > GPU"? What are we subdividing? Are we carving up memory?

Re: [PATCH 13/15] drm/amdgpu/display: split dp connector registration (v3)

2020-02-14 Thread Alex Deucher
On Fri, Feb 14, 2020 at 2:39 AM Daniel Vetter wrote: > > On Fri, Feb 07, 2020 at 04:17:13PM -0500, Alex Deucher wrote: > > Split into init and register functions to avoid a segfault > > in some configs when the load/unload callbacks are removed. > > > > v2: > > - add back accidently dropped

Re: [PATCH 09/11] drm, cgroup: Introduce lgpu as DRM cgroup resource

2020-02-14 Thread Kenny Ho
Hi Jason, Thanks for the review. On Fri, Feb 14, 2020 at 11:44 AM Jason Ekstrand wrote: > > Pardon my ignorance but I'm a bit confused by this. What is a "logical GPU"? > What are we subdividing? Are we carving up memory? Compute power? Both? The intention is compute but it is up to the

Re: [PATCH 09/11] drm, cgroup: Introduce lgpu as DRM cgroup resource

2020-02-14 Thread Jason Ekstrand
On Fri, Feb 14, 2020 at 10:44 AM Jason Ekstrand wrote: > > Pardon my ignorance but I'm a bit confused by this. What is a "logical GPU"? > What are we subdividing? Are we carving up memory? Compute power? Both? > > If it's carving up memory, why aren't we just measuring it in megabytes? > >

Re: [PATCH AUTOSEL 4.19 246/252] drm/amdgpu/smu10: fix smu10_get_clock_by_type_with_voltage

2020-02-14 Thread Alex Deucher
On Fri, Feb 14, 2020 at 11:17 AM Sasha Levin wrote: > > From: Alex Deucher > > [ Upstream commit 1064ad4aeef94f51ca230ac639a9e996fb7867a0 ] > > Cull out 0 clocks to avoid a warning in DC. > > Bug: https://gitlab.freedesktop.org/drm/amd/issues/963 Same comment as for 5.5. All of the upstream

Re: [PATCH 09/11] drm, cgroup: Introduce lgpu as DRM cgroup resource

2020-02-14 Thread Jason Ekstrand
Pardon my ignorance but I'm a bit confused by this. What is a "logical GPU"? What are we subdividing? Are we carving up memory? Compute power? Both? If it's carving up memory, why aren't we just measuring it in megabytes? If it's carving up compute power, what's actually being carved up?

Re: [PATCH AUTOSEL 5.5 530/542] drm/amdgpu/smu10: fix smu10_get_clock_by_type_with_voltage

2020-02-14 Thread Alex Deucher
On Fri, Feb 14, 2020 at 11:00 AM Sasha Levin wrote: > > From: Alex Deucher > > [ Upstream commit 1064ad4aeef94f51ca230ac639a9e996fb7867a0 ] > > Cull out 0 clocks to avoid a warning in DC. > > Bug: https://gitlab.freedesktop.org/drm/amd/issues/963 All of the upstream commits that reference this

[PATCH AUTOSEL 4.4 093/100] radeon: insert 10ms sleep in dce5_crtc_load_lut

2020-02-14 Thread Sasha Levin
From: Daniel Vetter [ Upstream commit ec3d65082d7dabad6fa8f66a8ef166f2d522d6b2 ] Per at least one tester this is enough magic to recover the regression introduced for some people (but not all) in commit b8e2b0199cc377617dc238f5106352c06dcd3fa2 Author: Peter Rosin Date: Tue Jul 4 12:36:57

[PATCH AUTOSEL 4.4 090/100] drm/nouveau/disp/nv50-: prevent oops when no channel method map provided

2020-02-14 Thread Sasha Levin
From: Ben Skeggs [ Upstream commit 0e6176c6d286316e9431b4f695940cfac4ffe6c2 ] The implementations for most channel types contains a map of methods to priv registers in order to provide debugging info when a disp exception has been raised. This info is missing from the implementation of PIO

Re: [PATCH] drm/print: Delete a few unused shouting macros

2020-02-14 Thread Daniel Vetter
On Fri, Feb 14, 2020 at 11:13:23AM +0200, Jani Nikula wrote: > On Fri, 14 Feb 2020, Daniel Vetter wrote: > > We want to go over to the new lowercase ones, encourage that a bit > > more. > > > > Cc: Jani Nikula > > Signed-off-by: Daniel Vetter > > --- > > drivers/gpu/drm/drm_managed.c | 21

[PATCH AUTOSEL 4.4 071/100] drm/vmwgfx: prevent memory leak in vmw_cmdbuf_res_add

2020-02-14 Thread Sasha Levin
From: Navid Emamdoost [ Upstream commit 40efb09a7f53125719e49864da008495e39aaa1e ] In vmw_cmdbuf_res_add if drm_ht_insert_item fails the allocated memory for cres should be released. Fixes: 18e4a4669c50 ("drm/vmwgfx: Fix compat shader namespace") Signed-off-by: Navid Emamdoost Reviewed-by:

[PATCH AUTOSEL 4.4 070/100] drm/nouveau: Fix copy-paste error in nouveau_fence_wait_uevent_handler

2020-02-14 Thread Sasha Levin
From: YueHaibing [ Upstream commit 1eb013473bff5f95b6fe1ca4dd7deda47257b9c2 ] Like other cases, it should use rcu protected 'chan' rather than 'fence->channel' in nouveau_fence_wait_uevent_handler. Fixes: 0ec5f02f0e2c ("drm/nouveau: prevent stale fence->channel pointers, and protect with

[PATCH AUTOSEL 4.4 022/100] drm/amdgpu: remove set but not used variable 'dig_connector'

2020-02-14 Thread Sasha Levin
From: yu kuai [ Upstream commit 5bea7fedb7fe4d5e6d3ba9f385dd3619fb004ce7 ] Fixes gcc '-Wunused-but-set-variable' warning: drivers/gpu/drm/amd/amdgpu/atombios_dp.c: In function ‘amdgpu_atombios_dp_get_panel_mode’: drivers/gpu/drm/amd/amdgpu/atombios_dp.c:364:36: warning: variable

[PATCH AUTOSEL 4.4 034/100] drm/radeon: remove set but not used variable 'blocks'

2020-02-14 Thread Sasha Levin
From: zhengbin [ Upstream commit 77441f77949807fda4a0aec0bdf3e86ae863fd56 ] Fixes gcc '-Wunused-but-set-variable' warning: drivers/gpu/drm/radeon/radeon_combios.c: In function radeon_combios_get_power_modes: drivers/gpu/drm/radeon/radeon_combios.c:2638:10: warning: variable blocks set but

[PATCH AUTOSEL 4.4 032/100] drm/radeon: remove set but not used variable 'dig_connector'

2020-02-14 Thread Sasha Levin
From: zhengbin [ Upstream commit 3f47f0301594c4f930a32bd7d8125cfdeb6b4b6e ] Fixes gcc '-Wunused-but-set-variable' warning: drivers/gpu/drm/radeon/atombios_dp.c: In function radeon_dp_get_panel_mode: drivers/gpu/drm/radeon/atombios_dp.c:415:36: warning: variable dig_connector set but not used

[PATCH AUTOSEL 4.4 058/100] drm/gma500: remove set but not used variables 'hist_reg'

2020-02-14 Thread Sasha Levin
From: Chen Zhou [ Upstream commit 72f775611daf3ce20358388facbaf11f22899fa2 ] Fixes gcc '-Wunused-but-set-variable' warning: drivers/gpu/drm/gma500/psb_irq.c: In function psb_irq_turn_off_dpst: drivers/gpu/drm/gma500/psb_irq.c:473:6: warning: variable hist_reg set but not used

[PATCH AUTOSEL 4.4 035/100] drm/radeon: remove set but not used variable 'tv_pll_cntl1'

2020-02-14 Thread Sasha Levin
From: zhengbin [ Upstream commit dc9b3dbd28744510b78490dc6312848a8f918749 ] Fixes gcc '-Wunused-but-set-variable' warning: drivers/gpu/drm/radeon/radeon_legacy_tv.c: In function radeon_legacy_tv_mode_set: drivers/gpu/drm/radeon/radeon_legacy_tv.c:538:24: warning: variable tv_pll_cntl1 set

[PATCH AUTOSEL 4.4 024/100] drm/amdgpu: remove always false comparison in 'amdgpu_atombios_i2c_process_i2c_ch'

2020-02-14 Thread Sasha Levin
From: yu kuai [ Upstream commit 220ac8d1444054ade07ce14498fcda266410f90e ] Fixes gcc '-Wtype-limits' warning: drivers/gpu/drm/amd/amdgpu/atombios_i2c.c: In function ‘amdgpu_atombios_i2c_process_i2c_ch’: drivers/gpu/drm/amd/amdgpu/atombios_i2c.c:79:11: warning: comparison is always false due to

[PATCH AUTOSEL 4.4 030/100] drm/gma500: remove set but not used variable 'channel_eq'

2020-02-14 Thread Sasha Levin
From: zhengbin [ Upstream commit a7adabeece570b8a566dd592219410456676796e ] Fixes gcc '-Wunused-but-set-variable' warning: drivers/gpu/drm/gma500/cdv_intel_dp.c: In function cdv_intel_dp_complete_link_train: drivers/gpu/drm/gma500/cdv_intel_dp.c:1596:7: warning: variable channel_eq set but

[PATCH AUTOSEL 4.4 029/100] drm/gma500: remove set but not used variable 'is_hdmi', 'is_crt'

2020-02-14 Thread Sasha Levin
From: zhengbin [ Upstream commit 834c43a97f341d319aa7b74099bbce2c4e75bc72 ] Fixes gcc '-Wunused-but-set-variable' warning: drivers/gpu/drm/gma500/cdv_intel_display.c: In function cdv_intel_crtc_mode_set: drivers/gpu/drm/gma500/cdv_intel_display.c:594:7: warning: variable is_hdmi set but not

[PATCH AUTOSEL 4.4 021/100] drm/amdgpu: remove 4 set but not used variable in amdgpu_atombios_get_connector_info_from_object_table

2020-02-14 Thread Sasha Levin
From: yu kuai [ Upstream commit bae028e3e521e8cb8caf2cc16a455ce4c55f2332 ] Fixes gcc '-Wunused-but-set-variable' warning: drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c: In function 'amdgpu_atombios_get_connector_info_from_object_table': drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:376:26:

[PATCH AUTOSEL 4.4 026/100] drm/amdgpu: remove set but not used variable 'amdgpu_connector'

2020-02-14 Thread Sasha Levin
From: yu kuai [ Upstream commit 4f2922d12d6c63d0f4aa4e859ad95aee6d0d4ea0 ] Fixes gcc '-Wunused-but-set-variable' warning: drivers/gpu/drm/amd/amdgpu/amdgpu_display.c: In function ‘amdgpu_display_crtc_scaling_mode_fixup’: drivers/gpu/drm/amd/amdgpu/amdgpu_display.c:693:27: warning: variable

[PATCH AUTOSEL 4.4 027/100] drm/gma500: remove set but not used variable 'htotal'

2020-02-14 Thread Sasha Levin
From: zhengbin [ Upstream commit dfa703b6f91818fa9f652c00e3589c104c518930 ] Fixes gcc '-Wunused-but-set-variable' warning: drivers/gpu/drm/gma500/oaktrail_hdmi.c: In function htotal_calculate: drivers/gpu/drm/gma500/oaktrail_hdmi.c:160:6: warning: variable htotal set but not used

[PATCH AUTOSEL 4.4 031/100] drm/radeon: remove set but not used variable 'size', 'relocs_chunk'

2020-02-14 Thread Sasha Levin
From: zhengbin [ Upstream commit e9f782dd22c0e17874b8b8e12aafcd3a06810dd0 ] Fixes gcc '-Wunused-but-set-variable' warning: drivers/gpu/drm/radeon/r600_cs.c: In function r600_cs_track_validate_cb: drivers/gpu/drm/radeon/r600_cs.c:353:22: warning: variable size set but not used

[PATCH AUTOSEL 4.4 025/100] drm/amdgpu: remove set but not used variable 'mc_shared_chmap'

2020-02-14 Thread Sasha Levin
From: yu kuai [ Upstream commit e98042db2cb8d0b728cd76e05b9c2e1c84b7f72b ] Fixes gcc '-Wunused-but-set-variable' warning: drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c: In function ‘gfx_v8_0_gpu_early_init’: drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c:1713:6: warning: variable ‘mc_shared_chmap’ set but not

[PATCH AUTOSEL 4.4 023/100] drm/amdgpu: remove set but not used variable 'dig'

2020-02-14 Thread Sasha Levin
From: yu kuai [ Upstream commit d1d09dc417826f5a983e0f4f212f227beeb65e29 ] Fixes gcc '-Wunused-but-set-variable' warning: drivers/gpu/drm/amd/amdgpu/atombios_dp.c: In function ‘amdgpu_atombios_dp_link_train’: drivers/gpu/drm/amd/amdgpu/atombios_dp.c:716:34: warning: variable ‘dig’ set but not

[PATCH AUTOSEL 4.4 033/100] drm/radeon: remove set but not used variable 'radeon_connector'

2020-02-14 Thread Sasha Levin
From: zhengbin [ Upstream commit 5952c48993375a9da2de39be30df475cf590b0ce ] Fixes gcc '-Wunused-but-set-variable' warning: drivers/gpu/drm/radeon/radeon_display.c: In function radeon_crtc_scaling_mode_fixup: drivers/gpu/drm/radeon/radeon_display.c:1685:27: warning: variable radeon_connector

[PATCH AUTOSEL 4.4 028/100] drm/gma500: remove set but not used variable 'error'

2020-02-14 Thread Sasha Levin
From: zhengbin [ Upstream commit a5eb29a9d2fc03d07af7d02f6c2e7ae1e6d985f9 ] Fixes gcc '-Wunused-but-set-variable' warning: drivers/gpu/drm/gma500/psb_irq.c: In function psb_sgx_interrupt: drivers/gpu/drm/gma500/psb_irq.c:210:6: warning: variable error set but not used

[PATCH AUTOSEL 4.4 001/100] drm/gma500: Fixup fbdev stolen size usage evaluation

2020-02-14 Thread Sasha Levin
From: Paul Kocialkowski [ Upstream commit fd1a5e521c3c083bb43ea731aae0f8b95f12b9bd ] psbfb_probe performs an evaluation of the required size from the stolen GTT memory, but gets it wrong in two distinct ways: - The resulting size must be page-size-aligned; - The size to allocate is derived from

[PATCH AUTOSEL 4.9 131/141] radeon: insert 10ms sleep in dce5_crtc_load_lut

2020-02-14 Thread Sasha Levin
From: Daniel Vetter [ Upstream commit ec3d65082d7dabad6fa8f66a8ef166f2d522d6b2 ] Per at least one tester this is enough magic to recover the regression introduced for some people (but not all) in commit b8e2b0199cc377617dc238f5106352c06dcd3fa2 Author: Peter Rosin Date: Tue Jul 4 12:36:57

[PATCH AUTOSEL 4.9 127/141] drm/nouveau/disp/nv50-: prevent oops when no channel method map provided

2020-02-14 Thread Sasha Levin
From: Ben Skeggs [ Upstream commit 0e6176c6d286316e9431b4f695940cfac4ffe6c2 ] The implementations for most channel types contains a map of methods to priv registers in order to provide debugging info when a disp exception has been raised. This info is missing from the implementation of PIO

[PATCH AUTOSEL 4.9 099/141] drm/nouveau: Fix copy-paste error in nouveau_fence_wait_uevent_handler

2020-02-14 Thread Sasha Levin
From: YueHaibing [ Upstream commit 1eb013473bff5f95b6fe1ca4dd7deda47257b9c2 ] Like other cases, it should use rcu protected 'chan' rather than 'fence->channel' in nouveau_fence_wait_uevent_handler. Fixes: 0ec5f02f0e2c ("drm/nouveau: prevent stale fence->channel pointers, and protect with

[PATCH AUTOSEL 4.9 098/141] drm/nouveau/gr/gk20a, gm200-: add terminators to method lists read from fw

2020-02-14 Thread Sasha Levin
From: Ben Skeggs [ Upstream commit 7adc77aa0e11f25b0e762859219c70852cd8d56f ] Method init is typically ordered by class in the FW image as ThreeD, TwoD, Compute. Due to a bug in parsing the FW into our internal format, we've been accidentally sending Twod + Compute methods to the ThreeD class,

[PATCH AUTOSEL 4.9 100/141] drm/vmwgfx: prevent memory leak in vmw_cmdbuf_res_add

2020-02-14 Thread Sasha Levin
From: Navid Emamdoost [ Upstream commit 40efb09a7f53125719e49864da008495e39aaa1e ] In vmw_cmdbuf_res_add if drm_ht_insert_item fails the allocated memory for cres should be released. Fixes: 18e4a4669c50 ("drm/vmwgfx: Fix compat shader namespace") Signed-off-by: Navid Emamdoost Reviewed-by:

[PATCH AUTOSEL 4.9 069/141] drm/mediatek: handle events when enabling/disabling crtc

2020-02-14 Thread Sasha Levin
From: Bibby Hsieh [ Upstream commit 411f5c1eacfebb1f6e40b653d29447cdfe7282aa ] The driver currently handles vblank events only when updating planes on an already enabled CRTC. The atomic update API however allows requesting an event when enabling or disabling a CRTC. This currently leads to

Re: [PATCH AUTOSEL 5.5 408/542] drm/amdgpu: add the lost mutex_init back

2020-02-14 Thread Alex Deucher
On Fri, Feb 14, 2020 at 10:57 AM Sasha Levin wrote: > > From: "Pan, Xinhui" > > [ Upstream commit bd0522112332663e386df1b8642052463ea9b3b9 ] > > Initialize notifier_lock. > > Bug: https://gitlab.freedesktop.org/drm/amd/issues/1016 > Reviewed-by: Feifei Xu > Reviewed-by: Christian König >

[PATCH AUTOSEL 4.9 080/141] drm/gma500: remove set but not used variables 'hist_reg'

2020-02-14 Thread Sasha Levin
From: Chen Zhou [ Upstream commit 72f775611daf3ce20358388facbaf11f22899fa2 ] Fixes gcc '-Wunused-but-set-variable' warning: drivers/gpu/drm/gma500/psb_irq.c: In function psb_irq_turn_off_dpst: drivers/gpu/drm/gma500/psb_irq.c:473:6: warning: variable hist_reg set but not used

[PATCH AUTOSEL 4.9 035/141] drm/amdgpu: remove always false comparison in 'amdgpu_atombios_i2c_process_i2c_ch'

2020-02-14 Thread Sasha Levin
From: yu kuai [ Upstream commit 220ac8d1444054ade07ce14498fcda266410f90e ] Fixes gcc '-Wtype-limits' warning: drivers/gpu/drm/amd/amdgpu/atombios_i2c.c: In function ‘amdgpu_atombios_i2c_process_i2c_ch’: drivers/gpu/drm/amd/amdgpu/atombios_i2c.c:79:11: warning: comparison is always false due to

[PATCH AUTOSEL 4.9 044/141] drm/radeon: remove set but not used variable 'dig_connector'

2020-02-14 Thread Sasha Levin
From: zhengbin [ Upstream commit 3f47f0301594c4f930a32bd7d8125cfdeb6b4b6e ] Fixes gcc '-Wunused-but-set-variable' warning: drivers/gpu/drm/radeon/atombios_dp.c: In function radeon_dp_get_panel_mode: drivers/gpu/drm/radeon/atombios_dp.c:415:36: warning: variable dig_connector set but not used

[PATCH AUTOSEL 4.9 043/141] drm/radeon: remove set but not used variable 'backbias_response_time'

2020-02-14 Thread Sasha Levin
From: zhengbin [ Upstream commit ac52caecbcf2c30ce95b2536c1caf2643c49b91c ] Fixes gcc '-Wunused-but-set-variable' warning: drivers/gpu/drm/radeon/si_dpm.c: In function si_program_response_times: drivers/gpu/drm/radeon/si_dpm.c:3640:29: warning: variable backbias_response_time set but not used

[PATCH AUTOSEL 4.9 046/141] drm/radeon: remove set but not used variable 'blocks'

2020-02-14 Thread Sasha Levin
From: zhengbin [ Upstream commit 77441f77949807fda4a0aec0bdf3e86ae863fd56 ] Fixes gcc '-Wunused-but-set-variable' warning: drivers/gpu/drm/radeon/radeon_combios.c: In function radeon_combios_get_power_modes: drivers/gpu/drm/radeon/radeon_combios.c:2638:10: warning: variable blocks set but

[PATCH AUTOSEL 4.9 034/141] drm/amdgpu: remove set but not used variable 'dig'

2020-02-14 Thread Sasha Levin
From: yu kuai [ Upstream commit d1d09dc417826f5a983e0f4f212f227beeb65e29 ] Fixes gcc '-Wunused-but-set-variable' warning: drivers/gpu/drm/amd/amdgpu/atombios_dp.c: In function ‘amdgpu_atombios_dp_link_train’: drivers/gpu/drm/amd/amdgpu/atombios_dp.c:716:34: warning: variable ‘dig’ set but not

[PATCH AUTOSEL 4.9 036/141] drm/amdgpu: remove set but not used variable 'mc_shared_chmap'

2020-02-14 Thread Sasha Levin
From: yu kuai [ Upstream commit e98042db2cb8d0b728cd76e05b9c2e1c84b7f72b ] Fixes gcc '-Wunused-but-set-variable' warning: drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c: In function ‘gfx_v8_0_gpu_early_init’: drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c:1713:6: warning: variable ‘mc_shared_chmap’ set but not

[PATCH AUTOSEL 4.9 047/141] drm/radeon: remove set but not used variable 'tv_pll_cntl1'

2020-02-14 Thread Sasha Levin
From: zhengbin [ Upstream commit dc9b3dbd28744510b78490dc6312848a8f918749 ] Fixes gcc '-Wunused-but-set-variable' warning: drivers/gpu/drm/radeon/radeon_legacy_tv.c: In function radeon_legacy_tv_mode_set: drivers/gpu/drm/radeon/radeon_legacy_tv.c:538:24: warning: variable tv_pll_cntl1 set

[PATCH AUTOSEL 4.9 041/141] drm/gma500: remove set but not used variable 'channel_eq'

2020-02-14 Thread Sasha Levin
From: zhengbin [ Upstream commit a7adabeece570b8a566dd592219410456676796e ] Fixes gcc '-Wunused-but-set-variable' warning: drivers/gpu/drm/gma500/cdv_intel_dp.c: In function cdv_intel_dp_complete_link_train: drivers/gpu/drm/gma500/cdv_intel_dp.c:1596:7: warning: variable channel_eq set but

[PATCH AUTOSEL 4.9 045/141] drm/radeon: remove set but not used variable 'radeon_connector'

2020-02-14 Thread Sasha Levin
From: zhengbin [ Upstream commit 5952c48993375a9da2de39be30df475cf590b0ce ] Fixes gcc '-Wunused-but-set-variable' warning: drivers/gpu/drm/radeon/radeon_display.c: In function radeon_crtc_scaling_mode_fixup: drivers/gpu/drm/radeon/radeon_display.c:1685:27: warning: variable radeon_connector

Re: [PATCH v7 01/13] dt-bindings: arm: move mmsys description to display

2020-02-14 Thread CK Hu
Hi, Matthias & Enric: On Fri, 2020-02-14 at 13:19 +0100, Enric Balletbo i Serra wrote: > Hi CK, > > On 14/2/20 11:01, Matthias Brugger wrote: > > > > > > On 14/02/2020 07:42, CK Hu wrote: > >> Hi, Matthias: > >> > >> On Thu, 2020-02-13 at 21:19 +0100, matthias@kernel.org wrote: > >>> From:

[PATCH AUTOSEL 4.9 039/141] drm/gma500: remove set but not used variable 'error'

2020-02-14 Thread Sasha Levin
From: zhengbin [ Upstream commit a5eb29a9d2fc03d07af7d02f6c2e7ae1e6d985f9 ] Fixes gcc '-Wunused-but-set-variable' warning: drivers/gpu/drm/gma500/psb_irq.c: In function psb_sgx_interrupt: drivers/gpu/drm/gma500/psb_irq.c:210:6: warning: variable error set but not used

[PATCH AUTOSEL 4.9 032/141] drm/amdgpu: remove 4 set but not used variable in amdgpu_atombios_get_connector_info_from_object_table

2020-02-14 Thread Sasha Levin
From: yu kuai [ Upstream commit bae028e3e521e8cb8caf2cc16a455ce4c55f2332 ] Fixes gcc '-Wunused-but-set-variable' warning: drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c: In function 'amdgpu_atombios_get_connector_info_from_object_table': drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:376:26:

[PATCH AUTOSEL 4.9 040/141] drm/gma500: remove set but not used variable 'is_hdmi', 'is_crt'

2020-02-14 Thread Sasha Levin
From: zhengbin [ Upstream commit 834c43a97f341d319aa7b74099bbce2c4e75bc72 ] Fixes gcc '-Wunused-but-set-variable' warning: drivers/gpu/drm/gma500/cdv_intel_display.c: In function cdv_intel_crtc_mode_set: drivers/gpu/drm/gma500/cdv_intel_display.c:594:7: warning: variable is_hdmi set but not

[PATCH AUTOSEL 4.9 033/141] drm/amdgpu: remove set but not used variable 'dig_connector'

2020-02-14 Thread Sasha Levin
From: yu kuai [ Upstream commit 5bea7fedb7fe4d5e6d3ba9f385dd3619fb004ce7 ] Fixes gcc '-Wunused-but-set-variable' warning: drivers/gpu/drm/amd/amdgpu/atombios_dp.c: In function ‘amdgpu_atombios_dp_get_panel_mode’: drivers/gpu/drm/amd/amdgpu/atombios_dp.c:364:36: warning: variable

[PATCH AUTOSEL 4.9 038/141] drm/gma500: remove set but not used variable 'htotal'

2020-02-14 Thread Sasha Levin
From: zhengbin [ Upstream commit dfa703b6f91818fa9f652c00e3589c104c518930 ] Fixes gcc '-Wunused-but-set-variable' warning: drivers/gpu/drm/gma500/oaktrail_hdmi.c: In function htotal_calculate: drivers/gpu/drm/gma500/oaktrail_hdmi.c:160:6: warning: variable htotal set but not used

[PATCH AUTOSEL 4.9 037/141] drm/amdgpu: remove set but not used variable 'amdgpu_connector'

2020-02-14 Thread Sasha Levin
From: yu kuai [ Upstream commit 4f2922d12d6c63d0f4aa4e859ad95aee6d0d4ea0 ] Fixes gcc '-Wunused-but-set-variable' warning: drivers/gpu/drm/amd/amdgpu/amdgpu_display.c: In function ‘amdgpu_display_crtc_scaling_mode_fixup’: drivers/gpu/drm/amd/amdgpu/amdgpu_display.c:693:27: warning: variable

[PATCH AUTOSEL 4.9 042/141] drm/radeon: remove set but not used variable 'size', 'relocs_chunk'

2020-02-14 Thread Sasha Levin
From: zhengbin [ Upstream commit e9f782dd22c0e17874b8b8e12aafcd3a06810dd0 ] Fixes gcc '-Wunused-but-set-variable' warning: drivers/gpu/drm/radeon/r600_cs.c: In function r600_cs_track_validate_cb: drivers/gpu/drm/radeon/r600_cs.c:353:22: warning: variable size set but not used

[PATCH AUTOSEL 4.9 001/141] drm/gma500: Fixup fbdev stolen size usage evaluation

2020-02-14 Thread Sasha Levin
From: Paul Kocialkowski [ Upstream commit fd1a5e521c3c083bb43ea731aae0f8b95f12b9bd ] psbfb_probe performs an evaluation of the required size from the stolen GTT memory, but gets it wrong in two distinct ways: - The resulting size must be page-size-aligned; - The size to allocate is derived from

[PATCH AUTOSEL 4.9 009/141] pxa168fb: Fix the function used to release some memory in an error handling path

2020-02-14 Thread Sasha Levin
From: Christophe JAILLET [ Upstream commit 3c911fe799d1c338d94b78e7182ad452c37af897 ] In the probe function, some resources are allocated using 'dma_alloc_wc()', they should be released with 'dma_free_wc()', not 'dma_free_coherent()'. We already use 'dma_free_wc()' in the remove function, but

[PATCH AUTOSEL 4.14 170/186] drm/nouveau/disp/nv50-: prevent oops when no channel method map provided

2020-02-14 Thread Sasha Levin
From: Ben Skeggs [ Upstream commit 0e6176c6d286316e9431b4f695940cfac4ffe6c2 ] The implementations for most channel types contains a map of methods to priv registers in order to provide debugging info when a disp exception has been raised. This info is missing from the implementation of PIO

[PATCH AUTOSEL 4.14 174/186] radeon: insert 10ms sleep in dce5_crtc_load_lut

2020-02-14 Thread Sasha Levin
From: Daniel Vetter [ Upstream commit ec3d65082d7dabad6fa8f66a8ef166f2d522d6b2 ] Per at least one tester this is enough magic to recover the regression introduced for some people (but not all) in commit b8e2b0199cc377617dc238f5106352c06dcd3fa2 Author: Peter Rosin Date: Tue Jul 4 12:36:57

[PATCH AUTOSEL 4.14 128/186] drm/vmwgfx: prevent memory leak in vmw_cmdbuf_res_add

2020-02-14 Thread Sasha Levin
From: Navid Emamdoost [ Upstream commit 40efb09a7f53125719e49864da008495e39aaa1e ] In vmw_cmdbuf_res_add if drm_ht_insert_item fails the allocated memory for cres should be released. Fixes: 18e4a4669c50 ("drm/vmwgfx: Fix compat shader namespace") Signed-off-by: Navid Emamdoost Reviewed-by:

[PATCH AUTOSEL 4.14 127/186] drm/nouveau: Fix copy-paste error in nouveau_fence_wait_uevent_handler

2020-02-14 Thread Sasha Levin
From: YueHaibing [ Upstream commit 1eb013473bff5f95b6fe1ca4dd7deda47257b9c2 ] Like other cases, it should use rcu protected 'chan' rather than 'fence->channel' in nouveau_fence_wait_uevent_handler. Fixes: 0ec5f02f0e2c ("drm/nouveau: prevent stale fence->channel pointers, and protect with

[PATCH AUTOSEL 4.14 125/186] drm/nouveau/secboot/gm20b: initialize pointer in gm20b_secboot_new()

2020-02-14 Thread Sasha Levin
From: Dan Carpenter [ Upstream commit 3613a9bea95a1470dd42e4ed1cc7d86ebe0a2dc0 ] We accidentally set "psb" which is a no-op instead of "*psb" so it generates a static checker warning. We should probably set it before the first error return so that it's always initialized. Fixes: 923f1bd27bf1

  1   2   3   4   >