Re: [PATCH] soc: qcom: pmic_glink_altmode: Use common error handling code in pmic_glink_altmode_probe()

2024-02-28 Thread Dan Carpenter
On Thu, Feb 29, 2024 at 12:26:49AM +0100, Konrad Dybcio wrote: > > > On 2/28/24 19:05, Markus Elfring wrote: > > From: Markus Elfring > > Date: Wed, 28 Feb 2024 18:45:13 +0100 > > > > Add a jump target so that a bit of exception handling can be better reused > > at the end of this function

Re: [PATCH] Revert "drm/msm/dp: use drm_bridge_hpd_notify() to report HPD status changes"

2024-02-28 Thread Johan Hovold
On Wed, Feb 28, 2024 at 10:10:10AM -0800, Abhinav Kumar wrote: > On 2/28/2024 5:28 AM, Johan Hovold wrote: > > This is a fix for a user-visible regression that was reported formally > > two weeks ago and informally (e.g. to you) soon after rc1 came out, and > > which now also has an identified

Re: [PATCH v5 6/8] usb: misc: onboard_dev: add support for non-hub devices

2024-02-28 Thread Javier Carrasco
On 28.02.24 22:34, Matthias Kaehlcke wrote: > On Wed, Feb 28, 2024 at 09:50:22PM +0100, Javier Carrasco wrote: >> On 28.02.24 21:41, Matthias Kaehlcke wrote: >>> On Wed, Feb 28, 2024 at 09:21:00PM +0100, Javier Carrasco wrote: On 28.02.24 19:10, Matthias Kaehlcke wrote: > On Wed, Feb 28,

Re: [PATCH] dt-bindings: display: atmel,lcdc: convert to dtschema

2024-02-28 Thread Dharma.B
On 28/02/24 3:53 pm, Krzysztof Kozlowski wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > On 28/02/2024 11:18, dharm...@microchip.com wrote: >> On 28/02/24 12:43 pm, Krzysztof Kozlowski wrote: >>> EXTERNAL EMAIL: Do not click links or open

RE: [PATCH v12 0/8] Enable Adaptive Sync SDP Support for DP

2024-02-28 Thread Golani, Mitulkumar Ajitkumar
> Subject: Re: [PATCH v12 0/8] Enable Adaptive Sync SDP Support for DP > > On Wed, 28 Feb 2024, Mitul Golani > wrote: > > -v12: > > - Update cover letter > > Did you just send the entire series again within 30 minutes just to update the > cover letter? You could've just replied to the cover

linux-next: build failure after merge of the kunit-next tree

2024-02-28 Thread Stephen Rothwell
Hi all, After merging the kunit-next tree, today's linux-next build (x86_64 allmodconfig) failed like this: In file included from drivers/gpu/drm/tests/drm_buddy_test.c:7: drivers/gpu/drm/tests/drm_buddy_test.c: In function 'drm_test_buddy_alloc_range_bias':

Re: ECC memory semantics for heaps

2024-02-28 Thread John Stultz
On Wed, Feb 28, 2024 at 7:24 AM Maxime Ripard wrote: > > I'm currently working on a platform that seems to have togglable RAM ECC > support. Enabling ECC reduces the memory capacity and memory bandwidth, > so while it's a good idea to protect most of the system, it's not worth > it for things

Re: [PATCH 11/11] drm/mediatek: Rename "pending_needs_vblank" to "needs_vblank"

2024-02-28 Thread 宋孝謙

[PATCH 1/3] dt-bindings: display: mediatek: gamma: Change MT8195 to single enum group

2024-02-28 Thread Jason-JH . Lin
Since MT8195 gamma has multiple bank for 12 bits LUT and it is different from any other SoC LUT setting. So we move MT8195 compatible from the one of items to the single enum group. Signed-off-by: Jason-JH.Lin --- .../devicetree/bindings/display/mediatek/mediatek,gamma.yaml| 2 +- 1 file

[PATCH 2/3] dt-bindings: display: mediatek: gamma: Add support for MT8188

2024-02-28 Thread Jason-JH . Lin
The gamma LUT setting of MT8188 and MT8195 are the same, so we create a one of items for MT8188 to reuse the driver data settings of MT8195. Signed-off-by: Jason-JH.Lin --- .../devicetree/bindings/display/mediatek/mediatek,gamma.yaml | 4 1 file changed, 4 insertions(+) diff --git

[PATCH 3/3] drm/mediatek: Add gamma support for MT8195

2024-02-28 Thread Jason-JH . Lin
Since MT8195 compatible is in the single enum group, we have to add its compatible into mediatek-drm component binding table to ensure that it can be bound as a ddp_comp. Signed-off-by: Jason-JH.Lin --- drivers/gpu/drm/mediatek/mtk_drm_drv.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH 0/3] Add GAMMA 12-bit LUT support for MT8188

2024-02-28 Thread Jason-JH . Lin
From: Jason-jh Lin Since MT8195 supports GAMMA 12-bit LUT after the landing of [1] series, we can now add support for MT8188. [1] MediaTek DDP GAMMA - 12-bit LUT support - https://patchwork.kernel.org/project/linux-mediatek/list/?series=792516 Jason-JH.Lin (3): dt-bindings: display:

Re: [PATCH] drm/imagination: Kconfig: add 'PAGE_SIZE=4K' dependency

2024-02-28 Thread yaolu
在 2024/2/28 18:47, Matt Coster 写道: Hi, thanks for the patch! On 28/02/2024 01:23, Lu Yao wrote: When 'PAGE_SIZE=64K',the following compilation error occurs: " ../drivers/gpu/drm/imagination/pvr_fw_mips.c: In function ‘pvr_mips_fw_process’:

Re: [PATCH v2 6/9] drm/vkms: Add YUV support

2024-02-28 Thread Arthur Grillo
On 27/02/24 17:01, Arthur Grillo wrote: > > > On 27/02/24 12:02, Louis Chauvet wrote: >> Hi Pekka, >> >> For all the comment related to the conversion part, maybe Arthur have an >> opinion on it, I took his patch as a "black box" (I did not want to >> break (and debug) it). >> >> Le

Re: [PATCH v2 3/3] drm/panel: panel-edp: Fix AUO 0x405c panel naming and add a variant

2024-02-28 Thread Hsin-Yi Wang
On Wed, Feb 28, 2024 at 5:13 PM Dmitry Baryshkov wrote: > > On Thu, 29 Feb 2024 at 03:05, Hsin-Yi Wang wrote: > > > > On Wed, Feb 28, 2024 at 4:22 PM Doug Anderson wrote: > > > > > > Hi, > > > > > > On Tue, Feb 27, 2024 at 5:11 PM Hsin-Yi Wang wrote: > > > > > > > > There are 2 different AUO

Re: [PATCH v2 3/3] drm/panel: panel-edp: Fix AUO 0x405c panel naming and add a variant

2024-02-28 Thread Dmitry Baryshkov
On Thu, 29 Feb 2024 at 03:05, Hsin-Yi Wang wrote: > > On Wed, Feb 28, 2024 at 4:22 PM Doug Anderson wrote: > > > > Hi, > > > > On Tue, Feb 27, 2024 at 5:11 PM Hsin-Yi Wang wrote: > > > > > > There are 2 different AUO panels using the same panel id. One of the > > > variants requires using

Re: [PATCH v2 3/3] drm/panel: panel-edp: Fix AUO 0x405c panel naming and add a variant

2024-02-28 Thread Hsin-Yi Wang
On Wed, Feb 28, 2024 at 4:22 PM Doug Anderson wrote: > > Hi, > > On Tue, Feb 27, 2024 at 5:11 PM Hsin-Yi Wang wrote: > > > > There are 2 different AUO panels using the same panel id. One of the > > variants requires using overridden modes to resolve glitching issue as > > described in commit

Re: [PATCH v2 1/3] drm_edid: Support getting EDID through ddc without connector

2024-02-28 Thread Hsin-Yi Wang
On Wed, Feb 28, 2024 at 4:21 PM Doug Anderson wrote: > > Hi, > > On Tue, Feb 27, 2024 at 5:11 PM Hsin-Yi Wang wrote: > > > > Some panels are interested in the EDID during early probe when connector > > is still unknown. > > > > Add a function drm_get_edid_no_connector() to get edid without

Re: [PATCH v2 3/3] drm/panel: panel-edp: Fix AUO 0x405c panel naming and add a variant

2024-02-28 Thread Doug Anderson
Hi, On Tue, Feb 27, 2024 at 5:11 PM Hsin-Yi Wang wrote: > > There are 2 different AUO panels using the same panel id. One of the > variants requires using overridden modes to resolve glitching issue as > described in commit 70e0d5550f5c ("drm/panel-edp: Add auo_b116xa3_mode"). > Other variants

Re: [PATCH v2 2/3] drm/panel: panel-edp: Match edp_panels with panel name

2024-02-28 Thread Doug Anderson
Hi, On Tue, Feb 27, 2024 at 5:11 PM Hsin-Yi Wang wrote: > > @@ -2107,13 +2113,41 @@ static const struct edp_panel_entry edp_panels[] = { > { /* sentinal */ } > }; > > -static const struct edp_panel_entry *find_edp_panel(u32 panel_id) > +static bool edid_has_name(struct edid *edid, const

Re: [PATCH v2 1/3] drm_edid: Support getting EDID through ddc without connector

2024-02-28 Thread Doug Anderson
Hi, On Tue, Feb 27, 2024 at 5:11 PM Hsin-Yi Wang wrote: > > Some panels are interested in the EDID during early probe when connector > is still unknown. > > Add a function drm_get_edid_no_connector() to get edid without connector. > No functional change for existing usage. > > Signed-off-by:

Re: [PATCH 1/2] drm_edid: Add a function to get EDID base block

2024-02-28 Thread Doug Anderson
Hi, On Tue, Feb 27, 2024 at 5:27 PM Hsin-Yi Wang wrote: > > On Tue, Feb 27, 2024 at 1:09 AM Jani Nikula > wrote: > > > > On Fri, 23 Feb 2024, Hsin-Yi Wang wrote: > > > It's found that some panels have variants that they share the same panel > > > id > > > although their EDID and names are

Re: [PATCH v2 0/7] Add YUV formats to VKMS

2024-02-28 Thread Arthur Grillo
On 15/01/24 12:06, Sebastian Wick wrote: > On Wed, Jan 10, 2024 at 02:44:00PM -0300, Arthur Grillo wrote: >> This patchset aims to add support for additional buffer YUV formats. >> More specifically, it adds support to: >> >> Semi-planar formats: >> >> - NV12 >> - NV16 >> - NV24 >> - NV21 >> -

Re: [PATCH v3 1/3] bits: introduce fixed-type genmasks

2024-02-28 Thread Lucas De Marchi
On Thu, Feb 22, 2024 at 06:49:59AM -0800, Yury Norov wrote: On Wed, Feb 21, 2024 at 03:59:06PM -0600, Lucas De Marchi wrote: On Wed, Feb 21, 2024 at 11:04:22PM +0200, Andy Shevchenko wrote: > On Wed, Feb 21, 2024 at 10:30:02PM +0200, Dmitry Baryshkov wrote: > > On Thu, 8 Feb 2024 at 09:45,

Re: [PATCH] soc: qcom: pmic_glink_altmode: Use common error handling code in pmic_glink_altmode_probe()

2024-02-28 Thread Konrad Dybcio
On 2/28/24 19:05, Markus Elfring wrote: From: Markus Elfring Date: Wed, 28 Feb 2024 18:45:13 +0100 Add a jump target so that a bit of exception handling can be better reused at the end of this function implementation. This issue was transformed by using the Coccinelle software.

Re: [PATCH] drm/tidss: Use dev_err_probe() over dev_dbg() when failing to probe the port

2024-02-28 Thread Enric Balletbo i Serra
Hello Andrew, Many thanks for proposing this. On Wed, Feb 28, 2024 at 11:02 PM Javier Martinez Canillas wrote: > > Andrew Halaney writes: > > Hello Andrew, > > > This gets logged out to /sys/kernel/debug/devices_deferred in the > > -EPROBE_DEFER case and as an error otherwise. The message here

Re: [PATCH 0/3] kci-gitlab: Introducing GitLab-CI Pipeline for Kernel Testing

2024-02-28 Thread Laurent Pinchart
Hi Helen, I appreciate the amount of work you've put into this, to improve testing of the kernel as a whole. I'll need more time to answer, but please see below for a quick comment already. On Wed, Feb 28, 2024 at 07:55:24PM -0300, Helen Koike wrote: > Dear Kernel Community, > > This patch

[PATCH 2/3] kci-gitlab: Add documentation

2024-02-28 Thread Helen Koike
Add documentation of kci-gitlab. Signed-off-by: Helen Koike --- Documentation/ci/gitlab-ci/gitlab-ci.rst | 404 +++ Documentation/index.rst | 7 + MAINTAINERS | 1 + 3 files changed, 412 insertions(+) create mode 100644

[PATCH 1/3] kci-gitlab: Introducing GitLab-CI Pipeline for Kernel Testing

2024-02-28 Thread Helen Koike
This patch introduces a `.gitlab-ci` file along with a `ci/` folder, defininga basic test pipeline triggered by code pushes to a GitLab-CI instance. This initial version includes static checks (checkpatch and smatch for now) and build tests across various architectures and configurations. It

[PATCH 0/3] kci-gitlab: Introducing GitLab-CI Pipeline for Kernel Testing

2024-02-28 Thread Helen Koike
Dear Kernel Community, This patch introduces a `.gitlab-ci` file along with a `ci/` folder, defining a basic test pipeline triggered by code pushes to a GitLab-CI instance. This initial version includes static checks (checkpatch and smatch for now) and build tests across various architectures and

Re: [PATCH] drm/msm/dp: fix runtime_pm handling in dp_wait_hpd_asserted

2024-02-28 Thread Stephen Boyd
Quoting Dmitry Baryshkov (2024-02-26 14:34:45) > The function dp_wait_hpd_asserted() uses pm_runtime_get_sync() and > doesn't care about the return value. Potentially this can lead to > unclocked access if for some reason resuming of the DP controller fails. > > Change the function to use

RE: [PATCH 3/4] drm: xlnx: zynqmp_dpsub: Set input live format

2024-02-28 Thread Klymenko, Anatoliy
Hi Laurent, Thanks a lot for the review. > -Original Message- > From: Laurent Pinchart > Sent: Wednesday, February 28, 2024 8:08 AM > To: Klymenko, Anatoliy > Cc: Maarten Lankhorst ; Maxime Ripard > ; Thomas Zimmermann ; David > Airlie ; Daniel Vetter ; Simek, Michal > ; Andrzej Hajda

Re: [PATCH 2/3] drm/panel: add samsung s6e3fa7 panel driver

2024-02-28 Thread Jessica Zhang
On 2/9/2024 3:17 PM, Richard Acayan wrote: On Thu, Feb 08, 2024 at 05:34:57PM -0800, Jessica Zhang wrote: On 2/8/2024 4:16 PM, Richard Acayan wrote: The S6E3FA7 display controller is enabled in every Pixel 3a (non-XL) variant. Add the driver for it, generated by

Re: [linux-next:master] BUILD REGRESSION 20af1ca418d2c0b11bc2a1fe8c0c88f67bcc2a7e

2024-02-28 Thread Lucas De Marchi
On Thu, Feb 29, 2024 at 01:31:53AM +0800, kernel test robot wrote: drivers/gpu/drm/xe/xe_mmio.c:109:23: error: result of comparison of constant 4294967296 with expression of type 'resource_size_t' (aka 'unsigned int') is always false [-Werror,-Wtautological-constant-out-of-range-compare]

Re: [PATCH] drm/tidss: Use dev_err_probe() over dev_dbg() when failing to probe the port

2024-02-28 Thread Javier Martinez Canillas
Andrew Halaney writes: Hello Andrew, > This gets logged out to /sys/kernel/debug/devices_deferred in the > -EPROBE_DEFER case and as an error otherwise. The message here provides > useful information to the user when troubleshooting why their display is > not working in either case, so let's

RE: [PATCH 4/4] drm/atomic-helper: Add select_output_bus_format callback

2024-02-28 Thread Klymenko, Anatoliy
Hi Maxime, Thanks for the review. > -Original Message- > From: Maxime Ripard > Sent: Wednesday, February 28, 2024 7:30 AM > To: Klymenko, Anatoliy > Cc: Laurent Pinchart ; Maarten Lankhorst > ; Thomas Zimmermann > ; David Airlie ; Daniel Vetter > ; Simek, Michal ; Andrzej Hajda > ;

Re: drm-misc migration to Gitlab server

2024-02-28 Thread Stephen Rothwell
Hi Daniel, On Wed, 28 Feb 2024 17:33:28 +0100 Daniel Vetter wrote: > > > git://git.freedesktop.org/git/drm/drm.git#drm-fixes > > git://git.freedesktop.org/git/drm/drm.git#drm-next > > To test out the process we've moved drm.git first. It's now here: > >

Re: [PATCH RFC 0/4] Support for Simulated Panels

2024-02-28 Thread Jessica Zhang
On 2/2/2024 2:15 AM, Maxime Ripard wrote: On Tue, Jan 30, 2024 at 09:53:13AM +0100, Daniel Vetter wrote: Wouldn't it be simpler if we had a vkms-like panel that we could either configure from DT or from debugfs that would just be registered the usual way and would be the only panel we

Re: [PATCH v5 6/8] usb: misc: onboard_dev: add support for non-hub devices

2024-02-28 Thread Matthias Kaehlcke
On Wed, Feb 28, 2024 at 09:50:22PM +0100, Javier Carrasco wrote: > On 28.02.24 21:41, Matthias Kaehlcke wrote: > > On Wed, Feb 28, 2024 at 09:21:00PM +0100, Javier Carrasco wrote: > >> On 28.02.24 19:10, Matthias Kaehlcke wrote: > >>> On Wed, Feb 28, 2024 at 02:51:33PM +0100, Javier Carrasco

Re: [PATCH] drm/dp: Don't attempt AUX transfers when eDP panels are not powered

2024-02-28 Thread Doug Anderson
Hi, On Wed, Feb 28, 2024 at 8:52 AM wrote: > > On 28/02/2024 17:40, Doug Anderson wrote: > > Neil, > > > > On Thu, Feb 15, 2024 at 8:53 AM Neil Armstrong > > wrote: > >> > >> Hi Doug, > >> > >> On 15/02/2024 16:08, Doug Anderson wrote: > >>> Hi, > >>> > >>> On Thu, Feb 15, 2024 at 2:24 AM Jani

Re: [PATCH v5 6/8] usb: misc: onboard_dev: add support for non-hub devices

2024-02-28 Thread Javier Carrasco
On 28.02.24 21:41, Matthias Kaehlcke wrote: > On Wed, Feb 28, 2024 at 09:21:00PM +0100, Javier Carrasco wrote: >> On 28.02.24 19:10, Matthias Kaehlcke wrote: >>> On Wed, Feb 28, 2024 at 02:51:33PM +0100, Javier Carrasco wrote: Most of the functionality this driver provides can be used by

Re: [PATCH v5 6/8] usb: misc: onboard_dev: add support for non-hub devices

2024-02-28 Thread Matthias Kaehlcke
On Wed, Feb 28, 2024 at 09:21:00PM +0100, Javier Carrasco wrote: > On 28.02.24 19:10, Matthias Kaehlcke wrote: > > On Wed, Feb 28, 2024 at 02:51:33PM +0100, Javier Carrasco wrote: > >> Most of the functionality this driver provides can be used by non-hub > >> devices as well. > >> > >> To account

Re: [PATCH v5 6/8] usb: misc: onboard_dev: add support for non-hub devices

2024-02-28 Thread Javier Carrasco
On 28.02.24 19:10, Matthias Kaehlcke wrote: > On Wed, Feb 28, 2024 at 02:51:33PM +0100, Javier Carrasco wrote: >> Most of the functionality this driver provides can be used by non-hub >> devices as well. >> >> To account for the hub-specific code, add a flag to the device data >> structure and

[PATCH] drm/tidss: Use dev_err_probe() over dev_dbg() when failing to probe the port

2024-02-28 Thread Andrew Halaney
return dev_err_probe(dev, ret, "port %d probe failed\n", i); } if (panel) { --- base-commit: 22ba90670a51a18c6b36d285fddf92b9887c0bc3 change-id: 20240228-tidss-dev-err-probe-fa61fb057029 Best regards, -- Andrew Halaney

Re: [PATCH v5 2/8] usb: misc: onboard_hub: rename to onboard_dev

2024-02-28 Thread Javier Carrasco
On 28.02.24 19:18, Matthias Kaehlcke wrote: > On Wed, Feb 28, 2024 at 02:51:29PM +0100, Javier Carrasco wrote: >> This patch prepares onboad_hub to support non-hub devices by renaming >> the driver files and their content, the headers and their references. >> >> The comments and descriptions have

Re: [PATCH v2] drm/i915/guc: Use context hints for GT freq

2024-02-28 Thread Belgaumkar, Vinay
On 2/28/2024 4:54 AM, Tvrtko Ursulin wrote: On 27/02/2024 23:51, Vinay Belgaumkar wrote: Allow user to provide a low latency context hint. When set, KMD sends a hint to GuC which results in special handling for this context. SLPC will ramp the GT frequency aggressively every time it switches

RE: Making drm_gpuvm work across gpu devices

2024-02-28 Thread Zeng, Oak
The mail wasn’t indent/preface correctly. Manually format it. From: Christian König mailto:christian.koe...@amd.com>> Sent: Tuesday, February 27, 2024 1:54 AM To: Zeng, Oak mailto:oak.z...@intel.com>>; Danilo Krummrich mailto:d...@redhat.com>>; Dave Airlie mailto:airl...@redhat.com>>; Daniel

[PATCH 2/2] drm/msm/dpu: drop dpu_kms from _dpu_kms_initialize_writeback

2024-02-28 Thread Abhinav Kumar
Following the pattern of other interfaces, lets align writeback as well by dropping the dpu_kms parameter in its _dpu_kms_initialize_* function. Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff

[PATCH 1/2] drm/msm/dpu: drop unused dpu_kms from interface initialization

2024-02-28 Thread Abhinav Kumar
dpu_kms seems unused while initializing DSI, HDMI and DP through their respective _dpu_kms_initialize_* functions. Hence lets drop the parameter altogether. Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 15 ++- 1 file changed, 6 insertions(+), 9

Re: [PATCH 1/3] [v2] drm/xe/kunit: fix link failure with built-in xe

2024-02-28 Thread Lucas De Marchi
On Mon, 26 Feb 2024 13:46:36 +0100, Arnd Bergmann wrote: > When the driver is built-in but the tests are in loadable modules, > the helpers don't actually get put into the driver: > > ERROR: modpost: "xe_kunit_helper_alloc_xe_device" > [drivers/gpu/drm/xe/tests/xe_test.ko] undefined! > >

Re: [PATCH v5 8/8] usb: misc: onboard_hub: add support for XMOS XVF3500

2024-02-28 Thread Matthias Kaehlcke
On Wed, Feb 28, 2024 at 02:51:35PM +0100, Javier Carrasco wrote: > The XMOS XVF3500 VocalFusion Voice Processor[1] is a low-latency, 32-bit > multicore controller for voice processing. > > This device requires a specific power sequence, which consists of > enabling the regulators that control the

[pull] drm/msm: drm-msm-fixes-2024-02-28 for v6.8-rc7

2024-02-28 Thread Rob Clark
Hi Dave, A late revert to address a displayport hpd regression. The following changes since commit 8c7bfd8262319fd3f127a5380f593ea76f1b88a2: drm/msm: Wire up tlb ops (2024-02-15 08:51:31 -0800) are available in the Git repository at: https://gitlab.freedesktop.org/drm/msm.git

Re: [PATCH v5 2/8] usb: misc: onboard_hub: rename to onboard_dev

2024-02-28 Thread Matthias Kaehlcke
On Wed, Feb 28, 2024 at 02:51:29PM +0100, Javier Carrasco wrote: > This patch prepares onboad_hub to support non-hub devices by renaming > the driver files and their content, the headers and their references. > > The comments and descriptions have been slightly modified to keep > coherence and

Re: [PATCH v5 07/14] drm/panthor: Add the MMU/VM logical block

2024-02-28 Thread Boris Brezillon
On Sun, 18 Feb 2024 22:41:21 +0100 Boris Brezillon wrote: > +int panthor_vm_active(struct panthor_vm *vm) > +{ > + struct panthor_device *ptdev = vm->ptdev; > + struct io_pgtable_cfg *cfg = > _pgtable_ops_to_pgtable(vm->pgtbl_ops)->cfg; > + int ret = 0, as, cookie; > + u64

Re: [PATCH v5 10/14] drm/panthor: Add the scheduler logical block

2024-02-28 Thread Boris Brezillon
On Sun, 18 Feb 2024 22:41:24 +0100 Boris Brezillon wrote: > +static void panthor_sched_immediate_tick(struct panthor_device *ptdev) > +{ > + struct panthor_scheduler *sched = ptdev->scheduler; > + > + sched_queue_delayed_work(sched, tick, 0); > +} > + > +/** > + *

Re: [PATCH v5 6/8] usb: misc: onboard_dev: add support for non-hub devices

2024-02-28 Thread Matthias Kaehlcke
On Wed, Feb 28, 2024 at 02:51:33PM +0100, Javier Carrasco wrote: > Most of the functionality this driver provides can be used by non-hub > devices as well. > > To account for the hub-specific code, add a flag to the device data > structure and check its value for hub-specific code. > > The

Re: [PATCH] Revert "drm/msm/dp: use drm_bridge_hpd_notify() to report HPD status changes"

2024-02-28 Thread Abhinav Kumar
On 2/28/2024 5:28 AM, Johan Hovold wrote: On Wed, Feb 28, 2024 at 01:08:04PM +0200, Dmitry Baryshkov wrote: On Wed, 28 Feb 2024 at 11:50, Johan Hovold wrote: On Tue, Feb 27, 2024 at 02:11:56PM -0800, Abhinav Kumar wrote: On 2/27/2024 2:08 PM, Dmitry Baryshkov wrote: This reverts commit

Re: [PATCH v2 8/9] media: dt-bindings: Add Intel Displayport RX IP

2024-02-28 Thread Rob Herring
On Wed, Feb 28, 2024 at 02:09:33PM +0100, Paweł Anikiel wrote: > On Wed, Feb 28, 2024 at 1:18 PM Krzysztof Kozlowski > wrote: > > > > On 28/02/2024 12:05, Paweł Anikiel wrote: > > > On Tue, Feb 27, 2024 at 3:29 PM Rob Herring wrote: > > >> > > >> On Mon, Feb 26, 2024 at 11:59:42AM +0100, Paweł

Re: [PATCH 2/2] fbcon: Defer console takeover for splash screens to first switch

2024-02-28 Thread Mario Limonciello
On 2/28/2024 05:54, Hans de Goede wrote: Hi Daniel, On 2/28/24 03:00, Daniel van Vugt wrote: On 27/2/24 21:47, Hans de Goede wrote: I think some boot failures also take you to the grub menu automatically next time? In Fedora all boot failures will unhide the grub menu on the next boot.

[PATCH] soc: qcom: pmic_glink_altmode: Use common error handling code in pmic_glink_altmode_probe()

2024-02-28 Thread Markus Elfring
From: Markus Elfring Date: Wed, 28 Feb 2024 18:45:13 +0100 Add a jump target so that a bit of exception handling can be better reused at the end of this function implementation. This issue was transformed by using the Coccinelle software. Signed-off-by: Markus Elfring ---

[linux-next:master] BUILD REGRESSION 20af1ca418d2c0b11bc2a1fe8c0c88f67bcc2a7e

2024-02-28 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master branch HEAD: 20af1ca418d2c0b11bc2a1fe8c0c88f67bcc2a7e Add linux-next specific files for 20240228 Error/Warning reports: https://lore.kernel.org/oe-kbuild-all/202402281921.gr4yw253-...@intel.com https

Re: [PATCH] drm/dp: Don't attempt AUX transfers when eDP panels are not powered

2024-02-28 Thread neil . armstrong
On 28/02/2024 17:40, Doug Anderson wrote: Neil, On Thu, Feb 15, 2024 at 8:53 AM Neil Armstrong wrote: Hi Doug, On 15/02/2024 16:08, Doug Anderson wrote: Hi, On Thu, Feb 15, 2024 at 2:24 AM Jani Nikula wrote: On Wed, 14 Feb 2024, Doug Anderson wrote: Hi, On Tue, Feb 13, 2024 at 10:25 

[PATCH] drm/dp: Fix documentation of DP tunnel functions

2024-02-28 Thread Imre Deak
Fix the documentation issues below, also reported by 'make htmldocs': drivers/gpu/drm/display/drm_dp_tunnel.c:447: warning: Function parameter or struct member 'tunnel' not described in 'drm_dp_tunnel_put' drivers/gpu/drm/display/drm_dp_tunnel.c:447: warning: Function parameter or struct member

Re: [PATCH] drm/dp: Don't attempt AUX transfers when eDP panels are not powered

2024-02-28 Thread Doug Anderson
Neil, On Thu, Feb 15, 2024 at 8:53 AM Neil Armstrong wrote: > > Hi Doug, > > On 15/02/2024 16:08, Doug Anderson wrote: > > Hi, > > > > On Thu, Feb 15, 2024 at 2:24 AM Jani Nikula wrote: > >> > >> On Wed, 14 Feb 2024, Doug Anderson wrote: > >>> Hi, > >>> > >>> On Tue, Feb 13, 2024 at 10:25 PM

Re: drm-misc migration to Gitlab server

2024-02-28 Thread Daniel Vetter
Hi Stephen! On Wed, Feb 21, 2024 at 09:46:43AM +1100, Stephen Rothwell wrote: > On Tue, 20 Feb 2024 11:25:05 + Daniel Stone wrote: > > > > On Tue, 20 Feb 2024 at 09:05, Maxime Ripard wrote: > > > On Tue, Feb 20, 2024 at 09:49:25AM +0100, Maxime Ripard wrote: > > > > This will be mostly

Re: [PATCH 2/2] arm64: dts: imx8mp-beacon-kit: Enable HDMI bridge HPD

2024-02-28 Thread Laurent Pinchart
Hi Adam, Thank you for the patch. On Wed, Feb 28, 2024 at 05:37:36AM -0600, Adam Ford wrote: > The DSI to HDMI bridge supports hot-plut-detect, but the > driver didn't previously support a shared IRQ GPIO. With > the driver updated, the interrupt can be added to the bridge. You can reflow the

Re: [PATCH 1/2] drm/bridge: adv7511: Allow IRQ to share GPIO pins

2024-02-28 Thread Laurent Pinchart
Hi Adam, Thank you for the patch. On Wed, Feb 28, 2024 at 05:37:35AM -0600, Adam Ford wrote: > The IRQ registration currently assumes that the GPIO is > dedicated to it, but that may not necessarily be the case. > If the board has another device sharing the IRQ, it won't be > registered and the

Re: UAPI Re: [PATCH 1/3] drm: Add DRM_MODE_TV_MODE_MONOCHROME

2024-02-28 Thread Simon Ser
On Wednesday, February 28th, 2024 at 17:14, Maxime Ripard wrote: > > I don't know what the rules were 8 years ago, but the current uAPI rules > > are what they are, and a new enum entry is new uAPI. > > TBF, and even if the wayland compositors support is missing, this > property is perfectly

Re: [PATCH] drm: xlnx: dp: Reset DisplayPort IP

2024-02-28 Thread Laurent Pinchart
Hello Rohit, Thank you for the patch. On Fri, Feb 16, 2024 at 04:40:43AM -0800, Rohit Visavalia wrote: > Assert DisplayPort reset signal before deasserting, > it is to clear out any registers programmed before booting kernel. > > Signed-off-by: Rohit Visavalia > --- >

Re: UAPI Re: [PATCH 1/3] drm: Add DRM_MODE_TV_MODE_MONOCHROME

2024-02-28 Thread Maxime Ripard
Hi, On Tue, Feb 27, 2024 at 09:51:06AM +, Simon Ser wrote: > On Monday, February 26th, 2024 at 18:23, Dave Stevenson > wrote: > > > and I've also completely missed any kernel command line > > > arguments manipulating KMS properties. > > > > "tv_mode" on the command line is handled in > >

Re: [PATCH v5 1/8] usb: misc: onboard_hub: use device supply names

2024-02-28 Thread Matthias Kaehlcke
On Wed, Feb 28, 2024 at 05:02:10PM +0100, Javier Carrasco wrote: > On 28.02.24 16:37, Matthias Kaehlcke wrote: > > Hi Javier, > > > > Thanks for moving this patch to the front of the series! > > > > A few more comments inline. > > > > On Wed, Feb 28, 2024 at 02:51:28PM +0100, Javier Carrasco

Re: [PATCH 4/4] drm/atomic-helper: Add select_output_bus_format callback

2024-02-28 Thread Laurent Pinchart
On Wed, Feb 28, 2024 at 04:29:33PM +0100, Maxime Ripard wrote: > On Mon, Feb 26, 2024 at 08:44:45PM -0800, Anatoliy Klymenko wrote: > > Add select_output_bus_format to CRTC atomic helpers callbacks. This > > callback Will allow CRTC to participate in media bus format negotiation > > over connected

Re: [PATCH 3/4] drm: xlnx: zynqmp_dpsub: Set input live format

2024-02-28 Thread Laurent Pinchart
Hi Anatoliy, Thank you for the patch. On Mon, Feb 26, 2024 at 08:44:44PM -0800, Anatoliy Klymenko wrote: > Program live video input format according to selected media bus format. > > In the bridge mode of operation, DPSUB is connected to FPGA CRTC which > almost certainly supports a single

Re: [PATCH v5 1/8] usb: misc: onboard_hub: use device supply names

2024-02-28 Thread Javier Carrasco
On 28.02.24 16:37, Matthias Kaehlcke wrote: > Hi Javier, > > Thanks for moving this patch to the front of the series! > > A few more comments inline. > > On Wed, Feb 28, 2024 at 02:51:28PM +0100, Javier Carrasco wrote: >> The current implementation uses generic names for the power supplies, >>

Re: [PATCH 2/4] drm: xlnx: zynqmp_dpsub: Anounce supported input formats

2024-02-28 Thread Laurent Pinchart
Hi Anatoliy, Thank you for the patch. On Mon, Feb 26, 2024 at 08:44:43PM -0800, Anatoliy Klymenko wrote: > DPSUB in bridge mode supports multiple input media bus formats. > > Announce the list of supported input media bus formats via > drm_bridge.atomic_get_input_bus_fmts callback. > >

Re: [PATCH] drm/amd/display: Add monitor patch for specific eDP

2024-02-28 Thread Hamza Mahfooz
On 2/27/24 13:18, Rodrigo Siqueira wrote: From: Ivan Lipski [WHY] Some eDP panels's ext caps don't write initial value cause the value of dpcd_addr(0x317) is random. It means that sometimes the eDP will clarify it is OLED, miniLED...etc cause the backlight control interface is incorrect.

Re: (subset) [PATCH v7 04/36] drm/tests: Add helper to create mock crtc

2024-02-28 Thread Maxime Ripard
On Thu, 22 Feb 2024 19:13:50 +0100, Maxime Ripard wrote: > We're going to need a full-blown, functional, KMS device to test more > components of the atomic modesetting infrastructure. > > Let's add a new helper to create a dumb, mocked, CRTC. By default it > will create a CRTC relying only on the

Re: (subset) [PATCH v7 05/36] drm/tests: connector: Add tests for drmm_connector_init

2024-02-28 Thread Maxime Ripard
On Thu, 22 Feb 2024 19:13:51 +0100, Maxime Ripard wrote: > drmm_connector_init is the preferred function to initialize a > drm_connector structure. Let's add a bunch of unit tests for it. > > Applied to drm/drm-misc (drm-misc-next). Thanks! Maxime

Re: (subset) [PATCH v7 03/36] drm/tests: Add helper to create mock plane

2024-02-28 Thread Maxime Ripard
On Thu, 22 Feb 2024 19:13:49 +0100, Maxime Ripard wrote: > We're going to need a full-blown, functional, KMS device to test more > components of the atomic modesetting infrastructure. > > Let's add a new helper to create a dumb, mocked, primary plane. By > default, it will create a linear

Re: (subset) [PATCH v7 02/36] drm/tests: helpers: Add atomic helpers

2024-02-28 Thread Maxime Ripard
On Thu, 22 Feb 2024 19:13:48 +0100, Maxime Ripard wrote: > The mock device we were creating was missing any of the driver-wide > helpers. That was fine before since we weren't testing the atomic state > path, but we're going to start, so let's use the default > implementations. > > Applied to

Re: (subset) [PATCH v7 01/36] drm/tests: helpers: Include missing drm_drv header

2024-02-28 Thread Maxime Ripard
On Thu, 22 Feb 2024 19:13:47 +0100, Maxime Ripard wrote: > We have a few functions declared in our kunit helpers header, some of > them dereferencing the struct drm_driver. > > However, we don't include the drm_drv.h header file defining that > structure, leading to compilation errors if we don't

Re: [PATCH v5 1/8] usb: misc: onboard_hub: use device supply names

2024-02-28 Thread Matthias Kaehlcke
Hi Javier, Thanks for moving this patch to the front of the series! A few more comments inline. On Wed, Feb 28, 2024 at 02:51:28PM +0100, Javier Carrasco wrote: > The current implementation uses generic names for the power supplies, > which conflicts with proper name definitions in the device

Re: [PATCH v2 1/9] media: v4l2-subdev: Add a pad variant of .query_dv_timings()

2024-02-28 Thread Paweł Anikiel
On Wed, Feb 28, 2024 at 12:25 PM Hans Verkuil wrote: > > Hi Paweł, > > On 21/02/2024 17:02, Paweł Anikiel wrote: > > Currently, .query_dv_timings() is defined as a video callback without > > a pad argument. This is a problem if the subdevice can have different > > dv timings for each pad (e.g. a

Re: [PATCH 1/3] [v2] drm/xe/kunit: fix link failure with built-in xe

2024-02-28 Thread Lucas De Marchi
On Mon, Feb 26, 2024 at 01:46:36PM +0100, Arnd Bergmann wrote: From: Arnd Bergmann When the driver is built-in but the tests are in loadable modules, the helpers don't actually get put into the driver: ERROR: modpost: "xe_kunit_helper_alloc_xe_device" [drivers/gpu/drm/xe/tests/xe_test.ko]

Re: [PATCH 2/3] [v2] drm/xe/mmio: fix build warning for BAR resize on 32-bit

2024-02-28 Thread Lucas De Marchi
On Mon, Feb 26, 2024 at 01:46:37PM +0100, Arnd Bergmann wrote: From: Arnd Bergmann clang complains about a nonsensical test on builds with a 32-bit phys_addr_t, which means resizing will always fail: drivers/gpu/drm/xe/xe_mmio.c:109:23: error: result of comparison of constant 4294967296 with

Re: [PATCH 3/3] [v2] drm/xe/xe2: fix 64-bit division in pte_update_size

2024-02-28 Thread Lucas De Marchi
On Wed, Feb 28, 2024 at 01:26:29PM +0100, Arnd Bergmann wrote: On Mon, Feb 26, 2024, at 17:40, Lucas De Marchi wrote: On Mon, Feb 26, 2024 at 01:46:38PM +0100, Arnd Bergmann wrote: Fixes: 237412e45390 ("drm/xe: Enable 32bits build") Signed-off-by: Arnd Bergmann --- v2: use correct Fixes tag

[PATCH] drm/i915/selftest_hangcheck: Check sanity with more patience

2024-02-28 Thread Janusz Krzysztofik
While trying to reproduce some other issues reported by CI for i915 hangcheck live selftest, I found them hidden behind timeout failures reported by igt_hang_sanitycheck -- the very first hangcheck test case executed. Feb 22 19:49:06 DUT1394ACMR kernel: calling mei_gsc_driver_init+0x0/0xff0

ECC memory semantics for heaps

2024-02-28 Thread Maxime Ripard
Hi, I'm currently working on a platform that seems to have togglable RAM ECC support. Enabling ECC reduces the memory capacity and memory bandwidth, so while it's a good idea to protect most of the system, it's not worth it for things like framebuffers that won't really be affected by a bitflip.

Re: [PATCH v12 0/8] Enable Adaptive Sync SDP Support for DP

2024-02-28 Thread Jani Nikula
On Wed, 28 Feb 2024, Mitul Golani wrote: > -v12: > - Update cover letter Did you just send the entire series again within 30 minutes just to update the cover letter? You could've just replied to the cover letter... BR, Jani. -- Jani Nikula, Intel

Re: [PATCH v2 2/9] media: Add Chameleon v3 framebuffer driver

2024-02-28 Thread Hans Verkuil
On 28/02/2024 16:08, Paweł Anikiel wrote: > Hi Hans, thanks for the review! > > On Wed, Feb 28, 2024 at 12:24 PM Hans Verkuil > wrote: >> >> Hi Paweł, >> >> On 21/02/2024 17:02, Paweł Anikiel wrote: >>> Add v4l2 driver for the Google Chameleon v3 framebuffer device. >> >> This is just a video

Re: [PATCH v2 2/9] media: Add Chameleon v3 framebuffer driver

2024-02-28 Thread Paweł Anikiel
Hi Hans, thanks for the review! On Wed, Feb 28, 2024 at 12:24 PM Hans Verkuil wrote: > > Hi Paweł, > > On 21/02/2024 17:02, Paweł Anikiel wrote: > > Add v4l2 driver for the Google Chameleon v3 framebuffer device. > > This is just a video capture device, right? A framebuffer device is something >

Re: [PATCH 1/4] drm: xlnx: zynqmp_dpsub: Set layer mode during creation

2024-02-28 Thread Laurent Pinchart
Hi Anatoliy, Thank you for the patch. On Mon, Feb 26, 2024 at 08:44:42PM -0800, Anatoliy Klymenko wrote: > Set layer mode of operation (live or dma-based) during layer creation. > > Each DPSUB layer mode of operation is defined by corresponding DT node port > connection, so it is possible to

Re: [PATCH] MAINTAINERS: Update email address for Tvrtko Ursulin

2024-02-28 Thread Jani Nikula
On Wed, 28 Feb 2024, Tvrtko Ursulin wrote: > From: Tvrtko Ursulin > > I will lose access to my @.*intel.com e-mail addresses soon so let me > adjust the maintainers entry and update the mailmap too. > > While at it consolidate a few other of my old emails to point to the > main one. > >

Re: [PATCH] drm/scheduler: Simplify the allocation of slab caches in drm_sched_fence_slab_init

2024-02-28 Thread Daniel Vetter
On Wed, Feb 21, 2024 at 04:55:58PM +0800, Kunwu Chan wrote: > Use the new KMEM_CACHE() macro instead of direct kmem_cache_create > to simplify the creation of SLAB caches. > > Signed-off-by: Kunwu Chan Applied to drm-misc-next, thanks for your patch! -Sima > --- >

[PATCH v12 8/8] drm/i915/display: Read/Write AS sdp only when sink/source has enabled

2024-02-28 Thread Mitul Golani
Write/Read Adaptive sync SDP only when Sink and Source is enabled for the same. Also along with write TRANS_VRR_VSYNC values. Signed-off-by: Mitul Golani --- drivers/gpu/drm/i915/display/intel_ddi.c | 4 drivers/gpu/drm/i915/display/intel_dp.c | 4

[PATCH v12 6/8] drm/i915/display: Add state checker for Adaptive Sync SDP

2024-02-28 Thread Mitul Golani
Enable infoframe and add state checker for Adaptive Sync SDP enablement. Signed-off-by: Mitul Golani --- drivers/gpu/drm/i915/display/intel_display.c | 46 drivers/gpu/drm/i915/display/intel_dp.c | 2 + 2 files changed, 48 insertions(+) diff --git

[PATCH v12 7/8] drm/i915/display: Compute vrr_vsync params

2024-02-28 Thread Mitul Golani
Compute vrr_vsync_start/end, which sets the position for hardware to send the Vsync at a fixed position relative to the end of the Vblank. --v2: - Updated VSYNC_START/END macros to VRR_VSYNC_START/END. (Ankit) - Updated bit fields of VRR_VSYNC_START/END. (Ankit) --v3: - Add

[PATCH v12 5/8] drm/i915/display: Compute AS SDP parameters.

2024-02-28 Thread Mitul Golani
Add necessary function definitions to compute AS SDP data. The new intel_dp_compute_as_sdp function computes AS SDP values based on the display configuration, ensuring proper handling of Variable Refresh Rate (VRR). --v2: - Added DP_SDP_ADAPTIVE_SYNC to infoframe_type_to_idx(). [Ankit] -

[PATCH v12 4/8] drm/i915/display/dp: Add wrapper function to check AS SDP

2024-02-28 Thread Mitul Golani
Add a wrapper function to check if both the source and sink support Adaptive Sync SDP. Signed-off-by: Mitul Golani --- drivers/gpu/drm/i915/display/intel_display_device.h | 1 + drivers/gpu/drm/i915/display/intel_dp.c | 8 drivers/gpu/drm/i915/display/intel_dp.h

[PATCH v12 3/8] drm/i915/dp: Add Read/Write support for Adaptive Sync SDP

2024-02-28 Thread Mitul Golani
Add the necessary structures and functions to handle reading and unpacking Adaptive Sync Secondary Data Packets. Also add support to write and pack AS SDP. --v2: - Correct use of REG_BIT and REG_GENMASK. [Jani] - Use as_sdp instead of async. [Jani] - Remove unrelated comments and changes. [Jani]

  1   2   >