Re: [PATCH] nightly.conf: Add the xe repo to drm-tip

2024-01-10 Thread Thomas Hellström
On Mon, 2024-01-08 at 16:22 -0600, Lucas De Marchi wrote: > On Mon, Jan 08, 2024 at 05:13:51PM -0500, Rodrigo Vivi wrote: > > On Wed, Jan 03, 2024 at 11:59:16PM -0600, Lucas De Marchi wrote: > > > On Wed, Jan 03, 2024 at 02:50:57PM +0100, Thomas Hellström wrote: > > > > On Tue, 2023-12-26 at 13:30

Re: [PATCH] vt: remove superfluous CONFIG_HW_CONSOLE

2024-01-10 Thread Dmitry Torokhov
On Mon, Jan 08, 2024 at 02:41:02PM +0100, Lukas Bulwahn wrote: > The config HW_CONSOLE is always identical to the config VT and is not > visible in the kernel's build menuconfig. So, CONFIG_HW_CONSOLE is > redundant. > > Replace all references to CONFIG_HW_CONSOLE with CONFIG_VT and remove > CONFI

Re: [PATCH] drm/v3d: Free the job and assign it to NULL if initialization fails

2024-01-10 Thread Iago Toral
Ok, thanks for checking, you can add my R-B on the original patch then. Iago El mié, 10-01-2024 a las 07:42 -0300, Maira Canal escribió: > Hi Iago, > > On 1/10/24 03:48, Iago Toral wrote: > > I think this is fine, but I was wondering if it would be simpler > > and > > easier to just remove the s

[PATCH] dma-buf: Clean up errors in qxl_release.h

2024-01-10 Thread GuoHua Chen
Fix the following errors reported by checkpatch: ERROR: else should follow close brace '}' Signed-off-by: GuoHua Chen --- drivers/gpu/drm/qxl/qxl_release.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/qxl/qxl_release.c b/drivers/gpu/drm/qxl/qxl_release.

[PATCH] dma-buf/dma-resv: fix spelling

2024-01-10 Thread Randy Dunlap
Fix spelling mistakes as reported by codespell. Signed-off-by: Randy Dunlap Cc: Sumit Semwal Cc: linux-me...@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: Christian König Cc: linaro-mm-...@lists.linaro.org --- drivers/dma-buf/dma-resv.c |4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH] dma-buf/dma-fence: fix spelling

2024-01-10 Thread Randy Dunlap
Fix spelling mistakes as reported by codespell. Signed-off-by: Randy Dunlap Cc: Sumit Semwal Cc: Gustavo Padovan Cc: linux-me...@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: Christian König Cc: linaro-mm-...@lists.linaro.org --- drivers/dma-buf/dma-fence.c |8 1 file c

[PATCH] drm: use ATOMIC64_INIT() for atomic64_t

2024-01-10 Thread Jonathan Gray
use ATOMIC64_INIT() not ATOMIC_INIT() for atomic64_t Fixes: 3f09a0cd4ea3 ("drm: Add common fdinfo helper") Signed-off-by: Jonathan Gray --- drivers/gpu/drm/drm_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_file.c b/drivers/gpu/drm/drm_file.c index

Re: [PATCH 0/3] Update LLVM Phabricator and Bugzilla links

2024-01-10 Thread Kees Cook
On Tue, Jan 09, 2024 at 03:16:28PM -0700, Nathan Chancellor wrote: > This series updates all instances of LLVM Phabricator and Bugzilla links > to point to GitHub commits directly and LLVM's Bugzilla to GitHub issue > shortlinks respectively. > > I split up the Phabricator patch into BPF selftests

Re: [PATCH v1] drm/msms/dp: fixed link clock divider bits be over written in BPC unknown case

2024-01-10 Thread Dmitry Baryshkov
On Wed, 10 Jan 2024 at 22:19, Kuogee Hsieh wrote: > > Since the value of DP_TEST_BIT_DEPTH_8 is already left shifted, in the > BPC unknown case, the additional shift causes spill over to the other > bits of the [DP_CONFIGURATION_CTRL] register. > Fix this by changing the return value of dp_link_ge

Re: [PATCH v1] drm/msms/dp: fixed link clock divider bits be over written in BPC unknown case

2024-01-10 Thread Abhinav Kumar
On 1/10/2024 12:18 PM, Kuogee Hsieh wrote: Since the value of DP_TEST_BIT_DEPTH_8 is already left shifted, in the BPC unknown case, the additional shift causes spill over to the other bits of the [DP_CONFIGURATION_CTRL] register. Fix this by changing the return value of dp_link_get_test_bits_d

Re: [PATCH v1] drm/msm/dp: correct configure Colorimetry Indicator Field at MISC0

2024-01-10 Thread Dmitry Baryshkov
On Wed, 10 Jan 2024 at 22:18, Kuogee Hsieh wrote: > > MSA MISC0 bit 1 to 7 contains Colorimetry Indicator Field. At current > implementation, Colorimetry Indicator Field of MISC0 is not configured > correctly. This patch add support of RGB formats Colorimetry. https://docs.kernel.org/process/subm

Re: [PATCH 5/5] drm/msm/mdp5: drop split display support

2024-01-10 Thread Dmitry Baryshkov
On Thu, 11 Jan 2024 at 01:01, Abhinav Kumar wrote: > > > > On 10/9/2023 1:57 PM, Dmitry Baryshkov wrote: > > The MSM DSI driver has dropped support for calling > > mdp_kms_funcs::set_split_display() callback. Drop corresponding callback > > from the mdp5 driver together with the rest of the infras

Re: [PATCH 5/5] drm/msm/mdp5: drop split display support

2024-01-10 Thread Abhinav Kumar
On 10/9/2023 1:57 PM, Dmitry Baryshkov wrote: The MSM DSI driver has dropped support for calling mdp_kms_funcs::set_split_display() callback. Drop corresponding callback from the mdp5 driver together with the rest of the infrastructure. Signed-off-by: Dmitry Baryshkov --- .../gpu/drm/msm/d

Re: [PATCH 4/5] drm/msm/dsi: remove msm_dsi::encoder

2024-01-10 Thread Abhinav Kumar
On 10/9/2023 1:57 PM, Dmitry Baryshkov wrote: There is no need anymore to stop the drm_encoder instance in struct msm_dsi. Remove corresponding field. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/dsi/dsi.c | 4 +--- drivers/gpu/drm/msm/dsi/dsi.h | 6 ++ dri

Re: [PATCH 3/5] drm/msm/dsi: stop calling set_split_display

2024-01-10 Thread Abhinav Kumar
On 10/9/2023 1:57 PM, Dmitry Baryshkov wrote: Since the commit 8b03ad30e314 ("drm/msm/dsi: Use one connector for dual DSI mode"), the second DSI host in the bonded pair will not be associated with the encoder and will not get the bridges, thus making condition in msm_dsi_manager_set_split_disp

Re: [PATCH 2/5] drm/msm/dsi: drop msm_dsi_device_connected() function

2024-01-10 Thread Abhinav Kumar
On 10/9/2023 1:57 PM, Dmitry Baryshkov wrote: Since the commit 8f59ee9a570c ("drm/msm/dsi: Adjust probe order") the DSI hosts are not bound through the component framework if the DSI driver wasn't attached to the DSI device connected to this host. Afterwards, if there is no bridge (including

Re: [PATCH 1/5] drm/msm/dsi: do not store internal bridge pointer

2024-01-10 Thread Abhinav Kumar
On 10/9/2023 1:57 PM, Dmitry Baryshkov wrote: Since the driver was switched to devm_drm_bridge_add(), there is no need anymore to store the created bridge instance in struct msm_dsi. Drop this field and pass data directly. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/dsi/dsi.c

Re: [PATCH] drm/vmwgfx: Fix possible null pointer derefence with invalid contexts

2024-01-10 Thread Maaz Mombasawala
On 1/10/24 12:03, Zack Rusin wrote: > vmw_context_cotable can return either an error or a null pointer and its > usage sometimes went unchecked. Subsequent code would then try to access > either a null pointer or an error value. > > The invalid dereferences were only possible with malformed usersp

Re: [PATCH v2 1/2] dt-bindings: display: bridge: cdns: Add properties to support StarFive JH7110 SoC

2024-01-10 Thread Krzysztof Kozlowski
On 09/01/2024 08:25, Shengyang Chen wrote: > From: Keith Zhao > > Add properties in CDNS DSI yaml file to match with > CDNS DSI module in StarFive JH7110 SoC. Please wrap commit message according to Linux coding style / submission process (neither too early nor over the limit): https://elixir.bo

[PATCH] drm/i915/gt: Restart the heartbeat timer when forcing a pulse

2024-01-10 Thread John . C . Harrison
From: John Harrison The context persistence code does things like send super high priority heartbeat pulses to ensure any leaked context can still be pre-empted and thus isn't a total denial of service but only a minor denial of service. Unfortunately, it wasn't bothering to restart the heatbeat

[PATCH] drm/amd/display: Avoid enum conversion warning

2024-01-10 Thread Nathan Chancellor
k_bw_in_kbps % 64) ? 1 : 0); } --- base-commit: 6e7a29f011ac03a765f53844f7c3f04cdd421715 change-id: 20240110-amdgpu-display-enum-enum-conversion-e2451adbf4a7 Best regards, -- Nathan Chancellor

Re: [PATCH] drm/doc/rfc: Remove Xe's pre-merge plan

2024-01-10 Thread Rodrigo Vivi
On Wed, Jan 10, 2024 at 02:07:38PM -0600, Lucas De Marchi wrote: > On Wed, Jan 10, 2024 at 02:04:27PM -0500, Rodrigo Vivi wrote: > > The last TODO item here that was not marked as done was > > the display portion, which came along with the pull-request. > > > > So, now that Xe is part of drm-next

[PATCH v1] drm/msms/dp: fixed link clock divider bits be over written in BPC unknown case

2024-01-10 Thread Kuogee Hsieh
Since the value of DP_TEST_BIT_DEPTH_8 is already left shifted, in the BPC unknown case, the additional shift causes spill over to the other bits of the [DP_CONFIGURATION_CTRL] register. Fix this by changing the return value of dp_link_get_test_bits_depth() in the BPC unknown case to (DP_TEST_BIT_D

[PATCH v1] drm/msm/dp: correct configure Colorimetry Indicator Field at MISC0

2024-01-10 Thread Kuogee Hsieh
MSA MISC0 bit 1 to 7 contains Colorimetry Indicator Field. At current implementation, Colorimetry Indicator Field of MISC0 is not configured correctly. This patch add support of RGB formats Colorimetry. Fixes: c943b4948b58 ("drm/msm/dp: add displayPort driver support") Signed-off-by: Kuogee Hsieh

Re: [PATCH 6/6] drm: Add CONFIG_DRM_WERROR

2024-01-10 Thread Hamza Mahfooz
On 1/10/24 12:39, Jani Nikula wrote: Add kconfig to enable -Werror subsystem wide. This is useful for development and CI to keep the subsystem warning free, while avoiding issues outside of the subsystem that kernel wide CONFIG_WERROR=y might hit. Signed-off-by: Jani Nikula Reviewed-by: Hamza

Re: [PATCH 5/6] drm: enable (most) W=1 warnings by default across the subsystem

2024-01-10 Thread Hamza Mahfooz
On 1/10/24 12:39, Jani Nikula wrote: At least the i915 and amd drivers enable a bunch more compiler warnings than the kernel defaults. Extend most of the W=1 warnings to the entire drm subsystem by default. Use the copy-pasted warnings from scripts/Makefile.extrawarn with s/KBUILD_CFLAGS/subdir-

Re: [PATCH] drm/doc/rfc: Remove Xe's pre-merge plan

2024-01-10 Thread Lucas De Marchi
On Wed, Jan 10, 2024 at 02:04:27PM -0500, Rodrigo Vivi wrote: The last TODO item here that was not marked as done was the display portion, which came along with the pull-request. So, now that Xe is part of drm-next and it includes the display portion, let's entirely kill this RFC here. Cc: Luca

Re: [PATCH 2/2] xfs: disable large folio support in xfile_create

2024-01-10 Thread Darrick J. Wong
On Wed, Jan 10, 2024 at 09:55:15AM -0800, Darrick J. Wong wrote: > On Wed, Jan 10, 2024 at 10:21:09AM +0100, Christoph Hellwig wrote: > > The xfarray code will crash if large folios are force enabled using: > > > >echo force > /sys/kernel/mm/transparent_hugepage/shmem_enabled > > > > Fixing t

[PATCH] drm/vmwgfx: Fix possible null pointer derefence with invalid contexts

2024-01-10 Thread Zack Rusin
vmw_context_cotable can return either an error or a null pointer and its usage sometimes went unchecked. Subsequent code would then try to access either a null pointer or an error value. The invalid dereferences were only possible with malformed userspace apps which never properly initialized the

Re: [PATCH v15 3/5] drm: renesas: Add RZ/G2L DU Support

2024-01-10 Thread Laurent Pinchart
Hi Biju, On Thu, Jan 04, 2024 at 02:17:39PM +, Biju Das wrote: > On Friday, December 15, 2023 2:56 PM, Biju Das wrote: > > On Friday, December 15, 2023 2:18 PM, Maxime Ripard wrote: > > > On Fri, Dec 15, 2023 at 01:52:28PM +, Biju Das wrote: > > > > > > > > > > +static int rzg2l_du_crtc_en

Re: [PATCH V7 1/2] dt-bindings: display: imx: add binding for i.MX8MP HDMI PVI

2024-01-10 Thread Adam Ford
On Wed, Jan 10, 2024 at 5:48 AM Alexander Stein wrote: > > Hi Adam, > > thanks for pushing this forward. > > Am Samstag, 6. Januar 2024, 22:51:44 CET schrieb Adam Ford: > > From: Lucas Stach > > > > Add binding for the i.MX8MP HDMI parallel video interface block. > > > > Signed-off-by: Lucas Stac

[PATCH] drm/doc/rfc: Remove Xe's pre-merge plan

2024-01-10 Thread Rodrigo Vivi
The last TODO item here that was not marked as done was the display portion, which came along with the pull-request. So, now that Xe is part of drm-next and it includes the display portion, let's entirely kill this RFC here. Cc: Lucas De Marchi Cc: Thomas Hellström Cc: Oded Gabbay Signed-off-b

[bug report] backlight: hx8357: Convert to agnostic GPIO API

2024-01-10 Thread Dan Carpenter
Hello Andy Shevchenko, The patch 7d84a63a39b7: "backlight: hx8357: Convert to agnostic GPIO API" from Dec 7, 2023 (linux-next), leads to the following Smatch static checker warning: drivers/video/backlight/hx8357.c:612 hx8357_probe() error: potential NULL/IS_ERR bug 'lcd->im_pins'

Re: [PATCH 2/3] dt-bindings: mfd: atmel,hlcdc: Convert to DT schema format

2024-01-10 Thread Krzysztof Kozlowski
On 10/01/2024 11:25, Dharma Balasubiramani wrote: > Convert the atmel,hlcdc binding to DT schema format. > > Signed-off-by: Dharma Balasubiramani > --- > .../devicetree/bindings/mfd/atmel,hlcdc.yaml | 106 ++ > .../devicetree/bindings/mfd/atmel-hlcdc.txt | 56 - > 2 f

Re: [PATCH v15 3/5] drm: renesas: Add RZ/G2L DU Support

2024-01-10 Thread Laurent Pinchart
Hi Maxime, On Wed, Jan 10, 2024 at 05:14:41PM +0100, Maxime Ripard wrote: > On Thu, Jan 04, 2024 at 02:34:33PM +, Biju Das wrote: > > On Friday, December 15, 2023 2:24 PM, Maxime Ripard wrote: > > > On Fri, Dec 15, 2023 at 01:25:48PM +, Biju Das wrote: > > > > On Friday, December 15, 2023

Re: [PATCH 2/2] xfs: disable large folio support in xfile_create

2024-01-10 Thread Darrick J. Wong
On Wed, Jan 10, 2024 at 10:21:09AM +0100, Christoph Hellwig wrote: > The xfarray code will crash if large folios are force enabled using: > >echo force > /sys/kernel/mm/transparent_hugepage/shmem_enabled > > Fixing this will require a bit of an API change, and prefeably sorting out > the hwpo

[PATCH v2 7/7] drm/vkms: Create KUnit tests for YUV conversions

2024-01-10 Thread Arthur Grillo
Create KUnit tests to test the conversion between YUV and RGB. Test each conversion and range combination with some common colors. Signed-off-by: Arthur Grillo --- drivers/gpu/drm/vkms/Kconfig | 15 +++ drivers/gpu/drm/vkms/Makefile | 1 + drivers/gpu/drm/vkms

[PATCH v2 6/7] drm/vkms: Drop YUV formats TODO

2024-01-10 Thread Arthur Grillo
VKMS has support for YUV formats now. Remove the task from the TODO list. Signed-off-by: Arthur Grillo --- Documentation/gpu/vkms.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Documentation/gpu/vkms.rst b/Documentation/gpu/vkms.rst index ba04ac7c2167..13b866c3617c 100

[PATCH v2 5/7] drm/vkms: Add YUV support

2024-01-10 Thread Arthur Grillo
Add support to the YUV formats bellow: - NV12 - NV16 - NV24 - NV21 - NV61 - NV42 - YUV420 - YUV422 - YUV444 - YVU420 - YVU422 - YVU444 The conversion matrices of each encoding and range were obtained by rounding the values of the original conversion matrices multiplied by 2^8. This is done to avo

[PATCH v2 4/7] drm/vkms: Add chroma subsampling

2024-01-10 Thread Arthur Grillo
Add support to chroma subsampling. This should be noop, as all supported formats do not have chroma subsampling. Signed-off-by: Arthur Grillo --- drivers/gpu/drm/vkms/vkms_formats.c | 18 +- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/vkms/vkms_

[PATCH v2 3/7] drm/vkms: Add range and encoding properties to pixel_read function

2024-01-10 Thread Arthur Grillo
Create range and encoding properties. This should be noop, as none of the conversion functions need those properties. Signed-off-by: Arthur Grillo --- drivers/gpu/drm/vkms/vkms_drv.h | 3 ++- drivers/gpu/drm/vkms/vkms_formats.c | 20 ++-- drivers/gpu/drm/vkms/vkms_plane.c

[PATCH v2 2/7] drm/vkms: Add support for multy-planar framebuffers

2024-01-10 Thread Arthur Grillo
Add support to multy-planar formats by adding an index argument to the framebuffer data access functions. Also, give all the planes to the conversion functions. This, for now, should be noop, as all the supported formats have only one plane. Signed-off-by: Arthur Grillo --- drivers/gpu/drm/vkms

[PATCH v2 1/7] drm/vkms: Use drm_frame directly

2024-01-10 Thread Arthur Grillo
Remove intermidiary variables and access the variables directly from drm_frame. These changes should be noop. Signed-off-by: Arthur Grillo --- drivers/gpu/drm/vkms/vkms_drv.h | 3 --- drivers/gpu/drm/vkms/vkms_formats.c | 12 +++- drivers/gpu/drm/vkms/vkms_plane.c | 3 ---

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

2024-01-10 Thread Arthur Grillo
This patchset aims to add support for additional buffer YUV formats. More specifically, it adds support to: Semi-planar formats: - NV12 - NV16 - NV24 - NV21 - NV61 - NV42 Planar formats: - YUV440 - YUV422 - YUV444 - YVU440 - YVU422 - YVU444 These formats have more than one plane, and most have

Re: [PATCH v2 4/4] arm64: dts: qcom: sm7225-fairphone-fp4: Enable display and GPU

2024-01-10 Thread Konrad Dybcio
On 1/10/24 16:14, Luca Weiss wrote: Add the description for the display panel found on this phone. Unfortunately the LCDB module on PM6150L isn't yet supported upstream so we need to use a dummy regulator-fixed in the meantime. And with this done we can also enable the GPU and set the zap sha

Re: [PATCH v2 3/4] arm64: dts: qcom: sm6350: Remove "disabled" state of GMU

2024-01-10 Thread Konrad Dybcio
On 1/10/24 16:14, Luca Weiss wrote: The GMU won't probe without GPU being enabled, so we can remove the disabled status so we don't have to explicitly enable the GMU in all the devices that enable GPU. Signed-off-by: Luca Weiss --- Reviewed-by: Konrad Dybcio Konrad

[PATCH 6/6] drm: Add CONFIG_DRM_WERROR

2024-01-10 Thread Jani Nikula
Add kconfig to enable -Werror subsystem wide. This is useful for development and CI to keep the subsystem warning free, while avoiding issues outside of the subsystem that kernel wide CONFIG_WERROR=y might hit. Signed-off-by: Jani Nikula --- drivers/gpu/drm/Kconfig | 18 ++ driv

[PATCH 5/6] drm: enable (most) W=1 warnings by default across the subsystem

2024-01-10 Thread Jani Nikula
At least the i915 and amd drivers enable a bunch more compiler warnings than the kernel defaults. Extend most of the W=1 warnings to the entire drm subsystem by default. Use the copy-pasted warnings from scripts/Makefile.extrawarn with s/KBUILD_CFLAGS/subdir-ccflags-y/ to make it easier to compare

[PATCH 4/6] drm/imx: prefer snprintf over sprintf

2024-01-10 Thread Jani Nikula
This will trade the W=1 warning -Wformat-overflow to -Wformat-truncation. This lets us enable -Wformat-overflow subsystem wide. Cc: Philipp Zabel Signed-off-by: Jani Nikula --- drivers/gpu/drm/imx/ipuv3/imx-ldb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/dr

[PATCH 3/6] drm/amdgpu: prefer snprintf over sprintf

2024-01-10 Thread Jani Nikula
This will trade the W=1 warning -Wformat-overflow to -Wformat-truncation. This lets us enable -Wformat-overflow subsystem wide. Cc: Alex Deucher Cc: Christian König Cc: Pan, Xinhui Cc: amd-...@lists.freedesktop.org Signed-off-by: Jani Nikula --- drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | 3 ++-

[PATCH 1/6] drm/nouveau/acr/ga102: remove unused but set variable

2024-01-10 Thread Jani Nikula
Fix the W=1 warning -Wunused-but-set-variable. Cc: Karol Herbst Cc: Lyude Paul Cc: Danilo Krummrich Cc: nouv...@lists.freedesktop.org Signed-off-by: Jani Nikula --- drivers/gpu/drm/nouveau/nvkm/subdev/acr/lsfw.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu

[PATCH 2/6] drm/nouveau/svm: remove unused but set variables

2024-01-10 Thread Jani Nikula
Fix the W=1 warning -Wunused-but-set-variable. Cc: Karol Herbst Cc: Lyude Paul Cc: Danilo Krummrich Cc: nouv...@lists.freedesktop.org Signed-off-by: Jani Nikula --- drivers/gpu/drm/nouveau/nouveau_svm.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/drivers/gpu

[PATCH 0/6] drm: enable W=1 warnings by default across the subsystem

2024-01-10 Thread Jani Nikula
This is v2 of [1] to enable most W=1 warnings across the drm subsystem. Some fixes first, and a CONFIG_DRM_WERROR on top. I build tested this for x86 (both gcc and clang), arm and arm64. BR, Jani. [1] https://lore.kernel.org/r/20231129181219.1237887-1-jani.nik...@intel.com Jani Nikula (6):

Re: [PATCH 3/7] drm/amd/display: Add handling for new "active color format" property

2024-01-10 Thread Andri Yngvason
Hi Werner, mið., 10. jan. 2024 kl. 13:14 skrifaði Werner Sembach : > > Hi, > > Am 10.01.24 um 14:09 schrieb Daniel Vetter: > > On Wed, 10 Jan 2024 at 13:53, Andri Yngvason wrote: > >> mið., 10. jan. 2024 kl. 11:10 skrifaði Daniel Vetter : > >>> On Tue, Jan 09, 2024 at 06:11:00PM +, Andri Yng

[PATCH 0/3] Convert Microchip's HLCDC Text based DT bindings to JSON schema

2024-01-10 Thread Dharma Balasubiramani
Converted the text bindings to YAML and validated them using following commands $ make dt_binding_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/ $ make dtbs_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/ Dharma Balasubiramani (3): dt-bindings: display: convert Atmel's HLCDC

[PATCH 1/3] dt-bindings: display: convert Atmel's HLCDC to DT schema

2024-01-10 Thread Dharma Balasubiramani
Convert the existing DT binding to DT schema of the Atmel's HLCDC display controller. Signed-off-by: Dharma Balasubiramani --- .../display/atmel/atmel,hlcdc-dc.yaml | 133 ++ .../bindings/display/atmel/hlcdc-dc.txt | 75 -- 2 files changed, 133 insertions(+

[PATCH 2/3] dt-bindings: mfd: atmel, hlcdc: Convert to DT schema format

2024-01-10 Thread Dharma Balasubiramani
Convert the atmel,hlcdc binding to DT schema format. Signed-off-by: Dharma Balasubiramani --- .../devicetree/bindings/mfd/atmel,hlcdc.yaml | 106 ++ .../devicetree/bindings/mfd/atmel-hlcdc.txt | 56 - 2 files changed, 106 insertions(+), 56 deletions(-) create mode 10

[PATCH 3/3] dt-bindings: atmel, hlcdc: convert pwm bindings to json-schema

2024-01-10 Thread Dharma Balasubiramani
Convert device tree bindings for Atmel's HLCDC PWM controller to YAML format. Signed-off-by: Dharma Balasubiramani --- .../bindings/pwm/atmel,hlcdc-pwm.yaml | 62 +++ .../bindings/pwm/atmel-hlcdc-pwm.txt | 29 - 2 files changed, 62 insertions(+), 29 delet

Re: [PATCH 1/2] drm/etnaviv: Expose a few more chipspecs to userspace

2024-01-10 Thread Neil Armstrong
On 10/01/2024 17:24, Neil Armstrong wrote: Hi, On Wed, 10 Jan 2024 16:37:00 +0100, Tomeu Vizoso wrote: These ones will be needed to make use fo the NN and TP units in the NPUs based on Vivante IP. Thanks, Applied to https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux.git (v6.9/a

Re: [PATCH 1/2] drm/etnaviv: Expose a few more chipspecs to userspace

2024-01-10 Thread Neil Armstrong
Hi, On Wed, 10 Jan 2024 16:37:00 +0100, Tomeu Vizoso wrote: > These ones will be needed to make use fo the NN and TP units in the NPUs > based on Vivante IP. > > Thanks, Applied to https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux.git (v6.9/arm64-dt) [1/2] drm/etnaviv: Expose a f

Re: [PATCH RESEND v1 4/8] drm/stm: ltdc: implement bus clock

2024-01-10 Thread Raphael Gallais-Pou
On 12/21/23 14:17, Dmitry Baryshkov wrote: > On Thu, 21 Dec 2023 at 14:45, Raphael Gallais-Pou > wrote: >> From: Yannick Fertre >> >> The latest hardware version of the LTDC presents the addition of a bus >> clock, which contains the global configuration registers and the interrupt >> register.

Re: disable large folios for shmem file used by xfs xfile

2024-01-10 Thread Christoph Hellwig
On Wed, Jan 10, 2024 at 07:38:43AM -0800, Andrew Morton wrote: > I assume that kernels which contain 137db333b29186 ("xfs: teach xfile > to pass back direct-map pages to caller") want this, so a Fixes: that > and a cc:stable are appropriate? I think it needs to back all the way back to 3934e8ebb7c

Re: disable large folios for shmem file used by xfs xfile

2024-01-10 Thread Christoph Hellwig
On Wed, Jan 10, 2024 at 12:37:18PM +, Matthew Wilcox wrote: > On Wed, Jan 10, 2024 at 10:21:07AM +0100, Christoph Hellwig wrote: > > Hi all, > > > > Darrick reported that the fairly new XFS xfile code blows up when force > > enabling large folio for shmem. This series fixes this quickly by di

Re: [PATCH v15 3/5] drm: renesas: Add RZ/G2L DU Support

2024-01-10 Thread Maxime Ripard
On Thu, Jan 04, 2024 at 02:34:33PM +, Biju Das wrote: > Hi Maxime Ripard, > > > -Original Message- > > From: Maxime Ripard > > Sent: Friday, December 15, 2023 2:24 PM > > Subject: Re: [PATCH v15 3/5] drm: renesas: Add RZ/G2L DU Support > > > > On Fri, Dec 15, 2023 at 01:25:48PM +

Re: [DO NOT MERGE v6 26/37] dt-bindings: vendor-prefixes: Add smi

2024-01-10 Thread Conor Dooley
On Wed, Jan 10, 2024 at 12:23:37PM +0100, Geert Uytterhoeven wrote: > Hi Conor, > > On Tue, Jan 9, 2024 at 7:06 PM Conor Dooley wrote: > > On Tue, Jan 09, 2024 at 05:23:23PM +0900, Yoshinori Sato wrote: > > > Add Silicon Mortion Technology Corporation > > Motion > > > > https://www.siliconmotio

Re: [PATCH v4 6/6] drm/tests: managed: Add a simple test for drmm_managed_release

2024-01-10 Thread Maxime Ripard
On Fri, Jan 05, 2024 at 11:13:24AM +0100, Michał Winiarski wrote: > Add a simple test that checks whether the action is indeed called right > away and that it is not called on the final drm_dev_put(). > > Signed-off-by: Michał Winiarski > --- > drivers/gpu/drm/tests/drm_managed_test.c | 28 +

Re: disable large folios for shmem file used by xfs xfile

2024-01-10 Thread Andrew Morton
On Wed, 10 Jan 2024 10:21:07 +0100 Christoph Hellwig wrote: > Hi all, > > Darrick reported that the fairly new XFS xfile code blows up when force > enabling large folio for shmem. This series fixes this quickly by disabling > large folios for this particular shmem file for now until it can be f

[PATCH 1/2] drm/etnaviv: Expose a few more chipspecs to userspace

2024-01-10 Thread Tomeu Vizoso
These ones will be needed to make use fo the NN and TP units in the NPUs based on Vivante IP. Signed-off-by: Tomeu Vizoso Acked-by: Christian Gmeiner --- drivers/gpu/drm/etnaviv/etnaviv_gpu.c | 20 drivers/gpu/drm/etnaviv/etnaviv_gpu.h | 12 drivers/gpu/drm/e

Re: disable large folios for shmem file used by xfs xfile

2024-01-10 Thread Matthew Wilcox
On Wed, Jan 10, 2024 at 05:28:22PM +0200, Joonas Lahtinen wrote: > Quoting Joonas Lahtinen (2024-01-10 17:20:24) > > However we specifically pass "huge=within_size" to vfs_kern_mount when > > creating a private mount of tmpfs for the purpose of i915 created > > allocations. > > > > Older hardware

Re: disable large folios for shmem file used by xfs xfile

2024-01-10 Thread Joonas Lahtinen
Quoting Joonas Lahtinen (2024-01-10 17:20:24) > Quoting Matthew Wilcox (2024-01-10 14:37:18) > > On Wed, Jan 10, 2024 at 10:21:07AM +0100, Christoph Hellwig wrote: > > > Hi all, > > > > > > Darrick reported that the fairly new XFS xfile code blows up when force > > > enabling large folio for shmem

Re: disable large folios for shmem file used by xfs xfile

2024-01-10 Thread Joonas Lahtinen
Quoting Matthew Wilcox (2024-01-10 14:37:18) > On Wed, Jan 10, 2024 at 10:21:07AM +0100, Christoph Hellwig wrote: > > Hi all, > > > > Darrick reported that the fairly new XFS xfile code blows up when force > > enabling large folio for shmem. This series fixes this quickly by disabling > > large f

Re: [PATCH linux-next v2] drm/nouveau/disp: switch to use kmemdup() helper

2024-01-10 Thread Danilo Krummrich
On 1/9/24 07:24, yang.gua...@zte.com.cn wrote: From: Chen Haonan Use kmemdup() helper instead of open-coding to simplify the code. Signed-off-by: Chen Haonan Reviewed-by: Yang Guang Applied to drm-misc-next, thanks! --- drivers/gpu/drm/nouveau/nvif/outp.c | 3 +-- 1 file changed, 1 in

[PATCH v2 4/4] arm64: dts: qcom: sm7225-fairphone-fp4: Enable display and GPU

2024-01-10 Thread Luca Weiss
Add the description for the display panel found on this phone. Unfortunately the LCDB module on PM6150L isn't yet supported upstream so we need to use a dummy regulator-fixed in the meantime. And with this done we can also enable the GPU and set the zap shader firmware path. Signed-off-by: Luca W

[PATCH v2 1/4] dt-bindings: display: panel: Add Himax HX83112A

2024-01-10 Thread Luca Weiss
Himax HX83112A is a display driver IC used to drive LCD DSI panels. Describe it. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Luca Weiss --- .../bindings/display/panel/himax,hx83112a.yaml | 75 ++ 1 file changed, 75 insertions(+) diff --git a/Documentation/devicetre

[PATCH v2 2/4] drm/panel: Add driver for DJN HX83112A LCD panel

2024-01-10 Thread Luca Weiss
Add support for the 2340x1080 LCD DJN panel bundled with a HX83112A driver IC, as found on the Fairphone 4 smartphone. Signed-off-by: Luca Weiss --- drivers/gpu/drm/panel/Kconfig| 10 + drivers/gpu/drm/panel/Makefile | 1 + drivers/gpu/drm/panel/panel-himax-hx831

[PATCH v2 3/4] arm64: dts: qcom: sm6350: Remove "disabled" state of GMU

2024-01-10 Thread Luca Weiss
The GMU won't probe without GPU being enabled, so we can remove the disabled status so we don't have to explicitly enable the GMU in all the devices that enable GPU. Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/sm6350.dtsi | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm64

[PATCH v2 0/4] Add display support for Fairphone 4

2024-01-10 Thread Luca Weiss
Introduce the bindings and panel driver for the DJN LCD panel using HX83112A driver IC. Then we can add the panel to the device dts and also enable the GPU. Signed-off-by: Luca Weiss --- Changes in v2: - Driver: - Drop "bool prepared" from driver (Dmitry) - Use drm_connector_helper_get_modes

Re: [PATCH] Revert "drm/msm/gpu: Push gpu lock down past runpm"

2024-01-10 Thread Rob Clark
On Wed, Jan 10, 2024 at 2:50 AM Daniel Vetter wrote: > > On Tue, Jan 09, 2024 at 10:22:17AM -0800, Rob Clark wrote: > > From: Rob Clark > > > > This reverts commit abe2023b4cea192ab266b351fd38dc9dbd846df0. > > > > Changing the locking order means that scheduler/msm_job_run() can race > > with the

Re: [PATCH 5/7] drm/uAPI: Add "preferred color format" drm property as setting for userspace

2024-01-10 Thread Werner Sembach
Hi, Am 10.01.24 um 14:42 schrieb Andri Yngvason: mið., 10. jan. 2024 kl. 13:09 skrifaði Werner Sembach: Hi, Am 10.01.24 um 11:11 schrieb Andri Yngvason: Hi, mið., 10. jan. 2024 kl. 09:27 skrifaði Maxime Ripard: On Tue, Jan 09, 2024 at 06:11:02PM +, Andri Yngvason wrote: From: Werner Se

Re: [PATCH 10/10] accel/ivpu: Remove deprecated DRM_IVPU_PARAM_CONTEXT_PRIORITY

2024-01-10 Thread Jacek Lawrynowicz
On 05.01.2024 18:29, Jeffrey Hugo wrote: > On 1/5/2024 4:22 AM, Jacek Lawrynowicz wrote: >> From: "Wachowski, Karol" >> >> DRM_IVPU_PARAM_CONTEXT_PRIORITY has been deprecated because it >> has been replaced with DRM_IVPU_JOB_PRIORITY levels set with >> submit IOCTL and was unused anyway. >> >> Sig

Re: [DO NOT MERGE v6 26/37] dt-bindings: vendor-prefixes: Add smi

2024-01-10 Thread Guenter Roeck
On 1/10/24 03:23, Geert Uytterhoeven wrote: Hi Conor, On Tue, Jan 9, 2024 at 7:06 PM Conor Dooley wrote: On Tue, Jan 09, 2024 at 05:23:23PM +0900, Yoshinori Sato wrote: Add Silicon Mortion Technology Corporation Motion https://www.siliconmotion.com/ Signed-off-by: Yoshinori Sato --- D

Re: [PATCH 2/3] arch and include: Update LLVM Phabricator links

2024-01-10 Thread Conor Dooley
On Tue, Jan 09, 2024 at 03:16:30PM -0700, Nathan Chancellor wrote: > reviews.llvm.org was LLVM's Phabricator instances for code review. It > has been abandoned in favor of GitHub pull requests. While the majority > of links in the kernel sources still work because of the work Fangrui > has done tur

Re: [PATCH 5/7] drm/uAPI: Add "preferred color format" drm property as setting for userspace

2024-01-10 Thread Andri Yngvason
mið., 10. jan. 2024 kl. 13:09 skrifaði Werner Sembach : > > Hi, > > Am 10.01.24 um 11:11 schrieb Andri Yngvason: > > Hi, > > > > mið., 10. jan. 2024 kl. 09:27 skrifaði Maxime Ripard : > >> On Tue, Jan 09, 2024 at 06:11:02PM +, Andri Yngvason wrote: > >>> From: Werner Sembach > >>> > >>> Add a

Re: [PATCH 2/7] drm/uAPI: Add "active color format" drm property as feedback for userspace

2024-01-10 Thread Werner Sembach
Hi, Am 09.01.24 um 19:10 schrieb Andri Yngvason: From: Werner Sembach Add a new general drm property "active color format" which can be used by graphic drivers to report the used color format back to userspace. There was no way to check which color format got actually used on a given monitor.

Re: [PATCH 2/7] drm/uAPI: Add "active color format" drm property as feedback for userspace

2024-01-10 Thread Daniel Stone
Hi, On Wed, 10 Jan 2024 at 10:44, Daniel Vetter wrote: > On Tue, Jan 09, 2024 at 11:12:11PM +, Andri Yngvason wrote: > > ţri., 9. jan. 2024 kl. 22:32 skrifađi Daniel Stone : > > > How does userspace determine what's happened without polling? Will it > > > only change after an `ALLOW_MODESET`

Re: [PATCH 10/12] drm/panelreplay: dpcd register definition for panelreplay SU

2024-01-10 Thread Hogander, Jouni
On Thu, 2024-01-04 at 12:59 +0200, Dmitry Baryshkov wrote: > On Thu, 4 Jan 2024 at 12:49, Jouni Högander > wrote: > > > > Add definitions for panel replay selective update > > > > Cc: dri-devel@lists.freedesktop.org > > > > 1) This CC should not be necessary. It is already a part of > maintain

[PATCH v2 11/13] drm/panelreplay: dpcd register definition for panelreplay SU

2024-01-10 Thread Jouni Högander
Add definitions for panel replay selective update v2: Remove unnecessary Cc from commit message Signed-off-by: Jouni Högander --- include/drm/display/drm_dp.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/drm/display/drm_dp.h b/include/drm/display/drm_dp.h index 281afff6ee4e

Re: [PATCH 3/7] drm/amd/display: Add handling for new "active color format" property

2024-01-10 Thread Werner Sembach
Hi, Am 10.01.24 um 14:09 schrieb Daniel Vetter: On Wed, 10 Jan 2024 at 13:53, Andri Yngvason wrote: mið., 10. jan. 2024 kl. 11:10 skrifaði Daniel Vetter : On Tue, Jan 09, 2024 at 06:11:00PM +, Andri Yngvason wrote: + /* Extract information from crtc to communicate it to userspace as

Re: [PATCH 3/7] drm/amd/display: Add handling for new "active color format" property

2024-01-10 Thread Daniel Vetter
On Wed, 10 Jan 2024 at 13:53, Andri Yngvason wrote: > > mið., 10. jan. 2024 kl. 11:10 skrifaði Daniel Vetter : > > > > On Tue, Jan 09, 2024 at 06:11:00PM +, Andri Yngvason wrote: > > > + /* Extract information from crtc to communicate it to userspace as > > > connector properties */ > > >

Re: [PATCH 5/7] drm/uAPI: Add "preferred color format" drm property as setting for userspace

2024-01-10 Thread Werner Sembach
Hi, Am 10.01.24 um 11:11 schrieb Andri Yngvason: Hi, mið., 10. jan. 2024 kl. 09:27 skrifaði Maxime Ripard : On Tue, Jan 09, 2024 at 06:11:02PM +, Andri Yngvason wrote: From: Werner Sembach Add a new general drm property "preferred color format" which can be used by userspace to tell the

Re: [PATCH 3/7] drm/amd/display: Add handling for new "active color format" property

2024-01-10 Thread Andri Yngvason
mið., 10. jan. 2024 kl. 11:10 skrifaði Daniel Vetter : > > On Tue, Jan 09, 2024 at 06:11:00PM +, Andri Yngvason wrote: > > + /* Extract information from crtc to communicate it to userspace as > > connector properties */ > > + for_each_new_connector_in_state(state, connector, new_con_st

Re: disable large folios for shmem file used by xfs xfile

2024-01-10 Thread Matthew Wilcox
On Wed, Jan 10, 2024 at 10:21:07AM +0100, Christoph Hellwig wrote: > Hi all, > > Darrick reported that the fairly new XFS xfile code blows up when force > enabling large folio for shmem. This series fixes this quickly by disabling > large folios for this particular shmem file for now until it can

Re: [PATCH 1/1] drm/virtio: Implement RESOURCE_GET_LAYOUT ioctl

2024-01-10 Thread Zhang, Julia
On 2024/1/10 18:47, Daniel Vetter wrote: > On Thu, Dec 21, 2023 at 06:00:16PM +0800, Julia Zhang wrote: >> From: Daniel Stone >> >> Add a new ioctl to allow the guest VM to discover how the guest >> actually allocated the underlying buffer, which allows buffers to >> be used for GL<->Vulkan inte

Re: [PATCH 2/3] dt-bindings: mfd: atmel,hlcdc: Convert to DT schema format

2024-01-10 Thread Rob Herring
On Wed, 10 Jan 2024 15:55:34 +0530, Dharma Balasubiramani wrote: > Convert the atmel,hlcdc binding to DT schema format. > > Signed-off-by: Dharma Balasubiramani > --- > .../devicetree/bindings/mfd/atmel,hlcdc.yaml | 106 ++ > .../devicetree/bindings/mfd/atmel-hlcdc.txt | 56

Re: [PATCH 1/3] dt-bindings: display: convert Atmel's HLCDC to DT schema

2024-01-10 Thread Rob Herring
On Wed, 10 Jan 2024 15:55:33 +0530, Dharma Balasubiramani wrote: > Convert the existing DT binding to DT schema of the Atmel's HLCDC display > controller. > > Signed-off-by: Dharma Balasubiramani > --- > .../display/atmel/atmel,hlcdc-dc.yaml | 133 ++ > .../bindings/dis

Re: [PATCH V7 1/2] dt-bindings: display: imx: add binding for i.MX8MP HDMI PVI

2024-01-10 Thread Alexander Stein
Hi Adam, thanks for pushing this forward. Am Samstag, 6. Januar 2024, 22:51:44 CET schrieb Adam Ford: > From: Lucas Stach > > Add binding for the i.MX8MP HDMI parallel video interface block. > > Signed-off-by: Lucas Stach > Reviewed-by: Laurent Pinchart > Reviewed-by: Conor Dooley > Signed-

Re: [PATCH 3/3] arm64: dts: qcom: sm7225-fairphone-fp4: Enable display and GPU

2024-01-10 Thread Luca Weiss
On Wed Jan 10, 2024 at 12:23 PM CET, Maxime Ripard wrote: > On Wed, Jan 10, 2024 at 12:00:23PM +0100, Luca Weiss wrote: > > On Wed Jan 10, 2024 at 11:58 AM CET, Konrad Dybcio wrote: > > > > > > > > > On 1/5/24 15:29, Luca Weiss wrote: > > > > Add the description for the display panel found on this

Re: [PATCH 3/3] arm64: dts: qcom: sm7225-fairphone-fp4: Enable display and GPU

2024-01-10 Thread Konrad Dybcio
On 1/10/24 12:23, Maxime Ripard wrote: On Wed, Jan 10, 2024 at 12:00:23PM +0100, Luca Weiss wrote: On Wed Jan 10, 2024 at 11:58 AM CET, Konrad Dybcio wrote: On 1/5/24 15:29, Luca Weiss wrote: Add the description for the display panel found on this phone and remove the simple-framebuffer t

Re: [PATCH v2 15/15] drm/msm/dp: drop dp_parser

2024-01-10 Thread Konrad Dybcio
On 12/31/23 01:44, Dmitry Baryshkov wrote: Finally drop separate "parsing" submodule. There is no need in it anymore. All submodules handle DT properties directly rather than passing them via the separate structure pointer. Signed-off-by: Dmitry Baryshkov --- Reviewed-by: Konrad Dybcio K

Re: [PATCH v2 14/15] drm/msm/dp: move next_bridge handling to dp_display

2024-01-10 Thread Konrad Dybcio
On 12/31/23 01:44, Dmitry Baryshkov wrote: Remove two levels of indirection and fetch next bridge directly in dp_display_probe_tail(). Signed-off-by: Dmitry Baryshkov --- Reviewed-by: Konrad Dybcio Konrad

  1   2   >