[Bug 205277] [amd powerplay] vega10: soc voltage for power state 7 is not changed by overdrive.

2019-10-30 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=205277 Pelle van Gils (pe...@vangils.xyz) changed: What|Removed |Added Status|NEW |RESOLVED Res

Re: Proposal to report GPU private memory allocations with sysfs nodes [plain text version]

2019-10-30 Thread Kenny Ho
Hi Yiwei, I am not sure if you are aware, there is an ongoing RFC on adding drm support in cgroup for the purpose of resource tracking. One of the resource is GPU memory. It's not exactly the same as what you are proposing (it doesn't track API usage, but it tracks the type of GPU memory from km

[Bug 111481] AMD Navi GPU frequent freezes on both Manjaro/Ubuntu with kernel 5.3 and mesa 19.2 -git/llvm9

2019-10-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111481 --- Comment #183 from Timur Kristóf --- (In reply to Jaap Buurman from comment #142) > How can I set both AMD_DEBUG=nongg and AMD_DEBUG=nodma in the > /etc/environment file? Do they need to be on two separate lines, or will the > second line sim

[radeon-alex:amd-mainline-dkms-5.2 1794/2647] configure: error: C compiler cannot create executables

2019-10-30 Thread kbuild test robot
tree: git://people.freedesktop.org/~agd5f/linux.git amd-mainline-dkms-5.2 head: b027ed8d9051470f4ed6bc071fcde172fe1fc595 commit: 4d49aa8a40ceecfd8a6b2d4e1b86396fbeedbb01 [1794/2647] drm/amdkcl/autoconf: generate config.h for in-tree build config: arm-allmodconfig (attached as .config) compiler

Re: [PATCH v2] drm/mediatek: support CMDQ interface in ddp component

2019-10-30 Thread CK Hu
Hi, Bibby: On Fri, 2019-10-25 at 13:38 +0800, Bibby Hsieh wrote: > The CMDQ (Command Queue) in MT8183 is used to help > update all relevant display controller registers > with critical time limation. > This patch add cmdq interface in ddp_comp interface, > let all ddp_comp interface can support cp

Re: [PATCH] drm/mediatek: Add RGB[A] variants to published plane formats

2019-10-30 Thread CK Hu
Hi, Sean: On Wed, 2019-10-23 at 15:51 -0400, Sean Paul wrote: > From: Sean Paul > > These formats are handled in the rdma code, but for some reason they're > not published as supported formats for the planes. So add them to the > list. Applied to mediatek-drm-fixes-5.4 [1], thanks. [1] https:/

Re: [PATCH V6 6/6] docs: sample driver to demonstrate how to implement virtio-mdev framework

2019-10-30 Thread Jason Wang
On 2019/10/31 上午5:23, Christoph Hellwig wrote: On Wed, Oct 30, 2019 at 02:44:44PM +0800, Jason Wang wrote: This sample driver creates mdev device that simulate virtio net device over virtio mdev transport. The device is implemented through vringh and workqueue. A device specific dma ops is to m

linux-next: manual merge of the drm tree with the drm-intel-fixes tree

2019-10-30 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm tree got a conflict in: drivers/gpu/drm/i915/i915_drv.h between commit: 59cd826fb5e7 ("drm/i915: Fix PCH reference clock for FDI on HSW/BDW") from the drm-intel-fixes tree and commit: 7d423af9bfb1 ("drm/i915: Implement a better i945gm vblank i

[radeon-alex:amd-mainline-dkms-5.2 1264/2647] htmldocs: drivers/gpu/drm/drm_dp_mst_topology.c:1595: warning: Function parameter or member 'connector' not described in 'drm_dp_mst_connector_late_regist

2019-10-30 Thread kbuild test robot
tree: git://people.freedesktop.org/~agd5f/linux.git amd-mainline-dkms-5.2 head: b027ed8d9051470f4ed6bc071fcde172fe1fc595 commit: aad0eab4e8dd76d1ba5248f9278633829cbcec38 [1264/2647] drm/dp_mst: Enable registration of AUX devices for MST ports reproduce: make htmldocs If you fix the issue, kin

[PATCH 2/2] drm/amd/display: Hook up drm interface for DP 1.4 edid corruption test

2019-10-30 Thread Jerry (Fangzhi) Zuo
Signed-off-by: Jerry (Fangzhi) Zuo --- .../drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c | 35 +- 1 file changed, 7 insertions(+), 28 deletions(-) diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helper

[PATCH 1/2] drm: Add support for DP 1.4 Compliance edid corruption test 4.2.2.6

2019-10-30 Thread Jerry (Fangzhi) Zuo
DP 1.4 edid corruption test requires source DUT to write calculated CRC, not the corrupted CRC from reference sink. Return the calculated CRC back, and initiate the required sequence. Signed-off-by: Jerry (Fangzhi) Zuo --- drivers/gpu/drm/drm_dp_helper.c | 36 +++

[PATCH 0/2] Changes for DP 1.4 Compliance test 4.2.2.6

2019-10-30 Thread Jerry (Fangzhi) Zuo
Unlike DP 1.2 Compliance test 4.2.2.6, DP 1.4 requires to calculate real CRC value of the last edid data block, and write it back. Current edid CRC calculate routine adds the last CRC byte, and check if non-zero or not. Need to return the actual CRC value when corruption is detected. Jerry (F

Re: [PATCH 0/5] Revert "DMA-BUF Heaps (destaging ION)"

2019-10-30 Thread Sean Paul
On Wed, Oct 30, 2019 at 4:30 PM Sean Paul wrote: > > From: Sean Paul > > While the kernel set has a solid number of r-b's and acks, the > userspace component does not meet the drm requirements of being > "reviewed and ready for merging into a suitable and canonical upstream > project". > > Once t

[PATCH 5/5] Revert "dma-buf: Add dma-buf heaps framework"

2019-10-30 Thread Sean Paul
From: Sean Paul This reverts commit a69b0e855d3fd278ff6f09a23e1edf929538e304. This patchset doesn't meet the UAPI requirements set out in [1] for the DRM subsystem. Once the userspace component is reviewed and ready for merge we can try again. [1]- https://01.org/linuxgraphics/gfx-docs/drm/gpu

[PATCH 2/5] Revert "dma-buf: heaps: Add CMA heap to dmabuf heaps"

2019-10-30 Thread Sean Paul
From: Sean Paul This reverts commit 43d7238fb9ac897b29912368b3359e72bae469c4. This patchset doesn't meet the UAPI requirements set out in [1] for the DRM subsystem. Once the userspace component is reviewed and ready for merge we can try again. [1]- https://01.org/linuxgraphics/gfx-docs/drm/gpu

[PATCH 3/5] Revert "dma-buf: heaps: Add system heap to dmabuf heaps"

2019-10-30 Thread Sean Paul
From: Sean Paul This reverts commit 47a32f9c12266d450b92089148c6039591bd9909. This patchset doesn't meet the UAPI requirements set out in [1] for the DRM subsystem. Once the userspace component is reviewed and ready for merge we can try again. [1]- https://01.org/linuxgraphics/gfx-docs/drm/gpu

[PATCH 1/5] Revert "kselftests: Add dma-heap test"

2019-10-30 Thread Sean Paul
From: Sean Paul This reverts commit ab87cc9754cdeb373c8ac030ac7aed92f450b767. This patchset doesn't meet the UAPI requirements set out in [1] for the DRM subsystem. Once the userspace component is reviewed and ready for merge we can try again. [1]- https://01.org/linuxgraphics/gfx-docs/drm/gpu

[PATCH 4/5] Revert "dma-buf: heaps: Add heap helpers"

2019-10-30 Thread Sean Paul
From: Sean Paul This reverts commit 7b87ea704fd9606eaafa9150116536d72f5c4b1f. This patchset doesn't meet the UAPI requirements set out in [1] for the DRM subsystem. Once the userspace component is reviewed and ready for merge we can try again. [1]- https://01.org/linuxgraphics/gfx-docs/drm/gpu

[PATCH 0/5] Revert "DMA-BUF Heaps (destaging ION)"

2019-10-30 Thread Sean Paul
From: Sean Paul While the kernel set has a solid number of r-b's and acks, the userspace component does not meet the drm requirements of being "reviewed and ready for merging into a suitable and canonical upstream project". Once the userspace portion has been reviewed, let's try again. Sean [1

Re: [PATCH 1/3 v4] drm/panel: Add generic DSI panel YAML bindings

2019-10-30 Thread Rob Herring
On Wed, Oct 30, 2019 at 8:50 AM Linus Walleij wrote: > > On Fri, Oct 25, 2019 at 9:20 PM Rob Herring wrote: > > > [Me] > > > +dsi-controller@55aa55aa { > > > + compatible = "acme,foo"; > > > > Eventually, I want to start reporting if compatible strings aren't > > documented (i.e. matched

[radeon-alex:amd-mainline-dkms-5.0 3711/4200] drivers/gpu/drm/ttm/ttm_bo_vm.c:137:44: error: 'struct vm_fault' has no member named 'virtual_address'

2019-10-30 Thread kbuild test robot
Hi Flora, FYI, the error/warning still remains. tree: git://people.freedesktop.org/~agd5f/linux.git amd-mainline-dkms-5.0 head: 52f70af32a6cef1ec5735145486d9154ab1248ac commit: 5165cd1453625e59650a1ed9b0f269b41529e421 [3711/4200] Revert "Revert "drm/amd/autoconf: Test whether vm_fault->{addr

Re: [PATCH 2/3 v4] drm/panel: Add DT bindings for Sony ACX424AKP

2019-10-30 Thread Rob Herring
On Wed, Oct 30, 2019 at 11:38 AM Linus Walleij wrote: > > On Fri, Oct 25, 2019 at 9:25 PM Rob Herring wrote: > > On Thu, Oct 24, 2019 at 01:43:04PM +0200, Linus Walleij wrote: > > > This adds device tree bindings for the Sony ACX424AKP panel. > > > Let's use YAML. > > > > Also broken. Run 'make d

[PATCH 09/13] drm/amd/display: Validate DSC caps on MST endpoints

2019-10-30 Thread mikita.lipski
From: David Francis During MST mode enumeration, if a new dc_sink is created, populate it with dsc caps as appropriate. Use drm_dp_mst_dsc_aux_for_port to get the raw caps, then parse them onto dc_sink with dc_dsc_parse_dsc_dpcd. Reviewed-by: Wenjing Liu Signed-off-by: David Francis --- .../

[PATCH 06/13] drm/dp_mst: Add helpers for MST DSC and virtual DPCD aux

2019-10-30 Thread mikita.lipski
From: David Francis Add drm_dp_mst_dsc_aux_for_port. To enable DSC, the DSC_ENABLED register might have to be written on the leaf port's DPCD, its parent's DPCD, or the MST manager's DPCD. This function finds the correct aux for the job. As part of this, add drm_dp_mst_is_virtual_dpcd. Virtual D

[PATCH v4 00/13] DSC MST support for AMDGPU

2019-10-30 Thread mikita.lipski
From: Mikita Lipski This set of patches is a continuation of DSC enablement patches for AMDGPU. This set enables DSC on MST. It also contains implementation of both encoder and connector atomic check routines. First 10 patches have been introduced in multiple iterations to the mailing list befo

[PATCH 11/13] drm/amd/display: MST DSC compute fair share

2019-10-30 Thread mikita.lipski
From: David Francis If there is limited link bandwidth on a MST network, it must be divided fairly between the streams on that network Implement an algorithm to determine the correct DSC config for each stream The algorithm: This [ ] ( ) represents the range of b

[PATCH 05/13] drm/dp_mst: Fill branch->num_ports

2019-10-30 Thread mikita.lipski
From: David Francis This field on drm_dp_mst_branch was never filled It is initialized to zero when the port is kzallocced. When a port is added to the list, increment num_ports, and when a port is removed from the list, decrement num_ports. v2: remember to decrement on port removal v3: don't e

[PATCH 10/13] drm/amd/display: Write DSC enable to MST DPCD

2019-10-30 Thread mikita.lipski
From: David Francis Rework the dm_helpers_write_dsc_enable callback to handle the MST case. Use the cached dsc_aux field. Reviewed-by: Wenjing Liu Signed-off-by: David Francis --- .../amd/display/amdgpu_dm/amdgpu_dm_helpers.c | 19 ++- 1 file changed, 18 insertions(+), 1 dele

[PATCH 08/13] drm/amd/display: Initialize DSC PPS variables to 0

2019-10-30 Thread mikita.lipski
From: David Francis For DSC MST, sometimes monitors would break out in full-screen static. The issue traced back to the PPS generation code, where these variables were being used uninitialized and were picking up garbage. memset to 0 to avoid this Reviewed-by: Nicholas Kazlauskas Signed-off-by

[PATCH 12/13] drm/dp_mst: Add DSC enablement helpers to DRM

2019-10-30 Thread mikita.lipski
From: Mikita Lipski Adding the following elements to add MST DSC support to DRM: - dsc_enable boolean flag to drm_dp_vcpi_allocation structure to signal, which port got DSC enabled - function drm_dp_helper_update_vcpi_slots_for_dsc allows reallocation of newly recalculated VCPI slots and raises

[PATCH 13/13] drm/amd/display: Recalculate VCPI slots for new DSC connectors

2019-10-30 Thread mikita.lipski
From: Mikita Lipski Since for DSC MST connector's PBN is claculated differently due to compression, we have to recalculate both PBN and VCPI slots for that connector. The function iterates through all the active streams to find, which have DSC enabled, then recalculates PBN for it and calls drm_

[PATCH 04/13] drm/dp_mst: Add MST support to DP DPCD R/W functions

2019-10-30 Thread mikita.lipski
From: David Francis Instead of having drm_dp_dpcd_read/write and drm_dp_mst_dpcd_read/write as entry points into the aux code, have drm_dp_dpcd_read/write handle both. This means that DRM drivers can make MST DPCD read/writes. v2: Fix spacing v3: Dump dpcd access on MST read/writes v4: Fix call

[PATCH 03/13] drm/dp_mst: Parse FEC capability on MST ports

2019-10-30 Thread mikita.lipski
From: David Francis As of DP1.4, ENUM_PATH_RESOURCES returns a bit indicating if FEC can be supported up to that point in the MST network. The bit is the first byte of the ENUM_PATH_RESOURCES ack reply, bottom-most bit (refer to section 2.11.9.4 of DP standard, v1.4) That value is needed for FE

[PATCH 07/13] drm/dp_mst: Add new quirk for Synaptics MST hubs

2019-10-30 Thread mikita.lipski
From: Mikita Lipski Synaptics DP1.4 hubs (BRANCH_ID 0x90CC24) do not support virtual DPCD registers, but do support DSC. The DSC caps can be read from the physical aux, like in SST DSC. These hubs have many different DEVICE_IDs. Add a new quirk to detect this case. Reviewed-by: Wenjing Liu Rev

[PATCH 01/13] drm/amd/display: Add MST atomic routines

2019-10-30 Thread mikita.lipski
From: Mikita Lipski - Adding encoder atomic check to find vcpi slots for a connector - Using DRM helper functions to calculate PBN - Adding connector atomic check to release vcpi slots if connector loses CRTC - Calculate PBN and VCPI slots only once during atomic check and store them on crtc_sta

[PATCH 02/13] drm/dp_mst: Add PBN calculation for DSC modes

2019-10-30 Thread mikita.lipski
From: David Francis With DSC, bpp can be fractional in multiples of 1/16. Change drm_dp_calc_pbn_mode to reflect this, adding a new parameter bool dsc. When this parameter is true, treat the bpp parameter as having units not of bits per pixel, but 1/16 of a bit per pixel v2: Don't add separate

Re: [PATCH] Drivers: gpu: drm: amd: display: amdgpu_dm: amdgpu_dm.h: Fixed a documentation warning

2019-10-30 Thread Alex Deucher
On Mon, Oct 28, 2019 at 4:25 AM wrote: > > From: Madhuparna Bhowmik > > This patch fixes the following warning: Incorrect use of > kernel-doc format: * @atomic_obj > by adding a colon after @atomic_obj. > > Signed-off-by: Madhuparna Bhowmik Thanks for the patch. This as already fixe

[PULL] drm-misc-fixes

2019-10-30 Thread Maxime Ripard
Hi Daniel, Dave, Here is this week's round of fixes for drm-misc. Thanks! Maxime drm-misc-fixes-2019-10-30-1: - three fixes for panfrost, one to silence a warning, one to fix runtime_pm and one to prevent bogus pointer dereferences - one fix for a memleak in v3d The following changes since

Re: [PULL] topic/mst-suspend-resume-reprobe-2019-10-29-2

2019-10-30 Thread Daniel Vetter
On Wed, Oct 30, 2019 at 7:23 PM Lyude Paul wrote: > > On Wed, 2019-10-30 at 10:21 +0100, Daniel Vetter wrote: > > On Tue, Oct 29, 2019 at 11:06 PM Lyude Paul wrote: > > > topic/mst-suspend-resume-reprobe-2019-10-29-2: > > > UAPI Changes: > > > > > > Cross-subsystem Changes: > > > > > > Core Chang

Re: [PULL] topic/mst-suspend-resume-reprobe-2019-10-29-2

2019-10-30 Thread Lyude Paul
On Wed, 2019-10-30 at 10:21 +0100, Daniel Vetter wrote: > On Tue, Oct 29, 2019 at 11:06 PM Lyude Paul wrote: > > topic/mst-suspend-resume-reprobe-2019-10-29-2: > > UAPI Changes: > > > > Cross-subsystem Changes: > > > > Core Changes: > > * Handle UP requests asynchronously in the DP MST helpers,

Re: [PATCH] drm/i915: Program LUT before intel_color_commit() if LUT was not previously set v2

2019-10-30 Thread Ville Syrjälä
On Mon, Oct 28, 2019 at 07:58:51PM +0100, Hans de Goede wrote: > Since commit 051a6d8d3ca0 ("drm/i915: Move LUT programming to happen after > vblank waits"), I am seeing an ugly colored flash of the first few display > lines on 2 Cherry Trail devices when the gamma table gets set for the first > ti

Re: [PATCH v2 2/3] drm: Measure Self Refresh Entry/Exit times to avoid thrashing

2019-10-30 Thread Enric Balletbo Serra
Hi Sean, Since 5.4-rc1 my Samsung Chromebook Plus (kevin) doesn't suspend/resume correctly, at least once every ten suspend/resume cycles the display doesn't turn on, and when this happens the kernel log message reports: [ 60.420230] PM: suspend exit [ 60.463866] rockchip-dp ff97.edp: AUX

Re: [PATCH 2/3 v4] drm/panel: Add DT bindings for Sony ACX424AKP

2019-10-30 Thread Linus Walleij
On Fri, Oct 25, 2019 at 9:25 PM Rob Herring wrote: > On Thu, Oct 24, 2019 at 01:43:04PM +0200, Linus Walleij wrote: > > This adds device tree bindings for the Sony ACX424AKP panel. > > Let's use YAML. > > Also broken. Run 'make dt_binding_check'. That is what I'm doing. make -f Makefile -j5 -l4

[GIT PULL] etnaviv-fixes for 5.4

2019-10-30 Thread Lucas Stach
Hi Dave, hi Daniel, a few small fixes for the etnaviv driver. One memory corruption fix in the MMUv2 GPU coredump code, a deadlock fix also in the coredump code and reintroduction of a helpful message, which got dropped by accident in this cycle. Regards, Lucas The following changes since commi

[PATCH] dma-buf: heaps: Fix redundant assignment to variable ret in system_heap.c

2019-10-30 Thread John Stultz
Colin King reported a coverity error: The variable ret is being assigned with a value that is never read, it is being re-assigned the same value on the err0 exit path. The assignment is redundant and hence can be removed. He had a fix, but Andrew Davis suggested a better solution (actually retu

[pull] amdgpu, radeon, gpu scheduler drm-fixes-5.4

2019-10-30 Thread Alex Deucher
Hi Dave, Daniel, Misc fixes for 5.4. The following changes since commit 2a3608409f46e0bae5b6b1a77ddf4c42116698da: Merge tag 'drm-fixes-5.4-2019-10-23' of git://people.freedesktop.org/~agd5f/linux into drm-fixes (2019-10-25 14:48:53 +1000) are available in the Git repository at: git://peo

Re: [PATCH][next] dma-buf: heaps: remove redundant assignment to variable ret

2019-10-30 Thread John Stultz
On Wed, Oct 30, 2019 at 8:45 AM Andrew F. Davis wrote: > > On 10/30/19 11:02 AM, Colin King wrote: > > From: Colin Ian King > > > > The variable ret is being assigned with a value that is never > > read, it is being re-assigned the same value on the err0 exit > > path. The assignment is redundant

Re: [PATCH] dma-buf: Fix a warning message in dma_heap_buffer_destroy()

2019-10-30 Thread John Stultz
On Tue, Oct 29, 2019 at 11:31 AM Dan Carpenter wrote: > > The first argument of WARN() is a condition so this will just print the > function name instead of the whole warning message. > > Fixes: 7b87ea704fd9 ("dma-buf: heaps: Add heap helpers") > Signed-off-by: Dan Carpenter > --- > drivers/dma-

[PATCH AUTOSEL 4.19 25/38] drm/amdgpu: fix potential VM faults

2019-10-30 Thread Sasha Levin
From: Christian König [ Upstream commit 3122051edc7c27cc08534be730f4c7c180919b8a ] When we allocate new page tables under memory pressure we should not evict old ones. Signed-off-by: Christian König Acked-by: Alex Deucher Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- drivers/g

[PATCH AUTOSEL 5.3 55/81] drm/amdgpu: fix potential VM faults

2019-10-30 Thread Sasha Levin
From: Christian König [ Upstream commit 3122051edc7c27cc08534be730f4c7c180919b8a ] When we allocate new page tables under memory pressure we should not evict old ones. Signed-off-by: Christian König Acked-by: Alex Deucher Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- drivers/g

[PATCH AUTOSEL 5.3 56/81] drm/amdgpu: fix error handling in amdgpu_bo_list_create

2019-10-30 Thread Sasha Levin
From: Christian König [ Upstream commit de51a5019ff32960218da8fd899fa3f361b031e9 ] We need to drop normal and userptr BOs separately. Signed-off-by: Christian König Acked-by: Huang Rui Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c |

Re: [PATCH][next] dma-buf: heaps: remove redundant assignment to variable ret

2019-10-30 Thread Andrew F. Davis
On 10/30/19 11:02 AM, Colin King wrote: > From: Colin Ian King > > The variable ret is being assigned with a value that is never > read, it is being re-assigned the same value on the err0 exit > path. The assignment is redundant and hence can be removed. > > Addresses-Coverity: ("Unused value")

[PATCH][next] dma-buf: heaps: remove redundant assignment to variable ret

2019-10-30 Thread Colin King
From: Colin Ian King The variable ret is being assigned with a value that is never read, it is being re-assigned the same value on the err0 exit path. The assignment is redundant and hence can be removed. Addresses-Coverity: ("Unused value") Fixes: 47a32f9c1226 ("dma-buf: heaps: Add system heap

[radeon-alex:amd-mainline-dkms-5.0 3698/4200] include/kcl/kcl_fence.h:142:20: error: redefinition of 'dma_fence_set_error'

2019-10-30 Thread kbuild test robot
Hi Flora, FYI, the error/warning still remains. tree: git://people.freedesktop.org/~agd5f/linux.git amd-mainline-dkms-5.0 head: 52f70af32a6cef1ec5735145486d9154ab1248ac commit: a5784d79d1577c00e6e81f892cde52593546a5f4 [3698/4200] drm/amdkcl: drop kcl_dma_fence_set_error config: i386-randconf

Re: [PATCH V5 1/3] drm/panel: simple: Add Logic PD Type 28 display support

2019-10-30 Thread Adam Ford
On Wed, Oct 16, 2019 at 8:52 AM Adam Ford wrote: > > Previously, there was an omap panel-dpi driver that would > read generic timings from the device tree and set the display > timing accordingly. This driver was removed so the screen > no longer functions. This patch modifies the panel-simple >

Re: [PATCH v2 3/3] dt-bindings: display: panel: add bindings for logic technologies displays

2019-10-30 Thread Rob Herring
On Sun, Oct 27, 2019 at 03:26:09PM +0100, Marcel Ziswiler wrote: > From: Marcel Ziswiler > > Add bindings for the following 3 previously added display panels > manufactured by Logic Technologies Limited: > > - LT161010-2NHC e.g. as found in the Toradex Capacitive Touch Display > 7" Parallel [1]

Re: [PATCH v2 3/3] dt-bindings: display: panel: add bindings for logic technologies displays

2019-10-30 Thread Rob Herring
On Sun, Oct 27, 2019 at 03:26:09PM +0100, Marcel Ziswiler wrote: > From: Marcel Ziswiler > > Add bindings for the following 3 previously added display panels > manufactured by Logic Technologies Limited: > > - LT161010-2NHC e.g. as found in the Toradex Capacitive Touch Display > 7" Parallel [1]

Re: [PATCH 2/2] drm/fb-helper: Remove drm_fb_helper_fbdev_{setup,teardown}()

2019-10-30 Thread Noralf Trønnes
Den 29.10.2019 08.06, skrev Thomas Zimmermann: > Both functions are unused and can be removed. Drivers should use > drm_fbdev_generic_setup() instead. > > Signed-off-by: Thomas Zimmermann > --- > drivers/gpu/drm/drm_fb_helper.c | 109 +--- > include/drm/drm_fb_helpe

Re: [PATCH 1/2] drm/todo: Convert drivers to generic fbdev emulation

2019-10-30 Thread Noralf Trønnes
Den 29.10.2019 08.06, skrev Thomas Zimmermann: > This replaces the orignal TODO item for drm_fb_helper_fbdev_setup() and > _teardown(), which are deprecated. > > Signed-off-by: Thomas Zimmermann > --- > Documentation/gpu/todo.rst | 15 +++ > 1 file changed, 7 insertions(+), 8 delet

Re: [PATCH -next] drm/amd/display: Add a conversion function for transmitter and phy_id enums

2019-10-30 Thread Alex Deucher
On Wed, Oct 30, 2019 at 8:33 AM Kazlauskas, Nicholas wrote: > > On 2019-10-30 2:04 a.m., Nathan Chancellor wrote: > > Clang warns: > > > > ../drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:2520:42: > > error: implicit conversion from enumeration type 'enum transmitter' to > > different en

Re: [PATCH] drm/amd/display: remove redundant null pointer check before kfree

2019-10-30 Thread Alex Deucher
On Wed, Oct 30, 2019 at 9:36 AM Harry Wentland wrote: > > On 2019-10-29 9:57 p.m., zhong jiang wrote: > > kfree has taken null pointer into account. hence it is safe to remove > > the unnecessary check. > > > > Signed-off-by: zhong jiang > > Reviewed-by: Harry Wentland > Applied. thanks! Alex

Re: [PATCH 1/3 v4] drm/panel: Add generic DSI panel YAML bindings

2019-10-30 Thread Linus Walleij
On Fri, Oct 25, 2019 at 9:20 PM Rob Herring wrote: > [Me] > > +dsi-controller@55aa55aa { > > + compatible = "acme,foo"; > > Eventually, I want to start reporting if compatible strings aren't > documented (i.e. matched to a schema). This will break then... OK I drop this. > > + reg

Re: [PATCH] drm/amd/display: remove redundant null pointer check before kfree

2019-10-30 Thread Harry Wentland
On 2019-10-29 9:57 p.m., zhong jiang wrote: > kfree has taken null pointer into account. hence it is safe to remove > the unnecessary check. > > Signed-off-by: zhong jiang Reviewed-by: Harry Wentland Harry > --- > drivers/gpu/drm/amd/display/dc/hdcp/hdcp_msg.c | 4 +--- > 1 file changed, 1 i

Re: [RFC][PATCH 1/3] dt-bindings: dma-buf: heaps: Describe CMA regions to be added to dmabuf heaps interface.

2019-10-30 Thread Rob Herring
On Fri, Oct 25, 2019 at 04:55:35PM -0700, John Stultz wrote: > On Fri, Oct 25, 2019 at 4:32 PM Rob Herring wrote: > > > > On Fri, Oct 25, 2019 at 5:51 PM John Stultz wrote: > > > > > > This binding specifies which CMA regions should be added to the > > > dmabuf heaps interface. > > > > Is this an

[Bug 111232] 3200 Memory Crash My System

2019-10-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111232 bibitocarlos changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

Re: Unexpected screen flicker during i915 initialization

2019-10-30 Thread Jani Nikula
On Wed, 30 Oct 2019, Chris Chiu wrote: > Hi guys, > We have 2 laptops, ASUS Z406MA and Acer TravelMate B118, both > powered by the same Intel N5000 GemniLake CPU. On the Acer laptop, the > panel will blink once during boot which never happens on the ASUS > laptop. It caught my attention and I

Re: [PATCH -next] drm/amd/display: Add a conversion function for transmitter and phy_id enums

2019-10-30 Thread Kazlauskas, Nicholas
On 2019-10-30 2:04 a.m., Nathan Chancellor wrote: > Clang warns: > > ../drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:2520:42: > error: implicit conversion from enumeration type 'enum transmitter' to > different enumeration type 'enum physical_phy_id' > [-Werror,-Wenum-conversion] >

Re: [PATCH 1/4] drm/msm: fix memleak on release

2019-10-30 Thread Johan Hovold
On Thu, Oct 10, 2019 at 03:13:30PM +0200, Johan Hovold wrote: > If a process is interrupted while accessing the "gpu" debugfs file and > the drm device struct_mutex is contended, release() could return early > and fail to free related resources. > > Note that the return value from release() is ign

Re: [PULL] topic/mst-suspend-resume-reprobe-2019-10-29-2

2019-10-30 Thread Daniel Vetter
On Tue, Oct 29, 2019 at 11:06 PM Lyude Paul wrote: > > topic/mst-suspend-resume-reprobe-2019-10-29-2: > UAPI Changes: > > Cross-subsystem Changes: > > Core Changes: > * Handle UP requests asynchronously in the DP MST helpers, fixing > hotplug notifications and allowing us to implement suspend/re

Re: [PATCH v9 5/6] ARM: dts: rockchip: Add HDMI support to rk3288-veyron-analog-audio

2019-10-30 Thread Heiko Stuebner
Hi, Am Mittwoch, 30. Oktober 2019, 10:09:46 CET schrieb Tzung-Bi Shih: > This series has 6 patches. We noticed you have merged the first 4 > patches (includes the DT binding one: > https://mailman.alsa-project.org/pipermail/alsa-devel/2019-October/157668.html). > > There are 2 DTS patches are st

RE: [PATCH v2 2/5] drm/dsi: add missing DSI data types

2019-10-30 Thread Kulkarni, Vandita
> -Original Message- > From: Jani Nikula > Sent: Monday, October 28, 2019 8:31 PM > To: dri-devel@lists.freedesktop.org > Cc: intel-...@lists.freedesktop.org; Nikula, Jani ; > Kulkarni, Vandita > Subject: [PATCH v2 2/5] drm/dsi: add missing DSI data types > > Add execute queue and compre

[PATCH] drm/amd/display: remove redundant null pointer check before kfree

2019-10-30 Thread zhong jiang
kfree has taken null pointer into account. hence it is safe to remove the unnecessary check. Signed-off-by: zhong jiang --- drivers/gpu/drm/amd/display/dc/hdcp/hdcp_msg.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/hdcp/hdcp_msg.c b/driv

[PATCH v2] drm: sun4i: Add support for suspending the display driver

2019-10-30 Thread Ondrej Jirman
Shut down the display engine during suspend. Signed-off-by: Ondrej Jirman --- Changes in v2: - spaces -> tabs drivers/gpu/drm/sun4i/sun4i_drv.c | 22 ++ 1 file changed, 22 insertions(+) diff --git a/drivers/gpu/drm/sun4i/sun4i_drv.c b/drivers/gpu/drm/sun4i/sun4i_drv.c inde

[PATCH -next] drm/amd/display: Add a conversion function for transmitter and phy_id enums

2019-10-30 Thread Nathan Chancellor
Clang warns: ../drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:2520:42: error: implicit conversion from enumeration type 'enum transmitter' to different enumeration type 'enum physical_phy_id' [-Werror,-Wenum-conversion] psr_context->smuPhyId = link->link_enc->transmitter;

[PATCH v4 5/7] drm/bridge: Add Analogix anx6345 support

2019-10-30 Thread Torsten Duwe
From: Icenowy Zheng The ANX6345 is an ultra-low power DisplayPower/eDP transmitter designed for portable devices. This driver adds initial support for RGB to eDP mode, without HPD and interrupts. This is a configuration usually seen in eDP applications. Signed-off-by: Icenowy Zheng Signed-off-

[PATCH v4] drm/panfrost: fix -Wmissing-prototypes warnings

2019-10-30 Thread Yi Wang
We get these warnings when build kernel W=1: drivers/gpu/drm/panfrost/panfrost_perfcnt.c:35:6: warning: no previous prototype for ‘panfrost_perfcnt_clean_cache_done’ [-Wmissing-prototypes] drivers/gpu/drm/panfrost/panfrost_perfcnt.c:40:6: warning: no previous prototype for ‘panfrost_perfcnt_sampl

Re: [PATCH v2 02/15] mm/mmu_notifier: add an interval tree notifier

2019-10-30 Thread Jason Gunthorpe
On Tue, Oct 29, 2019 at 10:04:45PM +, Kuehling, Felix wrote: > >* because mm->mm_users > 0 during mmu_notifier_register and exit_mmap > > @@ -52,17 +286,24 @@ struct mmu_notifier_mm { > >* can't go away from under us as exit_mmap holds an mm_count pin > >* itself. > >*/ > > -vo

[PATCH v4 1/7] drm/bridge: move ANA78xx driver to analogix subdirectory

2019-10-30 Thread Torsten Duwe
From: Icenowy Zheng As ANA78xx chips are designed and produced by Analogix Semiconductor, Inc, move their driver codes into analogix subdirectory. Signed-off-by: Icenowy Zheng Signed-off-by: Vasily Khoruzhick Reviewed-by: Laurent Pinchart Signed-off-by: Torsten Duwe Reviewed-by: Andrzej Hajd

[PATCH v4 6/7] dt-bindings: Add ANX6345 DP/eDP transmitter binding

2019-10-30 Thread Torsten Duwe
The anx6345 is an ultra-low power DisplayPort/eDP transmitter designed for portable devices. Add a binding document for it. Signed-off-by: Icenowy Zheng Signed-off-by: Vasily Khoruzhick Reviewed-by: Rob Herring Signed-off-by: Torsten Duwe Reviewed-by: Laurent Pinchart --- .../bindings/displ

Re: [PATCH v4 1/2] dt-bindings: backlight: lm3630a: add enable_gpios

2019-10-30 Thread Andreas Kemnade
Hi, On Mon, 28 Oct 2019 18:25:56 -0500 Rob Herring wrote: > On Thu, Sep 12, 2019 at 4:33 PM Andreas Kemnade wrote: > > > > add enable-gpios to describe HWEN pin > > > > Signed-off-by: Andreas Kemnade > > Acked-by: Daniel Thompson > > This breaking linux-next now... > oops, sorry. > > --

Re: [PATCH v2 13/15] drm/amdgpu: Use mmu_range_insert instead of hmm_mirror

2019-10-30 Thread Jason Gunthorpe
On Tue, Oct 29, 2019 at 10:14:29PM +, Kuehling, Felix wrote: > > +static const struct mmu_range_notifier_ops amdgpu_mn_hsa_ops = { > > + .invalidate = amdgpu_mn_invalidate_hsa, > > +}; > > + > > +static int amdgpu_mn_sync_pagetables(struct hmm_mirror *mirror, > > +

Re: [PATCH v3] drm/tegra: Do not use ->load() and ->unload() callbacks

2019-10-30 Thread Dmitry Osipenko
28.10.2019 15:16, Thierry Reding пишет: > From: Thierry Reding > > The ->load() and ->unload() drivers are midlayers and should be avoided > in modern drivers. Fix this by moving the code into the driver ->probe() > and ->remove() implementations, respectively. > > v2: kick out conflicting frame

[PATCH v4 7/7] arm64: dts: allwinner: a64: enable ANX6345 bridge on Teres-I

2019-10-30 Thread Torsten Duwe
Teres-I has an anx6345 bridge connected to the RGB666 LCD output, and the I2C controlling signals are connected to I2C0 bus. Enable it in the device tree, and enable the display engine, video mixer and tcon0 as well. Signed-off-by: Icenowy Zheng Signed-off-by: Torsten Duwe --- .../boot/dts/all

Re: [PATCH] fbdev: potential information leak in do_fb_ioctl()

2019-10-30 Thread Eric W. Biederman
Dan Carpenter writes: > The "fix" struct has a 2 byte hole after ->ywrapstep and the > "fix = info->fix;" assignment doesn't necessarily clear it. It depends > on the compiler. > > Fixes: 1f5e31d7e55a ("fbmem: don't call copy_from/to_user() with mutex held") > Signed-off-by: Dan Carpenter > ---

[PATCH v4 0/7] Add anx6345 DP/eDP bridge for Olimex Teres-I

2019-10-30 Thread Torsten Duwe
ANX6345 LVTTL->eDP video bridge, driver with device tree bindings. Long time, few but important changes. Changes since v3: * converted binding schema file to json-schema ("YAML") It now validates (itself and the dts) like a charm ;-) Input port0 is mandatory, output port1 is optional. * Enr

Re: [PATCH v2] kernel-doc: rename the kernel-doc directive 'functions' to 'identifiers'

2019-10-30 Thread Changbin Du
On Mon, Oct 28, 2019 at 11:24:22AM +0200, Jani Nikula wrote: > On Fri, 25 Oct 2019, Changbin Du wrote: > > On Fri, Oct 25, 2019 at 09:57:48AM +0300, Jani Nikula wrote: > >> On Thu, 24 Oct 2019, Jonathan Corbet wrote: > >> > On Sun, 20 Oct 2019 21:17:17 +0800 > >> > Changbin Du wrote: > >> > > >>

Re: [PATCH v2 14/15] drm/amdgpu: Use mmu_range_notifier instead of hmm_mirror

2019-10-30 Thread Jason Gunthorpe
On Tue, Oct 29, 2019 at 07:22:37PM +, Yang, Philip wrote: > Hi Jason, > > I did quick test after merging amd-staging-drm-next with the > mmu_notifier branch, which includes this set changes. The test result > has different failures, app stuck intermittently, GUI no display etc. I > am under

Re: [PATCH v2 12/15] drm/amdgpu: Call find_vma under mmap_sem

2019-10-30 Thread Jason Gunthorpe
On Tue, Oct 29, 2019 at 04:28:43PM +, Kuehling, Felix wrote: > On 2019-10-28 4:10 p.m., Jason Gunthorpe wrote: > > From: Jason Gunthorpe > > > > find_vma() must be called under the mmap_sem, reorganize this code to > > do the vma check after entering the lock. > > > > Further, fix the unlocked

[PATCH next] dt-bindings: backlight: lm3630a: fix missing include

2019-10-30 Thread Andreas Kemnade
example failed to compile due to undefined GPIO_ACTIVE_HIGH fix that by adding the needed #include to the exammple Fixes: ae92365cdd75 ("dt-bindings: backlight: lm3630a: Add enable-gpios to describe HWEN pin") Signed-off-by: Andreas Kemnade --- .../devicetree/bindings/leds/backlight/lm3630a-bac

Re:[PATCH v3] drm/panfrost: fix -Wmissing-prototypes warnings

2019-10-30 Thread wang.yi59
> On Mon, Oct 28, 2019 at 09:27:33AM +, wang.y...@zte.com.cn wrote: > > Hi Steve, > > > > Thanks a lot for your time and patience :) > > > > > On 25/10/2019 02:30, Yi Wang wrote: > > > > We get these warnings when build kernel W=1: > > > > drivers/gpu/drm/panfrost/panfrost_perfcnt.c:35:6: warni

[PATCH v4 2/7] drm/bridge: split some definitions of ANX78xx to dedicated headers

2019-10-30 Thread Torsten Duwe
From: Icenowy Zheng Some definitions currently in analogix-anx78xx.h are not restricted to the ANX78xx series, but also applicable to other DisplayPort transmitters by Analogix. Split out them to dedicated headers, and make analogix-anx78xx.h include them. Signed-off-by: Icenowy Zheng Signed-o

[RESEND PATCH 2/2] drm: bridge: adv7511: Extend list of audio sample rates

2019-10-30 Thread Bogdan Togorean
ADV7511 support sample rates up to 192kHz. CTS and N parameters should be computed accordingly so this commit extend the list up to maximum supported sample rate. Signed-off-by: Bogdan Togorean --- drivers/gpu/drm/bridge/adv7511/adv7511_audio.c | 12 1 file changed, 12 insertions(+)

[RESEND PATCH 1/2] drm: bridge: adv7511: Enable SPDIF DAI

2019-10-30 Thread Bogdan Togorean
ADV7511 support I2S or SPDIF as audio input interfaces. This commit enable support for SPDIF. Signed-off-by: Bogdan Togorean Reviewed-by: Andrzej Hajda --- drivers/gpu/drm/bridge/adv7511/adv7511_audio.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/drivers/gpu/drm/bridge/a

[PATCH v4 4/7] drm/bridge: Prepare Analogix anx6345 support

2019-10-30 Thread Torsten Duwe
Add bit definitions required for the anx6345 and add a sanity check in anx_dp_aux_transfer. Signed-off-by: Icenowy Zheng Signed-off-by: Vasily Khoruzhick Signed-off-by: Torsten Duwe Reviewed-by: Andrzej Hajda --- drivers/gpu/drm/bridge/analogix/analogix-i2c-dptx.c | 2 +- drivers/gpu/drm/

Re: [PATCH V5 4/6] mdev: introduce virtio device and its device ops

2019-10-30 Thread Zhu Lingshan
On 10/29/2019 6:42 PM, Jason Wang wrote: On 2019/10/29 下午3:42, Zhu Lingshan wrote: +    void (*set_status)(struct mdev_device *mdev, u8 status); Hi Jason Is it possible to make set_status() return an u8 or bool, because this may fail in real hardware. Without a returned code, I am not sure whe

[PATCH] drm: amd: amdgpu: Remove NULL check not needed before freeing functions

2019-10-30 Thread Saurav Girepunje
Remove unneeded NULL check before freeing functions kfree and debugfs_remove. Signed-off-by: Saurav Girepunje --- drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c b/drivers/gpu/drm/a

Re: [PATCH v8 3/6] ASoC: rockchip_max98090: Optionally support HDMI use case

2019-10-30 Thread Cheng-yi Chiang
On Tue, Oct 29, 2019 at 3:10 AM kbuild test robot wrote: > > Hi Cheng-Yi, > > I love your patch! Yet something to improve: > > [auto build test ERROR on rockchip/for-next] > [also build test ERROR on v5.4-rc5 next-20191028] > [if your patch is applied to the wrong git tree, please drop us a note t

Re: [PATCH V5 4/6] mdev: introduce virtio device and its device ops

2019-10-30 Thread Zhu Lingshan
On 10/23/2019 9:07 PM, Jason Wang wrote: This patch implements basic support for mdev driver that supports virtio transport for kernel virtio driver. Signed-off-by: Jason Wang --- drivers/vfio/mdev/mdev_core.c| 20 drivers/vfio/mdev/mdev_private.h | 2 + include/linux/mdev.h

Re: [PATCH v2 06/15] RDMA/hfi1: Use mmu_range_notifier_inset for user_exp_rcv

2019-10-30 Thread Jason Gunthorpe
On Tue, Oct 29, 2019 at 08:19:20AM -0400, Dennis Dalessandro wrote: > On 10/28/2019 4:10 PM, Jason Gunthorpe wrote: > > From: Jason Gunthorpe > > > > This converts one of the two users of mmu_notifiers to use the new API. > > The conversion is fairly straightforward, however the existing use of >

Re: [PATCH] fbdev: potential information leak in do_fb_ioctl()

2019-10-30 Thread Andrea Righi
On Tue, Oct 29, 2019 at 02:02:11PM -0500, Eric W. Biederman wrote: > Dan Carpenter writes: > > > The "fix" struct has a 2 byte hole after ->ywrapstep and the > > "fix = info->fix;" assignment doesn't necessarily clear it. It depends > > on the compiler. > > > > Fixes: 1f5e31d7e55a ("fbmem: don't

  1   2   >