Re: [RFC PATCH 00/16] drm/rockchip: Rockchip EBC ("E-Book Controller") display driver

2022-04-20 Thread Andreas Kemnade
On Wed, 13 Apr 2022 17:19:00 -0500 Samuel Holland wrote: [...] > Waveform Selection From Userspace > = > EPDs use different waveforms for different purposes: high-quality > grayscale vs. monochrome text vs. dithered monochrome video. How can > userspace select whic

Re: [PULL v2] gvt-next

2022-04-20 Thread Joonas Lahtinen
+ Tvrtko Quoting Christoph Hellwig (2022-04-21 08:47:38) > On Thu, Apr 21, 2022 at 04:57:34AM +, Wang, Zhi A wrote: > > Is it possible that I can send two different pull based on the same branch? > > I was thinking I can remove this line in the original patch and then add a > > small patch to

Re: [PATCH 05/34] drm/i915/gvt: cleanup the Makefile

2022-04-20 Thread Joonas Lahtinen
+ Tvrtko Quoting Jason Gunthorpe (2022-04-13 17:45:48) > On Wed, Apr 13, 2022 at 02:26:23PM +, Wang, Zhi A wrote: > > On 4/13/22 1:43 PM, Jason Gunthorpe wrote: > > > On Wed, Apr 13, 2022 at 01:39:35PM +, Wang, Zhi A wrote: > > > > > >> It seems Jani's makefile clean patch has already inc

Re: [Intel-gfx] [PATCH] drm/i915: Fix race in __i915_vma_remove_closed

2022-04-20 Thread kernel test robot
Hi Karol, I love your patch! Yet something to improve: [auto build test ERROR on drm-tip/drm-tip] [also build test ERROR on linus/master v5.18-rc3 next-20220420] [cannot apply to drm-intel/for-linux-next linux/master] [If your patch is applied to the wrong git tree, kindly drop us a note. And

Re: [PATCH 24/41] ARM: omap: un-merge plat/sram.c

2022-04-20 Thread Tony Lindgren
* Arnd Bergmann [220419 13:37]: > From: Arnd Bergmann > > The sram initialization code is the only shared omap1/2 code that > is not a standalone driver, but it is very short. Having two copies > of this code means some duplication of the sources, but actually > saves object code size as it can

Re: [PATCH 00/41] OMAP1 full multiplatform conversion

2022-04-20 Thread Tony Lindgren
* Ulf Hansson [220419 14:12]: > On Tue, 19 Apr 2022 at 15:37, Arnd Bergmann wrote: > > > > From: Arnd Bergmann > > > > This is the full series for converting OMAP1 to multiplatform, rebased > > from my 2019 attempt to do the same thing. The soc tree contains simpler > > patches to do the same fo

Re: [PATCH] drm/ttm: fix ttm tt init fail when size exceeds kmalloc limit

2022-04-20 Thread Christian König
Am 21.04.22 um 04:15 schrieb Wang, Yang(Kevin): [AMD Official Use Only] *From:* Kuehling, Felix *Sent:* Thursday, April 21, 2022 5:21 AM *To:* Lazar, Lijo ; Koenig, Christian ; Wang, Yang(Kevin) ; Christian König ;

Re: [PATCH 40/41] [TO BE REBASED] ARM: OMAP1: clock: Convert to CCF

2022-04-20 Thread Tony Lindgren
* Arnd Bergmann [220419 13:39]: > From: Janusz Krzysztofik > + /* protect clk->enable_reg from concurrent access via clk_set_rate() */ > + if (clk->enable_reg == OMAP1_IO_ADDRESS(ARM_CKCTL)) > + spin_lock_irqsave(&arm_ckctl_lock, flags); > + else if (clk->enable_reg == OMA

Re: [PATCH 17/41] ARM: omap1: move 32k counter from plat-omap to mach-omap1

2022-04-20 Thread Tony Lindgren
* Arnd Bergmann [220419 13:36]: > From: Arnd Bergmann > > omap2 stopped using this code with commit 8d39ff3d1696 ("ARM: OMAP2+: > Remove unused legacy code for timer"), so just move it to mach-omap1 now, > along with the other half of that driver. BTW, if omap1 gains devicetree support, chances

Re: [PATCHv4] drm/amdgpu: disable ASPM on Intel Alder Lake based systems

2022-04-20 Thread Paul Menzel
Dear Richard, Am 21.04.22 um 03:12 schrieb Gong, Richard: On 4/20/2022 3:29 PM, Paul Menzel wrote: Am 19.04.22 um 23:46 schrieb Gong, Richard: On 4/14/2022 2:52 AM, Paul Menzel wrote: [Cc: -kernel test robot ] […] Am 13.04.22 um 15:00 schrieb Alex Deucher: On Wed, Apr 13, 2022 at 3:

Re: [RFC PATCH v2 04/10] KVM: x86: mmu: tweak fast path for emulation of access to nested NPT pages

2022-04-20 Thread Maxim Levitsky
On Thu, 2022-04-21 at 08:12 +0300, Maxim Levitsky wrote: > --- > arch/x86/kvm/mmu/mmu.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/x86/kvm/mmu/mmu.c b/arch/x86/kvm/mmu/mmu.c > index 23f895d439cf5..b63398dfdac3b 100644 > --- a/arch/x86/kvm/mmu/mmu.c > +++ b/a

Re: [PATCH 26/41] ARM: omap1: relocate static I/O mapping

2022-04-20 Thread Tony Lindgren
* Arnd Bergmann [220420 19:18]: > On Wed, Apr 20, 2022 at 3:46 PM Aaro Koskinen wrote: > > > > Hi, > > > > On Tue, Apr 19, 2022 at 03:37:08PM +0200, Arnd Bergmann wrote: > > > From: Arnd Bergmann > > > > > > The address range 0xfee0-0xfeff is used for PCI and > > > PCMCIA I/O port mappin

[RFC PATCH v2 10/10] KVM: SVM: allow to avoid not needed updates to is_running

2022-04-20 Thread Maxim Levitsky
Allow optionally to make KVM not update is_running unless it is functionally needed which is only when a vCPU halts, or is in the guest mode. This means security wise that if a vCPU is scheduled out, other vCPUs could still send doorbell messages to the last physical CPU where this vCPU was last r

[RFC PATCH v2 09/10] KVM: nSVM: implement support for nested AVIC

2022-04-20 Thread Maxim Levitsky
This implements initial support of using the AVIC in a nested guest Signed-off-by: Maxim Levitsky --- arch/x86/kvm/svm/avic.c | 850 +- arch/x86/kvm/svm/nested.c | 131 +- arch/x86/kvm/svm/svm.c| 18 + arch/x86/kvm/svm/svm.h| 150 +++ arch/x

[RFC PATCH v2 08/10] KVM: x86: rename .set_apic_access_page_addr to reload_apic_access_page

2022-04-20 Thread Maxim Levitsky
This will be used on SVM to reload shadow page of the AVIC physid table No functional change intended Signed-off-by: Maxim Levitsky --- arch/x86/include/asm/kvm-x86-ops.h | 2 +- arch/x86/include/asm/kvm_host.h| 3 +-- arch/x86/kvm/vmx/vmx.c | 8 arch/x86/kvm/x86.c

[RFC PATCH v2 07/10] KVM: x86: SVM: move avic state to separate struct

2022-04-20 Thread Maxim Levitsky
This will make the code a bit easier to read when nested AVIC support is added. No functional change intended. Signed-off-by: Maxim Levitsky --- arch/x86/kvm/svm/avic.c | 49 +++-- arch/x86/kvm/svm/svm.h | 14 +++- 2 files changed, 36 insertions(+),

[RFC PATCH v2 06/10] KVM: x86: SVM: remove avic's broken code that updated APIC ID

2022-04-20 Thread Maxim Levitsky
Now that KVM doesn't allow to change APIC ID in case AVIC is enabled, remove buggy AVIC code that tried to do so. Signed-off-by: Maxim Levitsky --- arch/x86/kvm/svm/avic.c | 35 --- 1 file changed, 35 deletions(-) diff --git a/arch/x86/kvm/svm/avic.c b/arch/x86/k

[RFC PATCH v2 05/10] KVM: x86: lapic: don't allow to change APIC ID when apic acceleration is enabled

2022-04-20 Thread Maxim Levitsky
No normal guest has any reason to change physical APIC IDs, and allowing this introduces bugs into APIC acceleration code. Signed-off-by: Maxim Levitsky --- arch/x86/kvm/lapic.c | 28 +++- 1 file changed, 23 insertions(+), 5 deletions(-) diff --git a/arch/x86/kvm/lapic.c

[RFC PATCH v2 04/10] KVM: x86: mmu: tweak fast path for emulation of access to nested NPT pages

2022-04-20 Thread Maxim Levitsky
--- arch/x86/kvm/mmu/mmu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/kvm/mmu/mmu.c b/arch/x86/kvm/mmu/mmu.c index 23f895d439cf5..b63398dfdac3b 100644 --- a/arch/x86/kvm/mmu/mmu.c +++ b/arch/x86/kvm/mmu/mmu.c @@ -5315,8 +5315,8 @@ int kvm_mmu_page_fault(struct

[RFC PATCH v2 03/10] KVM: x86: mmu: add gfn_in_memslot helper

2022-04-20 Thread Maxim Levitsky
This is a tiny refactoring, and can be useful to check if a GPA/GFN is within a memslot a bit more cleanly. Signed-off-by: Maxim Levitsky --- include/linux/kvm_host.h | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h

[RFC PATCH v2 02/10] x86: KVMGT: use kvm_page_track_write_tracking_enable

2022-04-20 Thread Maxim Levitsky
This allows to enable the write tracking only when KVMGT is actually used and doesn't carry any penalty otherwise. Tested by booting a VM with a kvmgt mdev device. Signed-off-by: Maxim Levitsky --- arch/x86/kvm/Kconfig | 3 --- arch/x86/kvm/mmu/mmu.c | 2 +- drivers/gpu/dr

[RFC PATCH v2 01/10] KVM: x86: mmu: allow to enable write tracking externally

2022-04-20 Thread Maxim Levitsky
This will be used to enable write tracking from nested AVIC code and can also be used to enable write tracking in GVT-g module when it actually uses it as opposed to always enabling it, when the module is compiled in the kernel. No functional change intended. Signed-off-by: Maxim Levitsky --- a

[RFC PATCH v2 00/10] RFCv2: nested AVIC

2022-04-20 Thread Maxim Levitsky
This patch series implement everything that is needed to use AMD's AVIC while a nested guest is running including ability of the nested guest to use it, and brings feature parity vs APICv. Compared to v1 of the series, there are lot of fixes, and refactoring. This version still use unconditional

[RFC PATCH 3/3] drm/i915: Enabling WD Transcoder

2022-04-20 Thread Suraj Kandpal
Adding support for writeback transcoder to start capturing frames using interrupt mechanism Signed-off-by: Suraj Kandpal --- drivers/gpu/drm/i915/Makefile | 1 + drivers/gpu/drm/i915/display/intel_acpi.c | 1 + drivers/gpu/drm/i915/display/intel_display.c | 89 +- drive

[RFC PATCH 2/3] drm/i915: Define WD trancoder for i915

2022-04-20 Thread Suraj Kandpal
Adding WD Types, WD transcoder to enum list and WD Transcoder offsets Signed-off-by: Suraj Kandpal --- drivers/gpu/drm/i915/display/intel_display.h | 6 ++ drivers/gpu/drm/i915/display/intel_display_types.h | 1 + drivers/gpu/drm/i915/i915_reg.h| 2 ++ 3 files chang

[RFC PATCH 1/3] drm/i915: Creating writeback pipeline to bypass drm_writeback framework

2022-04-20 Thread Suraj Kandpal
Changes to create a i915 private pipeline to enable the WD transcoder without relying on the current drm_writeback framework. Signed-off-by: Suraj Kandpal --- drivers/gpu/drm/i915/Makefile | 1 + .../drm/i915/display/intel_display_types.h| 4 + .../gpu/drm/i915/display/in

[RFC PATCH 0/3] i915 writeback private framework

2022-04-20 Thread Suraj Kandpal
A patch series was floated in the drm mailing list which aimed to change the drm_connector and drm_encoder fields to pointer in the drm_connector_writeback structure, this received a huge pushback from the community but since i915 expects each connector present in the drm_device list to be a intel_

Re: [PULL v2] gvt-next

2022-04-20 Thread Wang, Zhi A
On 4/20/22 8:00 PM, Jason Gunthorpe wrote: > On Wed, Apr 20, 2022 at 02:46:00PM -0300, Jason Gunthorpe wrote: >> On Wed, Apr 20, 2022 at 11:40:33AM -0600, Alex Williamson wrote: >>> On Wed, 20 Apr 2022 13:43:51 -0300 >>> Jason Gunthorpe wrote: >>> On Wed, Apr 20, 2022 at 04:34:47PM +, Wan

[PATCH v4 2/2] drm/msm/dpu: Issue MDSS reset during initialization

2022-04-20 Thread Bjorn Andersson
It's typical for the bootloader to bring up the display for showing a boot splash or efi framebuffer. But in some cases the kernel driver ends up only partially configuring (in particular) the DPU, which might result in e.g. that two different data paths attempts to push data to the interface - wit

[PATCH v4 1/2] dt-bindings: display: msm: Add optional resets

2022-04-20 Thread Bjorn Andersson
Add an optional reference to the MDSS_CORE reset, which when specified can be used by the implementation to reset the hardware blocks. Reviewed-by: Dmitry Baryshkov Acked-by: Krzysztof Kozlowski Signed-off-by: Bjorn Andersson --- Changes since v3: - None .../devicetree/bindings/display/msm/d

Re: [PATCH] drm/ttm: fix ttm tt init fail when size exceeds kmalloc limit

2022-04-20 Thread Wang, Yang(Kevin)
[AMD Official Use Only] From: Kuehling, Felix Sent: Thursday, April 21, 2022 5:21 AM To: Lazar, Lijo ; Koenig, Christian ; Wang, Yang(Kevin) ; Christian König ; dri-devel@lists.freedesktop.org ; amd-...@lists.freedesktop.org Subject: Re: [PATCH] drm/ttm: fi

Re: [RFC v2 1/2] drm/doc/rfc: VM_BIND feature design document

2022-04-20 Thread Niranjana Vishwanathapura
On Wed, Mar 09, 2022 at 10:58:09AM -0500, Alex Deucher wrote: On Mon, Mar 7, 2022 at 3:30 PM Niranjana Vishwanathapura wrote: VM_BIND design document with description of intended use cases. Signed-off-by: Niranjana Vishwanathapura --- Documentation/gpu/rfc/i915_vm_bind.rst | 210 +++

Re: [PATCHv4] drm/amdgpu: disable ASPM on Intel Alder Lake based systems

2022-04-20 Thread Gong, Richard
Hi Paul, On 4/20/2022 3:29 PM, Paul Menzel wrote: Dear Richard, Am 19.04.22 um 23:46 schrieb Gong, Richard: On 4/14/2022 2:52 AM, Paul Menzel wrote: [Cc: -kernel test robot ] […] Am 13.04.22 um 15:00 schrieb Alex Deucher: On Wed, Apr 13, 2022 at 3:43 AM Paul Menzel wrote: Thank you

Re: [PATCH v2] drm/msm/dp: enhance both connect and disconnect pending_timeout handle

2022-04-20 Thread Kuogee Hsieh
On 4/20/2022 3:58 PM, Stephen Boyd wrote: Quoting Kuogee Hsieh (2022-04-15 17:06:48) On 4/14/2022 4:34 PM, Dmitry Baryshkov wrote: I'm not sure how should the driver react if the client doesn't disable the output, but then the sink gets reattached? I do not know that either. But it should n

[PATCH v3 12/18] drm/msm/dpu: add encoder operations to prepare/cleanup wb job

2022-04-20 Thread Abhinav Kumar
add dpu encoder APIs to prepare and cleanup writeback job for the writeback encoder. These shall be invoked from the prepare_wb_job/cleanup_wb_job hooks of the drm_writeback framework. changes in v3: - none Signed-off-by: Abhinav Kumar Reviewed-by: Dmitry Baryshkov --- drivers/gpu/drm/

[PATCH v3 17/18] drm/msm/dpu: gracefully handle null fb commits for writeback

2022-04-20 Thread Abhinav Kumar
kms_writeback test cases also verify with a null fb for the writeback connector job. In addition there are also other commit paths which can result in kickoffs without a valid framebuffer like while closing the fb which results in the callback to drm_atomic_helper_dirtyfb() which internally trigger

[PATCH v3 18/18] drm/msm/dpu: add writeback blocks to the display snapshot

2022-04-20 Thread Abhinav Kumar
Add writeback block information while capturing the display snapshot. Signed-off-by: Abhinav Kumar Reviewed-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c b/drivers/gpu/drm/msm/di

[PATCH v3 11/18] drm/msm/dpu: make changes to dpu_encoder to support virtual encoder

2022-04-20 Thread Abhinav Kumar
Make changes to dpu_encoder to support virtual encoder needed to support writeback for dpu. changes in v3: - fix a debug print statement - leave a FIXME comment to separate intf_idx and wb_idx - leave a TODO to improve the dpu_encoder_helper_phys_cleanup() Signed-off-by: A

[PATCH v3 05/18] drm/msm/dpu: add reset_intf_cfg operation for dpu_hw_ctl

2022-04-20 Thread Abhinav Kumar
Add a reset_intf_cfg operation for dpu_hw_ctl to reset the entire CTL path by disabling each component namely layer mixer, 3d-merge and interface blocks. changes in v3: - none Signed-off-by: Abhinav Kumar Reviewed-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c | 32

[PATCH v3 13/18] drm/msm/dpu: move _dpu_plane_get_qos_lut to dpu_hw_util file

2022-04-20 Thread Abhinav Kumar
_dpu_plane_get_qos_lut() is not specific to just dpu_plane. It can take any fill level and return the LUT matching it. This can be used even for other modules like dpu_writeback. Move _dpu_plane_get_qos_lut() to the common dpu_hw_util file and rename it to _dpu_hw_get_qos_lut(). Signed-off-by: Ab

[PATCH v3 16/18] drm/msm/dpu: initialize dpu encoder and connector for writeback

2022-04-20 Thread Abhinav Kumar
Initialize dpu encoder and connector for writeback if the target supports it in the catalog. changes in v2: - start initialing the encoder for writeback since we have migrated to using drm_writeback_connector_init_with_encoder() - instead of checking for WB_2 inside _dpu_km

[PATCH v3 09/18] drm/msm/dpu: add changes to support writeback in hw_ctl

2022-04-20 Thread Abhinav Kumar
Add changes to support writeback module in the dpu_hw_ctl interface. changes in v3: - read the intf_active and wb_active before writing to preserve existing bits - add the update_pending_flush_wb for non-v1 targets Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/msm/d

[PATCH v3 15/18] drm/msm/dpu: add the writeback connector layer

2022-04-20 Thread Abhinav Kumar
Introduce the dpu_writeback module which serves as the interface between dpu operations and the drm_writeback. This module manages the connector related operations for dpu writeback. changes in v2: - start using drm_writeback_connector_init_with_encoder() - drop unnecessary argume

[PATCH v3 07/18] drm/msm/dpu: add dpu_hw_wb abstraction for writeback blocks

2022-04-20 Thread Abhinav Kumar
Add the dpu_hw_wb abstraction to program registers related to the writeback block. These will be invoked once all the configuration is set and ready to be programmed to the registers. changes in v3: - start using the common struct dpu_hw_cdp_cfg - leave a comment about DPU non-DPU_

[PATCH v3 10/18] drm/msm/dpu: add an API to reset the encoder related hw blocks

2022-04-20 Thread Abhinav Kumar
Add an API to reset the encoder related hw blocks to ensure a proper teardown of the pipeline. At the moment this is being used only for the writeback encoder but eventually we can start using this for all interfaces. changes in v3: - none Signed-off-by: Abhinav Kumar Reviewed-by: Dmitry

[PATCH v3 08/18] drm/msm/dpu: add writeback blocks to DPU RM

2022-04-20 Thread Abhinav Kumar
Add writeback blocks to DPU resource manager so that the encoders can directly request them through RM. changes in v3: - use IS_ERR() instead of IS_ERR_OR_NULL() Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c | 22 ++ drivers/gpu/drm/msm/disp

[PATCH v3 06/18] drm/msm/dpu: rename dpu_hw_pipe_cdp_cfg to dpu_hw_cdp_cfg

2022-04-20 Thread Abhinav Kumar
Rename dpu_hw_pipe_cdp_cfg to dpu_hw_cdp_cfg and move it to dpu_hw_utils file so that other modules in addition to SSPP such as writeback can use it as all the fields can be used by writeback as well. Suggested-by: Dmitry Baryshkov Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/msm/disp/dpu1/

[PATCH v3 14/18] drm/msm/dpu: introduce the dpu_encoder_phys_* for writeback

2022-04-20 Thread Abhinav Kumar
Introduce the dpu_encoder_phys_* for the writeback interface to handle writeback specific hardware programming. changes in v3: - start using the now generic struct dpu_hw_cdp_cfg Signed-off-by: Abhinav Kumar Reviewed-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/Makefile

[PATCH v3 04/18] drm/msm/dpu: add writeback blocks to the sm8250 DPU catalog

2022-04-20 Thread Abhinav Kumar
Add writeback blocks to the sm8250 DPU hardware catalog. Other chipsets support writeback too but add it to sm8250 to prototype the feature so that it can be easily extended to other chipsets. changes in v3: - none Signed-off-by: Abhinav Kumar Reviewed-by: Dmitry Baryshkov --- drivers/

[PATCH v3 02/18] drm: introduce drm_writeback_connector_init_with_encoder() API

2022-04-20 Thread Abhinav Kumar
For vendors drivers which pass an already allocated and initialized encoder especially for cases where the encoder hardware is shared OR the writeback encoder shares the resources with the rest of the display pipeline introduce a new API, drm_writeback_connector_init_with_encoder() which expects an

[PATCH v3 03/18] drm: allow real encoder to be passed for drm_writeback_connector

2022-04-20 Thread Abhinav Kumar
For some vendor driver implementations, display hardware can be shared between the encoder used for writeback and the physical display. In addition resources such as clocks and interrupts can also be shared between writeback and the real encoder. To accommodate such vendor drivers and hardware, a

[PATCH v3 00/18] Add writeback block support for DPU

2022-04-20 Thread Abhinav Kumar
This series adds support for writeback block on DPU. Writeback block is extremely useful to validate boards having no physical displays in addition to many other use-cases where we want to get the output of the display pipeline to examine whether issue is with the display pipeline or with the panel

[PATCH v3 01/18] drm: allow passing possible_crtcs to drm_writeback_connector_init()

2022-04-20 Thread Abhinav Kumar
Clients of drm_writeback_connector_init() initialize the possible_crtcs and then invoke the call to this API. To simplify things, allow passing possible_crtcs as a parameter to drm_writeback_connector_init() and make changes to the other drm drivers to make them compatible with this change. chang

Re: [PATCH 1/2] Revert "drm: of: Properly try all possible cases for bridge/panel detection"

2022-04-20 Thread Bjorn Andersson
On Wed 20 Apr 16:12 PDT 2022, Bjorn Andersson wrote: Sorry, I missed Jagan and Linus, author and reviewer of the reverted patch 2, among the recipients. Regards, Bjorn > Commit '80253168dbfd ("drm: of: Lookup if child node has panel or > bridge")' introduced the ability to describe a panel under

[PATCH 2/2] Revert "drm: of: Lookup if child node has panel or bridge"

2022-04-20 Thread Bjorn Andersson
Commit '80253168dbfd ("drm: of: Lookup if child node has panel or bridge")' attempted to simplify the case of expressing a simple panel under a DSI controller, by assuming that the first non-graph child node was a panel or bridge. Unfortunately for non-trivial cases the first child node might not

[PATCH 1/2] Revert "drm: of: Properly try all possible cases for bridge/panel detection"

2022-04-20 Thread Bjorn Andersson
Commit '80253168dbfd ("drm: of: Lookup if child node has panel or bridge")' introduced the ability to describe a panel under a display controller without having to use a graph to connect the controller to its single child panel (or bridge). The implementation of this would find the first non-graph

Re: [PATCH] WIP: drm/dp_mst: Add support for dumping topology ref histories from debugfs

2022-04-20 Thread Lyude Paul
Hey! Figured I'd check if there's been any status updates here since it's been a while, just to make sure I haven't dropped this issue from my radar. No problem if you're busy :) On Wed, 2022-03-16 at 10:46 +, Lin, Wayne wrote: > [Public] > > > -Original Message- > > From: Lyude Paul

Re: [PATCH v2] drm/msm/dp: enhance both connect and disconnect pending_timeout handle

2022-04-20 Thread Stephen Boyd
Quoting Kuogee Hsieh (2022-04-15 17:06:48) > > On 4/14/2022 4:34 PM, Dmitry Baryshkov wrote: > > > > I'm not sure how should the driver react if the client doesn't disable > > the output, but then the sink gets reattached? > > I do not know that either. > > But it should not happen as long as frame

Re: [RFC v2 1/2] drm/doc/rfc: VM_BIND feature design document

2022-04-20 Thread Niranjana Vishwanathapura
On Thu, Mar 31, 2022 at 01:37:08PM +0200, Daniel Vetter wrote: One thing I've forgotten, since it's only hinted at here: If/when we switch tlb flushing from the current dumb&synchronous implementation we now have in i915 in upstream to one with batching using dma_fence, then I think that should b

Re: [RFC v2 1/2] drm/doc/rfc: VM_BIND feature design document

2022-04-20 Thread Niranjana Vishwanathapura
On Thu, Mar 31, 2022 at 10:28:48AM +0200, Daniel Vetter wrote: Adding a pile of people who've expressed interest in vm_bind for their drivers. Also note to the intel folks: This is largely written with me having my subsystem co-maintainer hat on, i.e. what I think is the right thing to do here f

Re: [PATCH v2 09/17] drm/msm/dpu: add an API to reset the encoder related hw blocks

2022-04-20 Thread Dmitry Baryshkov
On 21/04/2022 00:28, Abhinav Kumar wrote: On 4/20/2022 12:23 AM, Dmitry Baryshkov wrote: On 20/04/2022 04:46, Abhinav Kumar wrote: Add an API to reset the encoder related hw blocks to ensure a proper teardown of the pipeline. At the moment this is being used only for the writeback encoder but

[PATCH 4/4] drm/amd/pm: use bitmap_{from,to}_arr32 where appropriate

2022-04-20 Thread Yury Norov
The smu_v1X_0_set_allowed_mask() uses bitmap_copy() to convert bitmap to 32-bit array. This may be wrong due to endianness issues. Fix it by switching to bitmap_{from,to}_arr32. Signed-off-by: Yury Norov --- drivers/gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c | 2 +- drivers/gpu/drm/amd/pm/swsmu/smu1

Re: [Freedreno] [PATCH v2 10/17] drm/msm/dpu: make changes to dpu_encoder to support virtual encoder

2022-04-20 Thread Dmitry Baryshkov
On 21/04/2022 01:06, Abhinav Kumar wrote: Hi Dmitry On 4/20/2022 11:46 AM, Abhinav Kumar wrote: On 4/20/2022 11:37 AM, Dmitry Baryshkov wrote: On Wed, 20 Apr 2022 at 20:41, Abhinav Kumar wrote: On 4/20/2022 12:44 AM, Dmitry Baryshkov wrote: On 20/04/2022 04:46, Abhinav Kumar wrote: Ma

Re: [PATCH] drm/msm/dp: tear down main link at unplug handle immediately

2022-04-20 Thread Stephen Boyd
Quoting Kuogee Hsieh (2022-04-14 14:03:43) > Two stages are required to setup up main link to be ready to transmit > video stream. > Stage 1: dp_hpd_plug_handle() perform link training to set up main link > stage 2: user space framework (msm_dp_display_enable()) to enable pixel > clock and transfer

Re: [Freedreno] [PATCH v2 10/17] drm/msm/dpu: make changes to dpu_encoder to support virtual encoder

2022-04-20 Thread Abhinav Kumar
Hi Dmitry On 4/20/2022 11:46 AM, Abhinav Kumar wrote: On 4/20/2022 11:37 AM, Dmitry Baryshkov wrote: On Wed, 20 Apr 2022 at 20:41, Abhinav Kumar wrote: On 4/20/2022 12:44 AM, Dmitry Baryshkov wrote: On 20/04/2022 04:46, Abhinav Kumar wrote: Make changes to dpu_encoder to support virtua

Re: [PATCH 1/2] dt-bindings: display: ti,am65x-dss: Add missing register & interrupt

2022-04-20 Thread Rob Herring
On Wed, Apr 20, 2022 at 10:05:34AM +0300, Tomi Valkeinen wrote: > Hi, > > On 19/04/2022 17:20, Rob Herring wrote: > > On Tue, Apr 19, 2022 at 12:33:01PM +0530, Aradhya Bhatia wrote: > > > The DSS IP on the ti-am65x soc supports an additional register space, > > > named "common1". Further. the IP s

Re: [PATCH v2 09/17] drm/msm/dpu: add an API to reset the encoder related hw blocks

2022-04-20 Thread Abhinav Kumar
On 4/20/2022 12:23 AM, Dmitry Baryshkov wrote: On 20/04/2022 04:46, Abhinav Kumar wrote: Add an API to reset the encoder related hw blocks to ensure a proper teardown of the pipeline. At the moment this is being used only for the writeback encoder but eventually we can start using this for al

Re: [PATCH] drm/ttm: fix ttm tt init fail when size exceeds kmalloc limit

2022-04-20 Thread Felix Kuehling
On 2022-04-20 09:23, Lazar, Lijo wrote: On 4/20/2022 6:26 PM, Christian König wrote: Am 20.04.22 um 14:54 schrieb Wang, Yang(Kevin): [AMD Official Use Only] Hi Chris, 1) Change the test case to use something larger than 1TiB. sure, we can increase the size of BO and make test pass, but

RE: [PATCHv4] drm/amdgpu: disable ASPM on Intel Alder Lake based systems

2022-04-20 Thread Limonciello, Mario
[Public] > -Original Message- > From: Alex Deucher > Sent: Wednesday, April 20, 2022 16:14 > To: Paul Menzel > Cc: Gong, Richard ; Dave Airlie ; > Pan, Xinhui ; LKML ; > Maling list - DRI developers ; amd-gfx list > ; Daniel Vetter ; Deucher, > Alexander ; Koenig, Christian > ; Limonci

Re: [PATCHv4] drm/amdgpu: disable ASPM on Intel Alder Lake based systems

2022-04-20 Thread Alex Deucher
On Wed, Apr 20, 2022 at 5:13 PM Gong, Richard wrote: > > > On 4/20/2022 4:02 PM, Paul Menzel wrote: > > Dear Richard, > > > > > > Am 20.04.22 um 22:56 schrieb Gong, Richard: > > > >> On 4/20/2022 3:48 PM, Paul Menzel wrote: > > > >>> Am 20.04.22 um 22:40 schrieb Alex Deucher: > On Wed, Apr 20

Re: [PATCHv4] drm/amdgpu: disable ASPM on Intel Alder Lake based systems

2022-04-20 Thread Alex Deucher
On Wed, Apr 20, 2022 at 5:02 PM Paul Menzel wrote: > > Dear Richard, > > > Am 20.04.22 um 22:56 schrieb Gong, Richard: > > > On 4/20/2022 3:48 PM, Paul Menzel wrote: > > >> Am 20.04.22 um 22:40 schrieb Alex Deucher: > >>> On Wed, Apr 20, 2022 at 4:29 PM Paul Menzel > >>> wrote: > >> > Am 19.

Re: [PATCHv4] drm/amdgpu: disable ASPM on Intel Alder Lake based systems

2022-04-20 Thread Gong, Richard
On 4/20/2022 4:02 PM, Paul Menzel wrote: Dear Richard, Am 20.04.22 um 22:56 schrieb Gong, Richard: On 4/20/2022 3:48 PM, Paul Menzel wrote: Am 20.04.22 um 22:40 schrieb Alex Deucher: On Wed, Apr 20, 2022 at 4:29 PM Paul Menzel wrote: Am 19.04.22 um 23:46 schrieb Gong, Richard: On

[linux-next:master] BUILD REGRESSION f1244c81da13009dbf61cb807f45881501c44789

2022-04-20 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master branch HEAD: f1244c81da13009dbf61cb807f45881501c44789 Add linux-next specific files for 20220420 Error/Warning reports: https://lore.kernel.org/linux-mm/202204081656.6x4pfen4-...@intel.com https

Re: [PATCHv4] drm/amdgpu: disable ASPM on Intel Alder Lake based systems

2022-04-20 Thread Paul Menzel
Dear Richard, Am 20.04.22 um 22:56 schrieb Gong, Richard: On 4/20/2022 3:48 PM, Paul Menzel wrote: Am 20.04.22 um 22:40 schrieb Alex Deucher: On Wed, Apr 20, 2022 at 4:29 PM Paul Menzel wrote: Am 19.04.22 um 23:46 schrieb Gong, Richard: On 4/14/2022 2:52 AM, Paul Menzel wrote: [Cc:

Re: [PATCHv4] drm/amdgpu: disable ASPM on Intel Alder Lake based systems

2022-04-20 Thread Gong, Richard
Hi Paul, On 4/20/2022 3:48 PM, Paul Menzel wrote: Dear Alex, Am 20.04.22 um 22:40 schrieb Alex Deucher: On Wed, Apr 20, 2022 at 4:29 PM Paul Menzel wrote: Am 19.04.22 um 23:46 schrieb Gong, Richard: On 4/14/2022 2:52 AM, Paul Menzel wrote: [Cc: -kernel test robot ] […] Am 13.04.22

Re: [PATCH v3] drm: of: Properly try all possible cases for bridge/panel detection

2022-04-20 Thread Rob Clark
On Tue, Apr 5, 2022 at 10:01 AM Thierry Reding wrote: > > On Fri, Apr 01, 2022 at 09:44:46AM +0200, Paul Kocialkowski wrote: > > Hi Bjorn, > > > > On Thu 31 Mar 22, 20:16, Bjorn Andersson wrote: > > > On Tue 29 Mar 06:27 PDT 2022, Paul Kocialkowski wrote: > > > > > > > While bridge/panel detection

Re: [RESEND v2 2/2] dt-bindings: display: Add STARRY 2081101QFH032011-53G

2022-04-20 Thread Linus Walleij
On Thu, Apr 14, 2022 at 10:19 AM xiazhengqiao wrote: > Add dt-bindings for 10.1" TFT LCD module called STARRY 2081101 > QFH032011-53G. > > Signed-off-by: xiazhengqiao > Reviewed-by: Rob Herring (...) > + enable-gpios: > +description: a GPIO spec for the enable pin The way this is used i

Re: [PATCHv4] drm/amdgpu: disable ASPM on Intel Alder Lake based systems

2022-04-20 Thread Paul Menzel
Dear Alex, Am 20.04.22 um 22:40 schrieb Alex Deucher: On Wed, Apr 20, 2022 at 4:29 PM Paul Menzel wrote: Am 19.04.22 um 23:46 schrieb Gong, Richard: On 4/14/2022 2:52 AM, Paul Menzel wrote: [Cc: -kernel test robot ] […] Am 13.04.22 um 15:00 schrieb Alex Deucher: On Wed, Apr 13, 2022

Re: [RESEND v2 1/2] drm/panel: Add inx Himax8279d MIPI-DSI LCD panel driver

2022-04-20 Thread Linus Walleij
On Thu, Apr 14, 2022 at 10:19 AM xiazhengqiao wrote: > Add STARRY 2081101QFH032011-53G 10.1" WUXGA TFT LCD panel > > Signed-off-by: xiazhengqiao > Tested-by: Hsin-Yi Wang > Reviewed-by: Hsin-Yi Wang OK cool... Do you know the name of the display controller used in this panel? We tend to name

Re: [PATCHv4] drm/amdgpu: disable ASPM on Intel Alder Lake based systems

2022-04-20 Thread Alex Deucher
On Wed, Apr 20, 2022 at 4:29 PM Paul Menzel wrote: > > Dear Richard, > > > Am 19.04.22 um 23:46 schrieb Gong, Richard: > > > On 4/14/2022 2:52 AM, Paul Menzel wrote: > >> [Cc: -kernel test robot ] > > […] > > >> Am 13.04.22 um 15:00 schrieb Alex Deucher: > >>> On Wed, Apr 13, 2022 at 3:43 AM Paul

Re: [PATCHv4] drm/amdgpu: disable ASPM on Intel Alder Lake based systems

2022-04-20 Thread Paul Menzel
Dear Richard, Am 19.04.22 um 23:46 schrieb Gong, Richard: On 4/14/2022 2:52 AM, Paul Menzel wrote: [Cc: -kernel test robot ] […] Am 13.04.22 um 15:00 schrieb Alex Deucher: On Wed, Apr 13, 2022 at 3:43 AM Paul Menzel wrote: Thank you for sending out v4. Am 12.04.22 um 23:50 schrieb Ri

Re: [Intel-gfx] [RFC v2 2/2] drm/doc/rfc: VM_BIND uapi definition

2022-04-20 Thread Niranjana Vishwanathapura
On Wed, Mar 30, 2022 at 02:51:41PM +0200, Daniel Vetter wrote: On Mon, Mar 07, 2022 at 12:31:46PM -0800, Niranjana Vishwanathapura wrote: VM_BIND und related uapi definitions Signed-off-by: Niranjana Vishwanathapura --- Documentation/gpu/rfc/i915_vm_bind.h | 176 +++

[pull] drm/msm: drm-msm-fixes-2022-04-20 for v5.18

2022-04-20 Thread Rob Clark
Hi Dave & Daniel, One more fix for v5.18.. actually a revert to fix iommu breakage on older devices The following changes since commit 390d645877ffd6dcb55f162d618045b2779217b3: drm/msm/gpu: Avoid -Wunused-function with !CONFIG_PM_SLEEP (2022-04-11 18:35:31 -0700) are available in the Git repo

Re: [PULL v2] gvt-next

2022-04-20 Thread Jason Gunthorpe
On Wed, Apr 20, 2022 at 02:46:00PM -0300, Jason Gunthorpe wrote: > On Wed, Apr 20, 2022 at 11:40:33AM -0600, Alex Williamson wrote: > > On Wed, 20 Apr 2022 13:43:51 -0300 > > Jason Gunthorpe wrote: > > > > > On Wed, Apr 20, 2022 at 04:34:47PM +, Wang, Zhi A wrote: > > > > Hi folks: > > > > >

Re: [PATCH 00/41] OMAP1 full multiplatform conversion

2022-04-20 Thread Arnd Bergmann
On Wed, Apr 20, 2022 at 7:08 PM Aaro Koskinen wrote: > On Tue, Apr 19, 2022 at 03:36:42PM +0200, Arnd Bergmann wrote: > > From: Arnd Bergmann > > > > This is the full series for converting OMAP1 to multiplatform, rebased > > from my 2019 attempt to do the same thing. The soc tree contains simpler

[PATCH v3 2/2] drm: rcar-du: Add RZ/G2L DSI driver

2022-04-20 Thread Biju Das
This driver supports the MIPI DSI encoder found in the RZ/G2L SoC. It currently supports DSI mode only. Signed-off-by: Biju Das --- v2->v3: * pass rzg2l_mipi_dsi pointer to {Link,Phy} register rd/wr function instead of the memory pointer * Fixed the comment in rzg2l_mipi_dsi_startup() * Rem

[PATCH v3 1/2] dt-bindings: display: bridge: Document RZ/G2L MIPI DSI TX bindings

2022-04-20 Thread Biju Das
The RZ/G2L MIPI DSI TX is embedded in the Renesas RZ/G2L family SoC's. It can operate in DSI mode, with up to four data lanes. Signed-off-by: Biju Das Reviewed-by: Rob Herring Reviewed-by: Laurent Pinchart Reviewed-by: Geert Uytterhoeven --- v2->v3: * Added Rb tag from Geert and Laurent * Fi

[PATCH v3 0/2] Add RZ/G2L DSI driver

2022-04-20 Thread Biju Das
This patch series aims to support the MIPI DSI encoder found in the RZ/G2L SoC. It currently supports DSI mode only. This unit supports MIPI Alliance Specification for Display Serial Interface (DSI) Specification. This unit provides a solution for transmitting MIPI DSI compliant digital video and

Re: [PATCH v2 13/17] drm/msm/dpu: introduce the dpu_encoder_phys_* for writeback

2022-04-20 Thread Dmitry Baryshkov
On Wed, 20 Apr 2022 at 22:36, Abhinav Kumar wrote: > > > > On 4/20/2022 12:26 PM, Dmitry Baryshkov wrote: > > On 20/04/2022 21:17, Abhinav Kumar wrote: > >> > >> > >> On 4/20/2022 12:49 AM, Dmitry Baryshkov wrote: > >>> On 20/04/2022 04:46, Abhinav Kumar wrote: > Introduce the dpu_encoder_phy

Re: [PATCH v2 13/17] drm/msm/dpu: introduce the dpu_encoder_phys_* for writeback

2022-04-20 Thread Abhinav Kumar
On 4/20/2022 12:26 PM, Dmitry Baryshkov wrote: On 20/04/2022 21:17, Abhinav Kumar wrote: On 4/20/2022 12:49 AM, Dmitry Baryshkov wrote: On 20/04/2022 04:46, Abhinav Kumar wrote: Introduce the dpu_encoder_phys_* for the writeback interface to handle writeback specific hardware programming.

Re: [PATCH 03/15] dma-buf & drm/amdgpu: remove dma_resv workaround

2022-04-20 Thread Zack Rusin
On Wed, 2022-04-20 at 20:56 +0200, Christian König wrote: > ⚠ External Email > > Am 20.04.22 um 20:49 schrieb Christian König: > > Am 20.04.22 um 20:41 schrieb Zack Rusin: > > > On Wed, 2022-04-20 at 19:40 +0200, Christian König wrote: > > > > Am 20.04.22 um 19:38 schrieb Zack Rusin: > > > > > On

Re: [PATCH v2 14/17] drm/msm/dpu: add the writeback connector layer

2022-04-20 Thread Dmitry Baryshkov
On 20/04/2022 04:46, Abhinav Kumar wrote: Introduce the dpu_writeback module which serves as the interface between dpu operations and the drm_writeback. This module manages the connector related operations for dpu writeback. changes in v2: - start using drm_writeback_connector_init_with

Re: [PATCH v2 14/17] drm/msm/dpu: add the writeback connector layer

2022-04-20 Thread Dmitry Baryshkov
On 20/04/2022 22:10, Abhinav Kumar wrote: On 4/20/2022 12:52 AM, Dmitry Baryshkov wrote: On 20/04/2022 04:46, Abhinav Kumar wrote: Introduce the dpu_writeback module which serves as the interface between dpu operations and the drm_writeback. This module manages the connector related operatio

Re: [PATCH v2 13/17] drm/msm/dpu: introduce the dpu_encoder_phys_* for writeback

2022-04-20 Thread Dmitry Baryshkov
On 20/04/2022 21:17, Abhinav Kumar wrote: On 4/20/2022 12:49 AM, Dmitry Baryshkov wrote: On 20/04/2022 04:46, Abhinav Kumar wrote: Introduce the dpu_encoder_phys_* for the writeback interface to handle writeback specific hardware programming. changes in v2: - rebase on msm-next and fix r

Re: [PATCH 26/41] ARM: omap1: relocate static I/O mapping

2022-04-20 Thread Arnd Bergmann
On Wed, Apr 20, 2022 at 3:46 PM Aaro Koskinen wrote: > > Hi, > > On Tue, Apr 19, 2022 at 03:37:08PM +0200, Arnd Bergmann wrote: > > From: Arnd Bergmann > > > > The address range 0xfee0-0xfeff is used for PCI and > > PCMCIA I/O port mappings, but OMAP1 has its static mappings > > there as

Re: [PATCH v2 14/17] drm/msm/dpu: add the writeback connector layer

2022-04-20 Thread Abhinav Kumar
On 4/20/2022 12:52 AM, Dmitry Baryshkov wrote: On 20/04/2022 04:46, Abhinav Kumar wrote: Introduce the dpu_writeback module which serves as the interface between dpu operations and the drm_writeback. This module manages the connector related operations for dpu writeback. changes in v2:

Re: [PATCH 03/15] dma-buf & drm/amdgpu: remove dma_resv workaround

2022-04-20 Thread Christian König
Am 20.04.22 um 20:49 schrieb Christian König: Am 20.04.22 um 20:41 schrieb Zack Rusin: On Wed, 2022-04-20 at 19:40 +0200, Christian König wrote: Am 20.04.22 um 19:38 schrieb Zack Rusin: On Wed, 2022-04-20 at 09:37 +0200, Christian König wrote: ⚠ External Email Hi Zack, Am 20.04.22 um 05:56

Re: [PATCH 03/15] dma-buf & drm/amdgpu: remove dma_resv workaround

2022-04-20 Thread Christian König
Am 20.04.22 um 20:41 schrieb Zack Rusin: On Wed, 2022-04-20 at 19:40 +0200, Christian König wrote: Am 20.04.22 um 19:38 schrieb Zack Rusin: On Wed, 2022-04-20 at 09:37 +0200, Christian König wrote: ⚠ External Email Hi Zack, Am 20.04.22 um 05:56 schrieb Zack Rusin: On Thu, 2022-04-07 at 10:5

Re: [PATCH v2 06/17] drm/msm/dpu: add dpu_hw_wb abstraction for writeback blocks

2022-04-20 Thread Dmitry Baryshkov
On Wed, 20 Apr 2022 at 21:11, Abhinav Kumar wrote: > > Hi Dmitry > > Sorry, I missed answering one question. > > On 4/20/2022 10:49 AM, Dmitry Baryshkov wrote: > > On Wed, 20 Apr 2022 at 20:01, Abhinav Kumar > > wrote: > >> > >> > >> > >> On 4/20/2022 12:20 AM, Dmitry Baryshkov wrote: > >>> On 2

Re: [PATCH v2 08/17] drm/msm/dpu: add changes to support writeback in hw_ctl

2022-04-20 Thread Dmitry Baryshkov
On Wed, 20 Apr 2022 at 20:16, Abhinav Kumar wrote: > > > > On 4/19/2022 11:59 PM, Dmitry Baryshkov wrote: > > On 20/04/2022 04:46, Abhinav Kumar wrote: > >> Add changes to support writeback module in the dpu_hw_ctl > >> interface. > >> > >> changes in v2: > >> - keep only the wb specific chang

  1   2   3   >