[PATCH] drm/vc4: hdmi: Silence pixel clock error on -EPROBE_DEFER

2020-04-10 Thread James Hilliard
If the vc4 hdmi driver loads before the pixel clock is available we see a spurious "*ERROR* Failed to get pixel clock" error. Signed-off-by: James Hilliard --- drivers/gpu/drm/vc4/vc4_hdmi.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/vc4/vc4_hdmi.c

[PATCH] component: Silence bind error on -EPROBE_DEFER

2020-04-10 Thread James Hilliard
If a component fails to bind due to -EPROBE_DEFER we should not log an error as this is not a real failure. Fixes: vc4-drm soc:gpu: failed to bind 3f902000.hdmi (ops vc4_hdmi_ops): -517 vc4-drm soc:gpu: master bind failed: -517 Signed-off-by: James Hilliard --- drivers/base/component.c | 9

[Bug 204609] amdgpu: powerplay failed send message

2020-04-10 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204609 Janpieter Sollie (janpieter.sol...@edpnet.be) changed: What|Removed |Added CC|

Re: [PATCH] drm/amdgpu: ensure device_list is initialised before calling list_add_tail

2020-04-10 Thread Andrey Grodzovsky
On 4/10/20 6:57 PM, Colin King wrote: From: Colin Ian King Currently the call to list_add_tail will access an the uninitalised device_list.prev. Fix this by ensuring device_list is initialized before adding items to it. Addresses-Coverity: ("Uninitialized pointer read") That weird, I see

Re: [PATCH] drm/hisilicon: Code refactoring for hibmc_drv_vdac

2020-04-10 Thread Joe Perches
On Sat, 2020-04-11 at 10:49 +0800, Tian Tao wrote: > code refactoring for hibmc_drv_vdac.c, no actual function changes. Seems sensible. > diff --git a/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_vdac.c > b/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_vdac.c [] > @@ -109,13 +83,6 @@ int

Re: [PATCH 10/28] mm: only allow page table mappings for built-in zsmalloc

2020-04-10 Thread Minchan Kim
Hi Sergey, On Fri, Apr 10, 2020 at 11:38:45AM +0900, Sergey Senozhatsky wrote: > On (20/04/09 10:08), Minchan Kim wrote: > > > > Even though I don't know how many usecase we have using zsmalloc as > > > > module(I heard only once by dumb reason), it could affect existing > > > > users. Thus,

[PATCH] drm/amdgpu: ensure device_list is initialised before calling list_add_tail

2020-04-10 Thread Colin King
From: Colin Ian King Currently the call to list_add_tail will access an the uninitalised device_list.prev. Fix this by ensuring device_list is initialized before adding items to it. Addresses-Coverity: ("Uninitialized pointer read") Fixes: b3dbd6d3ec49 ("drm/amdgpu: resolve mGPU RAS query

[PATCH v3 3/3] drm/i915/dp: Expose connector VRR info via debugfs

2020-04-10 Thread Manasi Navare
From: Bhanuprakash Modem [Why] It's useful to know the min and max vrr range for IGT testing. [How] Expose the min and max vfreq for the connector via a debugfs file on the connector, "i915_vrr_info". Example usage: cat /sys/kernel/debug/dri/0/DP-1/i915_vrr_info v2: * Fix the typo in

[PATCH v3 1/3] drm/dp: DRM DP helper for reading Ignore MSA from DPCD

2020-04-10 Thread Manasi Navare
DP sink device sets the Ignore MSA bit in its DP_DOWNSTREAM_PORT_COUNT register to indicate its ability to ignore the MSA video timing parameters and its ability to support seamless video timing change over a range of timing exposed by DisplayID and EDID. This is required for the sink to indicate

[PATCH v3 2/3] drm/i915/dp: Attach and set drm connector VRR property

2020-04-10 Thread Manasi Navare
From: Aditya Swarup This function sets the VRR property for connector based on the platform support, EDID monitor range and DP sink DPCD capability of outputing video without msa timing information. v3: * intel_dp_is_vrr_capable can be used for debugfs, make it non static (Manasi) v2: * Just

[Bug 204241] amdgpu fails to resume from suspend

2020-04-10 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204241 Jordan Maris (jman6...@gmail.com) changed: What|Removed |Added CC||jman6...@gmail.com

Re: [git pull] drm fixes for 5.7-rc1 (part two)

2020-04-10 Thread pr-tracker-bot
The pull request you sent on Fri, 10 Apr 2020 07:10:29 +1000: > git://anongit.freedesktop.org/drm/drm tags/drm-next-2020-04-10 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/21c5b3c6d7579944d21ff268f241d6bec425a9b4 Thank you! -- Deet-doot-dot, I am a bot.

[Bug 201139] amdgpu: [drm] enabling link 1 failed: 15 (vega)

2020-04-10 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=201139 Christian Thäter (ct.kernel@pipapo.org) changed: What|Removed |Added CC|

BUG: kernel NULL pointer dereference, address: 0000000000000026 after switching to 5.7 kernel

2020-04-10 Thread Mikhail Gavrilov
Hi folks. After upgrade kernel to 5.7 I see every boot in kernel log following error messages: [2.569513] [drm] Found UVD firmware ENC: 1.2 DEC: .43 Family ID: 19 [2.569538] [drm] PSP loading UVD firmware [2.570038] BUG: kernel NULL pointer dereference, address: 0026 [

Re: [PATCH 5/7] PM: sleep: core: Rename DPM_FLAG_NEVER_SKIP

2020-04-10 Thread Bjorn Helgaas
On Fri, Apr 10, 2020 at 05:56:13PM +0200, Rafael J. Wysocki wrote: > From: "Rafael J. Wysocki" > > Rename DPM_FLAG_NEVER_SKIP to DPM_FLAG_NO_DIRECT_COMPLETE which > matches its purpose more closely. > > No functional impact. > > Signed-off-by: Rafael J. Wysocki Acked-by: Bjorn Helgaas # for

[PATCH] drm/i915/gt: remove redundant assignment to variable x

2020-04-10 Thread Colin King
From: Colin Ian King The variable x is being initialized with a value that is never read and it is being updated later with a new value. The initialization is redundant and can be removed. Addresses-Coverity: ("Unused value") Signed-off-by: Colin Ian King ---

Re: [PATCH 5/5] dt-bindings: drm/msm/gpu: Document OPP phandle list for the GPU

2020-04-10 Thread Rob Herring
On Tue, 31 Mar 2020 13:25:53 +0530, Sharat Masetty wrote: > Update the documentation for listing the multiple optional GPU and the > DDR OPP tables to help enable DDR scaling. > > Signed-off-by: Sharat Masetty > --- > .../devicetree/bindings/display/msm/gpu.txt| 63 >

Re: [PATCH v2 07/22] dt-bindings: memory: tegra30: Add memory client IDs

2020-04-10 Thread Rob Herring
On Mon, 30 Mar 2020 04:08:49 +0300, Dmitry Osipenko wrote: > Each memory client have a unique hardware ID, this patch adds these IDs. > > Signed-off-by: Dmitry Osipenko > --- > include/dt-bindings/memory/tegra30-mc.h | 67 + > 1 file changed, 67 insertions(+) >

Re: [PATCH v2 2/2] powerpc: Remove Xilinx PPC405/PPC440 support

2020-04-10 Thread Rob Herring
On Mon, Mar 30, 2020 at 03:32:17PM +0200, Michal Simek wrote: > The latest Xilinx design tools called ISE and EDK has been released in > October 2013. New tool doesn't support any PPC405/PPC440 new designs. > These platforms are no longer supported and tested. > > PowerPC 405/440 port is orphan

Re: [PATCH v2 05/22] dt-bindings: host1x: Document new interconnect properties

2020-04-10 Thread Rob Herring
On Mon, Mar 30, 2020 at 04:08:47AM +0300, Dmitry Osipenko wrote: > Most of Host1x devices have at least one memory client. These clients > are directly connected to the memory controller. The new interconnect > properties represent the memory client's connection to the memory > controller. > >

Re: [PATCH v5 1/8] dt-bindings: add img,pvrsgx.yaml for Imagination GPUs

2020-04-10 Thread Rob Herring
On Tue, Apr 07, 2020 at 09:00:48AM +0200, H. Nikolaus Schaller wrote: > > > Am 29.03.2020 um 19:38 schrieb H. Nikolaus Schaller : > > > > The Imagination PVR/SGX GPU is part of several SoC from > > multiple vendors, e.g. TI OMAP, Ingenic JZ4780, Intel Poulsbo, > > Allwinner A83 and others. > >

Re: [PATCH v2 03/22] dt-bindings: memory: tegra30: mc: Document new interconnect property

2020-04-10 Thread Rob Herring
On Mon, 30 Mar 2020 04:08:45 +0300, Dmitry Osipenko wrote: > Memory controller is interconnected with memory clients and with the > external memory controller. Document new interconnect property which > turns memory controller into interconnect provider. > > Signed-off-by: Dmitry Osipenko > ---

Re: [PATCH v2 06/22] dt-bindings: memory: tegra20: Add memory client IDs

2020-04-10 Thread Rob Herring
On Mon, 30 Mar 2020 04:08:48 +0300, Dmitry Osipenko wrote: > Each memory client have a unique hardware ID, this patch adds these IDs. > > Signed-off-by: Dmitry Osipenko > --- > include/dt-bindings/memory/tegra20-mc.h | 53 + > 1 file changed, 53 insertions(+) >

Re: [PATCH v2 02/22] dt-bindings: memory: tegra20: emc: Document new interconnect property

2020-04-10 Thread Rob Herring
On Mon, 30 Mar 2020 04:08:44 +0300, Dmitry Osipenko wrote: > External memory controller is interconnected with memory controller and > with external memory. Document new interconnect property which turns > external memory controller into interconnect provider. > > Signed-off-by: Dmitry Osipenko

Re: [PATCH v2 01/22] dt-bindings: memory: tegra20: mc: Document new interconnect property

2020-04-10 Thread Rob Herring
On Mon, 30 Mar 2020 04:08:43 +0300, Dmitry Osipenko wrote: > Memory controller is interconnected with memory clients and with the > external memory controller. Document new interconnect property which > turns memory controller into interconnect provider. > > Signed-off-by: Dmitry Osipenko > ---

Re: [PATCH v2 04/22] dt-bindings: memory: tegra30: emc: Document new interconnect property

2020-04-10 Thread Rob Herring
On Mon, 30 Mar 2020 04:08:46 +0300, Dmitry Osipenko wrote: > External memory controller is interconnected with memory controller and > with external memory. Document new interconnect property which turns > external memory controller into interconnect provider. > > Signed-off-by: Dmitry Osipenko

[Bug 205491] Green external display after wake up

2020-04-10 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=205491 --- Comment #2 from Łukasz Żarnowiecki (luk...@zarnowiecki.pl) --- Issue still present in 5.6.2. -- You are receiving this mail because: You are watching the assignee of the bug. ___ dri-devel mailing

Re: [PATCH v5 4/4] drm/mediatek: config mipitx impedance with calibration data

2020-04-10 Thread Chun-Kuang Hu
Hi, Jitao: Jitao Shi 於 2020年4月10日 週五 下午12:33寫道: > > Read calibration data from nvmem, and config mipitx impedance with > calibration data to make sure their impedance are 100ohm. > > Signed-off-by: Jitao Shi > --- > drivers/gpu/drm/mediatek/mtk_mipi_tx.c| 40 +++ >

[PATCH 5/7] PM: sleep: core: Rename DPM_FLAG_NEVER_SKIP

2020-04-10 Thread Rafael J. Wysocki
From: "Rafael J. Wysocki" Rename DPM_FLAG_NEVER_SKIP to DPM_FLAG_NO_DIRECT_COMPLETE which matches its purpose more closely. No functional impact. Signed-off-by: Rafael J. Wysocki --- Documentation/driver-api/pm/devices.rst| 6 +++--- Documentation/power/pci.rst| 10

Re: [PATCH v6 04/10] PM / EM: add support for other devices than CPUs in Energy Model

2020-04-10 Thread kbuild test robot
the system. BTW, we also suggest to use '--base' option to specify the base tree in git format-patch, please see https://stackoverflow.com/a/37406982] url: https://github.com/0day-ci/linux/commits/Lukasz-Luba/Add-support-for-devices-in-the-Energy-Model/20200410-172456 base

[Bug 207183] radeon.dpm=1 with second monitor runs hot

2020-04-10 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=207183 --- Comment #5 from Erik Huelsmann (ehu...@gmail.com) --- Is the fact that it's apparently not possible to switch the memory clock with 2 monitors attached a design error in the hardware? Unfortunately, I don't have the Windows setup anymore to

Re: [PATCH] AMDGPU: Correctly initialize thermal controller for GPUs with Powerplay table v0 (e.g Hawaii)

2020-04-10 Thread Sandeep
Hello, Can someone please look at this patch? It would be nice to get it merged in, so that others using the Hawaii GPU can get proper fan speeds reported. Thanks in advance. Yours sincerely, Sandeep On Sun, 5 Apr 2020 at 22:22, Sandeep wrote: > > This is required for the AMDGPU driver to

Re: [PATCH v11 1/2] dt-bindings: display/bridge: Add binding for NWL mipi dsi host controller

2020-04-10 Thread Laurent Pinchart
Hi Guido, On Fri, Apr 10, 2020 at 02:45:16PM +0200, Guido Günther wrote: > On Fri, Apr 10, 2020 at 02:23:42PM +0300, Laurent Pinchart wrote: > > On Thu, Apr 09, 2020 at 12:42:01PM +0200, Guido Günther wrote: > > > The Northwest Logic MIPI DSI IP core can be found in NXPs i.MX8 SoCs. > > > > > >

Re: [PATCH v11 1/2] dt-bindings: display/bridge: Add binding for NWL mipi dsi host controller

2020-04-10 Thread Guido Günther
Hi Laurent, On Fri, Apr 10, 2020 at 02:23:42PM +0300, Laurent Pinchart wrote: > Hi Guido, > > Thank you for the patch. > > On Thu, Apr 09, 2020 at 12:42:01PM +0200, Guido Günther wrote: > > The Northwest Logic MIPI DSI IP core can be found in NXPs i.MX8 SoCs. > > > > Signed-off-by: Guido

[Bug 207183] radeon.dpm=1 with second monitor runs hot

2020-04-10 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=207183 --- Comment #4 from Alex Deucher (alexdeuc...@gmail.com) --- (In reply to Erik Huelsmann from comment #3) > Thanks for commenting. Does 'radeon.dpm=0' suppress that? I'm not having > issues when I set that parameter on the kernel command line.

[Bug 207183] radeon.dpm=1 with second monitor runs hot

2020-04-10 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=207183 --- Comment #3 from Erik Huelsmann (ehu...@gmail.com) --- Thanks for commenting. Does 'radeon.dpm=0' suppress that? I'm not having issues when I set that parameter on the kernel command line. -- You are receiving this mail because: You are

Re: [PATCH] drm/ttm: Break out the loops if need_resched in bo delayed delete worker

2020-04-10 Thread Koenig, Christian
Am 10.04.2020 12:58 schrieb "Pan, Xinhui" : The delayed delete list is per device which might be very huge. And in a heavy workload test, the list might always not be empty. That will trigger any RCU stall warnings or softlockups in non-preemptible kernels Lets do break out the loops in that

Re: drm/tve200: Checking for a failed platform_get_irq() call in tve200_probe()

2020-04-10 Thread Sam Ravnborg
Hi Markus. On Fri, Apr 10, 2020 at 12:56:25PM +0200, Markus Elfring wrote: > > The right way to check for errors is to check if the return value is > > less than 0. > > Thanks for your constructive feedback. > > I was unsure if I noticed another programming mistake. > > > > Could you please

[Bug 207183] radeon.dpm=1 with second monitor runs hot

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

Patch "drm/i915: Fix ref->mutex deadlock in i915_active_wait()" has been added to the 5.4-stable tree

2020-04-10 Thread gregkh
This is a note to let you know that I've just added the patch titled drm/i915: Fix ref->mutex deadlock in i915_active_wait() to the 5.4-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is:

[PATCH] drm/amd/display: remove redundant assignment to variable dp_ref_clk_khz

2020-04-10 Thread Colin King
From: Colin Ian King The variable dp_ref_clk_khz is being initialized with a value that is never read and it is being updated later with a new value. The initialization is redundant and can be removed. Addresses-Coverity: ("Unused value") Signed-off-by: Colin Ian King ---

[Bug 207183] radeon.dpm=1 with second monitor runs hot

2020-04-10 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=207183 --- Comment #1 from Erik Huelsmann (ehu...@gmail.com) --- Note that the system doesn't exhibit this problem when only a single monitor is attached. Monitor output in use: HDMI. -- You are receiving this mail because: You are watching the

Re: [PATCH v11 1/2] dt-bindings: display/bridge: Add binding for NWL mipi dsi host controller

2020-04-10 Thread Laurent Pinchart
Hi Guido, Thank you for the patch. On Thu, Apr 09, 2020 at 12:42:01PM +0200, Guido Günther wrote: > The Northwest Logic MIPI DSI IP core can be found in NXPs i.MX8 SoCs. > > Signed-off-by: Guido Günther > Tested-by: Robert Chiras > Reviewed-by: Rob Herring > Acked-by: Sam Ravnborg >

[PATCH] drm/ttm: Break out the loops if need_resched in bo delayed delete worker

2020-04-10 Thread xinhui pan
The delayed delete list is per device which might be very huge. And in a heavy workload test, the list might always not be empty. That will trigger any RCU stall warnings or softlockups in non-preemptible kernels Lets do break out the loops in that case. Signed-off-by: xinhui pan ---

Re: [PATCH v11 0/2] drm: bridge: Add NWL MIPI DSI host controller support

2020-04-10 Thread Guido Günther
Hi, On Thu, Apr 09, 2020 at 04:01:30PM +0200, Sam Ravnborg wrote: > Hi Guido. > > On Thu, Apr 09, 2020 at 12:42:00PM +0200, Guido Günther wrote: > > This adds initial support for the NWL MIPI DSI Host controller found on > > i.MX8 > > SoCs. > > > > It adds support for the i.MX8MQ but the same

Re: [PATCH v5 2/5] drm: bridge: dw_mipi_dsi: abstract register access using reg_fields

2020-04-10 Thread Adrian Ratiu
Hi Andrzej, Thank you for the feedback, I really appreciate it, replies are below. On Mon, 06 Apr 2020, Andrzej Hajda wrote: W dniu 30.03.2020 o 13:35, Adrian Ratiu pisze: Register existence, address/offsets, field layouts, reserved bits and so on differ between MIPI-DSI versions and

Re: drm/tve200: Checking for a failed platform_get_irq() call in tve200_probe()

2020-04-10 Thread Sam Ravnborg
Hi Markus. On Thu, Apr 09, 2020 at 03:05:17PM +0200, Markus Elfring wrote: > Hello, > > I have taken another look at the implementation of the function > “tve200_probe”. > A software analysis approach points the following source code out for > further development considerations. >

[PATCH v6 09/10] thermal: devfreq_cooling: Refactor code and switch to use Energy Model

2020-04-10 Thread Lukasz Luba
The overhauled Energy Model (EM) framework support also devfreq devices. The unified API interface of the EM can be used in the thermal subsystem to not duplicate code. The power table now is taken from EM structure and there is no need to maintain calculation for it locally. In case when the EM

Re: [PATCH] gpu: host1x: Detach driver on unregister

2020-04-10 Thread Sowjanya Komatineni
On 4/8/20 10:38 AM, Thierry Reding wrote: From: Thierry Reding Currently when a host1x device driver is unregistered, it is not detached from the host1x controller, which means that the device will stay around and when the driver is registered again, it may bind to the old, stale device

[PATCH v2] staging: android: ion: use macro DEFINE_DEBUGFS_ATTRIBUTE to define debugfs fops

2020-04-10 Thread R Veera Kumar
It is more clear to use DEFINE_DEBUGFS_ATTRIBUTE to define debugfs file operation rather than DEFINE_SIMPLE_ATTRIBUTE. Found using coccinelle. Signed-off-by: R Veera Kumar --- Changes in v2: - Give correct explanation for patch - Adjust git commit tag and msg accordingly ---

[PATCH v6 04/10] PM / EM: add support for other devices than CPUs in Energy Model

2020-04-10 Thread Lukasz Luba
Add support for other devices that CPUs. The registration function does not require a valid cpumask pointer and is ready to handle new devices. Some of the internal structures has been reorganized in order to keep consistent view (like removing per_cpu pd pointers). To track usage of the Energy

[PATCH v6 10/10] drm/panfrost: Register devfreq cooling and attempt to add Energy Model

2020-04-10 Thread Lukasz Luba
Register devfreq cooling device and attempt to register Energy Model. This will add the devfreq device to the Energy Model framework. It will create a dedicated and unified data structures used i.e. in thermal framework. The last NULL parameter indicates that the power model is simplified and

drm/tve200: Checking for a failed platform_get_irq() call in tve200_probe()

2020-04-10 Thread Markus Elfring
Hello, I have taken another look at the implementation of the function “tve200_probe”. A software analysis approach points the following source code out for further development considerations. https://elixir.bootlin.com/linux/v5.6.3/source/drivers/gpu/drm/tve200/tve200_drv.c#L212

Re: [RFC 0/6] Regressions for "imply" behavior change

2020-04-10 Thread Saeed Mahameed
On Thu, 2020-04-09 at 11:41 +0300, Jani Nikula wrote: > On Wed, 08 Apr 2020, Jason Gunthorpe wrote: > > On Wed, Apr 08, 2020 at 10:49:48PM +0200, Arnd Bergmann wrote: > > > On Wed, Apr 8, 2020 at 10:38 PM Nicolas Pitre > > > wrote: > > > > On Wed, 8 Apr 2020, Arnd Bergmann wrote: > > > > > I

[PATCH v1] staging: fbtft: fb_st7789v: Initialize the Display

2020-04-10 Thread Oliver Graute
From: Oliver Graute Set Gamma Values and Register Values for the HSD20_IPS Signed-off-by: Oliver Graute --- drivers/staging/fbtft/fb_st7789v.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/fbtft/fb_st7789v.c

[PATCH] drm: dpcd: Print more useful information during error

2020-04-10 Thread Aurabindo Pillai
When DPCD access errors occur, knowing the register and request associated with the error helps debugging, so print the details in the debug message. Signed-off-by: Aurabindo Pillai --- drivers/gpu/drm/drm_dp_helper.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

[PATCH v6 05/10] PM / EM: remove em_register_perf_domain

2020-04-10 Thread Lukasz Luba
Remove old function em_register_perf_domain which is no longer needed. There is em_dev_register_perf_domain that covers old use cases and new as well. Signed-off-by: Lukasz Luba --- include/linux/energy_model.h | 7 --- kernel/power/energy_model.c | 25 - 2 files

Re: [PATCH 03/35] docs: fix broken references to text files

2020-04-10 Thread Federico Vaga
On Wednesday, April 8, 2020 5:45:55 PM CEST Mauro Carvalho Chehab wrote: > Several references got broken due to txt to ReST conversion. > > Several of them can be automatically fixed with: > > scripts/documentation-file-ref-check --fix > > Reviewed-by: Mathieu Poirier # >

[PATCH v6 03/10] PM / EM: update callback structure and add device pointer

2020-04-10 Thread Lukasz Luba
The Energy Model framework is going to support devices other that CPUs. In order to make this happen change the callback function and add pointer to a device as an argument. Update the related users to use new function and new callback from the Energy Model. Signed-off-by: Lukasz Luba ---

[PATCH v6 01/10] PM / EM: change naming convention from 'capacity' to 'performance'

2020-04-10 Thread Lukasz Luba
The Energy Model uses concept of performance domain and capacity states in order to calculate power used by CPUs. Change naming convention from capacity to performance state would enable wider usage in future, e.g. upcoming support for other devices other than CPUs. Signed-off-by: Lukasz Luba

[PATCH v6 02/10] PM / EM: introduce em_dev_register_perf_domain function

2020-04-10 Thread Lukasz Luba
Add now function in the Energy Model framework which is going to support new devices. This function will help in transition and make it smoother. For now it still checks if the cpumask is a valid pointer, which will be removed later when the new structures and infrastructure will be ready.

[PULL] drm-misc-next-fixes

2020-04-10 Thread Maxime Ripard
Hi Dave, Daniel, Here's this week round of drm-misc-next-fixes Maxime drm-misc-next-fixes-2020-04-09: A few DMA-related fixes, an OOB fix for virtio and a probe-related fix for analogix_dp The following changes since commit 0e7e6198af28c1573267aba1be33dd0b7fb35691: Merge branch

[PATCH v6 00/10] Add support for devices in the Energy Model

2020-04-10 Thread Lukasz Luba
Hi all, This patch set introduces support for devices in the Energy Model (EM) framework. It will unify the power model for thermal subsystem. It will make simpler to add support for new devices willing to use more advanced features (like Intelligent Power Allocation). Now it should require less

[PATCH v6 06/10] PM / EM: change name of em_pd_energy to em_cpu_energy

2020-04-10 Thread Lukasz Luba
Energy Model framework supports now other devices than CPUs. Refactor some of the functions in order to prevent wrong usage. The old function em_pd_energy has to generic name. It must not be used without proper cpumask pointer, which is possible only for CPU devices. Thus, rename it and add proper

[PATCH v6 08/10] OPP: refactor dev_pm_opp_of_register_em() and update related drivers

2020-04-10 Thread Lukasz Luba
The Energy Model framework supports not only CPU devices. Drop the CPU specific interface with cpumask and add struct device. Add also a return value, user might use it. This new interface provides easy way to create a simple Energy Model, which then might be used by e.g. thermal subsystem.

Re: [PATCH 19/28] gpu/drm: remove the powerpc hack in drm_legacy_sg_alloc

2020-04-10 Thread Gerhard Pircher
Am 09.04.20 um 10:54 schrieb Benjamin Herrenschmidt: > On Wed, 2020-04-08 at 14:25 +0200, Daniel Vetter wrote: >> On Wed, Apr 08, 2020 at 01:59:17PM +0200, Christoph Hellwig wrote: >>> If this code was broken for non-coherent caches a crude powerpc hack >>> isn't going to help anyone else. Remove

Re: [PATCH v2 01/36] dt-bindings: display: allow port and ports in panel-lvds

2020-04-10 Thread Lad, Prabhakar
Hi Sam, Thank you for the patch. On Wed, Apr 8, 2020 at 10:37 PM Sam Ravnborg wrote: > > Both port and ports names may be used. > port - for a single port > ports - if there is more than one port in sub-nodes > > Fixes the following warning: > advantech,idk-2121wr.example.dt.yaml: panel-lvds:

Re: [PATCH 25/28] mm: remove vmalloc_user_node_flags

2020-04-10 Thread Andrii Nakryiko
cc Johannes who suggested this API call originally On Wed, Apr 8, 2020 at 5:03 AM Christoph Hellwig wrote: > > Open code it in __bpf_map_area_alloc, which is the only caller. Also > clean up __bpf_map_area_alloc to have a single vmalloc call with > slightly different flags instead of the

[PATCH v6 07/10] Documentation: power: update Energy Model description

2020-04-10 Thread Lukasz Luba
The Energy Model framework supports also other devices than CPUs. Update related information and add description for the new usage. Signed-off-by: Lukasz Luba --- Documentation/power/energy-model.rst | 135 +++ 1 file changed, 75 insertions(+), 60 deletions(-) diff

[PATCH v1] staging: fbtft: fb_st7789v: enabled inversion

2020-04-10 Thread Oliver Graute
From: Oliver Graute Enable inversion mode Signed-off-by: Oliver Graute --- drivers/staging/fbtft/fb_st7789v.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/staging/fbtft/fb_st7789v.c b/drivers/staging/fbtft/fb_st7789v.c index 3c3f387936e8..84c5af2dc9a0 100644 ---

Re: [PATCH v2] drm/i915: Fix ref->mutex deadlock in i915_active_wait()

2020-04-10 Thread Greg KH
On Tue, Apr 07, 2020 at 12:18:09AM -0700, Sultan Alsawaf wrote: > From: Sultan Alsawaf > > The following deadlock exists in i915_active_wait() due to a double lock > on ref->mutex (call chain listed in order from top to bottom): > i915_active_wait(); > mutex_lock_interruptible(>mutex); <--

[Bug 206575] [amdgpu] [drm] No video signal on resume from suspend, R9 380

2020-04-10 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=206575 --- Comment #19 from Duncan (dickvandr...@gmail.com) --- I can confirm that this issue was solved on 5.6 kernel, but sadly I will continue using lts kernel because I still have problems with my webcam's fps and microphone's bitrate on others

Re: [PATCH 19/28] gpu/drm: remove the powerpc hack in drm_legacy_sg_alloc

2020-04-10 Thread Daniel Vetter
On Fri, Apr 10, 2020 at 12:57 AM Benjamin Herrenschmidt wrote: > > On Thu, 2020-04-09 at 11:41 +0200, Daniel Vetter wrote: > > Now if these boxes didn't ever have agp then I think we can get away > > with deleting this, since we've already deleted the legacy radeon > > driver. And that one used

Re: [PATCH v2] staging: android: ion: use macro DEFINE_DEBUGFS_ATTRIBUTE to define debugfs fops

2020-04-10 Thread Greg Kroah-Hartman
On Thu, Apr 09, 2020 at 10:43:18PM +0530, R Veera Kumar wrote: > It is more clear to use DEFINE_DEBUGFS_ATTRIBUTE to define debugfs file > operation rather than DEFINE_SIMPLE_ATTRIBUTE. No, it is not "more clear", the two defines are not the same thing, they do different things. If they were

Re: [RFC 0/6] Regressions for "imply" behavior change

2020-04-10 Thread Geert Uytterhoeven
Hi Saeed, On Fri, Apr 10, 2020 at 4:41 AM Saeed Mahameed wrote: > On Thu, 2020-04-09 at 11:41 +0300, Jani Nikula wrote: > > For example, you have two graphics drivers, one builtin and another > > module. Then you have backlight as a module. Using IS_REACHABLE(), > > backlight would work in one

[Bug 205589] Green screen crash with 3400G

2020-04-10 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=205589 --- Comment #6 from p...@spth.de --- I cannot reproduce the issue using kernel 5.5. -- You are receiving this mail because: You are watching the assignee of the bug. ___ dri-devel mailing list

Re: [RFC 4/6] drm/bridge/sii8620: fix extcon dependency

2020-04-10 Thread Andrzej Hajda
On 08.04.2020 22:27, Arnd Bergmann wrote: > Using 'imply' does not work here, it still cause the same build > failure: > > arm-linux-gnueabi-ld: drivers/gpu/drm/bridge/sil-sii8620.o: in function > `sii8620_remove': > sil-sii8620.c:(.text+0x1b8): undefined reference to >