Re: [PATCH v2 0/5] Add option to mmap GEM buffers cached

2021-03-10 Thread Thomas Zimmermann
Hi Am 10.03.21 um 20:02 schrieb Paul Cercueil: Hi Thomas, Le lun. 8 mars 2021 à 9:41, Thomas Zimmermann a écrit : Hi Paul, having individual functions for each mode only makes sense if the decision is at compile time. But in patch 5, you're working around your earlier design by introducin

Re: [PATCH v5 02/14] media: docs: Add some RGB bus formats for i.MX8qm/qxp pixel combiner

2021-03-10 Thread Liu Ying
Hi Laurent, On Wed, 2021-03-10 at 15:24 +0200, Laurent Pinchart wrote: > Hi Liu, > > Thank you for the patch. Thanks for your review. > > On Wed, Mar 10, 2021 at 05:55:26PM +0800, Liu Ying wrote: > > This patch adds documentations for RGB666_1X30_CPADLO, RGB888_1X30_CPADLO, > > RGB666_1X36_CPA

[PATCH] drm/nouveau: fix dma syncing for loops (v2)

2021-03-10 Thread Dave Airlie
From: Dave Airlie The index variable should only be increased in one place. Noticed this while trying to track down another oops. v2: use while loop. Fixes: f295c8cfec83 ("drm/nouveau: fix dma syncing warning with debugging on.") Signed-off-by: Dave Airlie --- drivers/gpu/drm/nouveau/nouveau

[PATCH 1/2] drm/amdgpu: fix compile error on architecture s390

2021-03-10 Thread Oak Zeng
ioremap_cache is not supported on some architecture such as s390. Put the codes into a #ifdef to fix some compile error reported by test robot. Signed-off-by: Oak Zeng Reported-by: Kernel test robot --- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-

[PATCH 2/2] drm/amdgpu: fix a few compiler warnings

2021-03-10 Thread Oak Zeng
1. make function mmhub_v1_7_setup_vm_pt_regs static 2. indent a if statement Signed-off-by: Oak Zeng Reported-by: kernel test robot Reported-by: Dan Carpenter --- drivers/gpu/drm/amd/amdgpu/gfxhub_v1_1.c | 4 ++-- drivers/gpu/drm/amd/amdgpu/mmhub_v1_7.c | 2 +- 2 files changed, 3 insertions(+

Re: [PATCH v2 5/5] drm/ingenic: Add option to alloc cached GEM buffers

2021-03-10 Thread Hillf Danton
On Wed, 10 Mar 2021 19:01:01 + Paul Cercueil wrote: >Le lun. 8 mars 2021 � 11:47, Hillf Danton a �crit : >> On Sun, 7 Mar 2021 20:28:35 + Paul Cercueil wrote: >>> With the module parameter ingenic-drm.cached_gem_buffers, it is >>> possible >>> to specify that we want GEM buffers backe

Re: [PATCH] i915: Drop legacy execbuffer support

2021-03-10 Thread Keith Packard
Jason Ekstrand writes: > libdrm has supported the newer execbuffer2 ioctl and using it by default > when it exists since libdrm commit b50964027bef249a0cc3d511de05c2464e0a1e22 > which landed Mar 2, 2010. The i915 and i965 drivers in Mesa at the time > both used libdrm and so did the Intel X11 ba

Re: [PATCH v2 0/5] drm/panel-simple: Patches for N116BCA-EA1

2021-03-10 Thread Doug Anderson
Hi, On Wed, Mar 10, 2021 at 4:57 PM Linus Walleij wrote: > > On Thu, Mar 11, 2021 at 12:47 AM Doug Anderson wrote: > > > I guess what I'd say in summary is: > > > > * If you object to the retries in simple panel, I still hope the rest > > of the series can land. > > > > * If somehow this panel g

Re: [PATCH v2 0/5] drm/panel-simple: Patches for N116BCA-EA1

2021-03-10 Thread Linus Walleij
On Thu, Mar 11, 2021 at 12:47 AM Doug Anderson wrote: > I guess what I'd say in summary is: > > * If you object to the retries in simple panel, I still hope the rest > of the series can land. > > * If somehow this panel gets out into real users hands and we find > that the retries are necessary a

Re: [PATCH v2] fb_defio: Remove custom address_space_operations

2021-03-10 Thread William Kucharski
Looks good; my apologies for missing the leftover declaration of struct page in the same routine which you also found and removed this time around. > On Mar 10, 2021, at 11:55 AM, Matthew Wilcox (Oracle) > wrote: > > There's no need to give the page an address_space. Leaving the > page->mappi

Re: [PATCH v2 0/5] drm/panel-simple: Patches for N116BCA-EA1

2021-03-10 Thread Doug Anderson
Hi, On Wed, Mar 10, 2021 at 3:25 PM Linus Walleij wrote: > > On Fri, Jan 15, 2021 at 11:44 PM Douglas Anderson > wrote: > > > - ("drm/panel-simple: Don't wait longer for HPD...") new for v2. > > - ("drm/panel-simple: Retry if we timeout waiting for HPD") new for v2. > > I couldn't find these pa

Re: [PATCH v2 0/5] drm/panel-simple: Patches for N116BCA-EA1

2021-03-10 Thread Linus Walleij
On Fri, Jan 15, 2021 at 11:44 PM Douglas Anderson wrote: > - ("drm/panel-simple: Don't wait longer for HPD...") new for v2. > - ("drm/panel-simple: Retry if we timeout waiting for HPD") new for v2. I couldn't find these patches in my inbox but my concern would be that at some point panel-simple

Re: [PATCH] i915: Drop relocation support on all new hardware (v3)

2021-03-10 Thread Jason Ekstrand
+Zbigniew for review On Wed, Mar 10, 2021 at 3:50 PM Jason Ekstrand wrote: > > The Vulkan driver in Mesa for Intel hardware never uses relocations if > it's running on a version of i915 that supports at least softpin which > all versions of i915 supporting Gen12 do. On the OpenGL side, Gen12+ is

Re: don't base trees on 5.12-rc1

2021-03-10 Thread Daniel Vetter
On Wed, Mar 10, 2021 at 8:11 PM Dave Airlie wrote: > > On Wed, 10 Mar 2021 at 17:48, Maxime Ripard wrote: > > > > Hi Dave, > > > > On Wed, Mar 10, 2021 at 09:50:29AM +1000, Dave Airlie wrote: > > > I'm mostly sending this to the -misc maintainers because > > > drm-misc-fixes is based on rc1 at pr

Re: [PATCH v2 1/1] drm/amdkfd: fix build error with AMD_IOMMU_V2=m

2021-03-10 Thread Felix Kuehling
On 2021-03-09 11:50 a.m., Felix Kuehling wrote: Using 'imply AMD_IOMMU_V2' does not guarantee that the driver can link against the exported functions. If the GPU driver is built-in but the IOMMU driver is a loadable module, the kfd_iommu.c file is indeed built but does not work: x86_64-linux-ld:

[pull] amdgpu, radeon drm-fixes-5.12

2021-03-10 Thread Alex Deucher
Hi Dave, Daniel, Fixes for 5.12. The following changes since commit 1aa46901ee51c1c5779b3b239ea0374a50c6d9ff: drm/amdgpu: fix parameter error of RREG32_PCIE() in amdgpu_regs_pcie (2021-03-03 23:05:16 -0500) are available in the Git repository at: https://gitlab.freedesktop.org/agd5f/linux

[PATCH] i915: Drop relocation support on all new hardware (v3)

2021-03-10 Thread Jason Ekstrand
The Vulkan driver in Mesa for Intel hardware never uses relocations if it's running on a version of i915 that supports at least softpin which all versions of i915 supporting Gen12 do. On the OpenGL side, Gen12+ is only supported by iris which never uses relocations. The older i965 driver in Mesa

[PATCH 2/2] drm/i915/dp_link_training: Convert DRM_DEBUG_KMS to drm_dbg_kms

2021-03-10 Thread Sean Paul
From: Sean Paul One instance of DRM_DEBUG_KMS was leftover in dp_link_training, convert it to the new shiny. Signed-off-by: Sean Paul --- .../gpu/drm/i915/display/intel_dp_link_training.c | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/i915/d

[PATCH 1/2] drm/i915/dp_link_training: Add newlines to debug messages

2021-03-10 Thread Sean Paul
From: Sean Paul This patch adds some newlines which are missing from debug messages. This will prevent logs from being stacked up in dmesg. Signed-off-by: Sean Paul --- drivers/gpu/drm/i915/display/intel_dp_link_training.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a

[PATCH] i915: Drop relocation support on all new hardware

2021-03-10 Thread Jason Ekstrand
The Vulkan driver in Mesa for Intel hardware never uses relocations if it's running on a version of i915 that supports at least softpin which all versions of i915 supporting Gen12 do. On the OpenGL side, Gen12+ is only supported by iris which never uses relocations. The older i965 driver in Mesa

[PATCH] drm/i915/gem: Use user_write_access_begin() instead of user_access_begin()

2021-03-10 Thread Christophe Leroy
eb_copy_relocations() only do unsafe_put_user(), it only requires write access to user. Use user_write_access_begin() instead of user_access_begin(). Signed-off-by: Christophe Leroy --- drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) d

Re: [PATCH 4/9] drm: remove the drm file system

2021-03-10 Thread Al Viro
On Tue, Mar 09, 2021 at 04:53:43PM +0100, Christoph Hellwig wrote: > Just use the generic anon_inode file system. Are you changing the lifetime rules for that module? ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.or

Re: [PATCH v6 6/9] clk: stm32: Fix ltdc's clock turn off by clk_disable_unused() after kernel startup

2021-03-10 Thread dillon min
still need more expert to review, so just a gentle ping for this patch On Wed, May 27, 2020 at 4:35 PM Stephen Boyd wrote: > > Quoting dillon.min...@gmail.com (2020-05-27 00:27:30) > > From: dillon min > > > > stm32's clk driver register two ltdc gate clk to clk core by > > clk_hw_register_gate(

Re: [PATCH] fb_defio: Remove custom address_space_operations

2021-03-10 Thread William Kucharski
Looks good, just one super minor nit inline. Reviewed-by: William Kucharski > On Mar 10, 2021, at 6:51 AM, Matthew Wilcox (Oracle) > wrote: > > There's no need to give the page an address_space. Leaving the > page->mapping as NULL will cause the VM to handle set_page_dirty() > the same way t

Re: [PATCH 3/9] powerpc/pseries: remove the ppc-cmm file system

2021-03-10 Thread Al Viro
On Tue, Mar 09, 2021 at 04:53:42PM +0100, Christoph Hellwig wrote: > Just use the generic anon_inode file system. Umm... The only problem I see here is the lifetime rules for that module, and that's not something introduced in this patchset. Said that, looks like the logics around that place is d

Re: [PATCH v6 5/9] clk: stm32: Fix stm32f429's ltdc driver hang in set clock rate

2021-03-10 Thread dillon min
still need more expert to review, so just a gentle ping for this patch On Wed, May 27, 2020 at 4:35 PM Stephen Boyd wrote: > > Quoting dillon.min...@gmail.com (2020-05-27 00:27:29) > > From: dillon min > > > > This is due to misuse \u2018PLL_VCO_SAI' and'PLL_SAI' in clk-stm32f4.c > > 'PLL_SAI' i

[PATCH] i915: Drop legacy execbuffer support

2021-03-10 Thread Jason Ekstrand
libdrm has supported the newer execbuffer2 ioctl and using it by default when it exists since libdrm commit b50964027bef249a0cc3d511de05c2464e0a1e22 which landed Mar 2, 2010. The i915 and i965 drivers in Mesa at the time both used libdrm and so did the Intel X11 back-end. The SNA back-end for X11

[Bug 212077] AMD GPU discrete card memory at highest frequency even while not in use

2021-03-10 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=212077 --- Comment #6 from Bat Malin (bat_ma...@abv.bg) --- No change in the code of 5.12-rc2... for (i = 0; i < dep_mclk_table->count; i++) { for (j = 0; j < dep_sclk_table->count; j++) { valid_entry = false;

[Bug 212077] AMD GPU discrete card memory at highest frequency even while not in use

2021-03-10 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=212077 --- Comment #5 from Bat Malin (bat_ma...@abv.bg) --- Issue still present in 5.11.5 1.335057] amdgpu: Clock is not in range of specified clock range for watermark from DAL! Using highest water mark set. -- You may reply to this email to add a c

Re: [PATCH v5 12/14] drm/bridge: imx: Add LDB support for i.MX8qxp

2021-03-10 Thread kernel test robot
Hi Liu, Thank you for the patch! Yet something to improve: [auto build test ERROR on shawnguo/for-next] [also build test ERROR on robh/for-next drm-intel/for-linux-next drm-tip/drm-tip tegra-drm/drm/tegra/for-next linus/master drm-exynos/exynos-drm-next v5.12-rc2 next-20210310] [cannot apply

Re: [Intel-gfx] [RFC v1 6/6] drm/edid: use the new displayid iterator for tile info

2021-03-10 Thread Ville Syrjälä
On Tue, Mar 09, 2021 at 03:54:14PM +0200, Jani Nikula wrote: > Neatly reduce displayid boilerplate in code. Remove excessive debug > logging while at it, no other functional changes. > > The old displayid iterator becomes unused; remove it as well as make > drm_find_displayid_extension() static. >

Re: [RFC v1 5/6] drm/edid: use the new displayid iterator for finding CEA extension

2021-03-10 Thread Ville Syrjälä
On Tue, Mar 09, 2021 at 03:54:13PM +0200, Jani Nikula wrote: > Neatly reduce displayid boilerplate in code. No functional changes. > > Signed-off-by: Jani Nikula Reviewed-by: Ville Syrjälä > --- > drivers/gpu/drm/drm_edid.c | 25 + > 1 file changed, 9 insertions(+), 16

Re: don't base trees on 5.12-rc1

2021-03-10 Thread Dave Airlie
On Wed, 10 Mar 2021 at 17:48, Maxime Ripard wrote: > > Hi Dave, > > On Wed, Mar 10, 2021 at 09:50:29AM +1000, Dave Airlie wrote: > > I'm mostly sending this to the -misc maintainers because > > drm-misc-fixes is based on rc1 at present. > > > > This needs to be *rebased* not merged up to 5.12-rc2.

Re: [RFC v1 4/6] drm/edid: use the new displayid iterator for detailed modes

2021-03-10 Thread Ville Syrjälä
On Tue, Mar 09, 2021 at 03:54:12PM +0200, Jani Nikula wrote: > Neatly reduce displayid boilerplate in code. No functional changes. > > Signed-off-by: Jani Nikula Reviewed-by: Ville Syrjälä > --- > drivers/gpu/drm/drm_edid.c | 23 ++- > 1 file changed, 6 insertions(+), 17 d

Re: [RFC v1 3/6] drm/displayid: add new displayid section/block iterators

2021-03-10 Thread Ville Syrjälä
On Tue, Mar 09, 2021 at 03:54:11PM +0200, Jani Nikula wrote: > Iterating DisplayID blocks across sections (in EDID extensions) is > unnecessarily complicated for the caller. Implement DisplayID iterators > to go through all blocks in all sections. > > Usage example: > > const struct display

Re: [PATCH v2 0/5] Add option to mmap GEM buffers cached

2021-03-10 Thread Paul Cercueil
Hi Thomas, Le lun. 8 mars 2021 à 9:41, Thomas Zimmermann a écrit : Hi Paul, having individual functions for each mode only makes sense if the decision is at compile time. But in patch 5, you're working around your earlier design by introducing in-driver helpers that select the correct CMA

Re: [PATCH v2 5/5] drm/ingenic: Add option to alloc cached GEM buffers

2021-03-10 Thread Paul Cercueil
Hi Hillf, Le lun. 8 mars 2021 à 11:47, Hillf Danton a écrit : On Sun, 7 Mar 2021 20:28:35 + Paul Cercueil wrote: With the module parameter ingenic-drm.cached_gem_buffers, it is possible to specify that we want GEM buffers backed by non-coherent memory. This dramatically speeds up so

Re: [Intel-gfx] [RFC v1 2/6] drm/displayid: add separate drm_displayid.c

2021-03-10 Thread Ville Syrjälä
On Tue, Mar 09, 2021 at 03:54:10PM +0200, Jani Nikula wrote: > We'll be adding more DisplayID specific functions going forward, so > start off by splitting out a few functions to a separate file. > > We don't bother with exporting the functions; at least for now they > should be needed solely with

[PATCH v2] fb_defio: Remove custom address_space_operations

2021-03-10 Thread Matthew Wilcox (Oracle)
There's no need to give the page an address_space. Leaving the page->mapping as NULL will cause the VM to handle set_page_dirty() the same way that it's handled now, and that was the only reason to set the address_space in the first place. Signed-off-by: Matthew Wilcox (Oracle) Reviewed-by: Chri

Re: [Intel-gfx] [RFC v1 1/6] drm/edid: make a number of functions, parameters and variables const

2021-03-10 Thread Ville Syrjälä
On Tue, Mar 09, 2021 at 03:54:09PM +0200, Jani Nikula wrote: > If there's no need to change it, it should be const. There's more to be > done, but start off with changes that make follow-up work easier. No > functional changes. > > Signed-off-by: Jani Nikula const is good. Reviewed-by: Ville Sy

Re: [PATCH v3 1/3] drm/dp_helper: Define options for FRL training for HDMI2.1 PCON

2021-03-10 Thread Ville Syrjälä
On Tue, Mar 09, 2021 at 10:09:13AM +0530, Ankit Nautiyal wrote: > Currently the FRL training mode (Concurrent, Sequential) and > training type (Normal, Extended) are not defined properly and > are passed as bool values in drm_helpers for pcon > configuration for FRL training. > > This patch: > -Ad

Re: [PATCH] fb_defio: Remove custom address_space_operations

2021-03-10 Thread Matthew Wilcox
On Wed, Mar 10, 2021 at 06:38:07PM +, William Kucharski wrote: > Looks good, just one super minor nit inline. > > @@ -228,13 +202,6 @@ void fb_deferred_io_cleanup(struct fb_info *info) > > > > BUG_ON(!fbdefio); > > cancel_delayed_work_sync(&info->deferred_work); > > - > > - /* clear

Re: [PATCH 14/17] iommu: remove DOMAIN_ATTR_DMA_USE_FLUSH_QUEUE

2021-03-10 Thread Robin Murphy
On 2021-03-10 09:25, Christoph Hellwig wrote: On Wed, Mar 10, 2021 at 10:15:01AM +0100, Christoph Hellwig wrote: On Thu, Mar 04, 2021 at 03:25:27PM +, Robin Murphy wrote: On 2021-03-01 08:42, Christoph Hellwig wrote: Use explicit methods for setting and querying the information instead.

Re: dri-devel Digest, Vol 132, Issue 196

2021-03-10 Thread chatzem
Sent from ProtonMail mobile Original Message On Mar 10, 2021, 12:10, wrote: > Send dri-devel mailing list submissions to > dri-devel@lists.freedesktop.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.freedesktop.org/mailman/listinfo/dri-devel > o

Re: dri-devel Digest, Vol 132, Issue 196

2021-03-10 Thread chatzem
Sent from ProtonMail mobile Original Message On Mar 10, 2021, 12:10, wrote: > Send dri-devel mailing list submissions to > dri-devel@lists.freedesktop.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.freedesktop.org/mailman/listinfo/dri-devel > o

Re: dri-devel Digest, Vol 132, Issue 198

2021-03-10 Thread chatzem
Sent from ProtonMail mobile Original Message On Mar 10, 2021, 12:10, wrote: > Send dri-devel mailing list submissions to > dri-devel@lists.freedesktop.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.freedesktop.org/mailman/listinfo/dri-devel > o

Re: dri-devel Digest, Vol 132, Issue 196

2021-03-10 Thread chatzem
Sent from ProtonMail mobile Original Message On Mar 10, 2021, 12:10, wrote: > Send dri-devel mailing list submissions to > dri-devel@lists.freedesktop.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.freedesktop.org/mailman/listinfo/dri-devel > o

Re: dri-devel Digest, Vol 132, Issue 206

2021-03-10 Thread chatzem
+ "failed to find bridge for companion bridge: %d\n", ret); >> + goto out; >> + } >> + >> + DRM_DEV_DEBUG_DRIVER(dev, >> + "dual-link configuration detected (companion bridge %pOF)\n", >> + companion); >> + >>

Re: dri-devel Digest, Vol 132, Issue 197

2021-03-10 Thread chatzem
Sent from ProtonMail mobile Original Message On Mar 10, 2021, 12:10, wrote: > Send dri-devel mailing list submissions to > dri-devel@lists.freedesktop.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.freedesktop.org/mailman/listinfo/dri-devel > o

Re: dri-devel Digest, Vol 132, Issue 197

2021-03-10 Thread chatzem
Sent from ProtonMail mobile Original Message On Mar 10, 2021, 12:10, wrote: > Send dri-devel mailing list submissions to > dri-devel@lists.freedesktop.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.freedesktop.org/mailman/listinfo/dri-devel > o

Re: dri-devel Digest, Vol 132, Issue 197

2021-03-10 Thread chatzem
Qa Sent from ProtonMail mobile Original Message On Mar 10, 2021, 12:10, wrote: > Send dri-devel mailing list submissions to > dri-devel@lists.freedesktop.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PATCH v5 0/7] drm: add simpledrm driver

2021-03-10 Thread nerdopolis
On Wednesday, March 10, 2021 4:10:35 AM EST Thomas Zimmermann wrote: > Hi > > Am 10.03.21 um 03:50 schrieb nerdopolis: > > On Friday, September 2, 2016 4:22:38 AM EST David Herrmann wrote: > >> Hey > >> > >> On request of Noralf, I picked up the patches and prepared v5. Works fine > >> with > >>

Re: [PATCH v2 0/3] drm/amdgpu: Remove in_interrupt() usage.

2021-03-10 Thread Sebastian Andrzej Siewior
On 2021-02-09 18:43:54 [+0100], Christian König wrote: > Hi Sebastian, Hi Christian, > to be honest I'm thinking about that for quite some time now and I don't > think that this is possible without a severe rewrite of the driver. > > The problem is simply that we have a lot of functions which dea

Re: [PATCH]] drm/amdgpu/gfx9: add gfxoff quirk

2021-03-10 Thread Alex Deucher
On Wed, Mar 10, 2021 at 11:37 AM Daniel Gomez wrote: > > Disabling GFXOFF via the quirk list fixes a hardware lockup in > Ryzen V1605B, RAVEN 0x1002:0x15DD rev 0x83. > > Signed-off-by: Daniel Gomez > --- > > This patch is a continuation of the work here: > https://lkml.org/lkml/2021/2/3/122 where

Re: Is LLVM 13 (git) really ready for testing/development? libclc didn't compile

2021-03-10 Thread Jan Vesely
One more update. without changing any cmake files the following cmdline should work: cmake ../llvm-project/libclc/ -DLLVM_CONFIG=/usr/local/llvm-git/bin/llvm-config -DCMAKE_LLAsm_FLAGS=-cl-no-stdinc -DCMAKE_CLC_FLAGS=-cl-no-stdinc Jan On Wed, Mar 10, 2021 at 1:20 AM Jan Vesely wrote: > hi, > > s

[PATCH]] drm/amdgpu/gfx9: add gfxoff quirk

2021-03-10 Thread Daniel Gomez
Disabling GFXOFF via the quirk list fixes a hardware lockup in Ryzen V1605B, RAVEN 0x1002:0x15DD rev 0x83. Signed-off-by: Daniel Gomez --- This patch is a continuation of the work here: https://lkml.org/lkml/2021/2/3/122 where a hardware lockup was discussed and a dma_fence deadlock was provoke

[PATCH] drm/amdgpu: Ensure that the modifier requested is supported by plane.

2021-03-10 Thread Mark Yacoub
From: Mark Yacoub On initializing the framebuffer, call drm_any_plane_has_format to do a check if the modifier is supported. drm_any_plane_has_format calls dm_plane_format_mod_supported which is extended to validate that the modifier is on the list of the plane's supported modifiers. The bug was

[PATCH] dt-bindings: display: sitronix, st7789v: Add Waveshare 2inch LCD module

2021-03-10 Thread Carlis
From: "Carlis" Document support for the Waveshare 2inch LCD module display, which is a 240x320 2" TFT display driven by a Sitronix ST7789V TFT Controller. Signed-off-by: Carlis --- .../bindings/display/sitronix,st7789v.yaml | 72 ++ 1 file changed, 72 insertions(+)

[PATCH] drm/tiny: add support for Waveshare 2inch LCD module

2021-03-10 Thread Carlis
&st7789v_fops, + DRM_GEM_CMA_DRIVER_OPS_VMAP, + .debugfs_init = mipi_dbi_debugfs_init, + .name = "st7789v", + .desc = "Sitronix ST7789R", + .date = "20210310", + .major

[PATCH] fb_defio: Remove custom address_space_operations

2021-03-10 Thread Matthew Wilcox (Oracle)
There's no need to give the page an address_space. Leaving the page->mapping as NULL will cause the VM to handle set_page_dirty() the same way that it's set now, and that was the only reason to set the address_space in the first place. Signed-off-by: Matthew Wilcox (Oracle) --- drivers/video/fb

Re: [PATCH v5 01/14] media: uapi: Add some RGB bus formats for i.MX8qm/qxp pixel combiner

2021-03-10 Thread Laurent Pinchart
Hi Liu, Thank you for the patch. On Wed, Mar 10, 2021 at 05:55:25PM +0800, Liu Ying wrote: > This patch adds RGB666_1X30_CPADLO, RGB888_1X30_CPADLO, RGB666_1X36_CPADLO > and RGB888_1X36_CPADLO bus formats used by i.MX8qm/qxp pixel combiner. > The RGB pixels with padding low per component are tran

Re: [PATCH v5 13/14] drm/bridge: imx: Add LDB support for i.MX8qm

2021-03-10 Thread kernel test robot
Hi Liu, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on shawnguo/for-next] [also build test WARNING on robh/for-next drm-intel/for-linux-next drm-tip/drm-tip tegra-drm/drm/tegra/for-next linus/master drm-exynos/exynos-drm-next v5.12-rc2 next-20210310] [cannot

Re: [PATCH v5 02/14] media: docs: Add some RGB bus formats for i.MX8qm/qxp pixel combiner

2021-03-10 Thread Laurent Pinchart
Hi Liu, Thank you for the patch. On Wed, Mar 10, 2021 at 05:55:26PM +0800, Liu Ying wrote: > This patch adds documentations for RGB666_1X30_CPADLO, RGB888_1X30_CPADLO, > RGB666_1X36_CPADLO and RGB888_1X36_CPADLO bus formats used by i.MX8qm/qxp > pixel combiner. The RGB pixels with padding low pe

Re: [PATCH] drm/gem: add checks of drm_gem_object->funcs

2021-03-10 Thread Pavel Turinský
On 08. 03. 21 20:20, Alex Deucher wrote: > Should be fixed here: > https://patchwork.freedesktop.org/patch/423250/ > > Alex Thanks, it works for me! I tried only the first patch from the series, the rest didn't look relevant to me. I can try that too. I didn't test it thoroughly (I don't know ho

Re: [PATCH v5 12/14] drm/bridge: imx: Add LDB support for i.MX8qxp

2021-03-10 Thread kernel test robot
Hi Liu, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on shawnguo/for-next] [also build test WARNING on robh/for-next drm-intel/for-linux-next drm-tip/drm-tip tegra-drm/drm/tegra/for-next linus/master drm-exynos/exynos-drm-next v5.12-rc2 next-20210310] [cannot

Re: [PATCH] drm: writeback: Use simple encoder

2021-03-10 Thread kernel test robot
it-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Tian-Tao/drm-writeback-Use-simple-encoder/20210310-153629 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 05a59d79793d482f628a31753c671f2e92178a21 config: x86_64-randconfig-m001-20210308 (a

Re: [PATCH v7 3/3] drm: Add GUD USB Display driver

2021-03-10 Thread Noralf Trønnes
Den 10.03.2021 05.55, skrev Peter Stuge: > Noralf Trønnes wrote: >>> Depending on how long it takes for the DMA mask dependency patch to show >>> up in drm-misc-next, I will either publish a new version or apply the >>> current and provide patches with the necessary fixes. >> >> In case I apply

Re: [Freedreno] [PATCH 16/17] iommu: remove DOMAIN_ATTR_IO_PGTABLE_CFG

2021-03-10 Thread Will Deacon
On Wed, Mar 10, 2021 at 09:58:06AM +0100, Christoph Hellwig wrote: > On Fri, Mar 05, 2021 at 10:00:12AM +, Will Deacon wrote: > > > But one thing I'm not sure about is whether > > > IO_PGTABLE_QUIRK_ARM_OUTER_WBWA is something that other devices > > > *should* be using as well, but just haven't

[PATCH v5 14/14] MAINTAINERS: add maintainer for DRM bridge drivers for i.MX SoCs

2021-03-10 Thread Liu Ying
Add myself as the maintainer of DRM bridge drivers for i.MX SoCs. Signed-off-by: Liu Ying --- v4->v5: * No change. v3->v4: * No change. v2->v3: * No change. v1->v2: * No change. MAINTAINERS | 10 ++ 1 file changed, 10 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 63bd69

[PATCH v5 13/14] drm/bridge: imx: Add LDB support for i.MX8qm

2021-03-10 Thread Liu Ying
This patch adds a drm bridge driver for i.MX8qm LVDS display bridge(LDB) which is officially named as pixel mapper. The LDB has two channels. Each of them supports up to 30bpp parallel input color format and can map the input to VESA or JEIDA standards. The two channels can be used simultaneously

[PATCH v5 12/14] drm/bridge: imx: Add LDB support for i.MX8qxp

2021-03-10 Thread Liu Ying
This patch adds a drm bridge driver for i.MX8qxp LVDS display bridge(LDB) which is officially named as pixel mapper. The LDB has two channels. Each of them supports up to 24bpp parallel input color format and can map the input to VESA or JEIDA standards. The two channels cannot be used simultaneo

[PATCH v5 11/14] dt-bindings: display: bridge: Add i.MX8qm/qxp LVDS display bridge binding

2021-03-10 Thread Liu Ying
This patch adds bindings for i.MX8qm/qxp LVDS display bridge(LDB). Reviewed-by: Rob Herring Signed-off-by: Liu Ying --- v4->v5: * No change. v3->v4: * Add Rob's R-b tag. v2->v3: * Drop 'fsl,syscon' property. (Rob) * Mention the CSR module controls LDB. v1->v2: * Use graph schema. (Laurent) *

[PATCH v5 10/14] drm/bridge: imx: Add LDB driver helper support

2021-03-10 Thread Liu Ying
This patch adds a helper to support LDB drm bridge drivers for i.MX SoCs. Helper functions supported by this helper should implement common logics for all LDB modules embedded in i.MX SoCs. Signed-off-by: Liu Ying --- v4->v5: * Make imx-ldb-helper be a pure object to be linked with i.MX8qxp LDB

[PATCH v5 09/14] drm/bridge: imx: Add i.MX8qxp pixel link to DPI support

2021-03-10 Thread Liu Ying
This patch adds a drm bridge driver for i.MX8qxp pixel link to display pixel interface(PXL2DPI). The PXL2DPI interfaces the pixel link 36-bit data output and the DSI controller’s MIPI-DPI 24-bit data input, and inputs of LVDS Display Bridge(LDB) module used in LVDS mode, to remap the pixel color c

[PATCH v5 07/14] dt-bindings: mfd: Add i.MX8qm/qxp Control and Status Registers module binding

2021-03-10 Thread Liu Ying
This patch adds bindings for i.MX8qm/qxp Control and Status Registers module. Signed-off-by: Liu Ying --- v4->v5: * Newly introduced in v5. (Rob) .../devicetree/bindings/mfd/fsl,imx8qxp-csr.yaml | 202 + 1 file changed, 202 insertions(+) create mode 100644 Documentation/d

[PATCH v5 08/14] dt-bindings: display: bridge: Add i.MX8qxp pixel link to DPI binding

2021-03-10 Thread Liu Ying
This patch adds bindings for i.MX8qxp pixel link to DPI(PXL2DPI). Signed-off-by: Liu Ying --- v4->v5: * No change. v3->v4: * Add 'fsl,sc-resource' property. (Rob) v2->v3: * Drop 'fsl,syscon' property. (Rob) * Mention the CSR module controls PXL2DPI. v1->v2: * Use graph schema. (Laurent) .../

[PATCH v5 06/14] drm/bridge: imx: Add i.MX8qm/qxp display pixel link support

2021-03-10 Thread Liu Ying
This patch adds a drm bridge driver for i.MX8qm/qxp display pixel link. The pixel link forms a standard asynchronous linkage between pixel sources(display controller or camera module) and pixel consumers(imaging or displays). It consists of two distinct functions, a pixel transfer function and a c

[PATCH v5 05/14] dt-bindings: display: bridge: Add i.MX8qm/qxp display pixel link binding

2021-03-10 Thread Liu Ying
This patch adds bindings for i.MX8qm/qxp display pixel link. Reviewed-by: Rob Herring Signed-off-by: Liu Ying --- v4->v5: * No change. v3->v4: * No change. v2->v3: * Add Rob's R-b tag. v1->v2: * Use graph schema. (Laurent) * Require all four pixel link output ports. (Laurent) * Mention pixel

[PATCH v5 03/14] dt-bindings: display: bridge: Add i.MX8qm/qxp pixel combiner binding

2021-03-10 Thread Liu Ying
This patch adds bindings for i.MX8qm/qxp pixel combiner. Reviewed-by: Rob Herring Signed-off-by: Liu Ying --- v4->v5: * No change. v3->v4: * No change. v2->v3: * Add Rob's R-b tag. v1->v2: * Use graph schema. (Laurent) * Use enum instead of oneOf + const for the reg property of pixel combiner

[PATCH v5 04/14] drm/bridge: imx: Add i.MX8qm/qxp pixel combiner support

2021-03-10 Thread Liu Ying
This patch adds a drm bridge driver for i.MX8qm/qxp pixel combiner. The pixel combiner takes two output streams from a single display controller and manipulates the two streams to support a number of modes(bypass, pixel combine, YUV444 to YUV422, split_RGB) configured as either one screen, two scre

[PATCH v5 02/14] media: docs: Add some RGB bus formats for i.MX8qm/qxp pixel combiner

2021-03-10 Thread Liu Ying
This patch adds documentations for RGB666_1X30_CPADLO, RGB888_1X30_CPADLO, RGB666_1X36_CPADLO and RGB888_1X36_CPADLO bus formats used by i.MX8qm/qxp pixel combiner. The RGB pixels with padding low per component are transmitted on a 30-bit input bus(10-bit per component) from a display controller o

[PATCH v5 01/14] media: uapi: Add some RGB bus formats for i.MX8qm/qxp pixel combiner

2021-03-10 Thread Liu Ying
This patch adds RGB666_1X30_CPADLO, RGB888_1X30_CPADLO, RGB666_1X36_CPADLO and RGB888_1X36_CPADLO bus formats used by i.MX8qm/qxp pixel combiner. The RGB pixels with padding low per component are transmitted on a 30-bit input bus(10-bit per component) from a display controller or a 36-bit output bu

[PATCH v5 00/14] Add some DRM bridge drivers support for i.MX8qm/qxp SoCs

2021-03-10 Thread Liu Ying
Hi, This is the v5 series to add some DRM bridge drivers support for i.MX8qm/qxp SoCs. The bridges may chain one by one to form display pipes to support LVDS displays. The relevant display controller is DPU embedded in i.MX8qm/qxp SoCs. The DPU KMS driver can be found at: https://www.spinics.ne

Re: [PATCH 2/9] fs: add an argument-less alloc_anon_inode

2021-03-10 Thread Christian Brauner
On Tue, Mar 09, 2021 at 04:53:41PM +0100, Christoph Hellwig wrote: > Add a new alloc_anon_inode helper that allocates an inode on > the anon_inode file system. > > Signed-off-by: Christoph Hellwig > --- Looks good! Reviewed-by: Christian Brauner ___ d

Re: [PATCH 1/9] fs: rename alloc_anon_inode to alloc_anon_inode_sb

2021-03-10 Thread Christian Brauner
On Tue, Mar 09, 2021 at 04:53:40PM +0100, Christoph Hellwig wrote: > Rename alloc_inode to free the name for a new variant that does not > need boilerplate to create a super_block first. > > Signed-off-by: Christoph Hellwig > --- Looks good (with the metioned fix in https://lore.kernel.org/lkml/

Re: [PATCH 1/2] dt-bindings: leds: backlight: qcom-wled: Add PMI8994 compatible

2021-03-10 Thread Lee Jones
On Sun, 28 Feb 2021, Konrad Dybcio wrote: > Document the newly added PMI8994 compatible. > > Signed-off-by: Konrad Dybcio Applied, thanks. -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog

Re: [PATCH v5 0/7] drm: add simpledrm driver

2021-03-10 Thread Thomas Zimmermann
Hi Am 10.03.21 um 03:50 schrieb nerdopolis: On Friday, September 2, 2016 4:22:38 AM EST David Herrmann wrote: Hey On request of Noralf, I picked up the patches and prepared v5. Works fine with Xorg, if configured according to: https://lists.freedesktop.org/archives/dri-devel/2014-January/

[PATCH] drm/imx/dcss: Use simple encoder

2021-03-10 Thread Tian Tao
The driver uses empty implementations for its encoders. Replace the code with the generic simple encoder. Signed-off-by: Tian Tao --- drivers/gpu/drm/imx/dcss/dcss-kms.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/imx/dcss/dcss-kms.c b/drivers/