Re: [PATCH v7 16/16] dt-bindings: display: mediatek: padding: add compatible for MT8195

2023-10-12 Thread AngeloGioacchino Del Regno
Il 12/10/23 10:40, Moudy Ho ha scritto: Add a compatible string for the PAD block in MediaTek MT8195 that is controlled by MDP3. Signed-off-by: Moudy Ho --- .../bindings/display/mediatek/mediatek,padding.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/D

Re: [PATCH] drm/tidss: Power up attached PM domains on probe

2023-10-12 Thread Maxime Ripard
Hi, On Thu, Oct 12, 2023 at 05:10:06PM +0530, Devarsh Thakkar wrote: > On 09/10/23 13:20, Devarsh Thakkar wrote: > > Some SoC's such as AM62P have dedicated power domains > > for OLDI which need to be powered on separetely along > > with display controller. > > > > So during driver probe, power u

Re: [PATCH drm-misc-next 2/3] drm/gpuva_mgr: generalize dma_resv/extobj handling and GEM validation

2023-10-12 Thread Daniel Vetter
On Thu, Oct 12, 2023 at 02:35:15PM +0200, Christian König wrote: > Am 12.10.23 um 12:33 schrieb Dave Airlie: > > On Wed, 11 Oct 2023 at 17:07, Christian König > > wrote: > > > Am 10.10.23 um 22:23 schrieb Dave Airlie: > > > > > I think we're then optimizing for different scenarios. Our compute >

Re: [PATCH v1] dynamic_debug: add support for logs destination

2023-10-12 Thread Daniel Vetter
On Thu, Oct 12, 2023 at 01:39:44PM +0300, Pekka Paalanen wrote: > On Thu, 12 Oct 2023 11:53:52 +0200 > Daniel Vetter wrote: > > > On Thu, Oct 12, 2023 at 11:55:48AM +0300, Pekka Paalanen wrote: > > > On Wed, 11 Oct 2023 11:42:24 +0200 > > > Daniel Vetter wrote: > > > > > > > On Wed, Oct 11, 2

[PATCH v8] Documentation/gpu: Add a VM_BIND async document

2023-10-12 Thread Thomas Hellström
Add a motivation for and description of asynchronous VM_BIND operation v2: - Fix typos (Nirmoy Das) - Improve the description of a memory fence (Oak Zeng) - Add a reference to the document in the Xe RFC. - Add pointers to sample uAPI suggestions v3: - Address review comments (Danilo Krummrich) - F

[PULL] drm-intel-next

2023-10-12 Thread Jani Nikula
Hi Dave & Sima - Here's the 2nd i915 feature pull for v6.7. There might be another small feature pull coming next week, mainly to remove force probe for Meteorlake, and promote it to fully supported. There are some final issues being ironed out still. There's a backmerge in there; I acknowledg

Re: [PATCH v1 1/2] i2c: smbus: Allow throttling of transfers to client devices

2023-10-12 Thread Jean Delvare
On Mon, 2023-10-09 at 16:14 -0500, Lakshmi Yadlapati wrote: > Signed-off-by: Lakshmi Yadlapati > --- >  drivers/i2c/i2c-core-base.c  |   8 +- >  drivers/i2c/i2c-core-smbus.c | 143 --- >  drivers/i2c/i2c-core.h   |  23 ++ >  include/linux/i2c.h  |   2

Re: [PATCH v1 1/2] i2c: smbus: Allow throttling of transfers to client devices

2023-10-12 Thread Jani Nikula
On Thu, 12 Oct 2023, Jean Delvare wrote: > On Mon, 2023-10-09 at 16:14 -0500, Lakshmi Yadlapati wrote: >> Signed-off-by: Lakshmi Yadlapati >> --- >>  drivers/i2c/i2c-core-base.c  |   8 +- >>  drivers/i2c/i2c-core-smbus.c | 143 --- >>  drivers/i2c/i2c-core.h   |

Re: [v3 2/3] drm/panel: ili9882t: Avoid blurred screen from fast sleep

2023-10-12 Thread Doug Anderson
Hi, On Thu, Oct 12, 2023 at 5:10 AM Cong Yang wrote: > > At present, we have found that there may be a problem of blurred > screen during fast sleep/resume. The direct cause of the blurred > screen is that the IC does not receive 0x28/0x10. Because of the > particularity of the IC, before the pan

Re: [PATCH v3 3/6] dt-bindings: display: msm: Add SDM670 MDSS

2023-10-12 Thread Rob Herring
On Mon, 09 Oct 2023 19:33:41 -0400, Richard Acayan wrote: > Add documentation for the SDM670 display subsystem, adapted from the > SDM845 and SM6125 documentation. > > Signed-off-by: Richard Acayan > --- > .../display/msm/qcom,sdm670-mdss.yaml | 292 ++ > 1 file changed

Re: linux-next: Tree for Oct 12 (drivers/gpu/drm/msm/adreno/a6xx_gmu.o)

2023-10-12 Thread Randy Dunlap
On 10/11/23 22:43, Stephen Rothwell wrote: > Hi all, > > Changes since 20231011: > on powerpc 64BIT: powerpc64-linux-ld: drivers/gpu/drm/msm/adreno/a6xx_gmu.o: in function `a6xx_gmu_resume': a6xx_gmu.c:(.text+0x6afc): undefined reference to `qmp_send' powerpc64-linux-ld: drivers/gpu/drm/msm/

Re: [PATCH] drm/radeon: fix a possible null pointer dereference

2023-10-12 Thread Alex Deucher
On Tue, Oct 10, 2023 at 9:32 PM Ma Ke wrote: > > In radeon_tv_get_modes(), the return value of drm_cvt_mode() > is assigned to mode, which will lead to a NULL pointer > dereference on failure of drm_cvt_mode(). Add a check to > avoid null point dereference. > > Signed-off-by: Ma Ke Applied. Tha

Re: [PATCH] drm/bridge: ti-sn65dsi86: Associate DSI device lifetime with auxiliary device

2023-10-12 Thread Doug Anderson
Hi, On Thu, Oct 5, 2023 at 10:18 AM Stephen Boyd wrote: > > Quoting Doug Anderson (2023-10-02 17:31:41) > > Hi, > > > > On Mon, Oct 2, 2023 at 4:54 PM Stephen Boyd wrote: > > > > > > The kernel produces a warning splat and the DSI device fails to register > > > in this driver if the i2c driver p

Re: [PATCH] drm/panel: Move AUX B116XW03 out of panel-edp back to panel-simple

2023-10-12 Thread Doug Anderson
Hi, On Sun, Oct 8, 2023 at 1:52 PM Anton Bambura wrote: > > > On 10/5/23 21:10, Doug Anderson wrote: > > Hi, > > > > On Tue, Sep 26, 2023 at 7:01 AM Doug Anderson wrote: > >> Hi, > >> > >> On Tue, Sep 26, 2023 at 1:06 AM AngeloGioacchino Del Regno > >> wrote: > >>> Il 26/09/23 00:00, Douglas An

Re: [syzbot] upstream boot error: can't ssh into the instance (15)

2023-10-12 Thread Aleksandr Nogikh
For the record: the problems were solved by switching to qemu v8. #syz invalid On Fri, Sep 29, 2023 at 3:36 PM Aleksandr Nogikh wrote: > > > On Fri, Sep 29, 2023 at 3:29 PM syzbot > wrote: > > > > Hello, > > > > syzbot found the following issue on: > > > > HEAD commit:9ed22ae6be81 Merge ta

[PATCH v7 00/25] fix DRM_USE_DYNAMIC_DEBUG=y regression

2023-10-12 Thread Jim Cromie
hi Jason, DRM-folk This patchest fixes the chicken-egg initialization problem in the 1st version of ddebug-class-maps, that DRM-CI uncovered. The root-problem was DECLARE_DYNDBG_CLASSMAP, which broke the K&R rule: "define once, refer many". In patch 14 it is replaced by: DYNDBG_CLASSMAP_DEFINE

[PATCH v7 00/25] fix DRM_USE_DYNAMIC_DEBUG=y regression

2023-10-12 Thread Jim Cromie
hi Jason, DRM-folk This patchest fixes the chicken-egg initialization problem in the 1st version of ddebug-class-maps, that DRM-CI uncovered. The root-problem was DECLARE_DYNDBG_CLASSMAP, which broke the K&R rule: "define once, refer many". In patch 14 it is replaced by: DYNDBG_CLASSMAP_DEFINE

[PATCH v7 01/25] test-dyndbg: fixup CLASSMAP usage error

2023-10-12 Thread Jim Cromie
more careful reading of test output reveals: lib/test_dynamic_debug.c:103 [test_dynamic_debug]do_cats =pmf "doing categories\n" lib/test_dynamic_debug.c:105 [test_dynamic_debug]do_cats =p "LOW msg\n" class:MID lib/test_dynamic_debug.c:106 [test_dynamic_debug]do_cats =p "MID msg\n" class:HI lib/t

[PATCH v7 02/25] dyndbg: reword "class unknown, " to "class:_UNKNOWN_"

2023-10-12 Thread Jim Cromie
This appears in the control-file to report an unknown class-name, which indicates that the class_id is not authorized, and dyndbg will ignore changes to it. Generally, this means that a DYNDBG_CLASSMAP_DEFINE or DYNDBG_CLASSMAP_USE is missing. But the word "unknown" appears in quite a few prdbg f

[PATCH v7 03/25] dyndbg: make ddebug_class_param union members same size

2023-10-12 Thread Jim Cromie
struct ddebug_class_param keeps a ref to the state-storage of the param, make both flavors use the same unsigned long under-type. ISTM this is simpler and safer. Signed-off-by: Jim Cromie --- include/linux/dynamic_debug.h | 2 +- lib/dynamic_debug.c | 2 +- 2 files changed, 2 insertion

[PATCH v7 06/25] dyndbg: split param_set_dyndbg_classes to module/wrapper fns

2023-10-12 Thread Jim Cromie
rename param_set_dyndbg_classes: add _module_ name & arg, old name is wrapper to new. New arg allows caller to specify that only one module is affected by a prdbgs update. Outer fn preserves kernel_param interface, passing NULL to inner fn. This selectivity will be used later to narrow the scope

[PATCH v7 04/25] dyndbg: replace classmap list with a vector

2023-10-12 Thread Jim Cromie
Classmaps are stored/linked in a section/array, but are each added to the module's ddebug_table.maps list-head. This is unnecessary; even when ddebug_attach_classmap() is handling the builtin section (with classmaps for multiple builtin modules), its contents are ordered, so a module's possibly mu

[PATCH v7 05/25] dyndbg: ddebug_apply_class_bitmap - add module arg, select on it

2023-10-12 Thread Jim Cromie
Add query_module param to ddebug_apply_class_bitmap(). This allows its caller to update just one module, or all (as currently). We'll use this later to propagate drm.debug to each USEr as they're modprobed. No functional change. Signed-off-by: Jim Cromie --- after `modprobe i915`, heres the m

[PATCH v7 08/25] dyndbg: reduce verbose/debug clutter

2023-10-12 Thread Jim Cromie
currently, for verbose=3, these are logged (blank lines for clarity): dyndbg: query 0: "class DRM_UT_CORE +p" mod:* dyndbg: split into words: "class" "DRM_UT_CORE" "+p" dyndbg: op='+' dyndbg: flags=0x1 dyndbg: *flagsp=0x1 *maskp=0x dyndbg: parsed: func="" file="" module="" format="

[PATCH v7 10/25] dyndbg: tighten ddebug_class_name() 1st arg type

2023-10-12 Thread Jim Cromie
Change function's 1st arg-type, and deref in the caller. The fn doesn't need any other fields in the struct. no functional change. Signed-off-by: Jim Cromie --- lib/dynamic_debug.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/dynamic_debug.c b/lib/dynamic_d

[PATCH v7 07/25] dyndbg: drop NUM_TYPE_ARRAY

2023-10-12 Thread Jim Cromie
ARRAY_SIZE works here, since array decl is complete. no functional change Signed-off-by: Jim Cromie --- include/linux/dynamic_debug.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/linux/dynamic_debug.h b/include/linux/dynamic_debug.h index b53217e4b711..8116d0a0

[PATCH v7 11/25] dyndbg: tighten fn-sig of ddebug_apply_class_bitmap

2023-10-12 Thread Jim Cromie
old_bits arg is currently a pointer to the input bits, but this could allow inadvertent changes to the input by the fn. Disallow this. And constify new_bits while here. Signed-off-by: Jim Cromie --- lib/dynamic_debug.c | 21 +++-- 1 file changed, 11 insertions(+), 10 deletions(-

[PATCH v7 09/25] dyndbg: silence debugs with no-change updates

2023-10-12 Thread Jim Cromie
check for actual changes before announcing them, declutter logs. Signed-off-by: Jim Cromie --- lib/dynamic_debug.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/lib/dynamic_debug.c b/lib/dynamic_debug.c index b0e11f6bfaa2..b07aab422604 100644 --- a/lib/dynamic_

[PATCH v7 12/25] dyndbg: reduce verbose=3 messages in ddebug_add_module

2023-10-12 Thread Jim Cromie
The fn currently says "add-module", then "skipping" if the module has no prdbgs. Just check 1st and return quietly. no functional change Signed-off-by: Jim Cromie --- lib/dynamic_debug.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/dynamic_debug.c b/lib/dynami

[PATCH v7 13/25] dyndbg-API: remove DD_CLASS_TYPE_(DISJOINT|LEVEL)_NAMES and code

2023-10-12 Thread Jim Cromie
Remove the NAMED class types; these 2 classmap types accept class names at the PARAM interface, for example: echo +DRM_UT_CORE,-DRM_UT_KMS > /sys/module/drm/parameters/debug_names The code works, but its only used by test-dynamic-debug, and wasn't asked for by anyone else, so simplify things fo

[PATCH v7 17/25] dyndbg-API: promote DYNDBG_CLASSMAP_PARAM to API

2023-10-12 Thread Jim Cromie
move macro from test-dynamic-debug.c into header, and refine it. Distinguish the 2 use cases of DYNDBG_CLASSMAP_PARAM* 1.DYNDBG_CLASSMAP_PARAM_REF for DRM, to pass in extern __drm_debug by name. dyndbg keeps bits in it, so drm can still use it as before 2.DYNDBG_CLASSMAP_PARAM new us

[PATCH v7 14/25] dyndbg-API: fix CONFIG_DRM_USE_DYNAMIC_DEBUG regression

2023-10-12 Thread Jim Cromie
DECLARE_DYNDBG_CLASSMAP() has a design error; it fails a basic K&R rule: "define once, refer many times". When DRM_USE_DYNAMIC_DEBUG=y, DECLARE_DYNDBG_CLASSMAP() is used across DRM core & drivers; they all repeat the same classmap-defn args, which must match for the modules to respond together whe

[PATCH v7 15/25] dyndbg: add for_each_boxed_vector

2023-10-12 Thread Jim Cromie
Add a for_each iterator to walk a counted vector member in a struct (ie the box), and use it to replace 8 open-coded loops. Signed-off-by: Jim Cromie --- v5- parens-on-box-force-precedence --- lib/dynamic_debug.c | 20 +++- 1 file changed, 11 insertions(+), 9 deletions(-) diff -

[PATCH v7 18/25] dyndbg-doc: add classmap info to howto

2023-10-12 Thread Jim Cromie
Add some basic info on classmap usage and api Signed-off-by: Jim Cromie --- v5- adjustments per Randy Dunlap, me --- .../admin-guide/dynamic-debug-howto.rst | 59 ++- 1 file changed, 58 insertions(+), 1 deletion(-) diff --git a/Documentation/admin-guide/dynamic-debug-howto

[PATCH v7 16/25] dyndbg: refactor ddebug_classparam_clamp_input

2023-10-12 Thread Jim Cromie
Extract input validation code, from param_set_dyndbg_module_classes() (the sys-node >handler) to new: ddebug_classparam_clamp_input(kp), call it from former. It takes kernel-param arg, so it can complain about "foo: bad input". Reuse ddparam_clamp_input(kp) in ddebug_sync_classbits(), to validate

[PATCH v7 21/25] dyndbg: refactor *dynamic_emit_prefix

2023-10-12 Thread Jim Cromie
Refactor the split of duties between outer & inner fns. The outer fn was previously just an inline unlikely forward to inner, which did all the work. Now, outer handles +t and +l flags itself, and calls inner only when _DPRINTK_FLAGS_INCL_LOOKUP is needed. No functional change. But it does make

[PATCH v7 20/25] dyndbg: add _DPRINTK_FLAGS_INCL_LOOKUP

2023-10-12 Thread Jim Cromie
dyndbg's dynamic prefixing (by +tmfsl flags) is needlessly expensive. When an enabled (with +p) pr_debug is called, _DPRINTK_FLAGS_INCL_ANY prefix decorations are sprintf'd into stack-mem for every call. This string (or part of it) could be cached once its 1st generated, and retreived thereafter,

[PATCH v7 19/25] dyndbg: reserve flag bit _DPRINTK_FLAGS_PREFIX_CACHED

2023-10-12 Thread Jim Cromie
Reserve bit 7 to remember that a pr-debug callsite is/was: - enabled, with +p - wants a dynamic-prefix, with one+ of module:function:sourcfile - was previously called - was thus saved in the cache. NOT YET. Its unclear whether any cache fetch would be faster than 2-3 field fetches, but theres anot

[PATCH v7 22/25] dyndbg: improve err report in attach_user_module_classes

2023-10-12 Thread Jim Cromie
convert a WARN on 3 conditions, into BUG_ON 2 of them (which don't happen), and an early return on (!cli->user_mod_name), which *was* happening, so should be seen going forward. Maybe this should be a WARN. NB: The underlying problem was a missing __align(8) in the DYNDBG_CLASSMAP_USE, which mani

[PATCH v7 24/25] drm-drivers: DRM_CLASSMAP_USE in 2nd batch of drivers, helpers

2023-10-12 Thread Jim Cromie
Add a DRM_CLASSMAP_USE declaration to 2nd batch of helpers and *_drv.c files. For drivers, add the decl just above the module's PARAMs, since it identifies the "inherited" drm.debug param. Note: with CONFIG_DRM_USE_DYNAMIC_DEBUG=y, a module not also declaring DRM_CLASSMAP_USE will have its class'

[PATCH v7 25/25] drm: restore CONFIG_DRM_USE_DYNAMIC_DEBUG un-BROKEN

2023-10-12 Thread Jim Cromie
Lots of burn-in testing needed before signing, upstreaming. NOTE: I set default Y to maximize testing by default. Is there a better way to do this ? Signed-off-by: Jim Cromie --- drivers/gpu/drm/Kconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/Kconfi

[PATCH v7 23/25] drm: use correct ccflags-y spelling

2023-10-12 Thread Jim Cromie
Incorrectly spelled CFLAGS- failed to add -DDYNAMIC_DEBUG_MODULE, which broke builds with: CONFIG_DRM_USE_DYNAMIC_DEBUG=y CONFIG_DYNAMIC_DEBUG_CORE=y CONFIG_DYNAMIC_DEBUG=n Also add subdir-ccflags so that all drivers pick up the addition. Fixes: 84ec67288c10 ("drm_print: wrap drm_*_dbg in dyndbg

Re: [PATCH v2] drm/nouveau: exec: fix ioctl kernel-doc warning

2023-10-12 Thread Danilo Krummrich
On 10/8/23 16:02, Randy Dunlap wrote: kernel-doc emits a warning: include/uapi/drm/nouveau_drm.h:49: warning: Cannot understand * @NOUVEAU_GETPARAM_EXEC_PUSH_MAX on line 49 - I thought it was a doc line We don't have a way to document a macro value via kernel-doc, so change the "/**" kernel

Re: [Intel-gfx] [PATCH] drm/i915/guc: Suppress 'ignoring reset notification' message

2023-10-12 Thread John Harrison
On 10/12/2023 03:21, Tvrtko Ursulin wrote: On 21/09/2023 19:20, john.c.harri...@intel.com wrote: From: John Harrison If an active context has been banned (e.g. Ctrl+C killed) then it is likely to be reset as part of evicting it from the hardware. That results in a 'ignoring context reset notif

Re: [PATCH] drm/nouveau/dispnv04: fix a possible null pointer dereference

2023-10-12 Thread Danilo Krummrich
On 10/7/23 05:23, Ma Ke wrote: In nv17_tv_get_ld_modes(), the return value of drm_mode_duplicate() is assigned to mode, which will lead to a NULL pointer dereference on failure of drm_mode_duplicate(). Add a check to avoid npd. Signed-off-by: Ma Ke Reviewed-by: Danilo Krummrich --- drive

Re: [PATCH] drm/atomic: Perform blocking commits on workqueue

2023-10-12 Thread Ray Strode
Hi, On Mon, Oct 09, 2023 at 02:36:17PM +0200, Christian König wrote: > > > > To be clear, my take is, if driver code is running in process context > > > > and needs to wait for periods of time on the order of or in excess of > > > > a typical process time slice it should be sleeping during the wai

Re: [PATCH v1] dynamic_debug: add support for logs destination

2023-10-12 Thread jim . cromie
> If you want the kernel to keep separate flight recorders I guess we could > add that, but I don't think it currently exists for the dyndbg stuff at > least. Maybe a flight recorder v2 feature, once the basics are in. > dyndbg has +pwrites to syslog +T would separately independently write

[PATCH] drm/edid: add 8 bpc quirk to the BenQ GW2765

2023-10-12 Thread Hamza Mahfooz
The BenQ GW2765 reports that it supports higher (> 8) bpc modes, but when trying to set them we end up with a black screen. So, limit it to 8 bpc modes. Cc: sta...@vger.kernel.org # 6.5+ Link: https://gitlab.freedesktop.org/drm/amd/-/issues/2610 Signed-off-by: Hamza Mahfooz --- drivers/gpu/drm/d

Re: [PATCH v11 08/16] drm/mediatek: De-commonize disp_aal/disp_gamma gamma_set functions

2023-10-12 Thread Nícolas F . R . A . Prado
On Thu, Oct 12, 2023 at 11:57:28AM +0200, AngeloGioacchino Del Regno wrote: > In preparation for adding a 12-bits gamma support for the DISP_GAMMA > IP, remove the mtk_gamma_set_common() function and move the relevant > bits in mtk_gamma_set() for DISP_GAMMA and mtk_aal_gamma_set() for > DISP_AAL:

Re: [PATCH] drm/nouveau/disp: fix DP capable DSM connectors

2023-10-12 Thread Lyude Paul
Reviewed-by: Lyude Paul On Wed, 2023-10-11 at 13:41 +0200, Karol Herbst wrote: > Just special case DP DSM connectors until we properly figure out how to > deal with this. > > This resolves user regressions on GPUs with such connectors without > reverting the original fix. > > Cc: Lyude Paul >

Re: [PATCH] drm/edid: add 8 bpc quirk to the BenQ GW2765

2023-10-12 Thread Harry Wentland
On 2023-10-12 14:49, Hamza Mahfooz wrote: > The BenQ GW2765 reports that it supports higher (> 8) bpc modes, but > when trying to set them we end up with a black screen. So, limit it to 8 > bpc modes. > > Cc: sta...@vger.kernel.org # 6.5+ > Link: https://gitlab.freedesktop.org/drm/amd/-/issues/

[PATCH v3 1/6] drm/ssd130x: Replace .page_height field in device info with a constant

2023-10-12 Thread Javier Martinez Canillas
This deemed useful to avoid hardcoding a page height and allow to support other Solomon controller families, but dividing the screen in pages seems to be something that is specific to the SSD130x chip family. For example, SSD132x chip family divides the screen in segments (columns) and common outp

[PATCH v3 2/6] drm/ssd130x: Add a controller family id to the device info data

2023-10-12 Thread Javier Martinez Canillas
To allow the driver to have a per Solomon display controller modesetting pipeline and support aother controller families besides SSD130x. Signed-off-by: Javier Martinez Canillas --- Changes in v3: - Drop the per controller family functions table (Thomas Zimmermann). Changes in v2: - Squash patc

[PATCH v3 4/6] drm/ssd130x: Add support for the SSD132x OLED controller family

2023-10-12 Thread Javier Martinez Canillas
The Solomon SSD132x controllers (such as the SSD1322, SSD1325 and SSD1327) are used by 16 grayscale dot matrix OLED panels, extend the driver to also support this chip family. Instead adding an indirection level to allow the same modesetting pipeline to be used by both controller families, add ano

[PATCH v3 0/6] drm/solomon: Add support for the SSD132x controller family

2023-10-12 Thread Javier Martinez Canillas
Hello, This patch-set adds support for the family of SSD132x Solomon controllers, such as the SSD1322, SSD1325 and SSD1327 chips. These are used for 16 Gray Scale Dot Matrix OLED panels. This is a v3 that address issues pointed out during review of the v2: https://lists.freedesktop.org/archives/

[PATCH v3 3/6] drm/ssd130x: Rename commands that are shared across chip families

2023-10-12 Thread Javier Martinez Canillas
There are some commands that are shared between the SSD130x and SSD132x controller families, define these as a common SSD13XX set of commands. Signed-off-by: Javier Martinez Canillas --- (no changes since v1) drivers/gpu/drm/solomon/ssd130x-spi.c | 4 +-- drivers/gpu/drm/solomon/ssd130x.c

[PATCH v3 6/6] dt-bindings: display: Add SSD132x OLED controllers

2023-10-12 Thread Javier Martinez Canillas
Add a Device Tree binding schema for the OLED panels based on the Solomon SSD132x family of controllers. Signed-off-by: Javier Martinez Canillas Reviewed-by: Rob Herring --- Changes in v3: - Add Rob Herring's Reviewed-by tag to patch #6. Changes in v2: - Remove unnecessary 'oneOf' in the SSD13

[PATCH v3 5/6] dt-bindings: display: Split common Solomon properties in their own schema

2023-10-12 Thread Javier Martinez Canillas
There are DT properties that can be shared across different Solomon OLED Display Controller families. Split them into a separate common schema to avoid these properties to be duplicated in different DT bindings schemas. Suggested-by: Rob Herring Signed-off-by: Javier Martinez Canillas Reviewed-b

Re: [PATCH v4] drm/i915/pxp: Add drm_dbgs for critical PXP events.

2023-10-12 Thread Balasubrawmanian, Vivaik
On 9/19/2023 11:04 AM, Alan Previn wrote: Debugging PXP issues can't even begin without understanding precedding sequence of important events. Add drm_dbg into the most important PXP events. v3 : - move gt_dbg to after mutex block in function i915_gsc_proxy_component_bind. (Vivaik)

linux-next: manual merge of the drm-misc tree with the asm-generic tree

2023-10-12 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm-misc tree got a conflict in: arch/ia64/include/asm/fb.h between commit: cf8e8658100d ("arch: Remove Itanium (IA-64) architecture") from the asm-generic tree and commit: 052ddf7b86d2 ("fbdev: Replace fb_pgprotect() with pgprot_framebuffer()")

Re: [v3 2/3] drm/panel: ili9882t: Avoid blurred screen from fast sleep

2023-10-12 Thread cong yang
Hi, On Thu, Oct 12, 2023 at 11:15 PM Doug Anderson wrote: > > Hi, > > On Thu, Oct 12, 2023 at 5:10 AM Cong Yang > wrote: > > > > At present, we have found that there may be a problem of blurred > > screen during fast sleep/resume. The direct cause of the blurred > > screen is that the IC does no

[PATCH] drm/nouveau/dispnv04: fix a possible null pointer dereference

2023-10-12 Thread Ma Ke
In nv17_tv_get_hd_modes(), the return value of drm_mode_duplicate() is assigned to mode, which will lead to a NULL pointer dereference on failure of drm_mode_duplicate(). The same applies to drm_cvt_mode(). Add a check to avoid null pointer dereference. Signed-off-by: Ma Ke --- drivers/gpu/drm/n

[PATCH] drm/amdgpu/vkms: fix a possible null pointer dereference

2023-10-12 Thread Ma Ke
In amdgpu_vkms_conn_get_modes(), the return value of drm_cvt_mode() is assigned to mode, which will lead to a NULL pointer dereference on failure of drm_cvt_mode(). Add a check to avoid null pointer dereference. Signed-off-by: Ma Ke --- drivers/gpu/drm/amd/amdgpu/amdgpu_vkms.c | 2 ++ 1 file cha

[PATCH] drm/qxl: fix a possible null pointer dereference

2023-10-12 Thread Ma Ke
In qxl_add_mode(), the return value of drm_cvt_mode() is assigned to mode, which will lead to a NULL pointer dereference on failure of drm_cvt_mode(). Add a check to avoid null pointer dereference. Signed-off-by: Ma Ke --- drivers/gpu/drm/qxl/qxl_display.c | 2 ++ 1 file changed, 2 insertions(+)

[PATCH] drm/radeon: fix a possible null pointer dereference

2023-10-12 Thread Ma Ke
In radeon_add_common_modes(), the return value of drm_cvt_mode() is assigned to mode, which will lead to a NULL pointer dereference on failure of drm_cvt_mode(). Add a check to avoid null pointer dereference. Signed-off-by: Ma Ke --- drivers/gpu/drm/radeon/radeon_connectors.c | 2 ++ 1 file chan

Re: [v3 2/3] drm/panel: ili9882t: Avoid blurred screen from fast sleep

2023-10-12 Thread Doug Anderson
Hi, On Thu, Oct 12, 2023 at 6:12 PM cong yang wrote: > > Hi, > > On Thu, Oct 12, 2023 at 11:15 PM Doug Anderson wrote: > > > > Hi, > > > > On Thu, Oct 12, 2023 at 5:10 AM Cong Yang > > wrote: > > > > > > At present, we have found that there may be a problem of blurred > > > screen during fast s

[PATCH] drm/amdkfd: clean up some inconsistent indenting

2023-10-12 Thread Jiapeng Chong
No functional modification involved. drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_svm.c:305 svm_range_free() warn: inconsistent indenting. Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6804 Signed-off-by: Jiapeng Chong --- drivers/gpu/drm/amd/amdkfd/kfd_svm.c | 2

[PATCH v10 0/7] Initial support Cadence MHDP8501(HDMI/DP) for i.MX8MQ

2023-10-12 Thread Sandor Yu
The patch set initial support Cadence MHDP8501(HDMI/DP) DRM bridge drivers and Cadence HDP-TX PHY(HDMI/DP) drivers for Freescale i.MX8MQ. The patch set compose of DRM bridge drivers and PHY drivers. Both of them need patche #1 and #2 to pass build. DRM bridges driver patches: #1: drm: bridge:

[PATCH v10 1/7] drm: bridge: Cadence: Creat mhdp helper driver

2023-10-12 Thread Sandor Yu
MHDP8546 mailbox access functions will be share to other mhdp driver and Cadence HDP-TX HDMI/DP PHY drivers. Create a new mhdp helper driver and move all those functions into. cdns_mhdp_reg_write() is renamed to cdns_mhdp_dp_reg_write(), because it use the DPTX command ID DPTX_WRITE_REGISTER. New

[PATCH v10 2/7] phy: Add HDMI configuration options

2023-10-12 Thread Sandor Yu
Allow HDMI PHYs to be configured through the generic functions through a custom structure added to the generic union. The parameters added here are based on HDMI PHY implementation practices. The current set of parameters should cover the potential users. Signed-off-by: Sandor Yu Reviewed-by: D

[PATCH v10 3/7] dt-bindings: display: bridge: Add Cadence MHDP8501

2023-10-12 Thread Sandor Yu
Add bindings for Cadence MHDP8501 DisplayPort/HDMI bridge. Signed-off-by: Sandor Yu Reviewed-by: Krzysztof Kozlowski --- v9->v10: *No change. .../display/bridge/cdns,mhdp8501.yaml | 104 ++ 1 file changed, 104 insertions(+) create mode 100644 Documentation/devicetree

[PATCH v10 4/7] drm: bridge: Cadence: Add MHDP8501 DP/HDMI driver

2023-10-12 Thread Sandor Yu
Add a new DRM DisplayPort and HDMI bridge driver for Candence MHDP8501 used in i.MX8MQ SOC. MHDP8501 could support HDMI or DisplayPort standards according embedded Firmware running in the uCPU. For iMX8MQ SOC, the DisplayPort/HDMI FW was loaded and activated by SOC's ROM code. Bootload binary incl

[PATCH v10 5/7] dt-bindings: phy: Add Freescale iMX8MQ DP and HDMI PHY

2023-10-12 Thread Sandor Yu
Add bindings for Freescale iMX8MQ DP and HDMI PHY. Signed-off-by: Sandor Yu Reviewed-by: Rob Herring --- v9->v10: *No change. .../bindings/phy/fsl,imx8mq-dp-hdmi-phy.yaml | 53 +++ 1 file changed, 53 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/fsl

[PATCH v10 6/7] phy: freescale: Add DisplayPort PHY driver for i.MX8MQ

2023-10-12 Thread Sandor Yu
Add Cadence HDP-TX DisplayPort PHY driver for i.MX8MQ Cadence HDP-TX PHY could be put in either DP mode or HDMI mode base on the configuration chosen. DisplayPort PHY mode is configurated in the driver. Signed-off-by: Sandor Yu --- v9->v10: - update for mhdp helper driver is introduced. Remove

[PATCH v10 7/7] phy: freescale: Add HDMI PHY driver for i.MX8MQ

2023-10-12 Thread Sandor Yu
Add Cadence HDP-TX HDMI PHY driver for i.MX8MQ. Cadence HDP-TX PHY could be put in either DP mode or HDMI mode base on the configuration chosen. HDMI PHY mode is configurated in the driver. Signed-off-by: Sandor Yu Tested-by: Alexander Stein --- v9->v10: - update for mhdp helper driver is intr

Re: [v3 2/3] drm/panel: ili9882t: Avoid blurred screen from fast sleep

2023-10-12 Thread cong yang
Hi, On Fri, Oct 13, 2023 at 10:28 AM Doug Anderson wrote: > > Hi, > > On Thu, Oct 12, 2023 at 6:12 PM cong yang > wrote: > > > > Hi, > > > > On Thu, Oct 12, 2023 at 11:15 PM Doug Anderson wrote: > > > > > > Hi, > > > > > > On Thu, Oct 12, 2023 at 5:10 AM Cong Yang > > > wrote: > > > > > > > >

Re: [PATCH v11 06/16] drm/mediatek: gamma: Use bitfield macros

2023-10-12 Thread 胡俊光

Re: [PATCH v11 08/16] drm/mediatek: De-commonize disp_aal/disp_gamma gamma_set functions

2023-10-12 Thread 胡俊光

Re: [PATCH v11 10/16] drm/mediatek: gamma: Add support for 12-bit LUT

2023-10-12 Thread 胡俊光

Re: [PATCH v11 11/16] drm/mediatek: gamma: Add support for MT8195

2023-10-12 Thread 胡俊光

[git pull] drm fixes for 6.6-rc6

2023-10-12 Thread Dave Airlie
Hi Linus, Weekly fixes, the core is msm and amdgpu with some scattered fixes across vmwgfx, panel and the core stuff. Regards, Dave. drm-fixes-2023-10-13: drm fixes for 6.6-rc6 atomic-helper: - Relax checks for unregistered connectors dma-buf: - Work around race condition when retrieving fence

RE: [RFC 01/33] drm/doc/rfc: Add RFC document for proposed Plane Color Pipeline

2023-10-12 Thread Shankar, Uma
> -Original Message- > From: Christopher Braga > Sent: Friday, September 8, 2023 1:39 AM > To: Shankar, Uma ; intel-...@lists.freedesktop.org; > dri- > de...@lists.freedesktop.org > Cc: Borah, Chaitanya Kumar ; wayland- > de...@lists.freedesktop.org > Subject: Re: [RFC 01/33] drm/doc/rf

Re: [git pull] drm fixes for 6.6-rc6

2023-10-12 Thread pr-tracker-bot
The pull request you sent on Fri, 13 Oct 2023 14:24:48 +1000: > git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2023-10-13 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/10a6e5feccb877c3c75ad11d27942ad52c24815f Thank you! -- Deet-doot-dot, I am a bot. https://k

Re: [PATCH v7 06/16] dt-bindings: media: mediatek: mdp3: add component FG for MT8195

2023-10-12 Thread 何宗原
On Thu, 2023-10-12 at 12:22 +0200, AngeloGioacchino Del Regno wrote: > Il 12/10/23 10:40, Moudy Ho ha scritto: > > Add the fundamental hardware configuration of component FG, > > which is controlled by MDP3 on MT8195. > > > > Signed-off-by: Moudy Ho > > --- > > .../bindings/media/mediatek,mdp3-

Re: [PATCH v7 16/16] dt-bindings: display: mediatek: padding: add compatible for MT8195

2023-10-12 Thread 何宗原
On Thu, 2023-10-12 at 14:35 +0200, AngeloGioacchino Del Regno wrote: > Il 12/10/23 10:40, Moudy Ho ha scritto: > > Add a compatible string for the PAD block in MediaTek MT8195 that > > is controlled by MDP3. > > > > Signed-off-by: Moudy Ho > > --- > > .../bindings/display/mediatek/mediatek,padd

Re: [PATCH 3/3] drm/rockchip: fix the plane format defination of rk3568/6

2023-10-12 Thread Sascha Hauer
On Thu, Oct 12, 2023 at 10:37:05AM +0800, Andy Yan wrote: > From: Andy Yan > > The cluster windows on rk3568/6 only support afbc format, > linear format(RGB/YUV) are not supported. > The cluster windows on rk3588 support both linear and afbc rgb > format, but for yuv format it only support afbc.

Re: [PATCH 2/3] drm/rockchip: remove NR_LAYERS macro on vop2

2023-10-12 Thread Sascha Hauer
On Thu, Oct 12, 2023 at 10:36:30AM +0800, Andy Yan wrote: > From: Andy Yan > > There are 8 layers on rk3588, so a fix defined macro is > not appropriate. > Signed-off-by: Andy Yan > --- > > drivers/gpu/drm/rockchip/rockchip_drm_vop2.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-)

Re: [PATCH v3 04/16] platform/x86/amd/pmf: Add support for PMF Policy Binary

2023-10-12 Thread Shyam Sundar S K
On 10/11/2023 8:47 AM, Shyam Sundar S K wrote: > > > On 10/10/2023 9:56 PM, Mario Limonciello wrote: >> On 10/10/2023 07:59, Shyam Sundar S K wrote: >>> PMF Policy binary is a encrypted and signed binary that will be part >>> of the BIOS. PMF driver via the ACPI interface checks the existence

Re: [PATCH 1/3] drm/rockchip: remove unused struct in vop2

2023-10-12 Thread Sascha Hauer
On Thu, Oct 12, 2023 at 10:36:53AM +0800, Andy Yan wrote: > From: Andy Yan > > These structs are undefined and un used. > Fixes: 604be85547ce ("drm/rockchip: Add VOP2 driver") > > Signed-off-by: Andy Yan Reviewed-by: Sascha Hauer Sascha > > --- > > drivers/gpu/drm/rockchip/rockchip_drm_v

Re: [PATCH v7 02/16] dt-bindings: media: mediatek: mdp3: merge the indentical RDMA under display

2023-10-12 Thread Krzysztof Kozlowski
On 12/10/2023 10:40, Moudy Ho wrote: > > +allOf: > + - if: > + properties: > +compatible: > + contains: > +const: mediatek,mt8183-mdp3-rdma > + > +then: > + properties: > +clocks: > + items: > +- description: RDMA clock > +

Re: [PATCH v7 03/16] dt-bindings: media: mediatek: mdp3: add config for MT8195 RDMA

2023-10-12 Thread Krzysztof Kozlowski
On 12/10/2023 10:40, Moudy Ho wrote: > Added the configuration for MT8195 RDMA. In comparison to MT8183, it > no longer shares SRAM with RSZ, and there are now preconfigured 5 mbox. > > Signed-off-by: Moudy Ho > --- > .../bindings/media/mediatek,mdp3-rdma.yaml| 26 ++- > 1 fi

Re: [PATCH v7 04/16] dt-bindings: media: mediatek: mdp3: add compatible for MT8195 RSZ

2023-10-12 Thread Krzysztof Kozlowski
On 12/10/2023 10:40, Moudy Ho wrote: > MT8195 RSZ inherited from MT8183, add the corresponding > compatible name to it. > > Signed-off-by: Moudy Ho Acked-by: Krzysztof Kozlowski Best regards, Krzysztof

Re: [PATCH v7 05/16] dt-bindings: media: mediatek: mdp3: add compatible for MT8195 WROT

2023-10-12 Thread Krzysztof Kozlowski
On 12/10/2023 10:40, Moudy Ho wrote: > MT8195 WROT inherited from MT8183, add the corresponding > compatible name to it. > > Signed-off-by: Moudy Ho > --- Acked-by: Krzysztof Kozlowski Best regards, Krzysztof

Re: [PATCH v7 06/16] dt-bindings: media: mediatek: mdp3: add component FG for MT8195

2023-10-12 Thread Krzysztof Kozlowski
On 12/10/2023 10:40, Moudy Ho wrote: > Add the fundamental hardware configuration of component FG, > which is controlled by MDP3 on MT8195. > > Signed-off-by: Moudy Ho > --- Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof

Re: [PATCH 3/3] drm/rockchip: fix the plane format defination of rk3568/6

2023-10-12 Thread Andy Yan
Hi Sacha: On 10/13/23 14:11, Sascha Hauer wrote: On Thu, Oct 12, 2023 at 10:37:05AM +0800, Andy Yan wrote: From: Andy Yan The cluster windows on rk3568/6 only support afbc format, linear format(RGB/YUV) are not supported. The cluster windows on rk3588 support both linear and afbc rgb format,

Re: [PATCH v7 07/16] dt-bindings: media: mediatek: mdp3: add component HDR for MT8195

2023-10-12 Thread Krzysztof Kozlowski
On 12/10/2023 10:40, Moudy Ho wrote: > Add the fundamental hardware configuration of component HDR, > which is controlled by MDP3 on MT8195. > > Signed-off-by: Moudy Ho Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof

Re: [PATCH v7 08/16] dt-bindings: media: mediatek: mdp3: add component STITCH for MT8195

2023-10-12 Thread Krzysztof Kozlowski
On 12/10/2023 10:40, Moudy Ho wrote: > Add the fundamental hardware configuration of component STITCH, > which is controlled by MDP3 on MT8195. > > Signed-off-by: Moudy Ho Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof

Re: [PATCH v7 09/16] dt-bindings: media: mediatek: mdp3: add component TCC for MT8195

2023-10-12 Thread Krzysztof Kozlowski
On 12/10/2023 10:40, Moudy Ho wrote: > Add the fundamental hardware configuration of component TCC, > which is controlled by MDP3 on MT8195. > > Signed-off-by: Moudy Ho > --- > .../bindings/media/mediatek,mdp3-tcc.yaml | 62 +++ Reviewed-by: Krzysztof Kozlowski Best regards

Re: [PATCH v7 10/16] dt-bindings: media: mediatek: mdp3: add component TDSHP for MT8195

2023-10-12 Thread Krzysztof Kozlowski
On 12/10/2023 10:40, Moudy Ho wrote: > Add the fundamental hardware configuration of component TDSHP, > which is controlled by MDP3 on MT8195. > > Signed-off-by: Moudy Ho > --- Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof

Re: [PATCH v7 12/16] dt-bindings: display: mediatek: color: add compatible for MT8195

2023-10-12 Thread Krzysztof Kozlowski
On 12/10/2023 10:40, Moudy Ho wrote: > Add a compatible string for the COLOR block in MediaTek MT8195 that > is controlled by MDP3. > > Signed-off-by: Moudy Ho Acked-by: Krzysztof Kozlowski Best regards, Krzysztof

<    1   2   3   >