Re: 回复: 回复: [RFC PATCH 1/2] drm/amdgpu: Fix memory corruption due to swapout and swapin

2021-05-20 Thread Pan, Xinhui
I just sent out patch below yesterday. swapping unpopulated bo is useless indeed. [RFC PATCH 2/2] drm/ttm: skip swapout when ttm has no backend page.

回复: 回复: 回复: [RFC PATCH 1/2] drm/amdgpu: Fix memory corruption due to swapout and swapin

2021-05-20 Thread Pan, Xinhui
[AMD Official Use Only] I just sent out patch below yesterday. swapping unpopulated bo is useless indeed. [RFC PATCH 2/2] drm/ttm: skip swapout when ttm has no backend page. 发件人: Christian König 发送时间: 2021年5月20日 14:39 收件人: Pan, Xinhui; Kuehling, Felix;

[PATCH] drm/i915: Use DRIVER_NAME for tracing unattached requests

2021-05-20 Thread Matthew Auld
From: Chris Wilson The first tracepoint for a request is trace_dma_fence_init called before we have associated the request with a device. The tracepoint uses fence->ops->get_driver_name() as a pretty name, and as we try to report the device name this oopses as it is then NULL. Support the early t

RE: [PATCH v5 1/3] drm/hyperv: Add DRM driver for hyperv synthetic video device

2021-05-20 Thread Dexuan Cui
> From: Deepak Rawat > Sent: Wednesday, May 19, 2021 9:38 AM > ... > +static int hyperv_vmbus_suspend(struct hv_device *hdev) > +{ > + struct drm_device *dev = hv_get_drvdata(hdev); > + int ret; > + > + ret = drm_mode_config_helper_suspend(dev); If 'ret' is not zero, return immediatel

[PATCH] drm/bridge: anx7625: Synchronously run runtime suspend.

2021-05-20 Thread Pi-Hsun Shih
Originally when using pm_runtime_put, there's a chance that the runtime suspend hook will be run after the following anx7625_bridge_mode_set call, resulting in the display_timing_valid field to be cleared, and the following power on fail. Change all pm_runtime_put to pm_runtime_put_sync, so all po

Re: Re: [PATCH] drivers/video/fbdev/core/fbmem.c: add pointer judgment

2021-05-20 Thread Arnd Bergmann
> > On Wed, May 19, 2021 at 08:00:28PM +0800, songqiang wrote: > > Signed-off-by: songqiang > From: "Matthew Wilcox " > > You need to explain: > > > > - Why you think this patch is needed > > - Did you observe a problem at runtime? > > - Is this the output from some checking tool? > > - Why this

Re: [PATCH 2/2] drm/doc: document drm_mode_get_plane

2021-05-20 Thread Pekka Paalanen
On Wed, 19 May 2021 10:30:40 -0300 Leandro Ribeiro wrote: > On 5/6/21 6:10 AM, Pekka Paalanen wrote: > > On Wed, 28 Apr 2021 18:36:51 -0300 > > Leandro Ribeiro wrote: > > > >> Add a small description and document struct fields of > >> drm_mode_get_plane. > >> > >> Signed-off-by: Leandro Ribei

Re: [RFC] Add DMA_RESV_USAGE flags

2021-05-20 Thread Daniel Vetter
On Wed, May 19, 2021 at 5:48 PM Michel Dänzer wrote: > > On 2021-05-19 5:21 p.m., Jason Ekstrand wrote: > > On Wed, May 19, 2021 at 5:52 AM Michel Dänzer wrote: > >> > >> On 2021-05-19 12:06 a.m., Jason Ekstrand wrote: > >>> On Tue, May 18, 2021 at 4:17 PM Daniel Vetter wrote: > > On T

Re: New uAPI for color management proposal and feedback request

2021-05-20 Thread Pekka Paalanen
On Wed, 19 May 2021 16:49:35 +0300 Ville Syrjälä wrote: > On Wed, May 19, 2021 at 12:34:05PM +0300, Pekka Paalanen wrote: > > On Wed, 12 May 2021 16:04:16 +0300 > > Ville Syrjälä wrote: > > > > > On Wed, May 12, 2021 at 02:06:56PM +0200, Werner Sembach wrote: > > > > Hello, > > > > > > > >

Re: [RFC] Add DMA_RESV_USAGE flags

2021-05-20 Thread Daniel Vetter
On Wed, May 19, 2021 at 1:24 PM Christian König wrote: > > Am 18.05.21 um 23:17 schrieb Daniel Vetter: > > [SNIP] > >> The problem in this case is not starting a new CS, but synchronizing to > >> the existing ones. > >> > >> See a heavy TLB flush is made completely out of sync. E.g. it doesn't > >

Re: [RFC] Add DMA_RESV_USAGE flags

2021-05-20 Thread Michel Dänzer
On 2021-05-20 9:55 a.m., Daniel Vetter wrote: > On Wed, May 19, 2021 at 5:48 PM Michel Dänzer wrote: >> >> On 2021-05-19 5:21 p.m., Jason Ekstrand wrote: >>> On Wed, May 19, 2021 at 5:52 AM Michel Dänzer wrote: On 2021-05-19 12:06 a.m., Jason Ekstrand wrote: > On Tue, May 18, 2021 a

[PATCH][next] drm/amdgpu/acpi: Fix null check on memory allocation

2021-05-20 Thread Colin King
From: Colin Ian King The current null check is checking the wrong pointer atif. Fix this to check the correct pointer atcs. Addresses-Coverity: ("Uninitialized pointer read") Fixes: c1c4d8efddde ("drm/amdgpu/acpi: unify ATCS handling (v2)") Signed-off-by: Colin Ian King --- drivers/gpu/drm/amd

Re: [PATCH 3/3] drm: document minimum kernel version for DRM_CLIENT_CAP_*

2021-05-20 Thread Pekka Paalanen
On Tue, 18 May 2021 11:14:52 + Simon Ser wrote: > The kernel versions including the following commits are referenced: > > DRM_CLIENT_CAP_STEREO_3D > 61d8e3282541 ("drm: Add a STEREO_3D capability to the SET_CLIENT_CAP ioctl") > > DRM_CLIENT_CAP_UNIVERSAL_PLANES > 681e7ec73044 ("drm: Allow u

Re: [PATCH 2/3] drm: clarify and linkify DRM_CLIENT_CAP_WRITEBACK_CONNECTORS docs

2021-05-20 Thread Pekka Paalanen
On Tue, 18 May 2021 11:14:47 + Simon Ser wrote: > Make it clear that the client is responsible for enabling ATOMIC > prior to enabling WRITEBACK_CONNECTORS. Linkify the reference to > ATOMIC. > > Signed-off-by: Simon Ser > Cc: Daniel Vetter > Cc: Daniel Stone > Cc: Pekka Paalanen > --- >

Re: [PATCH 1/3] drm: reference mode flags in DRM_CLIENT_CAP_* docs

2021-05-20 Thread Pekka Paalanen
On Tue, 18 May 2021 11:14:42 + Simon Ser wrote: > In the docs for DRM_CLIENT_CAP_STEREO_3D and > DRM_CLIENT_CAP_ASPECT_RATIO, reference the DRM_MODE_FLAG_* defines > that get set when the cap is enabled. > > Signed-off-by: Simon Ser > Cc: Daniel Vetter > Cc: Daniel Stone > Cc: Pekka Paala

[PATCH] drm/i915/gt: fix typo issue

2021-05-20 Thread samirweng1979
From: wengjianfeng change 'freqency' to 'frequency'. Signed-off-by: wengjianfeng --- drivers/gpu/drm/i915/gt/selftest_rps.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915/gt/selftest_rps.c b/drivers/gpu/drm/i915/gt/selftest_rps.c index 967641f..71

re: drm/amdgpu/acpi: unify ATCS handling (v2) [uninitialized variable error]

2021-05-20 Thread Colin Ian King
Hi, Static analysis on linux-next with Coverity has detected an issue in drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c with the following commit: commit c1c4d8efdddec8a0ccc8525b29740640bd652ce8 Author: Alex Deucher Date: Wed May 19 15:47:42 2021 -0400 drm/amdgpu/acpi: unify ATCS handling (v2)

Re: [Intel-gfx] [PATCH 0/7] Per client engine busyness

2021-05-20 Thread Tvrtko Ursulin
On 19/05/2021 19:23, Daniel Vetter wrote: On Wed, May 19, 2021 at 6:16 PM Tvrtko Ursulin wrote: On 18/05/2021 10:40, Tvrtko Ursulin wrote: On 18/05/2021 10:16, Daniel Stone wrote: Hi, On Tue, 18 May 2021 at 10:09, Tvrtko Ursulin wrote: I was just wondering if stat(2) and a chrdev majo

[Bug 211277] sometimes crash at s2ram-wake (Ryzen 3500U): amdgpu, drm, commit_tail, amdgpu_dm_atomic_commit_tail

2021-05-20 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=211277 --- Comment #30 from kolAflash (kolafl...@kolahilft.de) --- Created attachment 296891 --> https://bugzilla.kernel.org/attachment.cgi?id=296891&action=edit all kernel messages with ip_block_mask=0x0ff (Debian kernel 5.10.0-6) Also crashes with i

Re: [V2][PATCH 1/2] drm: xlnx: add is_layer_vid() to simplify the code

2021-05-20 Thread Laurent Pinchart
Hi Quanyang, Thank you for the patch. On Tue, May 18, 2021 at 05:50:18PM +0800, quanyang.w...@windriver.com wrote: > From: Quanyang Wang > > Add a new function is_layer_vid() to simplify the code that > judges if a layer is the video layer. I like this, and especially passing the layer pointer

[Bug 211277] sometimes crash at s2ram-wake (Ryzen 3500U): amdgpu, drm, commit_tail, amdgpu_dm_atomic_commit_tail

2021-05-20 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=211277 --- Comment #31 from Jerome C (m...@jeromec.com) --- (In reply to kolAflash from comment #30) > Created attachment 296891 [details] > all kernel messages with ip_block_mask=0x0ff (Debian kernel 5.10.0-6) > > Also crashes with ip_block_mask=0x0ff

Re: [Intel-gfx] [RFC 2/2] drm/doc/rfc: i915 new parallel submission uAPI plan

2021-05-20 Thread Daniel Vetter
On Wed, May 19, 2021 at 7:19 PM Matthew Brost wrote: > > On Wed, May 19, 2021 at 01:10:04PM +0200, Daniel Vetter wrote: > > On Tue, May 18, 2021 at 04:58:30PM -0700, Matthew Brost wrote: > > > Add entry fpr i915 new parallel submission uAPI plan. > > > > > > v2: > > > (Daniel Vetter): > > > - E

Re: [V2][PATCH 2/2] drm: xlnx: consolidate the functions which programming AUDIO_VIDEO_SELECT register

2021-05-20 Thread Laurent Pinchart
Hi Quanyang, Thank you for the patch. On Tue, May 18, 2021 at 05:50:19PM +0800, quanyang.w...@windriver.com wrote: > From: Quanyang Wang > > For now, the functions zynqmp_disp_avbuf_enable/disable_audio and > zynqmp_disp_avbuf_enable/disable_video are all programming the register > AV_BUF_OUTPU

Re: [RFC] Add DMA_RESV_USAGE flags

2021-05-20 Thread Christian König
Am 20.05.21 um 10:13 schrieb Michel Dänzer: On 2021-05-20 9:55 a.m., Daniel Vetter wrote: On Wed, May 19, 2021 at 5:48 PM Michel Dänzer wrote: On 2021-05-19 5:21 p.m., Jason Ekstrand wrote: On Wed, May 19, 2021 at 5:52 AM Michel Dänzer wrote: On 2021-05-19 12:06 a.m., Jason Ekstrand wrote:

XDC 2021: Registration & Call for Proposals now open!

2021-05-20 Thread Szwichtenberg, Radoslaw
Hello! Registration & Call for Proposals are now open for XDC 2021, which will take place on September 15-17, 2021. This year we will repeat as virtual event. https://indico.freedesktop.org/event/1/ As usual, the conference is free of charge and open to the general public. If you plan on attendi

Re: [V2][PATCH 1/2] drm: xlnx: add is_layer_vid() to simplify the code

2021-05-20 Thread quanyang.wang
Hi Laurent, Thank you for your review. On 5/20/21 5:37 PM, Laurent Pinchart wrote: Hi Quanyang, Thank you for the patch. On Tue, May 18, 2021 at 05:50:18PM +0800, quanyang.w...@windriver.com wrote: From: Quanyang Wang Add a new function is_layer_vid() to simplify the code that judges if a

Requests For Proposals for hosting XDC 2022 are now open

2021-05-20 Thread Samuel Iglesias Gonsálvez
Hello everyone! The X.org board is soliciting proposals to host XDC in 2022. Since XDC 2021 is being held in Europe this year (although virtually), we've decided to host in North America. However, the board is open to other locations, especially if there's an interesting co-location with another c

Re: [PATCH] drm/bridge: anx7625: Synchronously run runtime suspend.

2021-05-20 Thread Robert Foss
On Thu, 20 May 2021 at 12:12, Tzung-Bi Shih wrote: > > On Thu, May 20, 2021 at 2:45 PM Pi-Hsun Shih wrote: > > Fixes: 60487584a79a ("drm/bridge: anx7625: refactor power control to use > > runtime PM framework") > > Signed-off-by: Pi-Hsun Shih > > Tested-by: Tzung-Bi Shih Reviewed-by: Robert F

Re: [PATCH] drm/bridge: anx7625: Synchronously run runtime suspend.

2021-05-20 Thread Robert Foss
Applied to drm-misc-next On Thu, 20 May 2021 at 12:25, Robert Foss wrote: > > On Thu, 20 May 2021 at 12:12, Tzung-Bi Shih wrote: > > > > On Thu, May 20, 2021 at 2:45 PM Pi-Hsun Shih wrote: > > > Fixes: 60487584a79a ("drm/bridge: anx7625: refactor power control to use > > > runtime PM framework

Re: [RFC] Add DMA_RESV_USAGE flags

2021-05-20 Thread Christian König
Am 20.05.21 um 09:55 schrieb Daniel Vetter: On Wed, May 19, 2021 at 5:48 PM Michel Dänzer wrote: On 2021-05-19 5:21 p.m., Jason Ekstrand wrote: On Wed, May 19, 2021 at 5:52 AM Michel Dänzer wrote: On 2021-05-19 12:06 a.m., Jason Ekstrand wrote: On Tue, May 18, 2021 at 4:17 PM Daniel Vetter

Re: [Intel-gfx] [RFC 2/2] drm/doc/rfc: i915 new parallel submission uAPI plan

2021-05-20 Thread Tvrtko Ursulin
On 20/05/2021 10:54, Daniel Vetter wrote: On Wed, May 19, 2021 at 7:19 PM Matthew Brost wrote: On Wed, May 19, 2021 at 01:10:04PM +0200, Daniel Vetter wrote: On Tue, May 18, 2021 at 04:58:30PM -0700, Matthew Brost wrote: Add entry fpr i915 new parallel submission uAPI plan. v2: (Daniel

Re: [RFC PATCH 2/2] drm/ttm: skip swapout when ttm has no backend page.

2021-05-20 Thread Christian König
Am 19.05.21 um 04:28 schrieb xinhui pan: Signed-off-by: xinhui pan --- drivers/gpu/drm/ttm/ttm_device.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/ttm/ttm_device.c b/drivers/gpu/drm/ttm/ttm_device.c index 510e3e001dab..a9772fcc8f9c 100644 --- a/drivers/gpu/drm/ttm/ttm

Re: [V2][PATCH 2/2] drm: xlnx: consolidate the functions which programming AUDIO_VIDEO_SELECT register

2021-05-20 Thread quanyang.wang
Hi Laurent, Thank you for your review. On 5/20/21 5:56 PM, Laurent Pinchart wrote: Hi Quanyang, Thank you for the patch. On Tue, May 18, 2021 at 05:50:19PM +0800, quanyang.w...@windriver.com wrote: From: Quanyang Wang For now, the functions zynqmp_disp_avbuf_enable/disable_audio and zynqmp_

Re: [Mesa-dev] [RFC 2/2] drm/doc/rfc: i915 new parallel submission uAPI plan

2021-05-20 Thread Christian König
Am 19.05.21 um 18:51 schrieb Matthew Brost: On Wed, May 19, 2021 at 01:45:39PM +0200, Christian König wrote: Oh, yeah we call that gang submit on the AMD side. Had already some internal discussions how to implement this, but so far couldn't figure out how to cleanly introduce that into the DRM

[PATCH v3] drm: xlnx: zynqmp: Add zynqmp_disp_layer_is_video() to simplify the code

2021-05-20 Thread Laurent Pinchart
From: Quanyang Wang Add a new function zynqmp_disp_layer_is_video() to simplify the code that judges if a layer is the video layer. Acked-by: Paul Cercueil Signed-off-by: Quanyang Wang Reviewed-by: Laurent Pinchart [Renamed is_layer_vid() to zynqmp_disp_layer_is_video()]] Signed-off-by: Laure

Re: [PATCH] dma-buf: fix unintended pin/unpin warnings

2021-05-20 Thread Christian König
Am 17.05.21 um 16:57 schrieb Daniel Vetter: On Mon, May 17, 2021 at 10:09:13AM -0400, Alex Deucher wrote: On Mon, May 17, 2021 at 7:57 AM Christian König wrote: DMA-buf internal users call the pin/unpin functions without having a dynamic attachment. Avoid the warning and backtrace in the logs.

[PATCH] drm: xlnx: zynqmp_dpsub: Pass disp structure to all internal functions

2021-05-20 Thread Laurent Pinchart
The internal functions dealing with the audio/video buffer manager, the blender, and the audio mixer, all receive pointers to the respective objects. Those objects are embedded in the zynqmp_disp structure, and a very small. Treating them as separate objects would require expanding them with back-p

[PULL] drm-intel-fixes

2021-05-20 Thread Jani Nikula
Hi Dave & Daniel - drm-intel-fixes-2021-05-20: drm/i915 fixes for v5.13-rc3: - Pin the L-shape quirked object as unshrinkable to fix crashes - Disable HiZ Raw Stall Optimization on broken gen7 to fix glitches, gfx corruption - GVT: Move mdev attribute groups into kvmgt module to fix kconfig dep

[PATCH 00/38] Rid W=1 warnings from GPU

2021-05-20 Thread Lee Jones
This set is part of a larger effort attempting to clean-up W=1 kernel builds, which are currently overwhelmingly riddled with niggly little warnings. Lee Jones (38): drm/mediatek/mtk_disp_color: Strip incorrect doc and demote header drm/mediatek/mtk_disp_gamma: Strip and demote non-conformant

[PATCH 02/38] drm/mediatek/mtk_disp_gamma: Strip and demote non-conformant kernel-doc header

2021-05-20 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/mediatek/mtk_disp_gamma.c:42: warning: Function parameter or member 'clk' not described in 'mtk_disp_gamma' drivers/gpu/drm/mediatek/mtk_disp_gamma.c:42: warning: Function parameter or member 'regs' not described in 'mtk_disp_gam

[PATCH 01/38] drm/mediatek/mtk_disp_color: Strip incorrect doc and demote header

2021-05-20 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/mediatek/mtk_disp_color.c:45: warning: Function parameter or member 'clk' not described in 'mtk_disp_color' drivers/gpu/drm/mediatek/mtk_disp_color.c:45: warning: Function parameter or member 'regs' not described in 'mtk_disp_col

[PATCH 04/38] drm/mediatek/mtk_disp_ovl: Strip and demote non-conformant header

2021-05-20 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/mediatek/mtk_disp_ovl.c:83: warning: Function parameter or member 'clk' not described in 'mtk_disp_ovl' drivers/gpu/drm/mediatek/mtk_disp_ovl.c:83: warning: Function parameter or member 'regs' not described in 'mtk_disp_ovl' dri

[PATCH 03/38] drm/radeon/radeon_cs: Fix incorrectly documented function 'radeon_cs_parser_fini'

2021-05-20 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/radeon/radeon_cs.c:417: warning: expecting prototype for cs_parser_fini(). Prototype was for radeon_cs_parser_fini() instead Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Sumit Semwal Cc: Jerom

[PATCH 06/38] drm/sti/sti_hdmi_tx3g4c28phy: Provide function names for kernel-doc headers

2021-05-20 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/sti/sti_hdmi_tx3g4c28phy.c:77: warning: expecting prototype for Start hdmi phy macro cell tx3g4c28(). Prototype was for sti_hdmi_tx3g4c28phy_start() instead drivers/gpu/drm/sti/sti_hdmi_tx3g4c28phy.c:187: warning: expecting proto

[PATCH 07/38] drm/sti/sti_hda: Provide missing function names

2021-05-20 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/sti/sti_hda.c:283: warning: expecting prototype for Search for a video mode in the supported modes table(). Prototype was for hda_get_mode_idx() instead drivers/gpu/drm/sti/sti_hda.c:301: warning: expecting prototype for Enable t

[PATCH 08/38] drm/sti/sti_tvout: Provide a bunch of missing function names

2021-05-20 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/sti/sti_tvout.c:166: warning: expecting prototype for Set the clipping mode of a VIP(). Prototype was for tvout_vip_set_color_order() instead drivers/gpu/drm/sti/sti_tvout.c:187: warning: expecting prototype for Set the clipping

[PATCH 12/38] drm/amd/amdgpu/amdgpu_gmc: Fix a little naming related doc-rot

2021-05-20 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c:487: warning: expecting prototype for amdgpu_tmz_set(). Prototype was for amdgpu_gmc_tmz_set() instead drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c:533: warning: expecting prototype for amdgpu_noretry_set(). Pr

[PATCH 09/38] drm/sti/sti_hqvdp: Fix incorrectly named function 'sti_hqvdp_vtg_cb()'

2021-05-20 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/sti/sti_hqvdp.c:796: warning: expecting prototype for sti_vdp_vtg_cb(). Prototype was for sti_hqvdp_vtg_cb() instead Cc: Benjamin Gaignard Cc: David Airlie Cc: Daniel Vetter Cc: Philipp Zabel Cc: Fabien Dessenne Cc: dri-devel

[PATCH 11/38] drm/amd/amdgpu/amdgpu_debugfs: Fix a couple of misnamed functions

2021-05-20 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1004: warning: expecting prototype for amdgpu_debugfs_regs_gfxoff_write(). Prototype was for amdgpu_debugfs_gfxoff_write() instead drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1053: warning: expecting p

[PATCH 19/38] drm/radeon/cik: Fix incorrectly named function 'cik_irq_suspend()'

2021-05-20 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/radeon/cik.c:7450: warning: expecting prototype for cik_irq_disable(). Prototype was for cik_irq_suspend() instead Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Sumit Semwal Cc: amd-...@lists.f

[PATCH 17/38] drm/amd/amdgpu/dce_v6_0: Repair function name of 'si_get_number_of_dram_channels()'

2021-05-20 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/dce_v6_0.c:468: warning: expecting prototype for cik_get_number_of_dram_channels(). Prototype was for si_get_number_of_dram_channels() instead Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vette

[PATCH 14/38] drm/amd/amdgpu/gfx_v7_0: Repair function names in the documentation

2021-05-20 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c:2126: warning: expecting prototype for gfx_v7_0_ring_emit_hdp(). Prototype was for gfx_v7_0_ring_emit_hdp_flush() instead drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c:2262: warning: expecting prototype for gfx_v7_

[PATCH 13/38] drm/amd/amdgpu/cik_sdma: Fix a few incorrectly named functions

2021-05-20 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/cik_sdma.c:735: warning: expecting prototype for cik_sdma_vm_copy_pages(). Prototype was for cik_sdma_vm_copy_pte() instead drivers/gpu/drm/amd/amdgpu/cik_sdma.c:762: warning: expecting prototype for cik_sdma_vm_write_

[PATCH 10/38] drm/amd/amdgpu/amdgpu_ids: Correct some function name disparity

2021-05-20 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c:200: warning: expecting prototype for amdgpu_vm_grab_idle(). Prototype was for amdgpu_vmid_grab_idle() instead drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c:272: warning: expecting prototype for amdgpu_vm_grab_r

[PATCH 05/38] drm/mediatek/mtk_disp_rdma: Strip and demote non-conformant kernel-doc header

2021-05-20 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/mediatek/mtk_disp_rdma.c:72: warning: Function parameter or member 'clk' not described in 'mtk_disp_rdma' drivers/gpu/drm/mediatek/mtk_disp_rdma.c:72: warning: Function parameter or member 'regs' not described in 'mtk_disp_rdma'

[PATCH 22/38] drm/msm/disp/dpu1/dpu_plane: Fix a couple of naming issues

2021-05-20 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c:373: warning: expecting prototype for _dpu_plane_set_panic_lut(). Prototype was for _dpu_plane_set_danger_lut() instead drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c:498: warning: expecting prototype for _d

[PATCH 26/38] drm/amd/amdgpu/gmc_v10_0: Fix potential copy/paste issue

2021-05-20 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c:955: warning: expecting prototype for gmc_v8_0_gart_fini(). Prototype was for gmc_v10_0_gart_fini() instead Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Sumit Semwal Cc:

[PATCH 15/38] drm/msm/disp/dpu1/dpu_encoder_phys_cmd: Remove unused variable 'cmd_enc'

2021-05-20 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c: In function ‘dpu_encoder_phys_cmd_wait_for_commit_done’: drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c:688:31: warning: variable ‘cmd_enc’ set but not used [-Wunused-but-set-variable]

[PATCH 30/38] drm/amd/amdgpu/gfx_v9_4_2: Mark functions called by reference as static

2021-05-20 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/gfx_v9_4_2.c:1008:5: warning: no previous prototype for ‘gfx_v9_4_2_query_ras_error_count’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/gfx_v9_4_2.c:1054:6: warning: no previous prototype for ‘gfx_v9_4_2_reset_ras

[PATCH 32/38] drm/amd/amdgpu/sdma_v4_0: Realign functions with their headers

2021-05-20 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c:764: warning: expecting prototype for sdma_v4_0_page_ring_set_wptr(). Prototype was for sdma_v4_0_ring_set_wptr() instead drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c:830: warning: expecting prototype for sdma_v

[PATCH 18/38] drm/msm/disp/dpu1/dpu_hw_interrupts: Demote a bunch of kernel-doc abuses

2021-05-20 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c:17: warning: expecting prototype for Register offsets in MDSS register file for the interrupt registers(). Prototype was for MDP_SSPP_TOP0_OFF() instead drivers/gpu/drm/msm/disp/dpu1/dpu_hw_inter

[PATCH 23/38] drm/amd/amdgpu/gmc_v7_0: Fix potential copy/paste issue

2021-05-20 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c:526: warning: expecting prototype for gmc_v8_0_set_fault_enable_default(). Prototype was for gmc_v7_0_set_fault_enable_default() instead Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel

[PATCH 38/38] drm/amd/amdgpu/smuio_v13_0: Realign 'smuio_v13_0_is_host_gpu_xgmi_supported()' header

2021-05-20 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/smuio_v13_0.c:99: warning: expecting prototype for smuio_v13_0_supports_host_gpu_xgmi(). Prototype was for smuio_v13_0_is_host_gpu_xgmi_supported() instead Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc:

[PATCH 37/38] drm/amd/amdgpu/gfx_v10_0: Demote kernel-doc abuse

2021-05-20 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c:51: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Su

[PATCH 29/38] drm/radeon/r100: Realign doc header with function 'r100_cs_packet_parse_vline()'

2021-05-20 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/radeon/r100.c:1423: warning: expecting prototype for r100_cs_packet_next_vline(). Prototype was for r100_cs_packet_parse_vline() instead Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Sumit Semw

[PATCH 20/38] drm/radeon/radeon_vm: Fix function naming disparities

2021-05-20 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/radeon/radeon_vm.c:61: warning: expecting prototype for radeon_vm_num_pde(). Prototype was for radeon_vm_num_pdes() instead drivers/gpu/drm/radeon/radeon_vm.c:642: warning: expecting prototype for radeon_vm_update_pdes(). Prototy

[PATCH 31/38] drm/amd/amdgpu/sdma_v2_4: Correct misnamed function 'sdma_v2_4_ring_emit_hdp_flush()'

2021-05-20 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c:281: warning: expecting prototype for sdma_v2_4_hdp_flush_ring_emit(). Prototype was for sdma_v2_4_ring_emit_hdp_flush() instead Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter

[PATCH 25/38] drm/msm/msm_gem: Demote kernel-doc abuses

2021-05-20 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/msm/msm_gem.c:364: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/gpu/drm/msm/msm_gem.c:763: warning: This comment starts with '/**', but isn't a kern

[PATCH 34/38] drm/amd/amdgpu/amdgpu_vce: Fix a few incorrectly named functions

2021-05-20 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c:98: warning: expecting prototype for amdgpu_vce_init(). Prototype was for amdgpu_vce_sw_init() instead drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c:214: warning: expecting prototype for amdgpu_vce_fini(). Proto

[PATCH 24/38] drm/amd/amdgpu/mmhub_v9_4: Fix naming disparity with 'mmhub_v9_4_set_fault_enable_default()'

2021-05-20 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c:446: warning: expecting prototype for mmhub_v1_0_set_fault_enable_default(). Prototype was for mmhub_v9_4_set_fault_enable_default() instead Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: D

[PATCH 28/38] drm/msm/dp/dp_link: Fix some potential doc-rot

2021-05-20 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/msm/dp/dp_link.c:374: warning: expecting prototype for dp_parse_video_pattern_params(). Prototype was for dp_link_parse_video_pattern_params() instead drivers/gpu/drm/msm/dp/dp_link.c:573: warning: expecting prototype for dp_par

[PATCH 21/38] drm/amd/include/aldebaran_ip_offset: Mark top-level IP_BASE as __maybe_unused

2021-05-20 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../include/aldebaran_ip_offset.h:259:29: warning: ‘XGMI2_BASE’ defined but not used [-Wunused-const-variable=] drivers/gpu/drm/amd/amdgpu/../include/aldebaran_ip_offset.h:252:29: warning: ‘XGMI1_BASE’ defined but not u

[PATCH 27/38] drm/msm/dp/dp_catalog: Correctly document param 'dp_catalog'

2021-05-20 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/msm/dp/dp_catalog.c:206: warning: Function parameter or member 'dp_catalog' not described in 'dp_catalog_aux_reset' drivers/gpu/drm/msm/dp/dp_catalog.c:206: warning: Excess function parameter 'aux' description in 'dp_catalog_aux_

Re: [PATCH 03/38] drm/radeon/radeon_cs: Fix incorrectly documented function 'radeon_cs_parser_fini'

2021-05-20 Thread Christian König
Am 20.05.21 um 14:02 schrieb Lee Jones: Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/radeon/radeon_cs.c:417: warning: expecting prototype for cs_parser_fini(). Prototype was for radeon_cs_parser_fini() instead Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc:

[PATCH 36/38] drm/amd/amdgpu/vcn_v1_0: Fix some function naming disparity

2021-05-20 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c:775: warning: expecting prototype for vcn_v1_0_start(). Prototype was for vcn_v1_0_start_spg_mode() instead drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c:: warning: expecting prototype for vcn_v1_0_stop(). Proto

[PATCH 16/38] drm/amd/amdgpu/si_dma: Fix some function name disparity

2021-05-20 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/si_dma.c:320: warning: expecting prototype for cik_dma_vm_copy_pte(). Prototype was for si_dma_vm_copy_pte() instead drivers/gpu/drm/amd/amdgpu/si_dma.c:412: warning: expecting prototype for si_dma_pad_ib(). Prototype

[PATCH 33/38] drm/amd/amdgpu/sdma_v5_0: Fix typo in function name

2021-05-20 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c:563: warning: expecting prototype for sdma_v_0_ctx_switch_enable(). Prototype was for sdma_v5_0_ctx_switch_enable() instead Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc:

[PATCH 35/38] drm/amd/amdgpu/sdma_v5_2: Repair typo in function name

2021-05-20 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c:501: warning: expecting prototype for sdma_v_0_ctx_switch_enable(). Prototype was for sdma_v5_2_ctx_switch_enable() instead Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc:

Re: [PATCH 10/38] drm/amd/amdgpu/amdgpu_ids: Correct some function name disparity

2021-05-20 Thread Christian König
Am 20.05.21 um 14:02 schrieb Lee Jones: Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c:200: warning: expecting prototype for amdgpu_vm_grab_idle(). Prototype was for amdgpu_vmid_grab_idle() instead drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c:272: warnin

Re: [PATCH 20/38] drm/radeon/radeon_vm: Fix function naming disparities

2021-05-20 Thread Christian König
Am 20.05.21 um 14:02 schrieb Lee Jones: Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/radeon/radeon_vm.c:61: warning: expecting prototype for radeon_vm_num_pde(). Prototype was for radeon_vm_num_pdes() instead drivers/gpu/drm/radeon/radeon_vm.c:642: warning: expecting pro

[PATCH v2 0/3] drm: xlnx: zynqmp_dpsub: Fix plane handling

2021-05-20 Thread Laurent Pinchart
Hello, This small patch series fixes an issue related to plane blending (patch 1/3), add global alpha support to the overlay plane (patch 2/3) and exposes plane ordering to userspace (patch 3/3). There isn't much to say here, please refer to individual patches for details. Compared to v1, I've dr

[PATCH v2 2/3] drm: xlnx: zynqmp_dpsub: Add global alpha support

2021-05-20 Thread Laurent Pinchart
The graphics plane has a global alpha setting. Expose it through the plane's alpha property. Signed-off-by: Laurent Pinchart --- drivers/gpu/drm/xlnx/zynqmp_disp.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/xlnx/zynqmp_disp.c b/drivers/gpu/drm/x

[PATCH v2 1/3] drm: xlnx: zynqmp_dpsub: Fix graphics layer blending

2021-05-20 Thread Laurent Pinchart
To display the graphics layer, the global alpha needs to be enabled. Enable it when the graphics plane is enabled (with full opacity), and disable it otherwise. Signed-off-by: Laurent Pinchart --- drivers/gpu/drm/xlnx/zynqmp_disp.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(

[PATCH v2 3/3] drm: xlnx: zynqmp_dpsub: Expose plane ordering to userspace

2021-05-20 Thread Laurent Pinchart
While the DPSUB has a fixed plane order, it still makes sense to expose it to userspace to avoid hardcoding assumptions. Do so by adding an immutable zpos property to planes. Signed-off-by: Laurent Pinchart --- drivers/gpu/drm/xlnx/zynqmp_disp.c | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH v6 1/3] gpu: drm: separate panel orientation property creating and value setting

2021-05-20 Thread Sean Paul
On Thu, Apr 29, 2021 at 12:28 AM Hsin-Yi Wang wrote: > > drm_dev_register() sets connector->registration_state to > DRM_CONNECTOR_REGISTERED and dev->registered to true. If > drm_connector_set_panel_orientation() is first called after > drm_dev_register(), it will fail several checks and results i

Re: [PATCH v7 03/10] dt-bindings: drm/bridge: ti-sn65dsi86: Add aux-bus child

2021-05-20 Thread Rob Herring
On Wed, May 19, 2021 at 4:06 PM Doug Anderson wrote: > > Hi, > > On Wed, May 19, 2021 at 1:02 PM Rob Herring wrote: > > > > On Mon, May 17, 2021 at 01:09:00PM -0700, Douglas Anderson wrote: > > > We want to be able to list an eDP panel as a child of a ti-sn65dsi86 > > > node to represent the fact

[PATCH -next] drm/amdgpu: fix unused-but-set-variable warnings

2021-05-20 Thread Wei Yongjun
GCC reports the following warnings with W=1: drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c:190:22: warning: variable 'ring' set but not used [-Wunused-but-set-variable] 190 | struct amdgpu_ring *ring; | ^~~~ drivers/gpu/drm/amd/amdgpu/jpeg_v3_0.c:162:22: warning: variable

Re: [PATCH] video: hgafb: correctly handle card detect failure during probe

2021-05-20 Thread Greg Kroah-Hartman
On Thu, May 20, 2021 at 07:10:39PM +0530, Anirudh Rayabharam wrote: > On Mon, May 17, 2021 at 12:57:14AM +0530, Anirudh Rayabharam wrote: > > The return value of hga_card_detect() is not properly handled causing > > the probe to succeed even though hga_card_detect() failed. Since probe > > succeeds

Re: [RFC 1/3] dma-fence: Add boost fence op

2021-05-20 Thread Rob Clark
On Wed, May 19, 2021 at 11:47 PM Christian König wrote: > > Uff, that looks very hardware specific to me. Howso? I'm not sure I agree.. and even if it was not useful for some hw, it should be useful for enough drivers (and harm no drivers), so I still think it is a good idea The fallback plan i

Re: [PATCH] drm/i915/gt: fix typo issue

2021-05-20 Thread Matthew Auld
On Thu, 20 May 2021 at 09:23, samirweng1979 wrote: > > From: wengjianfeng > > change 'freqency' to 'frequency'. > > Signed-off-by: wengjianfeng Pushed to intel-gt-next. Thanks.

[PULL] drm-misc-fixes

2021-05-20 Thread Maxime Ripard
Hi Dave, Daniel, Here's this week fix for drm-misc-fixes Maxime drm-misc-fixes-2021-05-20: Just a single fix for a dma-buf related WARN The following changes since commit c55b44c9386f3ee1b08752638559f19deaf6040d: Merge drm/drm-fixes into drm-misc-fixes (2021-05-11 13:35:52 +0200) are availab

Re: [Intel-gfx] [PATCH 0/7] Per client engine busyness

2021-05-20 Thread Daniel Vetter
On Wed, May 19, 2021 at 11:17:24PM +, Nieto, David M wrote: > [AMD Official Use Only] > > Parsing over 550 processes for fdinfo is taking between 40-100ms single > threaded in a 2GHz skylake IBRS within a VM using simple string > comparisons and DIRent parsing. And that is pretty much the wors

Re: [RFC 1/3] dma-fence: Add boost fence op

2021-05-20 Thread Christian König
Am 20.05.21 um 16:07 schrieb Rob Clark: On Wed, May 19, 2021 at 11:47 PM Christian König wrote: Uff, that looks very hardware specific to me. Howso? I'm not sure I agree.. and even if it was not useful for some hw, it should be useful for enough drivers (and harm no drivers), so I still th

Re: [Intel-gfx] [PATCH 0/7] Per client engine busyness

2021-05-20 Thread Christian König
Am 20.05.21 um 16:11 schrieb Daniel Vetter: On Wed, May 19, 2021 at 11:17:24PM +, Nieto, David M wrote: [AMD Official Use Only] Parsing over 550 processes for fdinfo is taking between 40-100ms single threaded in a 2GHz skylake IBRS within a VM using simple string comparisons and DIRent p

Re: [PATCH] dma-buf: fix unintended pin/unpin warnings

2021-05-20 Thread Daniel Vetter
On Thu, May 20, 2021 at 01:37:47PM +0200, Christian König wrote: > Am 17.05.21 um 16:57 schrieb Daniel Vetter: > > On Mon, May 17, 2021 at 10:09:13AM -0400, Alex Deucher wrote: > > > On Mon, May 17, 2021 at 7:57 AM Christian König > > > wrote: > > > > DMA-buf internal users call the pin/unpin func

Re: [RFC] Add DMA_RESV_USAGE flags

2021-05-20 Thread Daniel Vetter
On Thu, May 20, 2021 at 10:13:38AM +0200, Michel Dänzer wrote: > On 2021-05-20 9:55 a.m., Daniel Vetter wrote: > > On Wed, May 19, 2021 at 5:48 PM Michel Dänzer wrote: > >> > >> On 2021-05-19 5:21 p.m., Jason Ekstrand wrote: > >>> On Wed, May 19, 2021 at 5:52 AM Michel Dänzer wrote: > >

[PATCH v2] Documentation: gpu: Mention the requirements for new properties

2021-05-20 Thread Maxime Ripard
New KMS properties come with a bunch of requirements to avoid each driver from running their own, inconsistent, set of properties, eventually leading to issues like property conflicts, inconsistencies between drivers and semantics, etc. Let's document what we expect. Cc: Alexandre Belloni Cc: Al

Re: [PATCH] drm/i915: Use DRIVER_NAME for tracing unattached requests

2021-05-20 Thread Daniel Vetter
On Thu, May 20, 2021 at 08:35:14AM +0100, Matthew Auld wrote: > From: Chris Wilson > > The first tracepoint for a request is trace_dma_fence_init called before > we have associated the request with a device. The tracepoint uses > fence->ops->get_driver_name() as a pretty name, and as we try to re

Re: [RFC] Add DMA_RESV_USAGE flags

2021-05-20 Thread Michel Dänzer
On 2021-05-20 4:18 p.m., Daniel Vetter wrote: > On Thu, May 20, 2021 at 10:13:38AM +0200, Michel Dänzer wrote: >> On 2021-05-20 9:55 a.m., Daniel Vetter wrote: >>> On Wed, May 19, 2021 at 5:48 PM Michel Dänzer wrote: On 2021-05-19 5:21 p.m., Jason Ekstrand wrote: > On Wed, May 19, 20

Re: [RFC 1/3] dma-fence: Add boost fence op

2021-05-20 Thread Rob Clark
On Thu, May 20, 2021 at 7:11 AM Christian König wrote: > > > > Am 20.05.21 um 16:07 schrieb Rob Clark: > > On Wed, May 19, 2021 at 11:47 PM Christian König > > wrote: > >> Uff, that looks very hardware specific to me. > > Howso? I'm not sure I agree.. and even if it was not useful for some > > h

  1   2   3   >