[PATCH] drm/amdgpu: fix set scaling mode Full/Full aspect/Center not works on vga and dvi connectors

2021-11-10 Thread hongao
amdgpu_connector_vga_get_modes missed function amdgpu_get_native_mode which assign amdgpu_encoder->native_mode with *preferred_mode result in amdgpu_encoder->native_mode.clock always be 0. That will cause amdgpu_connector_set_property returned early on: if ((rmx_type != DRM_MODE_SCALE_NONE) &&

Re: [REGRESSION]: drivers/firmware: move x86 Generic System Framebuffers support

2021-11-10 Thread Ilya Trukhanov
On Thu, Nov 11, 2021 at 12:07:19AM +0100, Javier Martinez Canillas wrote: > [ adding dri-devel mailing list as Cc ] > > Hello Ilya, > > On 11/10/21 21:02, Ilya Trukhanov wrote: > > Suspend-to-RAM with elogind under Wayland stopped working in 5.15. > > > > This occurs with 5.15, 5.15.1 and

Re: [REGRESSION]: drivers/firmware: move x86 Generic System Framebuffers support

2021-11-10 Thread Javier Martinez Canillas
Hello Ilya, On 11/11/21 01:45, Ilya Trukhanov wrote: [snip] >> Can you please share the kernel boot log for any of these cases too ? > Thanks a lot for the testing and providing the info! >> This is just a guess though. Would be good if you could test following cases: >> >> 1) CONFIG_FB_EFI

[PATCH 6/6] drm/i915/ttm: Update i915_gem_obj_copy_ttm() to be asynchronous

2021-11-10 Thread Thomas Hellström
Update the copy function i915_gem_obj_copy_ttm() to be asynchronous for future users and update the only current user to sync the objects as needed after this function. Signed-off-by: Thomas Hellström --- drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c | 40 ++--

[PATCH 4/6] drm/i915/ttm: Break refcounting loops at device region unref time

2021-11-10 Thread Thomas Hellström
There is an interesting refcounting loop: struct intel_memory_region has a struct ttm_resource_manager, ttm_resource_manager->move may hold a reference to i915_request, i915_request may hold a reference to intel_context, intel_context may hold a reference to drm_i915_gem_object,

[PATCH 5/6] drm/i915/ttm: Implement asynchronous TTM moves

2021-11-10 Thread Thomas Hellström
Don't wait sync while migrating, but rather make the GPU blit await the dependencies and add a moving fence to the object. This also enables asynchronous VRAM management in that on eviction, rather than waiting for the moving fence to expire before freeing VRAM, it is freed immediately and the

[PATCH 3/6] drm/i915/ttm: Move the i915_gem_obj_copy_ttm() function

2021-11-10 Thread Thomas Hellström
Move the i915_gem_obj_copy_ttm() function to i915_gem_ttm_move.h. This will help keep a number of functions static when introducing async moves. Signed-off-by: Thomas Hellström --- drivers/gpu/drm/i915/gem/i915_gem_ttm.c | 47 --- drivers/gpu/drm/i915/gem/i915_gem_ttm.h |

[PATCH 2/6] drm/i915: Add support for asynchronous moving fence waiting

2021-11-10 Thread Thomas Hellström
From: Maarten Lankhorst For now, we will only allow async migration when TTM is used, so the paths we care about are related to TTM. The mmap path is handled by having the fence in ttm_bo->moving, when pinning, the binding only becomes available after the moving fence is signaled, and pinning a

[PATCH 1/6] drm/i915: Add functions to set/get moving fence

2021-11-10 Thread Thomas Hellström
From: Maarten Lankhorst We want to get rid of i915_vma tracking to simplify the code and lifetimes. Add a way to set/put the moving fence, in preparation for removing the tracking. Signed-off-by: Maarten Lankhorst --- drivers/gpu/drm/i915/gem/i915_gem_object.c | 37 ++

[PATCH 0/6] drm/i915/ttm: Async migration

2021-11-10 Thread Thomas Hellström
This patch series deals with async migration and async vram management. It still leaves an important part out, which is async unbinding which will reduce latency further, at least when trying to migrate already active objects. Patches 1/6 and 2/6 deal with accessing and waiting for the TTM moving

Re: [PATCH v3 3/3] MAINTAINERS: Mark VMware mailing list entries as email aliases

2021-11-10 Thread Joe Perches
On Wed, 2021-11-10 at 17:39 -0800, Jakub Kicinski wrote: > On Wed, 10 Nov 2021 12:09:06 -0800 Srivatsa S. Bhat wrote: > > DRM DRIVER FOR VMWARE VIRTUAL GPU > > -M: "VMware Graphics" > > M: Zack Rusin > > +R: VMware Graphics Reviewers > > L: dri-devel@lists.freedesktop.org > > S: Supported >

Re: [PATCH v3 02/10] drm/i915: split general MMIO setup from per-GT uncore init

2021-11-10 Thread Matt Roper
On Thu, Oct 28, 2021 at 08:28:09PM -0700, Matt Roper wrote: > From: Daniele Ceraolo Spurio > > In coming patches we'll be doing the actual tile initialization between > these two uncore init phases. > > Signed-off-by: Daniele Ceraolo Spurio > Signed-off-by: Matt Roper > Reviewed-by: Lucas De

[PATCH v10, 18/19] media: mtk-vcodec: Remove mtk_vcodec_release_dec_pm

2021-11-10 Thread Yunfei Dong
There are only two lines in mtk_vcodec_release_dec_pm, using pm_runtime_disable and put_device instead directly. Move pm_runtime_enable outside mtk_vcodec_init_dec_pm to symmetry with pm_runtime_disable, after that, rename mtk_vcodec_init_dec_pm to *_clk since it only has clock operations now.

[PATCH v10, 19/19] media: mtk-vcodec: Remove mtk_vcodec_release_enc_pm

2021-11-10 Thread Yunfei Dong
There are only two lines in mtk_vcodec_release_enc_pm, using pm_runtime_disable and put_device instead directly. Move pm_runtime_enable outside mtk_vcodec_release_enc_pm to symmetry with pm_runtime_disable, after that, rename mtk_vcodec_init_enc_pm to *_clk since it only has clock operations now.

[PATCH v10, 16/19] media: mtk-vcodec: Add core dec and dec end ipi msg

2021-11-10 Thread Yunfei Dong
Add core dec and dec end ipi msg: AP_IPIMSG_DEC_CORE/AP_IPIMSG_DEC_CORE_END. Signed-off-by: Yunfei Dong Reviewed-by: AngeloGioacchino Del Regno --- .../media/platform/mtk-vcodec/vdec_ipi_msg.h | 4 .../media/platform/mtk-vcodec/vdec_vpu_if.c| 12

[PATCH v10, 15/19] dt-bindings: media: mtk-vcodec: Adds decoder dt-bindings for mt8192

2021-11-10 Thread Yunfei Dong
Adds decoder dt-bindings for mt8192. Signed-off-by: Yunfei Dong --- .../media/mediatek,vcodec-subdev-decoder.yaml | 261 ++ 1 file changed, 261 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/mediatek,vcodec-subdev-decoder.yaml diff --git

[PATCH v10, 17/19] media: mtk-vcodec: Use codec type to separate different hardware

2021-11-10 Thread Yunfei Dong
There is just one core thread, in order to separate different hardware, using codec type to separeate it in scp driver. Signed-off-by: Yunfei Dong Reviewed-by: AngeloGioacchino Del Regno --- .../media/platform/mtk-vcodec/vdec_ipi_msg.h | 12 ---

[PATCH v10, 14/19] media: mtk-vcodec: Support 34bits dma address for vdec

2021-11-10 Thread Yunfei Dong
Use the dma_set_mask_and_coherent helper to set vdec DMA bit mask to support 34bits iova space(16GB) that the mt8192 iommu HW support. Whole the iova range separate to 0~4G/4G~8G/8G~12G/12G~16G, regarding which iova range VDEC actually locate, it depends on the dma-ranges property of vdec dtsi

[PATCH v10, 13/19] media: mtk-vcodec: Add work queue for core hardware decode

2021-11-10 Thread Yunfei Dong
Add work queue to process core hardware information. First, get lat_buf from message queue, then call core hardware of each codec(H264/VP9/AV1) to decode, finally puts lat_buf back to the message. Signed-off-by: Yunfei Dong --- .../platform/mtk-vcodec/mtk_vcodec_dec_drv.c | 16 +++-

[PATCH v10, 11/19] media: mtk-vcodec: Generalize power and clock on/off interfaces

2021-11-10 Thread Yunfei Dong
Generalizes power and clock on/off interfaces to support different hardware. Signed-off-by: Yunfei Dong --- .../platform/mtk-vcodec/mtk_vcodec_dec_drv.c | 6 +- .../platform/mtk-vcodec/mtk_vcodec_dec_hw.c | 2 +- .../platform/mtk-vcodec/mtk_vcodec_dec_hw.h | 4 +

[PATCH v10, 12/19] media: mtk-vcodec: Add new interface to lock different hardware

2021-11-10 Thread Yunfei Dong
For add new hardware, not only need to lock lat hardware, also need to lock core hardware in case of different instance start to decoder at the same time. Signed-off-by: Yunfei Dong Reviewed-by: AngeloGioacchino Del Regno --- drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c | 4 ++--

[PATCH v10, 10/19] media: mtk-vcodec: Add msg queue feature for lat and core architecture

2021-11-10 Thread Yunfei Dong
For lat and core architecture, lat thread will send message to core thread when lat decode done. Core hardware will use the message from lat to decode, then free message to lat thread when decode done. Signed-off-by: Yunfei Dong --- drivers/media/platform/mtk-vcodec/Makefile| 1 +

[PATCH v10, 09/19] media: mtk-vcodec: Add irq interface for multi hardware

2021-11-10 Thread Yunfei Dong
Adds irq interface for multi hardware. Signed-off-by: Yunfei Dong --- .../platform/mtk-vcodec/mtk_vcodec_dec_drv.c | 33 +-- .../platform/mtk-vcodec/mtk_vcodec_dec_hw.c | 2 +- .../platform/mtk-vcodec/mtk_vcodec_drv.h | 25 ++

[PATCH v10, 05/19] media: mtk-vcodec: Support MT8192

2021-11-10 Thread Yunfei Dong
From: Yunfei Dong Adds MT8192's compatible "mediatek,mt8192-vcodec-dec". Adds MT8192's device private data mtk_lat_sig_core_pdata. Signed-off-by: Yunfei Dong --- .../media/platform/mtk-vcodec/mtk_vcodec_dec.h | 1 + .../platform/mtk-vcodec/mtk_vcodec_dec_drv.c | 4

[PATCH v10, 08/19] media: mtk-vcodec: Use pure single core for MT8183

2021-11-10 Thread Yunfei Dong
Separates different architecture for hardware: pure_sin_core and lat_sin_core. MT8183 is pure single core. Uses .hw_arch to distinguish. Signed-off-by: Yunfei Dong Reviewed-by: AngeloGioacchino Del Regno --- .../platform/mtk-vcodec/mtk_vcodec_dec_stateful.c | 1 +

[PATCH v10, 06/19] media: mtk-vcodec: Manage multi hardware information

2021-11-10 Thread Yunfei Dong
Register each hardware(subdev) as platform device used to manage each hardware information which includes irq/power/clk. The hardware includes LAT0, LAT1 and CORE. And call of_platform_populate in main device. Using subdev_bitmap to record whether each device is register done. Then check whether

[PATCH v10, 07/19] dt-bindings: media: mtk-vcodec: Separate video encoder and decoder dt-bindings

2021-11-10 Thread Yunfei Dong
Separate decoder and encoder document for the dts are big difference. Reviewed-by: Rob Herring Signed-off-by: Yunfei Dong --- .../media/mediatek,vcodec-decoder.yaml| 176 + .../media/mediatek,vcodec-encoder.yaml| 187 ++

[PATCH v10, 04/19] media: mtk-vcodec: export decoder pm functions

2021-11-10 Thread Yunfei Dong
Register each hardware as platform device, need to call pm functions to open/close power and clock from module mtk-vcodec-dec, export these functions. Signed-off-by: Yunfei Dong --- drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_pm.c | 6 ++ 1 file changed, 6 insertions(+) diff --git

[PATCH v10, 00/19] Support multi hardware decode using of_platform_populate

2021-11-10 Thread Yunfei Dong
This series adds support for multi hardware decode into mtk-vcodec, by first adding use of_platform_populate to manage each hardware information: interrupt, clock, register bases and power. Secondly add core work queue to deal with core hardware message, at the same time, add msg queue for

[PATCH v10, 03/19] media: mtk-vcodec: Refactor vcodec pm interface

2021-11-10 Thread Yunfei Dong
Using the needed param for pm init/release function and remove unused param mtkdev in 'struct mtk_vcodec_pm'. Reviewed-by: Tzung-Bi Shih Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Yunfei Dong --- .../platform/mtk-vcodec/mtk_vcodec_dec_drv.c | 6 ++---

[PATCH v10, 01/19] media: mtk-vcodec: Get numbers of register bases from DT

2021-11-10 Thread Yunfei Dong
Different platform may has different numbers of register bases. Gets the numbers of register bases from DT (sizeof(u32) * 4 bytes for each). Reviewed-by: Tzung-Bi Shih Signed-off-by: Yunfei Dong --- .../platform/mtk-vcodec/mtk_vcodec_dec_drv.c | 37 ++- 1 file changed, 28

[PATCH v10, 02/19] media: mtk-vcodec: Align vcodec wake up interrupt interface

2021-11-10 Thread Yunfei Dong
Vdec and venc can use the same function to wake up interrupt event. Reviewed-by: Tzung-Bi Shih Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Yunfei Dong --- drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_drv.c | 9 + drivers/media/platform/mtk-vcodec/mtk_vcodec_drv.h |

Re: [PATCH v9, 06/19] media: mtk-vcodec: Manage multi hardware information

2021-11-10 Thread Chen-Yu Tsai
On Thu, Nov 11, 2021 at 11:49 AM yunfei.d...@mediatek.com wrote: > > Hi Tzung-Bi, > > Thanks for your suggestion. > On Wed, 2021-11-10 at 18:30 +0800, Tzung-Bi Shih wrote: > > On Tue, Nov 09, 2021 at 08:50:17PM +0800, Yunfei Dong wrote: > > > Manage each hardware information which includes

Re: [PATCH v9, 06/19] media: mtk-vcodec: Manage multi hardware information

2021-11-10 Thread yunfei.d...@mediatek.com
Hi Tzung-Bi, Thanks for your suggestion. On Wed, 2021-11-10 at 18:30 +0800, Tzung-Bi Shih wrote: > On Tue, Nov 09, 2021 at 08:50:17PM +0800, Yunfei Dong wrote: > > Manage each hardware information which includes irq/power/clk. > > The hardware includes LAT0, LAT1 and CORE. > > The commit message

Re: [PATCH v3 3/3] MAINTAINERS: Mark VMware mailing list entries as email aliases

2021-11-10 Thread Jakub Kicinski
On Wed, 10 Nov 2021 12:09:06 -0800 Srivatsa S. Bhat wrote: > DRM DRIVER FOR VMWARE VIRTUAL GPU > -M: "VMware Graphics" > M: Zack Rusin > +R: VMware Graphics Reviewers > L: dri-devel@lists.freedesktop.org > S: Supported > T: git git://anongit.freedesktop.org/drm/drm-misc It'd

Re: [Nouveau] [PATCH] MAINTAINERS: update information for nouveau

2021-11-10 Thread Ben Skeggs
On Wed, 10 Nov 2021 at 23:32, Karol Herbst wrote: > > Some side notes on this. Atm we do want to use gitlab for bug tracking and > merge requests. But due to the nature of the current linux kernel > development, we can only do so for nouveau internal changes. > > Everything else still needs to be

Re: [Nouveau] [PATCH] drm/nouveau: set RGB quantization range to FULL

2021-11-10 Thread Ben Skeggs
On Thu, 11 Nov 2021 at 01:58, Hans Verkuil wrote: > > The nouveau driver outputs full range RGB, but the AVI InfoFrame just says > 'Default' instead of 'Full'. > > Call drm_hdmi_avi_infoframe_quant_range to fill in the quantization field of > the AVI InfoFrame correctly. Now displays that

Re: [Nouveau] [PATCH] drm/nouveau: hdmigv100.c: fix corrupted HDMI Vendor InfoFrame

2021-11-10 Thread Ben Skeggs
On Thu, 11 Nov 2021 at 01:43, Hans Verkuil wrote: > > gv100_hdmi_ctrl() writes vendor_infoframe.subpack0_high to 0x6f0110, and > then overwrites it with 0. Just drop the overwrite with 0, that's clearly > a mistake. > > Because of this issue the HDMI VIC is 0 instead of 1 in the HDMI Vendor >

[RFC PATCH 1/1] drm: selftest: convert drm_damage_helper selftest to KUnit

2021-11-10 Thread André Almeida
From: Maíra Canal Considering the current adoption of the KUnit framework, convert the DRM damage helper selftest to the KUnit API. Co-developed-by: Arthur Grillo Signed-off-by: Arthur Grillo Signed-off-by: Maíra Canal Signed-off-by: André Almeida --- drivers/gpu/drm/Kconfig

[RFC PATCH 0/1] drm: selftest: Convert to KUnit

2021-11-10 Thread André Almeida
Hi, This RFC is a preview of the progress we made in the KUnit hackathon[0]. This patch, made by Maíra and Arthur, converts the damage helper test from the original DRM selftest framework to use the KUnit framework. [0] https://groups.google.com/g/kunit-dev/c/YqFR1q2uZvk/m/IbvItSfHBAAJ The IGT

Re: [PATCH v7 19/20] drm/mediatek: modify mediatek-drm for mt8195 multi mmsys support

2021-11-10 Thread Chun-Kuang Hu
Hi, Nancy: Nancy.Lin 於 2021年10月29日 週五 下午3:52寫道: > > MT8195 have two mmsys. Modify drm for MT8195 multi-mmsys support. > The two mmsys (vdosys0 and vdosys1) will bring up two drm drivers, > only one drm driver register as the drm device. > Each drm driver binds its own component. The last bind

Re: [PATCH v3 05/10] drm/i915: Prepare for multiple gts

2021-11-10 Thread Stimson, Dale B
[Redundant sending of this email due to some mail issues] On 2021-10-28 20:28:12, Matt Roper wrote: > From: Tvrtko Ursulin > > Add some basic plumbing to support more than one dynamically allocated > struct intel_gt. Up to four gts are supported in i915->gts[], with slot > zero shadowing the

Re: [PATCH v3 05/10] drm/i915: Prepare for multiple gts

2021-11-10 Thread Andi Shyti
Hi, > > +#define for_each_gt(i915__, id__, gt__) \ > > + for ((id__) = 0; \ > > +(id__) < I915_MAX_TILES; \ > > +(id__)++) \ > > + for_each_if(((gt__) = (i915__)->gts[(id__)])) > > In this patch set, symbol I915_MAX_TILES is introduced. > In a later patch set of this

Re: [REGRESSION]: drivers/firmware: move x86 Generic System Framebuffers support

2021-11-10 Thread Javier Martinez Canillas
[ adding dri-devel mailing list as Cc ] Hello Ilya, On 11/10/21 21:02, Ilya Trukhanov wrote: > Suspend-to-RAM with elogind under Wayland stopped working in 5.15. > > This occurs with 5.15, 5.15.1 and latest master at > 89d714ab6043bca7356b5c823f5335f5dce1f930. 5.14 and earlier releases work >

Re: linux-next: manual merge of the char-misc tree with the drm-intel tree

2021-11-10 Thread Stephen Rothwell
Hi all, On Fri, 5 Nov 2021 12:51:22 +1100 Stephen Rothwell wrote: > > On Thu, 28 Oct 2021 18:27:53 +1100 Stephen Rothwell > wrote: > > > > Today's linux-next merge of the char-misc tree got a conflict in: > > > > drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c > > > > between commit: > > > >

[pull] amdgpu, amdkfd drm-fixes-5.16

2021-11-10 Thread Alex Deucher
Hi Dave, Daniel, Fixes for 5.16. The following changes since commit 78469728809b8604dc37ae4e6b12ae12decac5be: drm/amd/display: 3.2.160 (2021-11-03 12:32:34 -0400) are available in the Git repository at: https://gitlab.freedesktop.org/agd5f/linux.git tags/amd-drm-fixes-5.16-2021-11-10

Re: [Intel-gfx] [PATCH 1/1] drm/i915/rpm: Enable runtime pm autosuspend by default

2021-11-10 Thread Rodrigo Vivi
On Wed, Nov 10, 2021 at 01:46:46PM +0200, Ville Syrjälä wrote: > On Wed, Nov 10, 2021 at 10:59:26AM +0530, Tilak Tangudu wrote: > > Enable runtime pm autosuspend by default for gen12 and > > later versions. > > > > Signed-off-by: Tilak Tangudu > > --- > > drivers/gpu/drm/i915/intel_runtime_pm.c

[PATCH] drm/bridge/tc358775: Fix for dual-link LVDS

2021-11-10 Thread Jiri Vanek
Fixed wrong register shift for single/dual link LVDS output. Signed-off-by: Jiri Vanek --- drivers/gpu/drm/bridge/tc358775.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/tc358775.c b/drivers/gpu/drm/bridge/tc358775.c index

[PATCH] drm/v3d: pass null pointers using NULL

2021-11-10 Thread Colin Ian King
There are a couple of calls that are passing null pointers as integer zeros rather than NULL. Fix this by using NULL instead. Fixes: 07c2a41658c4 ("drm/v3d: alloc and init job in one shot") Signed-off-by: Colin Ian King --- drivers/gpu/drm/v3d/v3d_gem.c | 4 ++-- 1 file changed, 2

[PATCH] drm/radeon: correct indentation

2021-11-10 Thread Xu Wang
Correct indentation in radeon_driver_load_kms. Signed-off-by: Xu Wang --- drivers/gpu/drm/radeon/radeon_kms.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/radeon/radeon_kms.c b/drivers/gpu/drm/radeon/radeon_kms.c index 482fb0ae6cb5..7afe28408085 100644

Re: [PATCH] drm: bridge: dw-hdmi: Fix RGB to YUV color space conversion

2021-11-10 Thread Jernej Škrabec
Dne sreda, 10. november 2021 ob 21:20:46 CET je Jernej Škrabec napisal(a): > Hi Alex, > > Dne sobota, 06. november 2021 ob 14:00:44 CET je Alex Bee napisal(a): > > As per CEA-861 quantization range is always limited in case of YUV > > output - indepentently which CEA mode it is or if it is an DMT

Re: [PATCH] drm: bridge: dw-hdmi: Fix RGB to YUV color space conversion

2021-11-10 Thread Jernej Škrabec
Hi Alex, Dne sobota, 06. november 2021 ob 14:00:44 CET je Alex Bee napisal(a): > As per CEA-861 quantization range is always limited in case of YUV > output - indepentently which CEA mode it is or if it is an DMT mode. > > This is already correctly setup in HDMI AVI inforame, but we always do >

[PATCH v3 3/3] MAINTAINERS: Mark VMware mailing list entries as email aliases

2021-11-10 Thread Srivatsa S. Bhat
From: Srivatsa S. Bhat (VMware) VMware mailing lists in the MAINTAINERS file are private lists meant for VMware-internal review/notification for patches to the respective subsystems. Anyone can post to these addresses, but there is no public read access like open mailing lists, which makes them

[PATCH v3 0/3] Update VMware maintainer entries

2021-11-10 Thread Srivatsa S. Bhat
This series updates a few maintainer entries for VMware-maintained subsystems and cleans up references to VMware's private mailing lists to make it clear that they are effectively email-aliases to reach out to reviewers. Changes from v1->v3: - Add Zack as the named maintainer for vmmouse driver -

Re: printk deadlock due to double lock attempt on current CPU's runqueue

2021-11-10 Thread Sultan Alsawaf
On Wed, Nov 10, 2021 at 11:13:37AM +0106, John Ogness wrote: > Even after we introduce kthread printers, there will still be situations > where direct printing is used: booting (before kthreads exist) and > shutdown/suspend/crash situations, when the kthreads may not be > active. Although I'm

Re: [PATCH v3 2/5] dt-bindings: mfd: timers: Update maintainers for st,stm32-timers

2021-11-10 Thread Rob Herring
On Wed, 10 Nov 2021 16:01:41 +0100, patrice.chot...@foss.st.com wrote: > From: Patrice Chotard > > Benjamin has left the company, remove his name from maintainers. > > Signed-off-by: Patrice Chotard > --- > Documentation/devicetree/bindings/mfd/st,stm32-timers.yaml | 1 - > 1 file changed, 1

Re: [PATCH v3 5/5] dt-bindings: treewide: Update @st.com email address to @foss.st.com

2021-11-10 Thread Rob Herring
On Wed, 10 Nov 2021 16:01:44 +0100, patrice.chot...@foss.st.com wrote: > From: Patrice Chotard > > Not all @st.com email address are concerned, only people who have > a specific @foss.st.com email will see their entry updated. > For some people, who left the company, remove their email. > > Cc:

Re: [PATCH v3 4/5] dt-bindings: media: Update maintainers for st,stm32-hwspinlock.yaml

2021-11-10 Thread Rob Herring
On Wed, 10 Nov 2021 16:01:43 +0100, patrice.chot...@foss.st.com wrote: > From: Patrice Chotard > > Benjamin has left the company, remove his name from maintainers. > > Signed-off-by: Patrice Chotard > --- > .../devicetree/bindings/hwlock/st,stm32-hwspinlock.yaml | 1 - > 1 file

Re: [PATCH v3 3/5] dt-bindings: media: Update maintainers for st,stm32-cec.yaml

2021-11-10 Thread Rob Herring
On Wed, 10 Nov 2021 16:01:42 +0100, patrice.chot...@foss.st.com wrote: > From: Patrice Chotard > > Benjamin has left the company, remove his name from maintainers. > > Signed-off-by: Patrice Chotard > --- > Documentation/devicetree/bindings/media/st,stm32-cec.yaml | 1 - > 1 file changed, 1

Re: printk deadlock due to double lock attempt on current CPU's runqueue

2021-11-10 Thread Sultan Alsawaf
On Wed, Nov 10, 2021 at 10:00:35AM +0100, Vincent Guittot wrote: > Is it the same SCHED_WARN_ON(rq->tmp_alone_branch != > >leaf_cfs_rq_list); that generates the deadlock on v5.15 too ? > > one remaining tmp_alone_branch warning has been fixed in v5.15 with > 2630cde26711 ("sched/fair: Add

Re: [PATCH v3 1/5] dt-bindings: timer: Update maintainers for st,stm32-timer

2021-11-10 Thread Rob Herring
On Wed, 10 Nov 2021 16:01:40 +0100, patrice.chot...@foss.st.com wrote: > From: Patrice Chotard > > Benjamin has left the company, add Fabrice and myself as maintainers. > > Signed-off-by: Patrice Chotard > --- > Documentation/devicetree/bindings/timer/st,stm32-timer.yaml | 3 ++- > 1 file

Re: [PATCH v6 2/7] dt-bindings: mediatek, dp: Add Display Port binding

2021-11-10 Thread Rob Herring
On Wed, 10 Nov 2021 14:06:18 +0100, Guillaume Ranquet wrote: > From: Markus Schneider-Pargmann > > This controller is present on several mediatek hardware. Currently > mt8195 and mt8395 have this controller without a functional difference, > so only one compatible field is added. > > The

[PATCH v6 8/8] [RFC] MIPS: DTS: Ingenic: adjust register size to available registers

2021-11-10 Thread H. Nikolaus Schaller
After getting the regmap size from the device tree we should reduce the ranges to the really available registers. This allows to read only existing registers from the debug fs and makes the regmap check out-of-bounds access. For the jz4780 we have done this already. Suggested-for: Paul Cercueil

[PATCH v6 5/8] MIPS: DTS: jz4780: Account for Synopsys HDMI driver and LCD controllers

2021-11-10 Thread H. Nikolaus Schaller
From: Paul Boddie A specialisation of the generic Synopsys HDMI driver is employed for JZ4780 HDMI support. This requires a new driver, plus device tree and configuration modifications. Signed-off-by: Paul Boddie Signed-off-by: H. Nikolaus Schaller --- arch/mips/boot/dts/ingenic/jz4780.dtsi

[PATCH v6 6/8] MIPS: DTS: CI20: Add DT nodes for HDMI setup

2021-11-10 Thread H. Nikolaus Schaller
From: Paul Boddie We need to hook up * HDMI connector * HDMI power regulator * JZ4780_CLK_HDMI @ 27 MHz * DDC pinmux * HDMI and LCDC endpoint connections Signed-off-by: Paul Boddie Signed-off-by: H. Nikolaus Schaller --- arch/mips/boot/dts/ingenic/ci20.dts | 73 +++--

[PATCH v6 4/8] drm/ingenic: Add dw-hdmi driver for jz4780

2021-11-10 Thread H. Nikolaus Schaller
From: Paul Boddie A specialisation of the generic Synopsys HDMI driver is employed for JZ4780 HDMI support. This requires a new driver, plus device tree and configuration modifications. Signed-off-by: Paul Boddie Signed-off-by: Ezequiel Garcia Signed-off-by: H. Nikolaus Schaller ---

[PATCH v6 3/8] dt-bindings: display: Add ingenic, jz4780-dw-hdmi DT Schema

2021-11-10 Thread H. Nikolaus Schaller
From: Sam Ravnborg Add DT bindings for the hdmi driver for the Ingenic JZ4780 SoC. Based on .txt binding from Zubair Lutfullah Kakakhel We also add add generic ddc-i2c-bus to synopsys,dw-hdmi.yaml Signed-off-by: Sam Ravnborg Signed-off-by: H. Nikolaus Schaller Cc: Rob Herring Cc:

[PATCH v6 7/8] MIPS: defconfig: CI20: configure for DRM_DW_HDMI_JZ4780

2021-11-10 Thread H. Nikolaus Schaller
Enable CONFIG options as modules. Signed-off-by: Ezequiel Garcia Signed-off-by: H. Nikolaus Schaller --- arch/mips/configs/ci20_defconfig | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/mips/configs/ci20_defconfig b/arch/mips/configs/ci20_defconfig index

[PATCH v6 0/8] MIPS: JZ4780 and CI20 HDMI

2021-11-10 Thread H. Nikolaus Schaller
PATCH V6 2021-11-10 20:43:33: - changed CONFIG_DRM_INGENIC_DW_HDMI to "m" (by h...@goldelico.com) - made ingenic-dw-hdmi an independent platform driver which can be compiled as module and removed error patch fixes for IPU (suggested by p...@crapouillou.net) - moved assigned-clocks from

[PATCH v6 1/8] drm/ingenic: prepare ingenic drm for later addition of JZ4780

2021-11-10 Thread H. Nikolaus Schaller
This changes the way the regmap is allocated to prepare for the later addition of the JZ4780 which has more registers and bits than the others. Therefore we make the regmap as big as the reg property in the device tree tells. Suggested-by: Paul Cercueil Signed-off-by: H. Nikolaus Schaller ---

[PATCH v6 2/8] drm/ingenic: Add support for JZ4780 and HDMI output

2021-11-10 Thread H. Nikolaus Schaller
From: Paul Boddie Add support for the LCD controller present on JZ4780 SoCs. This SoC uses 8-byte descriptors which extend the current 4-byte descriptors used for other Ingenic SoCs. Tested on MIPS Creator CI20 board. Signed-off-by: Paul Boddie Signed-off-by: Ezequiel Garcia Signed-off-by:

[PATCH] drm/msm: Fix mmap to include VM_IO and VM_DONTDUMP

2021-11-10 Thread Douglas Anderson
In commit 510410bfc034 ("drm/msm: Implement mmap as GEM object function") we switched to a new/cleaner method of doing things. That's good, but we missed a little bit. Before that commit, we used to _first_ run through the drm_gem_mmap_obj() case where `obj->funcs->mmap()` was NULL. That meant

Re: [PATCH] drm/bridge: dw-hdmi: handle ELD when DRM_BRIDGE_ATTACH_NO_CONNECTOR

2021-11-10 Thread Jernej Škrabec
Hi Neil, sorry for late response. Dne petek, 29. oktober 2021 ob 15:59:47 CET je Neil Armstrong napisal(a): > The current ELD handling takes the internal connector ELD buffer and > shares it to the I2S and AHB sub-driver. > > But with DRM_BRIDGE_ATTACH_NO_CONNECTOR, the connector is created >

Re: [PATCH 2/2] drm/sched: serialize job_timeout and scheduler

2021-11-10 Thread Rob Clark
On Wed, Nov 10, 2021 at 1:50 AM Daniel Vetter wrote: > > On Tue, Nov 09, 2021 at 08:17:01AM -0800, Rob Clark wrote: > > On Tue, Nov 9, 2021 at 1:07 AM Daniel Vetter wrote: > > > > > > On Mon, Nov 08, 2021 at 03:39:17PM -0800, Rob Clark wrote: > > > > I stumbled across this thread when I ran into

Re: [PATCH 2/2] MAINTAINERS: Mark VMware mailing list entries as private

2021-11-10 Thread Srivatsa S. Bhat
On Wed, Nov 10, 2021 at 05:40:09PM +, Nadav Amit wrote: > > > > On Nov 10, 2021, at 9:20 AM, Srivatsa S. Bhat > > wrote: > > > > On Tue, Nov 09, 2021 at 01:57:31PM -0800, Joe Perches wrote: > >> On Tue, 2021-11-09 at 00:58 +, Nadav Amit wrote: > On Nov 8, 2021, at 4:37 PM, Joe

Re: [PATCH] [PATCH v2] drm/sun4i: fix unmet dependency on RESET_CONTROLLER for PHY_SUN6I_MIPI_DPHY

2021-11-10 Thread Jernej Škrabec
Hi Julian, Dne torek, 09. november 2021 ob 04:23:51 CET je Julian Braha napisal(a): > When PHY_SUN6I_MIPI_DPHY is selected, and RESET_CONTROLLER > is not selected, Kbuild gives the following warning: > > WARNING: unmet direct dependencies detected for PHY_SUN6I_MIPI_DPHY > Depends on [n]:

Re: [RFC] arm64: dts: imx8mm: Add MIPI and LCDIF nodes

2021-11-10 Thread Jagan Teki
On Wed, Nov 10, 2021 at 2:24 AM Tim Harvey wrote: > > On Tue, Nov 9, 2021 at 12:39 PM Marek Vasut wrote: > > > > On 11/9/21 8:35 PM, Adam Ford wrote: > > > > [...] > > > > >> diff --git a/arch/arm64/boot/dts/freescale/imx8mm.dtsi > > >> b/arch/arm64/boot/dts/freescale/imx8mm.dtsi > > >> index

Re: [PATCH 2/2] MAINTAINERS: Mark VMware mailing list entries as private

2021-11-10 Thread Nadav Amit
> On Nov 10, 2021, at 9:20 AM, Srivatsa S. Bhat wrote: > > On Tue, Nov 09, 2021 at 01:57:31PM -0800, Joe Perches wrote: >> On Tue, 2021-11-09 at 00:58 +, Nadav Amit wrote: On Nov 8, 2021, at 4:37 PM, Joe Perches wrote: On Mon, 2021-11-08 at 16:22 -0800, Srivatsa S. Bhat wrote:

Re: [PATCH] MAINTAINERS: update information for nouveau

2021-11-10 Thread Daniel Vetter
On Wed, Nov 10, 2021 at 02:31:57PM +0100, Karol Herbst wrote: > Some side notes on this. Atm we do want to use gitlab for bug tracking and > merge requests. But due to the nature of the current linux kernel > development, we can only do so for nouveau internal changes. > > Everything else still

Re: [PATCH v2 0/8] Add new formats support to vkms

2021-11-10 Thread Igor Torrente
Hi Pekka, On Tue, Nov 9, 2021 at 6:32 AM Pekka Paalanen wrote: > > On Tue, 26 Oct 2021 08:34:00 -0300 > Igor Torrente wrote: > > > Summary > > === > > This series of patches refactor some vkms components in order to introduce > > new formats to the planes and writeback connector. > > > >

Re: [PATCH 2/2] MAINTAINERS: Mark VMware mailing list entries as private

2021-11-10 Thread Srivatsa S. Bhat
On Tue, Nov 09, 2021 at 01:57:31PM -0800, Joe Perches wrote: > On Tue, 2021-11-09 at 00:58 +, Nadav Amit wrote: > > > On Nov 8, 2021, at 4:37 PM, Joe Perches wrote: > > > On Mon, 2021-11-08 at 16:22 -0800, Srivatsa S. Bhat wrote: > > > > > > So it's an exploder not an actual maintainer and

Re: [PATCH v2 6/8] drm: vkms: Refactor the plane composer to accept new formats

2021-11-10 Thread Igor Torrente
On Tue, Nov 9, 2021 at 8:40 AM Pekka Paalanen wrote: > > Hi Igor, > > again, that is a really nice speed-up. Unfortunately, I find the code > rather messy and hard to follow. I hope my comments below help with > re-designing it to be easier to understand. > > > On Tue, 26 Oct 2021 08:34:06 -0300

Re: [PATCH v4 07/13] drm/msm: Track "seqno" fences by idr

2021-11-10 Thread Rob Clark
On Wed, Nov 10, 2021 at 7:28 AM Akhil P Oommen wrote: > > On 7/28/2021 6:36 AM, Rob Clark wrote: > > From: Rob Clark > > > > Previously the (non-fd) fence returned from submit ioctl was a raw > > seqno, which is scoped to the ring. But from UABI standpoint, the > > ioctls related to seqno

Re: [PATCH v1 1/1] drm: Replace kernel.h with the necessary inclusions

2021-11-10 Thread Thomas Zimmermann
Hi Am 10.11.21 um 17:34 schrieb Andy Shevchenko: On Wed, Nov 10, 2021 at 3:55 PM Thomas Zimmermann wrote: Am 10.11.21 um 11:24 schrieb Andy Shevchenko: When kernel.h is used in the headers it adds a lot into dependency hell, especially when there are circular dependencies are involved.

Re: [PATCH] drm/amdgpu: remove unneeded variable

2021-11-10 Thread Alex Deucher
Applied. Thanks! Alex On Wed, Nov 10, 2021 at 12:53 AM wrote: > > From: ran jianping > > Fix the following coccicheck review: > ./drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c:1174:14-18 > :Unneeded variable > > Remove unneeded variable used to store return value. > > Reported-by:

Re: [PATCH] drm/radeon: correct indentation

2021-11-10 Thread Alex Deucher
Applied. Thanks! Alex On Wed, Nov 10, 2021 at 11:08 AM Xu Wang wrote: > > Correct indentation in radeon_driver_load_kms. > > Signed-off-by: Xu Wang > --- > drivers/gpu/drm/radeon/radeon_kms.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

Re: [PATCH v1 1/1] drm: Replace kernel.h with the necessary inclusions

2021-11-10 Thread Andy Shevchenko
On Wed, Nov 10, 2021 at 3:55 PM Thomas Zimmermann wrote: > Am 10.11.21 um 11:24 schrieb Andy Shevchenko: > > When kernel.h is used in the headers it adds a lot into dependency hell, > > especially when there are circular dependencies are involved. > > > > Replace kernel.h inclusion with the list

[PATCH] drm/nouveau: set RGB quantization range to FULL

2021-11-10 Thread Hans Verkuil
The nouveau driver outputs full range RGB, but the AVI InfoFrame just says 'Default' instead of 'Full'. Call drm_hdmi_avi_infoframe_quant_range to fill in the quantization field of the AVI InfoFrame correctly. Now displays that advertise RGB Selectable Quantization Range in their EDID will

[PATCH] drm/nouveau: hdmigv100.c: fix corrupted HDMI Vendor InfoFrame

2021-11-10 Thread Hans Verkuil
gv100_hdmi_ctrl() writes vendor_infoframe.subpack0_high to 0x6f0110, and then overwrites it with 0. Just drop the overwrite with 0, that's clearly a mistake. Because of this issue the HDMI VIC is 0 instead of 1 in the HDMI Vendor InfoFrame when transmitting 4kp30. Signed-off-by: Hans Verkuil

Re: [PATCH v2] drm/dp: Fix aux->transfer NULL pointer dereference on drm_dp_dpcd_access

2021-11-10 Thread Harry Wentland
On 2021-11-05 03:35, Yuan, Perry wrote: > [AMD Official Use Only] > > Hi Jani: > > >> -Original Message- >> From: Jani Nikula >> Sent: Wednesday, November 3, 2021 7:31 PM >> To: Yuan, Perry ; Maarten Lankhorst >> ; Maxime Ripard >> ; Thomas Zimmermann ; >> David Airlie ; Daniel Vetter

Re: [PATCH v4 07/13] drm/msm: Track "seqno" fences by idr

2021-11-10 Thread Akhil P Oommen
On 7/28/2021 6:36 AM, Rob Clark wrote: From: Rob Clark Previously the (non-fd) fence returned from submit ioctl was a raw seqno, which is scoped to the ring. But from UABI standpoint, the ioctls related to seqno fences all specify a submitqueue. We can take advantage of that to replace the

Re: [RFC v2 02/22] drm: Add Enhanced Gamma and color lut range attributes

2021-11-10 Thread Harry Wentland
On 2021-11-10 06:55, Ville Syrjälä wrote: > On Wed, Nov 10, 2021 at 10:49:24AM +0200, Pekka Paalanen wrote: >> On Wed, 10 Nov 2021 00:02:16 +0200 >> Ville Syrjälä wrote: >> >>> On Tue, Nov 09, 2021 at 03:47:58PM -0500, Harry Wentland wrote: On 2021-11-08 04:54, Pekka Paalanen wrote:

[PATCH v3 1/5] dt-bindings: timer: Update maintainers for st, stm32-timer

2021-11-10 Thread patrice.chotard
From: Patrice Chotard Benjamin has left the company, add Fabrice and myself as maintainers. Signed-off-by: Patrice Chotard --- Documentation/devicetree/bindings/timer/st,stm32-timer.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH v3 0/5] Update STMicroelectronics maintainers email

2021-11-10 Thread patrice.chotard
From: Patrice Chotard Update maintainers name for some yaml files. Update @st.com email address to @foss.st.com as @foss.st.com email address is dedicated for upstream activities. Changes in v3: _ fix typo in patch 2/3/4 commit message _ resend to missing mailing list Patrice Chotard (5):

[PATCH v3 3/5] dt-bindings: media: Update maintainers for st, stm32-cec.yaml

2021-11-10 Thread patrice.chotard
From: Patrice Chotard Benjamin has left the company, remove his name from maintainers. Signed-off-by: Patrice Chotard --- Documentation/devicetree/bindings/media/st,stm32-cec.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/Documentation/devicetree/bindings/media/st,stm32-cec.yaml

[PATCH v3 5/5] dt-bindings: treewide: Update @st.com email address to @foss.st.com

2021-11-10 Thread patrice.chotard
From: Patrice Chotard Not all @st.com email address are concerned, only people who have a specific @foss.st.com email will see their entry updated. For some people, who left the company, remove their email. Cc: Alexandre Torgue Cc: Arnaud Pouliquen Cc: Fabien Dessenne Cc: Christophe Roullier

[PATCH v3 2/5] dt-bindings: mfd: timers: Update maintainers for st, stm32-timers

2021-11-10 Thread patrice.chotard
From: Patrice Chotard Benjamin has left the company, remove his name from maintainers. Signed-off-by: Patrice Chotard --- Documentation/devicetree/bindings/mfd/st,stm32-timers.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mfd/st,stm32-timers.yaml

[PATCH v3 4/5] dt-bindings: media: Update maintainers for st, stm32-hwspinlock.yaml

2021-11-10 Thread patrice.chotard
From: Patrice Chotard Benjamin has left the company, remove his name from maintainers. Signed-off-by: Patrice Chotard --- .../devicetree/bindings/hwlock/st,stm32-hwspinlock.yaml | 1 - 1 file changed, 1 deletion(-) diff --git

[PATCH v4] drm/ttm: Clarify that the TTM_PL_SYSTEM is under TTMs control

2021-11-10 Thread Zack Rusin
TTM takes full control over TTM_PL_SYSTEM placed buffers. This makes driver internal usage of TTM_PL_SYSTEM prone to errors because it requires the drivers to manually handle all interactions between TTM which can swap out those buffers whenever it thinks it's the right thing to do and driver.

Re: [PATCH] drm/i915: Use per device iommu check

2021-11-10 Thread Robin Murphy
On 2021-11-10 14:11, Tvrtko Ursulin wrote: On 10/11/2021 12:35, Lu Baolu wrote: On 2021/11/10 20:08, Tvrtko Ursulin wrote: On 10/11/2021 12:04, Lu Baolu wrote: On 2021/11/10 17:30, Tvrtko Ursulin wrote: On 10/11/2021 07:12, Lu Baolu wrote: Hi Tvrtko, On 2021/11/9 20:17, Tvrtko Ursulin

  1   2   >