RE: [PATCH v7 14/18] drm/i915: Fix enabled infoframe states of lspcon

2020-03-15 Thread Shankar, Uma
> -Original Message- > From: dri-devel On Behalf Of Gwan- > gyeong Mun > Sent: Tuesday, February 11, 2020 1:17 PM > To: intel-...@lists.freedesktop.org > Cc: linux-fb...@vger.kernel.org; dri-devel@lists.freedesktop.org > Subject: [PATCH v7 14/18] drm/i915: Fix enabled infoframe states

RE: [Intel-gfx] [PATCH v6 14/18] drm/i915: Fix enabled infoframe states of lspcon

2020-03-15 Thread Shankar, Uma
> -Original Message- > From: Intel-gfx On Behalf Of Gwan- > gyeong Mun > Sent: Monday, February 10, 2020 10:40 PM > To: intel-...@lists.freedesktop.org > Cc: linux-fb...@vger.kernel.org; dri-devel@lists.freedesktop.org > Subject: [Intel-gfx] [PATCH v6 14/18] drm/i915: Fix enabled

RE: [Intel-gfx] [PATCH v7 06/18] drm/i915/dp: Read out DP SDPs

2020-03-15 Thread Shankar, Uma
> -Original Message- > From: Intel-gfx On Behalf Of Gwan- > gyeong Mun > Sent: Tuesday, February 11, 2020 1:17 PM > To: intel-...@lists.freedesktop.org > Cc: linux-fb...@vger.kernel.org; dri-devel@lists.freedesktop.org > Subject: [Intel-gfx] [PATCH v7 06/18] drm/i915/dp: Read out DP

RE: [PATCH v7 04/18] drm/i915/dp: Add writing of DP SDPs

2020-03-15 Thread Shankar, Uma
> -Original Message- > From: dri-devel On Behalf Of Gwan- > gyeong Mun > Sent: Tuesday, February 11, 2020 1:17 PM > To: intel-...@lists.freedesktop.org > Cc: linux-fb...@vger.kernel.org; dri-devel@lists.freedesktop.org > Subject: [PATCH v7 04/18] drm/i915/dp: Add writing of DP SDPs > >

Re: [PATCH v1 16/36] dt-bindings: display: convert lg,lg4573 to DT Schema

2020-03-15 Thread Heiko Schocher
Hello Sam, Am 15.03.2020 um 14:43 schrieb Sam Ravnborg: Signed-off-by: Sam Ravnborg Cc: Heiko Schocher Cc: Thierry Reding Cc: Sam Ravnborg --- .../bindings/display/panel/lg,lg4573.txt | 19 - .../bindings/display/panel/lg,lg4573.yaml | 41 +++ 2 files

RE: [PATCH v7 01/18] drm: Add DP1.4 VSC SDP Payload related Data Structures

2020-03-15 Thread Shankar, Uma
> -Original Message- > From: dri-devel On Behalf Of Gwan- > gyeong Mun > Sent: Tuesday, February 11, 2020 1:17 PM > To: intel-...@lists.freedesktop.org > Cc: linux-fb...@vger.kernel.org; dri-devel@lists.freedesktop.org > Subject: [PATCH v7 01/18] drm: Add DP1.4 VSC SDP Payload related

[PATCH] drm/i915/dp: Add dpcd link_rate quirk for Apple 15" MBP 2017 (v3)

2020-03-15 Thread Mario Kleiner
This fixes a problem found on the MacBookPro 2017 Retina panel. The panel reports 10 bpc color depth in its EDID, and the firmware chooses link settings at boot which support enough bandwidth for 10 bpc (324000 kbit/sec = multiplier 0xc), but the DP_MAX_LINK_RATE dpcd register only reports 2.7

Re: [Mesa-dev] Plumbing explicit synchronization through the Linux ecosystem

2020-03-15 Thread Marek Olšák
The synchronization works because the Mesa driver waits for idle (drains the GFX pipeline) at the end of command buffers and there is only 1 graphics queue, so everything is ordered. The GFX pipeline runs asynchronously to the command buffer, meaning the command buffer only starts draws and

Re: [Mesa-dev] Plumbing explicit synchronization through the Linux ecosystem

2020-03-15 Thread Jason Ekstrand
Could you elaborate. If there's something missing from my mental model of how implicit sync works, I'd like to have it corrected. People continue claiming that AMD is somehow special but I have yet to grasp what makes it so. (Not that anyone has bothered to try all that hard to explain it.)

[PATCH AUTOSEL 4.9 6/7] drm/exynos: dsi: fix workaround for the legacy clock name

2020-03-15 Thread Sasha Levin
From: Marek Szyprowski [ Upstream commit c0fd99d659ba5582e09625c7a985d63fc2ca74b5 ] Writing to the built-in strings arrays doesn't work if driver is loaded as kernel module. This is also considered as a bad pattern. Fix this by adding a call to clk_get() with legacy clock name. This fixes

[PATCH AUTOSEL 4.4 5/7] drm/exynos: dsi: propagate error value and silence meaningless warning

2020-03-15 Thread Sasha Levin
From: Marek Szyprowski [ Upstream commit 0a9d1e3f3f038785ebc72d53f1c409d07f6b4ff5 ] Properly propagate error value from devm_regulator_bulk_get() and don't confuse user with meaningless warning about failure in getting regulators in case of deferred probe. Signed-off-by: Marek Szyprowski

[PATCH AUTOSEL 4.14 07/15] drm/exynos: dsi: propagate error value and silence meaningless warning

2020-03-15 Thread Sasha Levin
From: Marek Szyprowski [ Upstream commit 0a9d1e3f3f038785ebc72d53f1c409d07f6b4ff5 ] Properly propagate error value from devm_regulator_bulk_get() and don't confuse user with meaningless warning about failure in getting regulators in case of deferred probe. Signed-off-by: Marek Szyprowski

[PATCH AUTOSEL 4.14 08/15] drm/exynos: dsi: fix workaround for the legacy clock name

2020-03-15 Thread Sasha Levin
From: Marek Szyprowski [ Upstream commit c0fd99d659ba5582e09625c7a985d63fc2ca74b5 ] Writing to the built-in strings arrays doesn't work if driver is loaded as kernel module. This is also considered as a bad pattern. Fix this by adding a call to clk_get() with legacy clock name. This fixes

[PATCH AUTOSEL 4.4 6/7] drm/exynos: dsi: fix workaround for the legacy clock name

2020-03-15 Thread Sasha Levin
From: Marek Szyprowski [ Upstream commit c0fd99d659ba5582e09625c7a985d63fc2ca74b5 ] Writing to the built-in strings arrays doesn't work if driver is loaded as kernel module. This is also considered as a bad pattern. Fix this by adding a call to clk_get() with legacy clock name. This fixes

[PATCH AUTOSEL 4.9 5/7] drm/exynos: dsi: propagate error value and silence meaningless warning

2020-03-15 Thread Sasha Levin
From: Marek Szyprowski [ Upstream commit 0a9d1e3f3f038785ebc72d53f1c409d07f6b4ff5 ] Properly propagate error value from devm_regulator_bulk_get() and don't confuse user with meaningless warning about failure in getting regulators in case of deferred probe. Signed-off-by: Marek Szyprowski

[PATCH AUTOSEL 4.19 08/20] drm/exynos: dsi: propagate error value and silence meaningless warning

2020-03-15 Thread Sasha Levin
From: Marek Szyprowski [ Upstream commit 0a9d1e3f3f038785ebc72d53f1c409d07f6b4ff5 ] Properly propagate error value from devm_regulator_bulk_get() and don't confuse user with meaningless warning about failure in getting regulators in case of deferred probe. Signed-off-by: Marek Szyprowski

[PATCH AUTOSEL 5.4 31/35] drm/amd/display: fix dcc swath size calculations on dcn1

2020-03-15 Thread Sasha Levin
From: Josip Pavic [ Upstream commit a0275dfc82c9034eefbeffd556cca6dd239d7925 ] [Why] Swath sizes are being calculated incorrectly. The horizontal swath size should be the product of block height, viewport width, and bytes per element, but the calculation uses viewport height instead of width.

[PATCH AUTOSEL 5.4 30/35] drm/amd/display: Clear link settings on MST disable connector

2020-03-15 Thread Sasha Levin
From: Bhawanpreet Lakha [ Upstream commit 5ac7fd2f597b88ee81f4748ee50cab06192a8dc3 ] [Why] If we have a single MST display and we disconnect it, we dont disable that link. This causes the old link settings to still exist Now on a replug for MST we think its a link loss and will try to

[PATCH AUTOSEL 4.19 09/20] drm/exynos: dsi: fix workaround for the legacy clock name

2020-03-15 Thread Sasha Levin
From: Marek Szyprowski [ Upstream commit c0fd99d659ba5582e09625c7a985d63fc2ca74b5 ] Writing to the built-in strings arrays doesn't work if driver is loaded as kernel module. This is also considered as a bad pattern. Fix this by adding a call to clk_get() with legacy clock name. This fixes

[PATCH AUTOSEL 5.4 16/35] drm/exynos: dsi: propagate error value and silence meaningless warning

2020-03-15 Thread Sasha Levin
From: Marek Szyprowski [ Upstream commit 0a9d1e3f3f038785ebc72d53f1c409d07f6b4ff5 ] Properly propagate error value from devm_regulator_bulk_get() and don't confuse user with meaningless warning about failure in getting regulators in case of deferred probe. Signed-off-by: Marek Szyprowski

[PATCH AUTOSEL 5.4 17/35] drm/exynos: dsi: fix workaround for the legacy clock name

2020-03-15 Thread Sasha Levin
From: Marek Szyprowski [ Upstream commit c0fd99d659ba5582e09625c7a985d63fc2ca74b5 ] Writing to the built-in strings arrays doesn't work if driver is loaded as kernel module. This is also considered as a bad pattern. Fix this by adding a call to clk_get() with legacy clock name. This fixes

[PATCH AUTOSEL 4.19 15/20] drm/amd/display: Clear link settings on MST disable connector

2020-03-15 Thread Sasha Levin
From: Bhawanpreet Lakha [ Upstream commit 5ac7fd2f597b88ee81f4748ee50cab06192a8dc3 ] [Why] If we have a single MST display and we disconnect it, we dont disable that link. This causes the old link settings to still exist Now on a replug for MST we think its a link loss and will try to

[PATCH AUTOSEL 4.19 01/20] drm/mediatek: Find the cursor plane instead of hard coding it

2020-03-15 Thread Sasha Levin
From: Evan Benn [ Upstream commit 318caac7c81cdf5806df30c3d72385659a5f0f53 ] The cursor and primary planes were hard coded. Now search for them for passing to drm_crtc_init_with_planes Signed-off-by: Evan Benn Reviewed-by: Sean Paul Signed-off-by: CK Hu Signed-off-by: Sasha Levin ---

[PATCH AUTOSEL 5.4 18/35] drm/exynos: hdmi: don't leak enable HDMI_EN regulator if probe fails

2020-03-15 Thread Sasha Levin
From: Marek Szyprowski [ Upstream commit 3b6a9b19ab652efac7ad4c392add6f1235019568 ] Move enabling and disabling HDMI_EN optional regulator to probe() function to keep track on the regulator status. This fixes following warning if probe() fails (for example when I2C DDC adapter cannot be yet

[PATCH AUTOSEL 4.19 16/20] drm/amd/display: fix dcc swath size calculations on dcn1

2020-03-15 Thread Sasha Levin
From: Josip Pavic [ Upstream commit a0275dfc82c9034eefbeffd556cca6dd239d7925 ] [Why] Swath sizes are being calculated incorrectly. The horizontal swath size should be the product of block height, viewport width, and bytes per element, but the calculation uses viewport height instead of width.

[PATCH AUTOSEL 5.4 29/35] drm/amdgpu: clean wptr on wb when gpu recovery

2020-03-15 Thread Sasha Levin
From: Yintian Tao [ Upstream commit 2ab7e274b86739f4ceed5d94b6879f2d07b2802f ] The TDR will be randomly failed due to compute ring test failure. If the compute ring wptr & 0x7ff(ring_buf_mask) is 0x100 then after map mqd the compute ring rptr will be synced with 0x100. And the ring test packet

[PATCH AUTOSEL 5.5 20/41] drm/exynos: hdmi: don't leak enable HDMI_EN regulator if probe fails

2020-03-15 Thread Sasha Levin
From: Marek Szyprowski [ Upstream commit 3b6a9b19ab652efac7ad4c392add6f1235019568 ] Move enabling and disabling HDMI_EN optional regulator to probe() function to keep track on the regulator status. This fixes following warning if probe() fails (for example when I2C DDC adapter cannot be yet

[PATCH AUTOSEL 5.5 19/41] drm/exynos: dsi: fix workaround for the legacy clock name

2020-03-15 Thread Sasha Levin
From: Marek Szyprowski [ Upstream commit c0fd99d659ba5582e09625c7a985d63fc2ca74b5 ] Writing to the built-in strings arrays doesn't work if driver is loaded as kernel module. This is also considered as a bad pattern. Fix this by adding a call to clk_get() with legacy clock name. This fixes

[PATCH AUTOSEL 5.4 03/35] drm/mediatek: Find the cursor plane instead of hard coding it

2020-03-15 Thread Sasha Levin
From: Evan Benn [ Upstream commit 318caac7c81cdf5806df30c3d72385659a5f0f53 ] The cursor and primary planes were hard coded. Now search for them for passing to drm_crtc_init_with_planes Signed-off-by: Evan Benn Reviewed-by: Sean Paul Signed-off-by: CK Hu Signed-off-by: Sasha Levin ---

[PATCH AUTOSEL 5.5 03/41] drm/mediatek: Find the cursor plane instead of hard coding it

2020-03-15 Thread Sasha Levin
From: Evan Benn [ Upstream commit 318caac7c81cdf5806df30c3d72385659a5f0f53 ] The cursor and primary planes were hard coded. Now search for them for passing to drm_crtc_init_with_planes Signed-off-by: Evan Benn Reviewed-by: Sean Paul Signed-off-by: CK Hu Signed-off-by: Sasha Levin ---

[PATCH AUTOSEL 5.5 34/41] drm/amd/display: Clear link settings on MST disable connector

2020-03-15 Thread Sasha Levin
From: Bhawanpreet Lakha [ Upstream commit 5ac7fd2f597b88ee81f4748ee50cab06192a8dc3 ] [Why] If we have a single MST display and we disconnect it, we dont disable that link. This causes the old link settings to still exist Now on a replug for MST we think its a link loss and will try to

[PATCH AUTOSEL 5.5 35/41] drm/amd/display: fix dcc swath size calculations on dcn1

2020-03-15 Thread Sasha Levin
From: Josip Pavic [ Upstream commit a0275dfc82c9034eefbeffd556cca6dd239d7925 ] [Why] Swath sizes are being calculated incorrectly. The horizontal swath size should be the product of block height, viewport width, and bytes per element, but the calculation uses viewport height instead of width.

[PATCH AUTOSEL 5.5 04/41] drm/mediatek: Ensure the cursor plane is on top of other overlays

2020-03-15 Thread Sasha Levin
From: Sean Paul [ Upstream commit 26d696192aa5f4fe9119d6d23f90ed535053abca ] Currently the cursor is placed on the first overlay plane, which means it will be at the bottom of the stack when the hw does the compositing with anything other than primary plane. Since mtk doesn't support plane

[PATCH AUTOSEL 5.5 33/41] drm/amdgpu: clean wptr on wb when gpu recovery

2020-03-15 Thread Sasha Levin
From: Yintian Tao [ Upstream commit 2ab7e274b86739f4ceed5d94b6879f2d07b2802f ] The TDR will be randomly failed due to compute ring test failure. If the compute ring wptr & 0x7ff(ring_buf_mask) is 0x100 then after map mqd the compute ring rptr will be synced with 0x100. And the ring test packet

[PATCH AUTOSEL 5.5 18/41] drm/exynos: dsi: propagate error value and silence meaningless warning

2020-03-15 Thread Sasha Levin
From: Marek Szyprowski [ Upstream commit 0a9d1e3f3f038785ebc72d53f1c409d07f6b4ff5 ] Properly propagate error value from devm_regulator_bulk_get() and don't confuse user with meaningless warning about failure in getting regulators in case of deferred probe. Signed-off-by: Marek Szyprowski

[GIT PULL] exynos-drm-next

2020-03-15 Thread Inki Dae
Just two cleanups - one is to mask encoder bitmask using drm_encoder_mask(), and other is to use mode->clock instead of calculating it again. Please kindly let me know if there is any problem. Thanks, Inki Dae The following changes since commit

RE: [PATCH libdrm] modetest: call drmModeCrtcSetGamma() only if add_property_optional returns true

2020-03-15 Thread Rohit Visavalia
Hi Ilia Mirkin, But it should not go for setting gamma(drmModeCrtcSetGamma) as user has not asked to do so in just simple mode set command(modetest -M -s 42:3840x2160@RG16). What is the requirement for setting gamma drmModeCrtcSetGamma() if user has not asked ? Thanks Rohit From: Ilia

[PATCH 4/6] fbdev: savage: fix -Wextra build warning

2020-03-15 Thread Randy Dunlap
When 'SAVAGEFB_DEBUG' is not defined, modify the DBG() macro to use the no_printk() macro instead of using . This fixes a build warning when -Wextra is used and provides printk format checking: ../drivers/video/fbdev/savage/savagefb_driver.c:2411:13: warning: suggest braces around empty body in

[PATCH] MAINTAINERS: adjust to VIVANTE GPU schema conversion

2020-03-15 Thread Lukas Bulwahn
Commit 90aeca875f8a ("dt-bindings: display: Convert etnaviv to json-schema") missed to adjust the DRM DRIVERS FOR VIVANTE GPU IP entry in MAINTAINERS. Since then, ./scripts/get_maintainer.pl --self-test complains: warning: no file matches \ F:

Re: [PATCH] mm/hmm: Simplify hmm_vma_walk_pud slightly

2020-03-15 Thread Jason Gunthorpe
On Fri, Mar 13, 2020 at 02:04:46PM -0700, Matthew Wilcox wrote: > On Fri, Mar 13, 2020 at 04:55:50PM -0300, Jason Gunthorpe wrote: > > On Thu, Mar 12, 2020 at 05:02:18PM +, Steven Price wrote: > > > On 12/03/2020 16:37, Jason Gunthorpe wrote: > > > > On Thu, Mar 12, 2020 at 04:16:33PM +,

Re: [PATCH v4 4/4] drm/panfrost: Register devfreq cooling and attempt to add Energy Model

2020-03-15 Thread Lukasz Luba
On 3/9/20 2:15 PM, Steven Price wrote: On 09/03/2020 13:41, Lukasz Luba wrote: 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

Re: Regression in 5.4 kernel on 32-bit Radeon IBM T40

2020-03-15 Thread Thomas Schwinge
- Mentor Graphics (Deutschland) GmbH, Arnulfstraße 201, 80634 München / Germany Registergericht München HRB 106955, Geschäftsführer: Thomas Heurung, Alexander Walter --- Begin Message --- Hi! Has any progress been made regarding the issue reported here? Having updated the

[PATCH v3 3/3] drm/bridge: chrontel-ch7033: Add a new driver

2020-03-15 Thread Lubomir Rintel
This is a driver for video encoder with VGA and DVI/HDMI outputs. There is no documentation for the chip -- the operation was guessed from what was sniffed on a Dell Wyse 3020 ThinOS terminal, the register names come from the ch7035 driver in Mediatek's GPL code dump. Only bare minimum is

[PATCH 3/6] fbdev: matrox: fix -Wextra build warnings

2020-03-15 Thread Randy Dunlap
When 'DEBUG' is not defined, modify the dprintk() macro to use the no_printk() macro instead of using . This fixes build warnings when -Wextra is used and provides printk format checking: ../drivers/video/fbdev/matrox/matroxfb_base.c:635:77: warning: suggest braces around empty body in an ‘if’

[PATCH RFC v5 5/6] dt-bindings: display: add Unisoc's mipi dsi bindings

2020-03-15 Thread Kevin Tang
From: Kevin Tang Adds MIPI DSI Master and MIPI DSI-PHY (D-PHY) support for Unisoc's display subsystem. Cc: Orson Zhai Cc: Baolin Wang Cc: Chunyan Zhang Signed-off-by: Kevin Tang --- .../devicetree/bindings/display/sprd/dphy.yaml | 75 +

[PATCH] drm/v3d: fix Kconfig ARCH_BCMSTB typo preventing compile

2020-03-15 Thread Daniel Rodriguez
The Kconfig for v3d includes a depend on ARCH_BRCMSTB. It is misspelled; as ARCH_BCMSTB. This misspelling makes CONFIG_DRM_V3D not show up at all on Linux menuconfig and breaks manual kernel compilation with it manually set in .config (during compile CONFIG_DRM_V3D is transparently removed as the

[PATCH RFC v5 1/6] dt-bindings: display: add Unisoc's drm master bindings

2020-03-15 Thread Kevin Tang
From: Kevin Tang The Unisoc DRM master device is a virtual device needed to list all DPU devices or other display interface nodes that comprise the graphics subsystem Cc: Orson Zhai Cc: Baolin Wang Cc: Chunyan Zhang Signed-off-by: Kevin Tang ---

[PATCH] drm/msm: Fix an error handling path 'msm_drm_init()'

2020-03-15 Thread Christophe JAILLET
If this memory allocation fails, we have to go through the error handling path to perform some clean-up, as already done in other other paths of this function. Fixes: db735fc4036b ("drm/msm: Set dma maximum segment size for mdss") Signed-off-by: Christophe JAILLET ---

[PATCH 1/6] fbdev: fbmon: fix -Wextra build warnings

2020-03-15 Thread Randy Dunlap
When 'DEBUG' is not defined, modify the DPRINTK() macro to use the no_printk() macro instead of using . This fixes a build warning when -Wextra is used and provides printk format checking: ../drivers/video/fbdev/core/fbmon.c:812:47: warning: suggest braces around empty body in an ‘if’ statement

[PATCH RFC v5 3/6] dt-bindings: display: add Unisoc's dpu bindings

2020-03-15 Thread Kevin Tang
From: Kevin Tang DPU (Display Processor Unit) is the Display Controller for the Unisoc SoCs which transfers the image data from a video memory buffer to an internal LCD interface. Cc: Orson Zhai Cc: Baolin Wang Cc: Chunyan Zhang Signed-off-by: Kevin Tang ---

KASAN: use-after-free in vgacon.c 669

2020-03-15 Thread Entropy Moe
Hello team, i want to report a bug on linux kernel on vgacon.c:669 == BUG: KASAN: use-after-free in vgacon_invert_region+0xda/0xe0 drivers/video/console/vgacon.c:669 Read of size 2 at addr 888000107ec0 by task

[PATCH 5/6] fbdev: pm[23]fb.c: fix -Wextra build warnings and errors

2020-03-15 Thread Randy Dunlap
When 'DEBUG' is not defined, modify the DPRINTK() macro to use the no_printk() macro instead of using . This fixes build warnings when -Wextra is used and provides printk format checking: ../drivers/video/fbdev/pm2fb.c:227:38: warning: suggest braces around empty body in an ‘if’ statement

[PATCH v3 1/3] dt-bindings: Add vendor prefix for Chrontel, Inc.

2020-03-15 Thread Lubomir Rintel
Chrontel makes encoders for video displays and perhaps other stuff. Their web site is http://www.chrontel.com/. Signed-off-by: Lubomir Rintel Acked-by: Rob Herring --- Changes since v1: - Collect Rob's ack Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2

Re: [PATCH] mm/hmm: Simplify hmm_vma_walk_pud slightly

2020-03-15 Thread Matthew Wilcox
On Fri, Mar 13, 2020 at 04:55:50PM -0300, Jason Gunthorpe wrote: > On Thu, Mar 12, 2020 at 05:02:18PM +, Steven Price wrote: > > On 12/03/2020 16:37, Jason Gunthorpe wrote: > > > On Thu, Mar 12, 2020 at 04:16:33PM +, Steven Price wrote: > > > > > Actually, while you are looking at this, do

Re: [PATCH 1/6] lib/scatterlist: add sg_set_dma_addr() function

2020-03-15 Thread Jason Gunthorpe
On Fri, Mar 13, 2020 at 04:21:39AM -0700, Christoph Hellwig wrote: > On Thu, Mar 12, 2020 at 11:19:28AM -0300, Jason Gunthorpe wrote: > > The non-page scatterlist is also a big concern for RDMA as we have > > drivers that want the page list, so even if we did as this series > > contemplates I'd

Re: [PATCH v4 2/4] OPP: change parameter to device pointer in dev_pm_opp_of_register_em()

2020-03-15 Thread Lukasz Luba
On 3/13/20 10:15 AM, Quentin Perret wrote: On Monday 09 Mar 2020 at 13:41:15 (+), Lukasz Luba wrote: diff --git a/drivers/cpufreq/cpufreq-dt.c b/drivers/cpufreq/cpufreq-dt.c index d2b5f062a07b..676b56424886 100644 --- a/drivers/cpufreq/cpufreq-dt.c +++ b/drivers/cpufreq/cpufreq-dt.c @@

[PATCH 2/6] fbdev: aty: fix -Wextra build warning

2020-03-15 Thread Randy Dunlap
When 'DEBUG' is not defined, modify the DPRINTK() macro to use the no_printk() macro instead of using . This fixes a build warning when -Wextra is used and provides printk format checking: ../drivers/video/fbdev/aty/atyfb_base.c:784:61: warning: suggest braces around empty body in an ‘if’

[PATCH RFC v5 2/6] drm/sprd: add Unisoc's drm kms master

2020-03-15 Thread Kevin Tang
From: Kevin Tang Adds drm support for the Unisoc's display subsystem. This is drm kms driver, this driver provides support for the application framework in Android, Yocto and more. Application framework can access Unisoc's display internel peripherals through libdrm or libkms, it's test ok by

Re: [PATCH] display/bridge: dsi2lvds tc358775 driver

2020-03-15 Thread Vinay Simha B N
laurent, Is it possible to access the data-lanes of dsi, by using d2l_in in the bridge driver by ports funcs? because num_lanes is not accessible outside dsi_host, not available any of the drm parameters. dsi@1a98000 { ports { port@1 { endpoint

fbdev: fix -Wextra build warnings

2020-03-15 Thread Randy Dunlap
This patch series fixes warnings in fbdev that are found when -Wextra is used. In fixing these, there were a few other build errors discovered (mostly caused by bitrot) and fixed. [PATCH 1/6] fbdev: fbmon: fix -Wextra build warnings [PATCH 2/6] fbdev: aty: fix -Wextra build warning [PATCH 3/6]

Re: [PATCH 3/5] drm: panel: add Xingbangda XBD599 panel

2020-03-15 Thread Icenowy Zheng
于 2020年3月14日 GMT+08:00 下午4:00:00, Sam Ravnborg 写到: >Hi Icenowy > >A few details in the following. > > Sam > >On Thu, Mar 12, 2020 at 12:33:27AM +0800, Icenowy Zheng wrote: >> Xingbangda XBD599 is a 5.99" 720x1440 MIPI-DSI IPS LCD panel made by >> Xingbangda, which is used on PinePhone

[PATCH 6/6] fbdev: via: fix -Wextra build warning and format warning

2020-03-15 Thread Randy Dunlap
When 'VIAFB_DEBUG' and 'VIAFB_WARN' are not defined, modify the DEBUG_MSG() _MSG() macros to use the no_printk() macro instead of using . This fixes a build warning when -Wextra is used and provides printk format checking: ../drivers/video/fbdev/via/ioctl.c:88:47: warning: suggest braces around

[PATCH RFC v5 6/6] drm/sprd: add Unisoc's drm mipi dsi driver

2020-03-15 Thread Kevin Tang
Adds dsi host controller support for the Unisoc's display subsystem. Adds dsi phy support for the Unisoc's display subsystem. Only MIPI DSI Displays supported, DP/TV/HMDI will be support in the feature. Cc: Orson Zhai Cc: Baolin Wang Cc: Chunyan Zhang Signed-off-by: Kevin Tang ---

[PATCH v3 0/3] drm: Add support for Chrontel CH7033 VGA/DVI Encoder

2020-03-15 Thread Lubomir Rintel
Hi, chained to this message is a driver for CH7033 along with device tree binding docs. I'm hoping that it could perhaps make it into 5.7. Please take a look. The only change compared to the previous submission [1] is the fix in the DT bindings example discovered by the validation tool. [1]

[PATCH RFC v5 0/6] Add Unisoc's drm kms module

2020-03-15 Thread Kevin Tang
ChangeList: v1: 1. only upstream modeset and atomic at first commit. 2. remove some unused code; 3. use alpha and blend_mode properties; 3. add yaml support; 4. remove auto-adaptive panel driver; 5. bugfix v2: 1. add sprd crtc and plane module for KMS, preparing for multi crtc 2. remove gem

Re: WARNING in idr_destroy

2020-03-15 Thread syzbot
Hello, syzbot has tested the proposed patch but the reproducer still triggered crash: WARNING in idr_destroy RBP: 0076bf20 R08: R09: R10: R11: 0246 R12: 0004 R13: 0203 R14: 004c3e56 R15:

Re: [PATCH 1/2] dt-binding: Add DSI/LVDS tc358775 bridge bindings

2020-03-15 Thread Vinay Simha B N
rob, i do not get the error when running 'make dt_binding_check' in my build environment Documentation/devicetree/bindings/display/bridge/toshiba-tc358775.yaml is there any tool available similar to scripts/checkpatch.pl -f , for yaml files? On Thu, Mar 12, 2020 at 8:47 PM Rob Herring wrote:

Re: WARNING in idr_destroy

2020-03-15 Thread syzbot
Hello, syzbot has tested the proposed patch but the reproducer still triggered crash: WARNING in idr_destroy RBP: 0076bf20 R08: R09: R10: R11: 0246 R12: 0004 R13: 0203 R14: 004c3e56 R15:

[PATCH v3 2/3] dt-bindings: display: Add Chrontel CH7033 Video Encoder binding

2020-03-15 Thread Lubomir Rintel
Add binding document for the Chrontel CH7033 VGA/DVI/HDMI Encoder. Signed-off-by: Lubomir Rintel Reviewed-by: Rob Herring --- Changes since v3: - Fixed the example so that it validates Changes since v1: - Dual licensed with BSD-2-Clause - Collected Rob's reviewed-by tag

Re: [PATCH] mm/hmm: Simplify hmm_vma_walk_pud slightly

2020-03-15 Thread Jason Gunthorpe
On Thu, Mar 12, 2020 at 05:02:18PM +, Steven Price wrote: > On 12/03/2020 16:37, Jason Gunthorpe wrote: > > On Thu, Mar 12, 2020 at 04:16:33PM +, Steven Price wrote: > > > > Actually, while you are looking at this, do you think we should be > > > > adding at least READ_ONCE in the

[PATCH RFC v5 4/6] drm/sprd: add Unisoc's drm display controller driver

2020-03-15 Thread Kevin Tang
Adds DPU(Display Processor Unit) support for the Unisoc's display subsystem. It's support multi planes, scaler, rotation, PQ(Picture Quality) and more. Cc: Orson Zhai Cc: Baolin Wang Cc: Chunyan Zhang Signed-off-by: Kevin Tang --- drivers/gpu/drm/sprd/Makefile | 5 +-

Re: [PATCH v4 1/4] PM / EM: add devices to Energy Model

2020-03-15 Thread Lukasz Luba
Hi Quentin, On 3/13/20 10:04 AM, Quentin Perret wrote: Hi Lukasz, On Monday 09 Mar 2020 at 13:41:14 (+), Lukasz Luba wrote: diff --git a/drivers/opp/of.c b/drivers/opp/of.c index 9cd8f0adacae..0efd6cf6d023 100644 --- a/drivers/opp/of.c +++ b/drivers/opp/of.c @@ -1047,9 +1047,8 @@

Re: WARNING in idr_destroy

2020-03-15 Thread Qiujun Huang
We need to get idr_mutex first for idr_alloc. diff --git a/drivers/gpu/drm/drm_lease.c b/drivers/gpu/drm/drm_lease.c index b481cafdde28..aa72c8344ec7 100644 --- a/drivers/gpu/drm/drm_lease.c +++ b/drivers/gpu/drm/drm_lease.c @@ -420,6 +420,7 @@ static int fill_object_idr(struct drm_device *dev,

[PATCH] drm/v3d: fix Kconfig ARCH_BCMSTB typo preventing compile

2020-03-15 Thread Daniel Rodriguez
The Kconfig for v3d includes a depend on ARCH_BRCMSTB. It is misspelled; as ARCH_BCMSTB. This misspelling makes CONFIG_DRM_V3D not show up at all on Linux menuconfig and breaks manual kernel compilation with it manually set in .config (during compile CONFIG_DRM_V3D is transparently removed as the

Re: [PATCH v1 06/36] dt-bindings: display: convert ilitek, ili9322 to DT Schema

2020-03-15 Thread Sam Ravnborg
Hi Linus. On Sun, Mar 15, 2020 at 07:54:38PM +0100, Linus Walleij wrote: > On Sun, Mar 15, 2020 at 2:44 PM Sam Ravnborg wrote: > > > The .txt binding explains: > > > > " > > The following optional properties only apply to > > RGB and YUV input modes and > > can be omitted for BT.656

Re: [PATCH v1 21/36] dt-bindings: display: convert samsung, s6d16d0 to DT Schema

2020-03-15 Thread Linus Walleij
On Sun, Mar 15, 2020 at 2:45 PM Sam Ravnborg wrote: > Signed-off-by: Sam Ravnborg > Cc: Linus Walleij > Cc: Thierry Reding > Cc: Sam Ravnborg Reviewed-by: Linus Walleij Yours, Linus Walleij ___ dri-devel mailing list

Re: [PATCH v1 06/36] dt-bindings: display: convert ilitek, ili9322 to DT Schema

2020-03-15 Thread Linus Walleij
On Sun, Mar 15, 2020 at 2:44 PM Sam Ravnborg wrote: > The .txt binding explains: > > " > The following optional properties only apply to > RGB and YUV input modes and > can be omitted for BT.656 input modes: > " > > This constraint is not implmented in the DT Schema. > > The original

Re: [PATCH v1 19/36] dt-bindings: display: convert rocktech,jh057n00900 to DT Schema

2020-03-15 Thread Guido Günther
Hi, On Sun, Mar 15, 2020 at 02:43:59PM +0100, Sam Ravnborg wrote: > Signed-off-by: Sam Ravnborg > Cc: "Guido Günther" > Cc: Purism Kernel Team > Cc: Thierry Reding > Cc: Sam Ravnborg Reviewed-by: Guido Günther Thanks! -- Guido > --- > .../display/panel/rocktech,jh057n00900.txt| 23

Re: [PATCH v1 04/36] dt-bindings: display: convert arm,versatile-tft-panel to DT Schema

2020-03-15 Thread Linus Walleij
On Sun, Mar 15, 2020 at 2:44 PM Sam Ravnborg wrote: > Signed-off-by: Sam Ravnborg > Cc: Linus Walleij > Cc: Thierry Reding > Cc: Sam Ravnborg Thanks! :D Reviewed-by: Linus Walleij Yours, Linus Walleij ___ dri-devel mailing list

Re: [PATCH v1 02/36] dt-bindings: spi: support non-spi bindings as SPI slaves

2020-03-15 Thread Linus Walleij
On Sun, Mar 15, 2020 at 2:44 PM Sam Ravnborg wrote: > Independent bindings can be SPI slaves which for example is > the case for several panel bindings. > > Move SPI slave properties to spi-slave.yaml so the independent > SPI slave bindings can include spi-slave.yaml rather than > duplicating

[PATCH v1 34/36] dt-bindings: display: convert seiko, 43wvf1g to DT Schema

2020-03-15 Thread Sam Ravnborg
Signed-off-by: Sam Ravnborg Cc: Marco Franchi Cc: Thierry Reding Cc: Sam Ravnborg --- .../bindings/display/panel/seiko,43wvf1g.txt | 23 - .../bindings/display/panel/seiko,43wvf1g.yaml | 49 +++ 2 files changed, 49 insertions(+), 23 deletions(-) delete mode 100644

[PATCH v1 32/36] dt-bindings: display: convert sharp, ls037v7dw01 to DT Schema

2020-03-15 Thread Sam Ravnborg
Signed-off-by: Sam Ravnborg Cc: Tony Lindgren Cc: Thierry Reding Cc: Sam Ravnborg --- .../display/panel/sharp,ls037v7dw01.txt | 43 .../display/panel/sharp,ls037v7dw01.yaml | 66 +++ 2 files changed, 66 insertions(+), 43 deletions(-) delete mode 100644

[PATCH v1 31/36] dt-bindings: display: convert sharp, lq101r1sx01 to DT Schema

2020-03-15 Thread Sam Ravnborg
This bindings describes a panel with a secondary channel. A few of the properties are only required for the main (non-secondary) node. This is properly described in the binding. A few properties are only valid for the main node, this is not described in the binding. I failed to find a way to

[PATCH v1 35/36] dt-bindings: display: convert lgphilips, lb035q02 to DT Schema

2020-03-15 Thread Sam Ravnborg
Signed-off-by: Sam Ravnborg Cc: Tomi Valkeinen Cc: Thierry Reding Cc: Sam Ravnborg --- .../display/panel/lgphilips,lb035q02.txt | 33 .../display/panel/lgphilips,lb035q02.yaml | 54 +++ 2 files changed, 54 insertions(+), 33 deletions(-) delete mode

[PATCH v1 28/36] dt-bindings: display: convert sitronix, st7789v to DT Schema

2020-03-15 Thread Sam Ravnborg
Signed-off-by: Sam Ravnborg Cc: Maxime Ripard Cc: Thierry Reding Cc: Sam Ravnborg --- .../display/panel/sitronix,st7789v.txt| 37 .../display/panel/sitronix,st7789v.yaml | 58 +++ 2 files changed, 58 insertions(+), 37 deletions(-) delete mode 100644

[PATCH v1 29/36] dt-bindings: display: drop unused simple-panel.txt

2020-03-15 Thread Sam Ravnborg
There are no more references to simple-panel.txt. Delete it. Signed-off-by: Sam Ravnborg Cc: Thierry Reding Cc: Sam Ravnborg --- Documentation/devicetree/bindings/display/panel/simple-panel.txt | 1 - 1 file changed, 1 deletion(-) delete mode 100644

[PATCH v1 33/36] dt-bindings: display: convert sharp, lq150x1lg11 to DT Schema

2020-03-15 Thread Sam Ravnborg
Signed-off-by: Sam Ravnborg Cc: Peter Rosin Cc: Thierry Reding Cc: Sam Ravnborg --- .../display/panel/sharp,lq150x1lg11.txt | 36 .../display/panel/sharp,lq150x1lg11.yaml | 58 +++ 2 files changed, 58 insertions(+), 36 deletions(-) delete mode 100644

[PATCH v1 24/36] dt-bindings: display: convert toppoly panels to DT Schema

2020-03-15 Thread Sam Ravnborg
Signed-off-by: Sam Ravnborg Cc: Marek Belisko Cc: H. Nikolaus Schaller Cc: Thierry Reding Cc: Sam Ravnborg --- .../bindings/display/panel/tpo,td.yaml| 60 +++ .../bindings/display/panel/tpo,td028ttec1.txt | 32 -- .../bindings/display/panel/tpo,td043mtea1.txt

[PATCH v1 30/36] dt-bindings: display: convert sharp, ls043t1le01 to DT Schema

2020-03-15 Thread Sam Ravnborg
The txt binding specified the property "power-supply". But the example and the actual implementation in the linux-kernel uses "avdd-supply". So the binding is adjusted to use avdd-supply as this seems to be the correct choice. There are no DT files in the linux kernel to check. Signed-off-by: Sam

[PATCH v1 36/36] dt-bindings: display: convert olimex, lcd-olinuxino to DT Schema

2020-03-15 Thread Sam Ravnborg
Signed-off-by: Sam Ravnborg Cc: Stefan Mavrodiev Cc: Thierry Reding Cc: Sam Ravnborg --- .../display/panel/olimex,lcd-olinuxino.txt| 42 --- .../display/panel/olimex,lcd-olinuxino.yaml | 70 +++ 2 files changed, 70 insertions(+), 42 deletions(-) delete mode

[PATCH v1 21/36] dt-bindings: display: convert samsung, s6d16d0 to DT Schema

2020-03-15 Thread Sam Ravnborg
Signed-off-by: Sam Ravnborg Cc: Linus Walleij Cc: Thierry Reding Cc: Sam Ravnborg --- .../display/panel/samsung,s6d16d0.txt | 30 -- .../display/panel/samsung,s6d16d0.yaml| 56 +++ 2 files changed, 56 insertions(+), 30 deletions(-) delete mode 100644

[PATCH v1 26/36] dt-bindings: display: convert sony, acx565akm to DT Schema

2020-03-15 Thread Sam Ravnborg
Signed-off-by: Sam Ravnborg Cc: Tomi Valkeinen Cc: Thierry Reding Cc: Sam Ravnborg --- .../bindings/display/panel/sony,acx565akm.txt | 30 --- .../display/panel/sony,acx565akm.yaml | 53 +++ 2 files changed, 53 insertions(+), 30 deletions(-) delete mode 100644

[PATCH v1 23/36] dt-bindings: display: convert samsung, s6e8aa0 to DT Schema

2020-03-15 Thread Sam Ravnborg
Signed-off-by: Sam Ravnborg Cc: Andrzej Hajda Cc: Thierry Reding Cc: Sam Ravnborg --- .../display/panel/samsung,s6e8aa0.txt | 56 --- .../display/panel/samsung,s6e8aa0.yaml| 96 +++ 2 files changed, 96 insertions(+), 56 deletions(-) delete mode 100644

[PATCH v1 25/36] dt-bindings: display: convert startek, startek-kd050c to DT Schema

2020-03-15 Thread Sam Ravnborg
Signed-off-by: Sam Ravnborg Cc: Marek Belisko Cc: Thierry Reding Cc: Sam Ravnborg --- .../display/panel/startek,startek-kd050c.txt | 4 --- .../display/panel/startek,startek-kd050c.yaml | 33 +++ 2 files changed, 33 insertions(+), 4 deletions(-) delete mode 100644

[PATCH v1 10/36] dt-bindings: display: convert innolux, p097pfg to DT Schema

2020-03-15 Thread Sam Ravnborg
Signed-off-by: Sam Ravnborg Cc: Lin Huang Cc: Thierry Reding Cc: Sam Ravnborg --- .../display/panel/innolux,p097pfg.txt | 24 .../display/panel/innolux,p097pfg.yaml| 56 +++ 2 files changed, 56 insertions(+), 24 deletions(-) delete mode 100644

[PATCH v1 0/36] dt-bindings: display: convert remaning panel bindings to DT Schema

2020-03-15 Thread Sam Ravnborg
Convert remaining(*) panel bindings to DT Schema. To prepare for the migration a few preparations patches was required: - te-gpios is now added to panel-common - as this property is used by a few bindings. - The slave part of spi-controller.yaml was migrated to a new file spi-slave.yaml.

[PATCH v1 27/36] dt-bindings: display: convert sitronix, st7701 to DT Schema

2020-03-15 Thread Sam Ravnborg
The old binding documented that a number of properties is required only for a specific panel. The binding supports only one panel so they are now unconditionally required. Signed-off-by: Sam Ravnborg Cc: Jagan Teki Cc: Thierry Reding Cc: Sam Ravnborg --- .../display/panel/sitronix,st7701.txt

[PATCH v1 20/36] dt-bindings: display: convert samsung AMOLED to DT Schema

2020-03-15 Thread Sam Ravnborg
For samsung there was two AMOLED panels with the same description. Collect them in one binding file. Signed-off-by: Sam Ravnborg Cc: Hoegeun Kwon Cc: Thierry Reding Cc: Sam Ravnborg --- .../panel/samsung,amoled-mipi-dsi.yaml| 65 +++

[PATCH v1 04/36] dt-bindings: display: convert arm, versatile-tft-panel to DT Schema

2020-03-15 Thread Sam Ravnborg
Signed-off-by: Sam Ravnborg Cc: Linus Walleij Cc: Thierry Reding Cc: Sam Ravnborg --- .../display/panel/arm,versatile-tft-panel.txt | 31 --- .../panel/arm,versatile-tft-panel.yaml| 51 +++ 2 files changed, 51 insertions(+), 31 deletions(-) delete mode 100644

[PATCH v1 17/36] dt-bindings: display: convert osddisplays, osd101t2587-53ts to DT Schema

2020-03-15 Thread Sam Ravnborg
osddisplays,osd101t2587-53ts is compatible with panel-simple binding, so list the compatible in the panel-simple binding file. Signed-off-by: Sam Ravnborg Cc: Peter Ujfalusi Cc: Thierry Reding Cc: Sam Ravnborg --- .../display/panel/osddisplays,osd101t2587-53ts.txt | 14 --

  1   2   >