[PATCH v7 5/5] drm/i915/uapi: document behaviour for DG2 64K support

2022-02-01 Thread Robert Beckett
From: Matthew Auld On discrete platforms like DG2, we need to support a minimum page size of 64K when dealing with device local-memory. This is quite tricky for various reasons, so try to document the new implicit uapi for this. v3: fix typos and less emphasis v2: Fixed suggestions on

[PATCH v7 1/5] drm/i915: add needs_compact_pt flag

2022-02-01 Thread Robert Beckett
From: Ramalingam C Add a new platform flag, needs_compact_pt, to mark the requirement of compact pt layout support for the ppGTT when using 64K GTT pages. With this flag has_64k_pages will only indicate requirement of 64K GTT page sizes or larger for device local memory access. v6: *

[PATCH v7 2/5] drm/i915: enforce min GTT alignment for discrete cards

2022-02-01 Thread Robert Beckett
From: Matthew Auld For local-memory objects we need to align the GTT addresses to 64K, both for the ppgtt and ggtt. We need to support vm->min_alignment > 4K, depending on the vm itself and the type of object we are inserting. With this in mind update the GTT selftests to take this into

[PATCH v7 3/5] drm/i915: support 64K GTT pages for discrete cards

2022-02-01 Thread Robert Beckett
From: Matthew Auld discrete cards optimise 64K GTT pages for local-memory, since everything should be allocated at 64K granularity. We say goodbye to sparse entries, and instead get a compact 256B page-table for 64K pages, which should be more cache friendly. 4K pages for local-memory are no

[PATCH v7 4/5] drm/i915: add gtt misalignment test

2022-02-01 Thread Robert Beckett
add test to check handling of misaligned offsets and sizes v4: * remove spurious blank lines * explicitly cast intel_region_id to intel_memory_type in misaligned_pin Reported-by: kernel test robot v6: * use NEEDS_COMPACT_PT instead of hard coding for DG2 v7: * use

[PATCH v7 0/5] discrete card 64K page support

2022-02-01 Thread Robert Beckett
This series continues support for 64K pages for discrete cards. It supersedes the 64K patches from https://patchwork.freedesktop.org/series/95686/#rev4 Changes since that series: - set min alignment for DG2 to 2MB in i915_address_space_init - replace coloring with simpler 2MB VA alignment for

Re: [PATCH v3 3/3] fbcon: Add option to enable legacy hardware acceleration

2022-02-01 Thread Daniel Vetter
On Tue, Feb 1, 2022 at 7:59 PM Helge Deller wrote: > > Add a config option CONFIG_FRAMEBUFFER_CONSOLE_LEGACY_ACCELERATION to > enable bitblt and fillrect hardware acceleration in the framebuffer > console. If disabled, such acceleration will not be used, even if it is > supported by the graphics

Re: [PATCH 1/4] drm: Add I2C connector type

2022-02-01 Thread Simon Ser
On Tuesday, February 1st, 2022 at 21:57, Sam Ravnborg wrote: > As I wrote in another part of this thread(s) - typing the patch is easy. > But I do not understand the userspace implications so I need someone > else to say go. User-space shouldn't really use the connector for anything except

Re: [PATCH v3 3/3] fbcon: Add option to enable legacy hardware acceleration

2022-02-01 Thread Helge Deller
Hello Daniel, On 2/1/22 21:11, Daniel Vetter wrote: > On Tue, Feb 1, 2022 at 7:59 PM Helge Deller wrote: >> >> Add a config option CONFIG_FRAMEBUFFER_CONSOLE_LEGACY_ACCELERATION to >> enable bitblt and fillrect hardware acceleration in the framebuffer >> console. If disabled, such acceleration

Re: [PATCH 1/4] drm: Add I2C connector type

2022-02-01 Thread Sam Ravnborg
Hi Noralf, On Tue, Feb 01, 2022 at 01:58:16PM +0100, Noralf Trønnes wrote: > > > Den 31.01.2022 21.52, skrev Sam Ravnborg: > > On Mon, Jan 31, 2022 at 09:12:21PM +0100, Javier Martinez Canillas wrote: > >> There isn't a connector type for display controllers accesed through I2C, > >> most

Re: [Intel-gfx] [PATCH v2 04/11] drm/i915: Use str_enable_disable()

2022-02-01 Thread Matt Roper
On Wed, Jan 26, 2022 at 01:39:44AM -0800, Lucas De Marchi wrote: > Remove the local enabledisable() implementation and adopt the > str_enable_disable() from linux/string_helpers.h. > > Signed-off-by: Lucas De Marchi > Acked-by: Daniel Vetter > Acked-by: Jani Nikula There's an open-coded

Re: [PATCH v3 1/3] dt-bindings: sharp,lq101r1sx01: Add compatible for LQ101R1SX03

2022-02-01 Thread Rob Herring
On Mon, 31 Jan 2022 02:59:43 +0300, Dmitry Osipenko wrote: > From: Anton Bambura > > LQ101R1SX03 is compatible with LQ101R1SX01 from software perspective, > document it. The LQ101R1SX03 is a newer revision of LQ101R1SX01, it has > minor differences in hardware pins in comparison to the older

Re: [PATCH v1 1/4] fbtft: Unorphan the driver

2022-02-01 Thread Sam Ravnborg
Hi Daniel, On Tue, Feb 01, 2022 at 06:06:33PM +0100, Daniel Vetter wrote: > On Tue, Feb 1, 2022 at 6:01 PM Geert Uytterhoeven > wrote: > > > > Hi Thomas, > > > > On Tue, Feb 1, 2022 at 5:16 PM Thomas Zimmermann > > wrote: > > > Am 31.01.22 um 11:18 schrieb Javier Martinez Canillas: > > > >

Re: [PATCH 16/19] drm/i915/guc: Use a single pass to calculate regset

2022-02-01 Thread Daniele Ceraolo Spurio
On 1/26/2022 12:36 PM, Lucas De Marchi wrote: The ADS initialitazion was using 2 passes to calculate the regset sent to GuC to initialize each engine: the first pass to just have the final object size and the second to set each register in place in the final gem object. However in order to

Re: [PATCH v12 3/9] dt-bindings: display: Add ingenic, jz4780-dw-hdmi DT Schema

2022-02-01 Thread Rob Herring
On Mon, 31 Jan 2022 13:26:49 +0100, H. Nikolaus Schaller wrote: > From: Sam Ravnborg > > Add DT bindings for the hdmi driver for the Ingenic JZ4780 SoC. > Based on .txt binding from Zubair Lutfullah Kakakhel > > Signed-off-by: Sam Ravnborg > Signed-off-by: H. Nikolaus Schaller > Cc: Rob

[PATCH v3 1/3] Revert "fbdev: Garbage collect fbdev scrolling acceleration, part 1 (from TODO list)"

2022-02-01 Thread Helge Deller
This reverts commit b3ec8cdf457e5e63d396fe1346cc788cf7c1b578. Revert the second (of 2) commits which disabled scrolling acceleration in fbcon/fbdev. It introduced a regression for fbdev-supported graphic cards because of the performance penalty by doing screen scrolling by software instead of

[PATCH v3 0/3] Fix regression introduced by disabling accelerated scrolling in fbcon

2022-02-01 Thread Helge Deller
This series reverts two patches which disabled scrolling acceleration in fbcon/fbdev. Those patches introduced a regression for fbdev-supported graphic cards because of the performance penalty by doing screen scrolling by software instead of using existing 2D hardware acceleration. The third

[PATCH v3 2/3] Revert "fbcon: Disable accelerated scrolling"

2022-02-01 Thread Helge Deller
This reverts commit 39aead8373b3c20bb5965c024dfb51a94e526151. Revert the first (of 2) commits which disabled scrolling acceleration in fbcon/fbdev. It introduced a regression for fbdev-supported graphic cards because of the performance penalty by doing screen scrolling by software instead of

[PATCH v3 3/3] fbcon: Add option to enable legacy hardware acceleration

2022-02-01 Thread Helge Deller
Add a config option CONFIG_FRAMEBUFFER_CONSOLE_LEGACY_ACCELERATION to enable bitblt and fillrect hardware acceleration in the framebuffer console. If disabled, such acceleration will not be used, even if it is supported by the graphics hardware driver. If you plan to use DRM as your main graphics

Re: [PATCH v1 1/4] fbtft: Unorphan the driver

2022-02-01 Thread Thomas Zimmermann
Hi Am 01.02.22 um 18:00 schrieb Geert Uytterhoeven: Hi Thomas, On Tue, Feb 1, 2022 at 5:16 PM Thomas Zimmermann wrote: Am 31.01.22 um 11:18 schrieb Javier Martinez Canillas: Another thing that's missing is a DRM_MODE_CONNECTOR_I2C, because I used for now a DRM_MODE_CONNECTOR_Unknown. That

[PATCH] drm/vc4: add tracepoints for CL submissions

2022-02-01 Thread Melissa Wen
Trace submit_cl_ioctl and related IRQs for CL submission and bin/render jobs execution. It might be helpful to get a rendering timeline and track job throttling. Signed-off-by: Melissa Wen --- drivers/gpu/drm/vc4/vc4_gem.c | 7 +++ drivers/gpu/drm/vc4/vc4_irq.c | 5 ++

Re: [PATCH 01/21] MAINTAINERS: Add entry for fbdev core

2022-02-01 Thread Dave Airlie
On Tue, 1 Feb 2022 at 07:06, Daniel Vetter wrote: > > Ever since Tomi extracted the core code in 2014 it's been defacto me > maintaining this, with help from others from dri-devel and sometimes > Linus (but those are mostly merge conflicts): > > $ git shortlog -ns drivers/video/fbdev/core/ |

Re: [PATCH 3/6] drm/msm/dpu: allow just single IRQ callback

2022-02-01 Thread kernel test robot
Hi Dmitry, Thank you for the patch! Yet something to improve: [auto build test ERROR on drm/drm-next] [also build test ERROR on v5.17-rc2 next-20220201] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented

Re: [PATCH 3/6] drm/msm/dpu: allow just single IRQ callback

2022-02-01 Thread kernel test robot
Hi Dmitry, Thank you for the patch! Yet something to improve: [auto build test ERROR on drm/drm-next] [also build test ERROR on v5.17-rc2 next-20220201] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented

[PATCH v3] drm/cma-helper: Describe what a "contiguous chunk" actually means

2022-02-01 Thread Daniel Thompson
Since it's inception in 2012 it has been understood that the DRM GEM CMA helpers do not depend on CMA as the backend allocator. In fact the first bug fix to ensure the cma-helpers work correctly with an IOMMU backend appeared in 2014. However currently the documentation for drm_gem_cma_create()

Re: [Intel-gfx] [PATCH v2 06/11] drm/i915: Use str_on_off()

2022-02-01 Thread Matt Roper
On Wed, Jan 26, 2022 at 01:39:46AM -0800, Lucas De Marchi wrote: > Remove the local onoff() implementation and adopt the > str_on_off() from linux/string_helpers.h. > > Signed-off-by: Lucas De Marchi > Acked-by: Daniel Vetter > Acked-by: Jani Nikula Reviewed-by: Matt Roper > --- >

Re: [Intel-gfx] [PATCH v2 03/11] drm/i915: Use str_yes_no()

2022-02-01 Thread Matt Roper
On Wed, Jan 26, 2022 at 01:39:43AM -0800, Lucas De Marchi wrote: > Remove the local yesno() implementation and adopt the str_yes_no() from > linux/string_helpers.h. > > Signed-off-by: Lucas De Marchi > Acked-by: Daniel Vetter > Acked-by: Jani Nikula Reviewed-by: Matt Roper > --- >

Re: [PATCH 00/14] Rename dma-buf-map

2022-02-01 Thread Lucas De Marchi
On Tue, Feb 01, 2022 at 08:46:15AM +0100, Christian König wrote: Am 01.02.22 um 01:36 schrieb Lucas De Marchi: On Fri, Jan 28, 2022 at 10:48:42AM +0100, Christian König wrote: Am 28.01.22 um 10:40 schrieb Lucas De Marchi: On Fri, Jan 28, 2022 at 10:22:00AM +0100, Christian König wrote: Am

Re: [PATCH] fbdev: fbmem: Fix the implicit type casting

2022-02-01 Thread Yizhuo Zhai
Hi Helge: I shipped a new patch which moves the check before the function call, please take a look and see if this one makes sense to you. Modifying the type of function argument is a bit risky because fb_blank() has more than one caller and some of them passed in an integer. Signed-off-by:

kmscube: GLES3/gl3.h: No such file or directory

2022-02-01 Thread Fabio Estevam
Hi Rob, We are getting the following kmscube build error in Buildroot: ../cube-shadertoy.c:37:10: fatal error: GLES3/gl3.h: No such file or directory 37 | #include Complete log: http://autobuild.buildroot.net/results/7f559e89a96273fc019056eae13104e14161a484/build-end.log In OpenEmbedded

Re: Kconfig CONFIG_FB dependency regression

2022-02-01 Thread Randy Dunlap
On 2/1/22 15:01, Thinh Nguyen wrote: > Hi, > > One of our test setups is unable to boot (stuck at initramfs). Git > bisection points to the commit below: > > f611b1e7624c ("drm: Avoid circular dependencies for CONFIG_FB") > > Reverting this patch resolves the issue. This issue persists in

Re: Kconfig CONFIG_FB dependency regression

2022-02-01 Thread Fabio Estevam
Hi Thinh, On Tue, Feb 1, 2022 at 8:06 PM Randy Dunlap wrote: > > On 2/1/22 15:01, Thinh Nguyen wrote: > > Hi, > > > > One of our test setups is unable to boot (stuck at initramfs). Git > > bisection points to the commit below: > > > > f611b1e7624c ("drm: Avoid circular dependencies for

Re: [PATCH -next 1/2 v2] video: fbdev: pxa168fb: Remove unnecessary print function dev_err()

2022-02-01 Thread Helge Deller
On 2/1/22 13:32, Yang Li wrote: > The print function dev_err() is redundant because platform_get_irq() > already prints an error. > > Eliminate the follow coccicheck warning: > ./drivers/video/fbdev/pxa168fb.c:621:2-9: line 621 is redundant because > platform_get_irq() already prints an error > >

Re: [PATCH 0/4] drm/tiny: Add driver for Solomon SSD1307 OLED displays

2022-02-01 Thread Sam Ravnborg
Hi Javier, On Tue, Feb 01, 2022 at 04:03:30PM +0100, Javier Martinez Canillas wrote: > Hello Geert, > > On 2/1/22 15:14, Geert Uytterhoeven wrote: > > Hi Javier, > > > > On Tue, Feb 1, 2022 at 2:09 PM Javier Martinez Canillas > > wrote: > >> On 2/1/22 12:38, Geert Uytterhoeven wrote: >

Re: [Intel-gfx] [PATCH v2 05/11] drm/i915: Use str_enabled_disabled()

2022-02-01 Thread Matt Roper
On Wed, Jan 26, 2022 at 01:39:45AM -0800, Lucas De Marchi wrote: > Remove the local enableddisabled() implementation and adopt the > str_enabled_disabled() from linux/string_helpers.h. > > Signed-off-by: Lucas De Marchi > Acked-by: Daniel Vetter > Acked-by: Jani Nikula There's two open-coded

[PATCH] iommu/vt-d: Remove comment reference to iommu_dev_has_feature

2022-02-01 Thread Akeem G Abodunrin
iommu_dev_has_feature() api has been removed by the commit 262948f8ba573 ("iommu: Delete iommu_dev_has_feature()") - So this patch removes comment about the api to avoid any confusion. Signed-off-by: Akeem G Abodunrin Cc: Lu Baolu --- include/linux/iommu.h | 3 +-- 1 file changed, 1

Re: [PATCH v10 1/6] dt-bindings: mfd: logicvc: Add a compatible with the major version only

2022-02-01 Thread Rob Herring
On Thu, 20 Jan 2022 16:00:19 +0100, Paul Kocialkowski wrote: > There are lots of different versions of the logicvc block and it > makes little sense to list them all in compatibles since all versions > with the same major are found to be register-compatible. > > Introduce a new compatible with

[PATCH v5 3/3] dt-bindings: mips: loongson: introduce board specific dts

2022-02-01 Thread Sui Jingfeng
From: suijingfeng For board specific devices which is outside of the cpu and bridge chip. this patch introduce two dts, one for lemote a1901(aka LX-6901) motherboard. documnet can be found from [1]. Another one is loongson 3A4000 evb board, this board have a vga and dvi interface. We need

Re: linux-next: build warning after merge of the drm tree

2022-02-01 Thread Stephen Rothwell
Hi all, On Wed, 2 Feb 2022 15:02:01 +1100 Stephen Rothwell wrote: > > After merging the drm tree, today's linux-next build (htmldocs) produced > this warning: > > drivers/gpu/drm/drm_privacy_screen.c:X: warning: Function parameter or member > 'data' not described in

linux-next: build warning after merge of the drm tree

2022-02-01 Thread Stephen Rothwell
Hi all, After merging the drm tree, today's linux-next build (htmldocs) produced this warning: drivers/gpu/drm/drm_privacy_screen.c:X: warning: Function parameter or member 'data' not described in 'drm_privacy_screen_register' Introduced by commit 30598d925d46 ("drm/privacy_screen: Add

Re: Kconfig CONFIG_FB dependency regression

2022-02-01 Thread Arnd Bergmann
On Wed, Feb 2, 2022 at 1:14 AM Thinh Nguyen wrote: > Fabio Estevam wrote: > > On Tue, Feb 1, 2022 at 8:06 PM Randy Dunlap wrote: > >> > >> On 2/1/22 15:01, Thinh Nguyen wrote: > >>> Hi, > >>> > >>> One of our test setups is unable to boot (stuck at initramfs). Git > >>> bisection points to the

[PATCH v5 0/3] drm/lsdc: add drm driver for loongson display controller

2022-02-01 Thread Sui Jingfeng
There is a display controller in loongson's LS2K1000 SoC and LS7A1000 bridge, and the DC in those chip is a PCI device. This display controller have two display pipes but with only one hardware cursor. Each way has a DVO output interface and the CRTC is able to scanout from 1920x1080 resolution at

[PATCH v5 1/3] drm/lsdc: add drm driver for loongson display controller

2022-02-01 Thread Sui Jingfeng
From: suijingfeng There is a display controller in loongson's LS2K1000 SoC and LS7A1000 bridge, and the DC in those chip is a PCI device. This display controller have two display pipes but with only one hardware cursor. Each way has a DVO output interface and the CRTC is able to scanout from

[PATCH v5 2/3] dt-bindings: ls2k1000: add the display controller device node

2022-02-01 Thread Sui Jingfeng
From: suijingfeng The display controller is a pci device, its vendor id is 0x0014 its device id is 0x7a06. Signed-off-by: suijingfeng Signed-off-by: Sui Jingfeng <15330273...@189.cn> --- arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi | 11 +++ 1 file changed, 11 insertions(+)

[PATCH v2] drm/msm/dp: add wide bus support

2022-02-01 Thread Kuogee Hsieh
Normally, mdp will push one pixel of data per pixel clock to interface to display. Wide bus feature will increase bus width from 32 bits to 64 bits so that it can push two pixel of data per pixel clock to interface to display. This feature is pre requirement to support 4k resolution since it will

linux-next: build warning after merge of the drm tree

2022-02-01 Thread Stephen Rothwell
Hi all, After merging the drm tree, today's linux-next build (htmldocs) produced this warning: include/drm/drm_connector.h:637: warning: Function parameter or member 'edid_hdmi_rgb444_dc_modes' not described in 'drm_display_info' include/drm/drm_connector.h:637: warning: Function parameter or

[PATCH 1/2] drm/mm: Add an iterator to optimally walk over holes for an allocation

2022-02-01 Thread Vivek Kasireddy
This iterator relies on drm_mm_first_hole() and drm_mm_next_hole() functions to identify suitable holes for an allocation of a given size by efficently traversing the rbtree associated with the given allocator. It replaces the for loop in drm_mm_insert_node_in_range() and can also be used by drm

Re: [PATCH 1/2] dt-bindings: display: imx: Add fsl,imx21-lcdc docs

2022-02-01 Thread Rob Herring
On Fri, Jan 28, 2022 at 06:58:29PM +0100, Uwe Kleine-König wrote: > Hello Rob, > > On Fri, Jan 28, 2022 at 07:04:10AM -0600, Rob Herring wrote: > > On Fri, Jan 28, 2022 at 4:59 AM Uwe Kleine-König > > wrote: > > > > > > From: Marian Cichy > > > > > > This files documents the device tree for the

Re: [PATCH v3 1/3] drm: Stop spamming log with drm_cache message

2022-02-01 Thread Lucas De Marchi
On Tue, Feb 01, 2022 at 09:12:05AM -0800, Jose Souza wrote: On Mon, 2022-01-31 at 08:59 -0800, Lucas De Marchi wrote: Only x86 and in some cases PPC have support added in drm_cache.c for the clflush class of functions. However warning once is sufficient to taint the log instead of spamming it

Re: [PATCH] Revert "drm/panel-edp: Allow querying the detected panel via sysfs"

2022-02-01 Thread Doug Anderson
Hi, On Tue, Feb 1, 2022 at 9:22 AM Douglas Anderson wrote: > > This reverts commit 363c4c3811db330dee9ce27dd3cee6f590d44e4c. > > Since the point of this attribute is for a test, this should be done > in debugfs, not sysfs. Let's revert and a new patch can be added later > doing it in debugfs. >

[Bug 214801] polaris11 (rx560) regression

2022-02-01 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=214801 Roman Elshin (roxm...@list.ru) changed: What|Removed |Added Status|NEW |RESOLVED

[PATCH v2 0/2] drm/msm: Remove spurious IRQF_ONESHOT flags from dsi & hdmi

2022-02-01 Thread Daniel Thompson
This series corrects incorrect calls to request_irq(..., IRQF_ONESHOT, ...). These anomalies are harmless on regular kernels but cause odd behaviour on threadirq kernels and break entirely on PREEMPT_RT kernels I'm pretty certain these problems would also provoke lockdep splats on kernels with

[PATCH v2 2/2] drm/msm/hdmi: Remove spurious IRQF_ONESHOT flag

2022-02-01 Thread Daniel Thompson
Quoting the header comments, IRQF_ONESHOT is "Used by threaded interrupts which need to keep the irq line disabled until the threaded handler has been run.". When applied to an interrupt that doesn't request a threaded irq then IRQF_ONESHOT has a lesser known (undocumented?) side effect, which it

[PATCH v2 1/2] drm/msm/dsi: Remove spurious IRQF_ONESHOT flag

2022-02-01 Thread Daniel Thompson
Quoting the header comments, IRQF_ONESHOT is "Used by threaded interrupts which need to keep the irq line disabled until the threaded handler has been run.". When applied to an interrupt that doesn't request a threaded irq then IRQF_ONESHOT has a lesser known (undocumented?) side effect, which it

[PATCH v2 1/2] drm/msm/gpu: Add ctx to get_param()

2022-02-01 Thread Rob Clark
From: Rob Clark Prep work for next patch. Signed-off-by: Rob Clark --- drivers/gpu/drm/msm/adreno/adreno_gpu.c | 3 ++- drivers/gpu/drm/msm/adreno/adreno_gpu.h | 3 ++- drivers/gpu/drm/msm/msm_drv.c | 3 ++- drivers/gpu/drm/msm/msm_gpu.h | 3 ++-

[PATCH v2 2/2] drm/msm/gpu: Track global faults per address-space

2022-02-01 Thread Rob Clark
From: Rob Clark Other processes don't need to know about faults that they are isolated from by virtue of address space isolation. They are only interested in whether some of their state might have been corrupted. But to be safe, also track unattributed faults. This case should really never

[Bug 215511] Dual monitor with amd 5700 causes system to hang at startup.

2022-02-01 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=215511 --- Comment #3 from Alex Deucher (alexdeuc...@gmail.com) --- Here's a howto for doing a bisect: https://www.kernel.org/doc/html/latest/admin-guide/bug-bisect.html Here's a howto for building a kernel: https://kernelnewbies.org/KernelBuild Basic

Re: [PATCH] drm/panel-edp: Allow querying the detected panel via sysfs

2022-02-01 Thread Doug Anderson
Hi, On Wed, Jan 26, 2022 at 12:25 AM Javier Martinez Canillas wrote: > > On 1/26/22 00:25, Doug Anderson wrote: > > On Tue, Jan 25, 2022 at 2:55 PM Javier Martinez Canillas > > wrote: > > [snip] > > >> Should this new sysfs entry be documented in Documentation/ABI/ ? > > > > I'm not sure what

Re: [PATCH v1 1/4] fbtft: Unorphan the driver

2022-02-01 Thread Daniel Vetter
On Tue, Feb 1, 2022 at 6:01 PM Geert Uytterhoeven wrote: > > Hi Thomas, > > On Tue, Feb 1, 2022 at 5:16 PM Thomas Zimmermann wrote: > > Am 31.01.22 um 11:18 schrieb Javier Martinez Canillas: > > > Another thing that's missing is a DRM_MODE_CONNECTOR_I2C, because I used > > > for > > > now a

Re: [PATCH v3 2/3] drm/i915: Fix header test for !CONFIG_X86

2022-02-01 Thread Souza, Jose
On Mon, 2022-01-31 at 08:59 -0800, Lucas De Marchi wrote: > Architectures others than x86 have a stub implementation calling > WARN_ON_ONCE(). The appropriate headers need to be included, otherwise > the header-test target will fail with: > > HDRTEST drivers/gpu/drm/i915/i915_mm.h > In file

Re: [PATCH v3 1/3] drm: Stop spamming log with drm_cache message

2022-02-01 Thread Souza, Jose
On Mon, 2022-01-31 at 08:59 -0800, Lucas De Marchi wrote: > Only x86 and in some cases PPC have support added in drm_cache.c for the > clflush class of functions. However warning once is sufficient to taint > the log instead of spamming it with "Architecture has no drm_cache.c > support" every few

[PATCH v2 0/2] drm/msm: Add tracking for faults associated with an address space

2022-02-01 Thread Rob Clark
From: Rob Clark Currently, for GL_EXT_robustness userspace uses the global and per- submitqueue fault counters to determine GUILTY_CONTEXT_RESET_EXT vs INNOCENT_CONTEXT_RESET_EXT. But that is a bit overly paranoid, in that a fault in a different process's context (when it has it's own isolated

Re: [PATCH 03/21] fbcon: Restore fbcon scrolling acceleration

2022-02-01 Thread Daniel Vetter
On Tue, Feb 1, 2022 at 3:52 PM Helge Deller wrote: > > On 2/1/22 14:45, Daniel Vetter wrote: > > On Tue, Feb 1, 2022 at 12:01 PM Helge Deller wrote: > >> On 2/1/22 11:36, Daniel Vetter wrote: > >>> On Tue, Feb 1, 2022 at 11:16 AM Helge Deller wrote: > > On 1/31/22 22:05, Daniel Vetter

Re: [PATCH v1 1/4] fbtft: Unorphan the driver

2022-02-01 Thread Geert Uytterhoeven
Hi Thomas, On Tue, Feb 1, 2022 at 5:16 PM Thomas Zimmermann wrote: > Am 31.01.22 um 11:18 schrieb Javier Martinez Canillas: > > Another thing that's missing is a DRM_MODE_CONNECTOR_I2C, because I used for > > now a DRM_MODE_CONNECTOR_Unknown. > > That might have implications on userspace. Maybe

Re: [PATCH] drm/panel-edp: Allow querying the detected panel via sysfs

2022-02-01 Thread Daniel Vetter
On Tue, Feb 1, 2022 at 5:42 PM Doug Anderson wrote: > > Hi, > > On Wed, Jan 26, 2022 at 12:25 AM Javier Martinez Canillas > wrote: > > > > On 1/26/22 00:25, Doug Anderson wrote: > > > On Tue, Jan 25, 2022 at 2:55 PM Javier Martinez Canillas > > > wrote: > > > > [snip] > > > > >> Should this new

Re: [Intel-gfx] [PATCH v3 3/3] drm/i915: Do not spam log with missing arch support

2022-02-01 Thread Souza, Jose
On Mon, 2022-01-31 at 08:59 -0800, Lucas De Marchi wrote: > Following what was done in drm_cache.c, when the stub for > remap_io_mapping() was added in commit 67c430bbaae1 ("drm/i915: Skip > remap_io_mapping() for non-x86 platforms"), it included a log message > with pr_err(). However just the

Re: [PATCH 17/27] dt-bindings: display: rockchip: Add binding for VOP2

2022-02-01 Thread Rob Herring
On Wed, Jan 26, 2022 at 03:55:39PM +0100, Sascha Hauer wrote: > The VOP2 is found on newer Rockchip SoCs like the rk3568 or the rk3566. > The binding differs slightly from the existing VOP binding, so add a new > binding file for it. > > Changes since v3: > - drop redundant _vop suffix from clock

[PATCH] Revert "drm/panel-edp: Allow querying the detected panel via sysfs"

2022-02-01 Thread Douglas Anderson
This reverts commit 363c4c3811db330dee9ce27dd3cee6f590d44e4c. Since the point of this attribute is for a test, this should be done in debugfs, not sysfs. Let's revert and a new patch can be added later doing it in debugfs. Signed-off-by: Douglas Anderson --- drivers/gpu/drm/panel/panel-edp.c

Re: [PATCH] drm/panel-edp: Allow querying the detected panel via sysfs

2022-02-01 Thread Doug Anderson
Hi, On Tue, Feb 1, 2022 at 9:02 AM Daniel Vetter wrote: > > On Tue, Feb 1, 2022 at 5:42 PM Doug Anderson wrote: > > > > Hi, > > > > On Wed, Jan 26, 2022 at 12:25 AM Javier Martinez Canillas > > wrote: > > > > > > On 1/26/22 00:25, Doug Anderson wrote: > > > > On Tue, Jan 25, 2022 at 2:55 PM

Re: [PATCH 00/14] Rename dma-buf-map

2022-02-01 Thread Thomas Zimmermann
Hi Am 01.02.22 um 08:46 schrieb Christian König: [..] 2) If renaming, would it still keep the same entry in MAINTAINERS? Thomas suggested drivers core, but this all seem to be used mainly on drm/, with just one exception. I would just add a complete new entry for this and use Thomas as

Re: [PATCH 0/4] drm/tiny: Add driver for Solomon SSD1307 OLED displays

2022-02-01 Thread Geert Uytterhoeven
On Mon, Jan 31, 2022 at 9:39 PM Simon Ser wrote: > On Monday, January 31st, 2022 at 21:36, Simon Ser wrote: > > > This driver only advertises XRGB in ssd1307_formats. It would be nice to > > expose R8 as well so that user-space can directly produce suitable buffers. > > It would also be nice

[PATCH] dt-bindings: ltk050h3146w: replace Heiko Stuebner by myself as maintainer

2022-02-01 Thread quentin . schulz
From: Quentin Schulz Heiko does not work at Theobroma Systems anymore and the boards using those panels are downstream, maintained internally by the company, so let's relieve Heiko of maintainership duties. Cc: Heiko Stuebner Cc: Quentin Schulz Signed-off-by: Quentin Schulz ---

[PATCH 2/3] drm/panel: ltk050h3146w: add support for Leadtek LTK050H3148W-CTA6 variant

2022-02-01 Thread quentin . schulz
From: Klaus Goger The LTK050H3148W-CTA6 is a 5.0" 720x1280 DSI display, whose driving controller is a Himax HX8394-F, slightly different from LTK050H3146W by its init sequence, mode details and mode flags. Cc: Quentin Schulz Signed-off-by: Klaus Goger Signed-off-by: Quentin Schulz ---

[PATCH 3/3] dt-bindings: ltk050h3146w: add compatible for LTK050H3148W-CTA6 variant

2022-02-01 Thread quentin . schulz
From: Quentin Schulz The LTK050H3148W-CTA6 is a 5.0" 720x1280 DSI display, whose driving controller is a Himax HX8394-F, slightly different from LTK050H3146W by its init sequence, mode details and mode flags. Cc: Quentin Schulz Signed-off-by: Quentin Schulz ---

Re: [PATCH 0/4] drm/tiny: Add driver for Solomon SSD1307 OLED displays

2022-02-01 Thread Simon Ser
On Tuesday, February 1st, 2022 at 09:43, Geert Uytterhoeven wrote: > Does there exist another simple test program for showing something > using the DRM API? If you're fine with going low-level, there's tentative [1] which can apply an arbitrary KMS state. See for instance [2] for basic

Re: [PATCH 4/4] MAINTAINERS: Add entry for Solomon SSD1307 OLED displays DRM driver

2022-02-01 Thread Andy Shevchenko
On Mon, Jan 31, 2022 at 09:15:37PM +0100, Javier Martinez Canillas wrote: > To make sure that tools like the get_maintainer.pl script will suggest > to Cc me if patches are posted for this driver. > > Also include the Device Tree binding for the old ssd1307fb fbdev driver > since the new DRM

Re: [PATCH 03/21] fbcon: Restore fbcon scrolling acceleration

2022-02-01 Thread Helge Deller
On 1/31/22 22:05, Daniel Vetter wrote: > This functionally undoes 39aead8373b3 ("fbcon: Disable accelerated > scrolling"), but behind the FRAMEBUFFER_CONSOLE_LEGACY_ACCELERATION > option. you have two trivial copy-n-paste errors in this patch which still prevent the console acceleration. > diff

Re: [PATCH 01/21] MAINTAINERS: Add entry for fbdev core

2022-02-01 Thread Helge Deller
On 1/31/22 22:05, Daniel Vetter wrote: > Ever since Tomi extracted the core code in 2014 it's been defacto me > maintaining this, with help from others from dri-devel and sometimes > Linus (but those are mostly merge conflicts): > > $ git shortlog -ns drivers/video/fbdev/core/ | head -n5 > 35

Re: [PATCH 03/21] fbcon: Restore fbcon scrolling acceleration

2022-02-01 Thread Daniel Vetter
On Tue, Feb 1, 2022 at 11:16 AM Helge Deller wrote: > > On 1/31/22 22:05, Daniel Vetter wrote: > > This functionally undoes 39aead8373b3 ("fbcon: Disable accelerated > > scrolling"), but behind the FRAMEBUFFER_CONSOLE_LEGACY_ACCELERATION > > option. > > you have two trivial copy-n-paste errors in

Re: [PATCH 0/4] drm/tiny: Add driver for Solomon SSD1307 OLED displays

2022-02-01 Thread Javier Martinez Canillas
Hello Geert, On 2/1/22 09:43, Geert Uytterhoeven wrote: > Hi Javier, > > On Mon, Jan 31, 2022 at 9:12 PM Javier Martinez Canillas > wrote: >> This patch series adds a DRM driver for the Solomon OLED SSD1305, SSD1306, >> SSD1307 and SSD1309 displays. It is a port of the ssd1307fb fbdev driver. >

[PATCH v5 15/19] drm/i915/dg2: Add DG2 unified compression

2022-02-01 Thread Ramalingam C
From: Matt Roper DG2 unifies render compression and media compression into a single format for the first time. The programming and buffer layout is supposed to match compression on older gen12 platforms, but the actual compression algorithm is different from any previous platform; as such, we

[PATCH v5 16/19] uapi/drm/dg2: Introduce format modifier for DG2 clear color

2022-02-01 Thread Ramalingam C
From: Mika Kahola DG2 clear color render compression uses Tile4 layout. Therefore, we need to define a new format modifier for uAPI to support clear color rendering. v2: Display version is fixed. [Imre] KDoc is enhanced for cc modifier. [Nanley & Lionel] Signed-off-by: Mika Kahola cc:

[PATCH v5 13/19] drm/i915: Introduce new Tile 4 format

2022-02-01 Thread Ramalingam C
From: Stanislav Lisovskiy This tiling layout uses 4KB tiles in a row-major layout. It has the same shape as Tile Y at two granularities: 4KB (128B x 32) and 64B (16B x 4). It only differs from Tile Y at the 256B granularity in between. At this granularity, Tile Y has a shape of 16B x 32 rows,

Re: [PATCH 0/4] drm/tiny: Add driver for Solomon SSD1307 OLED displays

2022-02-01 Thread Pekka Paalanen
On Tue, 1 Feb 2022 10:49:03 +0100 Javier Martinez Canillas wrote: > On 2/1/22 09:38, Daniel Vetter wrote: > > On Tue, Feb 1, 2022 at 9:34 AM Simon Ser wrote: > >> > >> On Tuesday, February 1st, 2022 at 09:26, Geert Uytterhoeven > >> wrote: > >> > >>> What's the story with the Rn formats?

[PATCH v5 14/19] drm/i915/dg2: Tile 4 plane format support

2022-02-01 Thread Ramalingam C
From: Stanislav Lisovskiy Tile4 in bspec format is 4K tile organized into 64B subtiles with same basic shape as for legacy TileY which will be supported by Display13. v2: - Moved Tile4 assocating struct for modifier/display to the beginning(Imre Deak) - Removed unneeded case

[PATCH v5 17/19] drm/i915/dg2: Flat CCS Support

2022-02-01 Thread Ramalingam C
From: Anshuman Gupta DG2 onwards discrete gfx has support for new flat CCS mapping, which brings in display feature in to avoid Aux walk for compressed surface. This support build on top of Flat CCS support added in XEHPSDV. FLAT CCS surface base address should be 64k aligned, Compressed

[PATCH v5 18/19] drm/i915/Flat-CCS: Document on Flat-CCS memory compression

2022-02-01 Thread Ramalingam C
Documents the Flat-CCS feature and kernel handling required along with modifiers used. Signed-off-by: Ramalingam C cc: Simon Ser cc: Pekka Paalanen Cc: Jordan Justen Cc: Kenneth Graunke Cc: mesa-...@lists.freedesktop.org Cc: Tony Ye Cc: Slawomir Milczarek ---

[PATCH v5 19/19] Doc/gpu/rfc/i915: i915 DG2 flat-CCS uAPI

2022-02-01 Thread Ramalingam C
Details of the Flat-CCS getting added as part of DG2 enabling and its implicit impact on the uAPI. Signed-off-by: Ramalingam C cc: Daniel Vetter cc: Matthew Auld cc: Simon Ser cc: Pekka Paalanen Cc: Jordan Justen Cc: Kenneth Graunke Cc: mesa-...@lists.freedesktop.org Cc: Tony Ye Cc:

Re: [PATCH] drm/imx: parallel-display: Remove bus flags check in imx_pd_bridge_atomic_check()

2022-02-01 Thread Marek Vasut
On 2/1/22 12:03, Christoph Niedermaier wrote: If display timings were read from the devicetree using of_get_display_timing() and pixelclk-active is defined there, the flag DISPLAY_FLAGS_SYNC_POSEDGE/NEGEDGE is automatically generated. Through the function drm_bus_flags_from_videomode() e.g.

Re: [Intel-gfx] [PATCH 21/21] fbdev: Make registered_fb[] private to fbmem.c

2022-02-01 Thread kernel test robot
. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Daniel-Vetter/some-fbcon-patches-mostly-locking/20220201-050907 base: git://anongit.freedesktop.org/tegra/linux.git drm/tegra

Re: [PATCH 0/4] drm/tiny: Add driver for Solomon SSD1307 OLED displays

2022-02-01 Thread Geert Uytterhoeven
Hi Javier, On Mon, Jan 31, 2022 at 9:12 PM Javier Martinez Canillas wrote: > This patch series adds a DRM driver for the Solomon OLED SSD1305, SSD1306, > SSD1307 and SSD1309 displays. It is a port of the ssd1307fb fbdev driver. Thanks for your series! I'll give it a try on an Adafruit

Re: [PATCH v11] drm/bridge: add it6505 driver

2022-02-01 Thread AngeloGioacchino Del Regno
Il 31/01/22 19:36, Robert Foss ha scritto: On Mon, 31 Jan 2022 at 17:55, Hsin-Yi Wang wrote: On Tue, Feb 1, 2022 at 12:37 AM Robert Foss wrote: On Thu, 20 Jan 2022 at 16:25, AngeloGioacchino Del Regno wrote: Il 14/01/22 10:14, allen ha scritto: This adds support for the iTE IT6505.

Re: [Intel-gfx] linux-next: build failure after merge of the drm-intel-fixes tree

2022-02-01 Thread Tvrtko Ursulin
On 31/01/2022 22:27, Stephen Rothwell wrote: Hi all, After merging the drm-intel-fixes tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/gpu/drm/i915/i915_vma.c: In function 'i915_vma_bind': drivers/gpu/drm/i915/i915_vma.c:451:25: error: 'ret' undeclared (first

Re: [PATCH 3/4] drm/tiny: Add driver for Solomon SSD1307 OLED displays

2022-02-01 Thread Thomas Zimmermann
Hi Javier, please see comments and questions below. Am 31.01.22 um 21:29 schrieb Javier Martinez Canillas: Add a DRM driver for SSD1305, SSD1306, SSD1307 and SSD1309 Solomon OLED controllers that can be programmed via an I2C interface. This is a port of the ssd1307fb driver that already

Re: [PATCH 0/4] drm/tiny: Add driver for Solomon SSD1307 OLED displays

2022-02-01 Thread Thomas Zimmermann
Hi Am 01.02.22 um 09:36 schrieb Geert Uytterhoeven: Hi Simon, On Tue, Feb 1, 2022 at 9:34 AM Simon Ser wrote: On Tuesday, February 1st, 2022 at 09:26, Geert Uytterhoeven wrote: What's the story with the Rn formats? The comments say "n bpp Red", while this is a monochrome (even inverted)

Re: [PATCH 03/21] fbcon: Restore fbcon scrolling acceleration

2022-02-01 Thread Helge Deller
On 2/1/22 11:16, Helge Deller wrote: > On 1/31/22 22:05, Daniel Vetter wrote: >> This functionally undoes 39aead8373b3 ("fbcon: Disable accelerated >> scrolling"), but behind the FRAMEBUFFER_CONSOLE_LEGACY_ACCELERATION >> option. > > you have two trivial copy-n-paste errors in this patch which

Re: [PATCH 08/20] drm/i915/buddy: adjust res->start

2022-02-01 Thread Thomas Hellström
On Wed, 2022-01-26 at 15:21 +, Matthew Auld wrote: > Differentiate between mappable vs non-mappable resources, also if > this > is an actual range allocation ensure we set res->start as the > starting > pfn. Later when we need to do non-mappable -> mappable moves then we > want TTM to see that

Re: [PATCH 09/21] fbcon: Replace FBCON_FLAGS_INIT with a boolean

2022-02-01 Thread Thomas Zimmermann
Am 31.01.22 um 22:05 schrieb Daniel Vetter: It's only one flag and slightly tidier code. Signed-off-by: Daniel Vetter Cc: Daniel Vetter Cc: Tetsuo Handa Cc: Greg Kroah-Hartman Cc: Du Cheng Cc: Thomas Zimmermann Cc: Claudio Suarez Acked-by: Thomas Zimmermann ---

[PATCH v5 07/19] drm/i915/migrate: add acceleration support for DG2

2022-02-01 Thread Ramalingam C
From: Matthew Auld This is all kinds of awkward since we now have to contend with using 64K GTT pages when mapping anything in LMEM(including the page-tables themselves). v2: Rebased [Ram] Signed-off-by: Matthew Auld Cc: Thomas Hellström Cc: Ramalingam C ---

[PATCH v5 08/19] drm/i915/uapi: document behaviour for DG2 64K support

2022-02-01 Thread Ramalingam C
From: Matthew Auld On discrete platforms like DG2, we need to support a minimum page size of 64K when dealing with device local-memory. This is quite tricky for various reasons, so try to document the new implicit uapi for this. v3: fix typos and less emphasis v2: Fixed suggestions on

  1   2   3   >