[PATCH] fbdev: offb: add missing MODULE_DESCRIPTION() macro

2024-06-14 Thread Jeff Johnson
Open Firmware frame buffer device driver"); MODULE_LICENSE("GPL"); --- base-commit: 83a7eefedc9b56fe7bfeff13b6c7356688ffa670 change-id: 20240614-md-powerpc-drivers-video-fbdev-1fe3c25d6d89

Re: [PATCH 4/9] arm64: dts: rockchip: Add nodes for NPU and its MMU to rk3588s

2024-06-14 Thread kernel test robot
: 83a7eefedc9b56fe7bfeff13b6c7356688ffa670 patch link: https://lore.kernel.org/r/20240612-6-10-rocket-v1-4-060e48eea250%40tomeuvizoso.net patch subject: [PATCH 4/9] arm64: dts: rockchip: Add nodes for NPU and its MMU to rk3588s config: arm64-randconfig-051-20240614 (https://download.01.org/0day-ci/archive

Re: [git pull] drm fixes for 6.10-rc4

2024-06-14 Thread pr-tracker-bot
The pull request you sent on Sat, 15 Jun 2024 08:05:44 +1000: > https://gitlab.freedesktop.org/drm/kernel.git tags/drm-fixes-2024-06-15 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/d4332da0f2b5cccf2b195035a3f30fce7c1bb7a7 Thank you! -- Deet-doot-dot, I am a bot. h

Re: [RFC 0/7] drm/virtio: Import scanout buffers from other devices

2024-06-14 Thread Gurchetan Singh
On Thu, May 30, 2024 at 12:21 AM Kasireddy, Vivek wrote: > Hi Gurchetan, > > > > > On Fri, May 24, 2024 at 11:33 AM Kasireddy, Vivek > > mailto:vivek.kasire...@intel.com> > wrote: > > > > > > Hi, > > > > Sorry, my previous reply got messed up as a result of HTML > > formatting. This i

Re: [PATCH 09/15] net: hbl_en: add habanalabs Ethernet driver

2024-06-14 Thread Stephen Hemminger
> + > +/* get the src IP as it is done in devinet_ioctl() */ > +static int hbl_en_get_src_ip(struct hbl_aux_dev *aux_dev, u32 port_idx, u32 > *src_ip) > +{ > + struct hbl_en_port *port = HBL_EN_PORT(aux_dev, port_idx); > + struct net_device *ndev = port->ndev; > + struct in_device *in_

Re: [PATCH 09/15] net: hbl_en: add habanalabs Ethernet driver

2024-06-14 Thread Stephen Hemminger
On Thu, 13 Jun 2024 11:22:02 +0300 Omer Shpigelman wrote: > +static int hbl_en_ports_reopen(struct hbl_aux_dev *aux_dev) > +{ > + struct hbl_en_device *hdev = aux_dev->priv; > + struct hbl_en_port *port; > + int rc = 0, i; > + > + for (i = 0; i < hdev->max_num_of_ports; i++) { > +

Re: [PATCH 01/15] net: hbl_cn: add habanalabs Core Network driver

2024-06-14 Thread Stephen Hemminger
> +#define HBL_AUX2NIC(aux_dev) \ > + ({ \ > + struct hbl_aux_dev *__aux_dev = (aux_dev); \ > + ((__aux_dev)->type == HBL_AUX_DEV_ETH) ? \ > + container_of(__aux_dev, struct hbl_cn_device, en_aux_dev) : \ > + container_of(__aux_dev, struct hbl_c

[drm-misc:topic/rust-drm 3/21] error[E0050]: method `init` has 1 parameter but the declaration in trait `kernel::Module::init` has 2

2024-06-14 Thread kernel test robot
tree: git://anongit.freedesktop.org/drm/drm-misc topic/rust-drm head: 0a137e568c054362d0988cd65c2960de3172ff41 commit: f79700d8c6eee68d6d2c0eb92113211d22501860 [3/21] rust: pass module name to `Module::init` config: x86_64-rhel-8.3-rust (https://download.01.org/0day-ci/archive/20240615/202406

Re: [PATCH v4 11/12] drm/ttm, drm/xe: Add a shrinker for xe bos

2024-06-14 Thread kernel test robot
suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Thomas-Hellstr-m/drm-ttm-Allow-TTM-LRU-list-nodes-of-different-types/20240614-182911 base: https://gitlab.freedesktop.

[git pull] drm fixes for 6.10-rc4

2024-06-14 Thread Dave Airlie
Hey Linus, Weekly fixes pull, seems a little quieter than usual, but still a bunch of stuff across the board. Mostly xe, some exynos and nouveau fixes. There is the fixup for the WERROR that you pointed out previously, hopefully it does what you expect now. Dave. drm-fixes-2024-06-15: drm fixes

Re: [PATCH v11 8/8] x86/vmware: Add TDX hypercall support

2024-06-14 Thread Alexey Makhalov
On 6/14/24 12:09 PM, Borislav Petkov wrote: On Fri, Jun 14, 2024 at 11:32:16AM -0700, Alexey Makhalov wrote: On 6/14/24 9:19 AM, Dave Hansen wrote: On 6/14/24 09:14, Borislav Petkov wrote: On Fri, Jun 14, 2024 at 09:03:22AM -0700, Dave Hansen wrote: ... You need to zero out all of 'args

[PATCH v3 4/4] drm/msm: mdss: Add SM7150 support

2024-06-14 Thread Danila Tikhonov
Add support for MDSS on SM7150. Signed-off-by: Danila Tikhonov Reviewed-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/msm_mdss.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/gpu/drm/msm/msm_mdss.c b/drivers/gpu/drm/msm/msm_mdss.c index fab6ad4e5107c..d90b9471ba6ff 100644 -

[PATCH v3 3/4] dt-bindings: display/msm: Add SM7150 MDSS

2024-06-14 Thread Danila Tikhonov
Document the MDSS hardware found on the Qualcomm SM7150 platform. Signed-off-by: Danila Tikhonov Reviewed-by: Krzysztof Kozlowski --- .../display/msm/qcom,sm7150-mdss.yaml | 458 ++ 1 file changed, 458 insertions(+) create mode 100644 Documentation/devicetree/bindings/

[PATCH v3 2/4] drm/msm/dpu: Add SM7150 support

2024-06-14 Thread Danila Tikhonov
Add definitions for the display hardware used on the Qualcomm SM7150 platform. Signed-off-by: Danila Tikhonov --- .../msm/disp/dpu1/catalog/dpu_5_2_sm7150.h| 335 ++ .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c| 1 + .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h| 1 +

[PATCH v3 0/4] Add MDSS and DPU support for QCOM SM7150 SoC

2024-06-14 Thread Danila Tikhonov
This series adds MDSS and DPU support for SM7150. Changes in v3: - Swap DPU and MDSS patches (Krzysztof) - Add an explanation of the abbreviation DPU in patch 1 (Krzysztof) - Switch qseed3_1_4 on qseed3_2_4 in patch 2 (Dmitry) - Drop LM_4 and LM_5 in patch 2 (Dmitry) - Add Krzysztof's R-b tag to p

[PATCH v3 1/4] dt-bindings: display/msm: Add SM7150 DPU

2024-06-14 Thread Danila Tikhonov
Document the DPU hardware found on the Qualcomm SM7150 platform. Signed-off-by: Danila Tikhonov Reviewed-by: Krzysztof Kozlowski --- .../bindings/display/msm/qcom,sm7150-dpu.yaml | 143 ++ 1 file changed, 143 insertions(+) create mode 100644 Documentation/devicetree/bindings/d

Re: Design session notes: GPU acceleration in Xen

2024-06-14 Thread Demi Marie Obenour
On Fri, Jun 14, 2024 at 08:38:51AM +0200, Jan Beulich wrote: > On 13.06.2024 20:43, Demi Marie Obenour wrote: > > GPU acceleration requires that pageable host memory be able to be mapped > > into a guest. > > I'm sure it was explained in the session, which sadly I couldn't attend. > I've been aski

Re: [PATCH v2 06/10] mm/kmemleak: Replace strncpy() with __get_task_comm()

2024-06-14 Thread Yafang Shao
On Fri, Jun 14, 2024 at 6:57 PM Catalin Marinas wrote: > > On Thu, Jun 13, 2024 at 08:10:17PM +0800, Yafang Shao wrote: > > On Thu, Jun 13, 2024 at 4:37 PM Catalin Marinas > > wrote: > > > On Thu, Jun 13, 2024 at 10:30:40AM +0800, Yafang Shao wrote: > > > > Using __get_task_comm() to read the ta

Re: [PATCH 6/9] accel/rocket: Add a new driver for Rockchip's NPU

2024-06-14 Thread Nicolas Dufresne
Hi, Le vendredi 14 juin 2024 à 10:16 -0600, Jeffrey Hugo a écrit : > > + version = rocket_read(core, REG_PC_VERSION) + (rocket_read(core, > > REG_PC_VERSION_NUM) & 0x); > > + dev_info(rdev->dev, "Rockchip NPU core %d version: %d\n", core->index, > > version); > > A properly working driv

[drm-intel:for-linux-next-gt 3/3] drivers/gpu/drm/i915/gem/i915_gem_stolen.c:941:5: error: format '%lli' expects argument of type 'long long int', but argument 5 has type 'resource_size_t' {aka 'unsig

2024-06-14 Thread kernel test robot
tree: git://anongit.freedesktop.org/drm-intel for-linux-next-gt head: 05da7d9f717bcb03c457379fa8a61c1689dab86c commit: 05da7d9f717bcb03c457379fa8a61c1689dab86c [3/3] drm/i915/gem: Downgrade stolen lmem setup warning config: i386-buildonly-randconfig-002-20240615 (https://download.01.org/0day-

Re: Linux 6.10-rc1

2024-06-14 Thread Pavel Machek
Hi! > > Let's bring in the actual gpu people.. Dave/Jani/others - does any of > > this sound familiar? Pavel says things have gotten much slower in > > 6.10: "something was very wrong with the performance, likely to do > > with graphics" > > Actually, maybe it's not graphics at all. Rafael just s

RE: [PATCH] drm/i915/gt/uc: Fix typo in comment

2024-06-14 Thread Cavitt, Jonathan
> > -Original Message- From: Vivi, Rodrigo Sent: Friday, June 14, 2024 12:46 PM To: Cavitt, Jonathan Cc: Andi Shyti ; intel-gfx ; dri-devel ; Harrison, John C Subject: Re: [PATCH] drm/i915/gt/uc: Fix typo in comment > > On Fri, Jun 14, 2024 at 03:23:54PM +, Cavitt, Jonathan wr

Re: Linux 6.10-rc1

2024-06-14 Thread Pavel Machek
Hi! > > Let's bring in the actual gpu people.. Dave/Jani/others - does any of > > this sound familiar? Pavel says things have gotten much slower in > > 6.10: "something was very wrong with the performance, likely to do > > with graphics" > > Actually, maybe it's not graphics at all. Rafael just s

Re: [PATCH v2] drm/print: Introduce drm_line_printer

2024-06-14 Thread John Harrison
On 5/30/2024 14:09, Michal Wajdeczko wrote: On 30.05.2024 20:47, John Harrison wrote: On 5/30/2024 02:33, Michal Wajdeczko wrote: On 30.05.2024 09:49, Jani Nikula wrote: On Wed, 29 May 2024, John Harrison wrote: On 5/28/2024 06:06, Michal Wajdeczko wrote: This drm printer wrapper can be use

[PATCH] drm/amd/display: Disable CONFIG_DRM_AMD_DC_FP for RISC-V with clang

2024-06-14 Thread Nathan Chancellor
(!ARM64 || !CC_IS_CLANG) + select DRM_AMD_DC_FP if ARCH_HAS_KERNEL_FPU_SUPPORT && !(CC_IS_CLANG && (ARM64 || RISCV)) help Choose this option if you want to use the new display engine support for AMDGPU. This adds required support for Vega and --- base-c

Re: [PATCH v2 1/2] drm/dp: Describe target_rr_divider in struct drm_dp_as_sdp

2024-06-14 Thread Rodrigo Vivi
On Fri, Jun 14, 2024 at 09:55:57AM +0530, Mitul Golani wrote: > Describe newly added parameter target_rr_divider in struct > drm_dp_as_sdp. > > -v2: > Remove extra line from commit message.(Lucas) > > Fixes: a20c6d954d75 ("drm/dp: Add refresh rate divider to struct representing > AS SDP") > Cc:

Re: [PATCH] drm/i915/gt/uc: Fix typo in comment

2024-06-14 Thread Rodrigo Vivi
On Fri, Jun 14, 2024 at 03:23:54PM +, Cavitt, Jonathan wrote: > -Original Message- > From: Andi Shyti > Sent: Friday, June 14, 2024 8:22 AM > To: Andi Shyti > Cc: intel-gfx ; dri-devel > ; Harrison, John C > ; Cavitt, Jonathan > Subject: Re: [PATCH] drm/i915/gt/uc: Fix typo in com

Re: [PATCH v6 2/8] drm: Support per-plane async flip configuration

2024-06-14 Thread André Almeida
Em 14/06/2024 14:32, Dmitry Baryshkov escreveu:> On Fri, Jun 14, 2024 at 12:35:29PM GMT, André Almeida wrote: >> Drivers have different capabilities on what plane types they can or >> cannot perform async flips. Create a plane::async_flip field so each >> driver can choose which planes they allow

Re: [PATCH v6 0/8] drm: Support per-plane async flip configuration

2024-06-14 Thread André Almeida
Hi Dmitry, Em 14/06/2024 14:32, Dmitry Baryshkov escreveu: On Fri, Jun 14, 2024 at 12:35:27PM GMT, André Almeida wrote: AMD hardware can do async flips with overlay planes, but currently there's no easy way to enable that in DRM. To solve that, this patchset creates a new drm_plane field, bool

Re: [PATCH v11 8/8] x86/vmware: Add TDX hypercall support

2024-06-14 Thread Borislav Petkov
On Fri, Jun 14, 2024 at 11:32:16AM -0700, Alexey Makhalov wrote: > > > On 6/14/24 9:19 AM, Dave Hansen wrote: > > On 6/14/24 09:14, Borislav Petkov wrote: > > > On Fri, Jun 14, 2024 at 09:03:22AM -0700, Dave Hansen wrote: > > ... > > > > You need to zero out all of 'args' somehow. > > > > > > Yo

Re: [PATCH v6 5/8] drm/i915: Enable async flips on the primary plane

2024-06-14 Thread Rodrigo Vivi
On Fri, Jun 14, 2024 at 12:35:32PM -0300, André Almeida wrote: > This driver can perfom async flips on primary planes, so enable it. > Cc: Ville Syrjälä Cc: Naveen Kumar c: Vandita Kulkarni > Signed-off-by: André Almeida > --- > drivers/gpu/drm/i915/display/i9xx_plane.c | 3 +++ > 1 file ch

[drm-intel:for-linux-next-gt 3/3] drivers/gpu/drm/i915/gem/i915_gem_stolen.c:943:32: sparse: sparse: Using plain integer as NULL pointer

2024-06-14 Thread kernel test robot
tree: git://anongit.freedesktop.org/drm-intel for-linux-next-gt head: 05da7d9f717bcb03c457379fa8a61c1689dab86c commit: 05da7d9f717bcb03c457379fa8a61c1689dab86c [3/3] drm/i915/gem: Downgrade stolen lmem setup warning config: x86_64-randconfig-122-20240614 (https://download.01.org/0day-ci

Re: [PATCH v2] drm/print: Introduce drm_line_printer

2024-06-14 Thread John Harrison
On 5/30/2024 14:27, Michal Wajdeczko wrote: On 30.05.2024 20:47, John Harrison wrote: On 5/30/2024 00:49, Jani Nikula wrote: On Wed, 29 May 2024, John Harrison wrote: On 5/28/2024 06:06, Michal Wajdeczko wrote: This drm printer wrapper can be used to increase the robustness of the captured o

Re: [PATCH v2] drm/print: Introduce drm_line_printer

2024-06-14 Thread John Harrison
On 5/30/2024 12:37, Jani Nikula wrote: On Thu, 30 May 2024, John Harrison wrote: Except that the whole reason this was started was because Michal absolutely refuses to allow line counted output in a sysfs/debugfs file because "it is unnecessary and breaks the decoding tools". I'm only looking

Re: [PATCH v11 8/8] x86/vmware: Add TDX hypercall support

2024-06-14 Thread Alexey Makhalov
On 6/14/24 9:19 AM, Dave Hansen wrote: On 6/14/24 09:14, Borislav Petkov wrote: On Fri, Jun 14, 2024 at 09:03:22AM -0700, Dave Hansen wrote: ... You need to zero out all of 'args' somehow. You mean like this: struct tdx_module_args args = {}; ? Yes, or do all the assignments w

Re: [PATCH] dma-buf/sw_sync: Add a reference when adding fence to timeline list

2024-06-14 Thread Thadeu Lima de Souza Cascardo
On Fri, Jun 14, 2024 at 11:52:03AM +0100, Tvrtko Ursulin wrote: > > On 24/03/2024 10:15, Thadeu Lima de Souza Cascardo wrote: > > commit e531fdb5cd5e ("dma-buf/sw_sync: Avoid recursive lock during fence > > signal") fixed a recursive locking when a signal callback released a fence. > > It did it b

[PATCH 7/9] drm/i915: Replace BPP_X16_FMT()/ARGS() with DRM_X16_FMT()/ARGS()

2024-06-14 Thread Imre Deak
Replace BPP_X16_FMT()/ARGS() defined by the driver with the equivalent DRM_X16_FMT()/ARGS() defined by DRM core. Signed-off-by: Imre Deak --- drivers/gpu/drm/i915/display/intel_audio.c | 5 +++-- drivers/gpu/drm/i915/display/intel_display.c | 4 ++-- .../gpu/drm/i915/display/intel_di

[PATCH 9/9] drm/i915: Remove DSC register dump

2024-06-14 Thread Imre Deak
The Display Engine's DSC register values are deducted from the DSC configuration stored in intel_crtc_state::dsc. The latter one is dumped in a human-readable format, so dumping the register values is redundant, remove it. Signed-off-by: Imre Deak --- drivers/gpu/drm/i915/display/intel_vdsc.c |

[PATCH 3/9] drm/i915: Replace to_bpp_x16() with drm_x16_from_int()

2024-06-14 Thread Imre Deak
Replace to_bpp_x16() defined by the driver with the drm_x16_from_int() defined by DRM core. Signed-off-by: Imre Deak --- drivers/gpu/drm/i915/display/intel_bios.c | 5 +++-- .../gpu/drm/i915/display/intel_display_types.h | 5 - drivers/gpu/drm/i915/display/intel_dp.c | 17 ++

[PATCH 5/9] drm/i915: Replace to_bpp_int_roundup() with drm_x16_to_int_roundup()

2024-06-14 Thread Imre Deak
Replace to_bpp_int_roundup() defined by the driver with the equivalent drm_x16_to_int_roundup() defined by DRM core. Signed-off-by: Imre Deak --- drivers/gpu/drm/i915/display/intel_cdclk.c | 4 +++- drivers/gpu/drm/i915/display/intel_display_types.h | 5 - drivers/gpu/drm/i915/displa

[PATCH 4/9] drm/i915: Replace to_bpp_int() with drm_x16_to_int()

2024-06-14 Thread Imre Deak
Replace to_bpp_int() defined by the driver with the equivalent drm_x16_from_int() defined by DRM core. Signed-off-by: Imre Deak --- drivers/gpu/drm/i915/display/icl_dsi.c | 9 + drivers/gpu/drm/i915/display/intel_display.c | 3 ++- drivers/gpu/drm/i915/display/intel_dis

[PATCH 8/9] drm/i915: Dump DSC state to dmesg and debugfs/i915_display_info

2024-06-14 Thread Imre Deak
Dump the DSC state to dmesg during HW readout and state computation as well as the i915_display_info debugfs entry. Signed-off-by: Imre Deak --- .../drm/i915/display/intel_crtc_state_dump.c | 3 +++ .../drm/i915/display/intel_display_debugfs.c | 4 drivers/gpu/drm/i915/display/intel_vds

[PATCH 6/9] drm/i915: Replace to_bpp_frac() with drm_x16_to_frac()

2024-06-14 Thread Imre Deak
Replace to_bpp_frac() defined by the driver with the equivalent drm_x16_to_frac() defined by DRM core. Signed-off-by: Imre Deak --- drivers/gpu/drm/i915/display/intel_display_types.h | 7 +-- drivers/gpu/drm/i915/display/intel_dp.c| 4 ++-- drivers/gpu/drm/i915/display/intel_vdsc

[PATCH 1/9] drm: Add helpers for x16 fixed point values

2024-06-14 Thread Imre Deak
Add helpers to convert between x16 fixed point and integer/fraction values. Also add the format/argument macros required to printk x16 fixed point variables. These are needed by later patches dumping the Display Stream Compression configuration in DRM core and in the i915 driver to replace the cor

[PATCH 2/9] drm/display/dsc: Add a helper to dump the DSC configuration

2024-06-14 Thread Imre Deak
Add a helper to dump the Display Stream Compression configuration, taken into use in the i915 driver by a later patch. Signed-off-by: Imre Deak --- drivers/gpu/drm/display/drm_dsc_helper.c | 91 include/drm/display/drm_dsc_helper.h | 3 + 2 files changed, 94 inserti

[PATCH 0/9] drm/i915: Dump DSC state to dmesg/debugfs

2024-06-14 Thread Imre Deak
Add a DRM core helper to dump the DSC state and take this into use in the i915 driver to dump the state to dmesg after state computation and HW readout as well as to the i915_display_info debugfs entry. The state contains an x16 fixed point value, so also move the corresponding bpp_x16 helpers from

Re: [PATCH v6 0/8] drm: Support per-plane async flip configuration

2024-06-14 Thread Dmitry Baryshkov
On Fri, Jun 14, 2024 at 12:35:27PM GMT, André Almeida wrote: > AMD hardware can do async flips with overlay planes, but currently there's no > easy way to enable that in DRM. To solve that, this patchset creates a new > drm_plane field, bool async_flip, that allows drivers to choose which plane >

Re: [PATCH v6 2/8] drm: Support per-plane async flip configuration

2024-06-14 Thread Dmitry Baryshkov
On Fri, Jun 14, 2024 at 12:35:29PM GMT, André Almeida wrote: > Drivers have different capabilities on what plane types they can or > cannot perform async flips. Create a plane::async_flip field so each > driver can choose which planes they allow doing async flips. > > Signed-off-by: André Almeida

Re: [PATCH v3 2/2] drm/panel: starry-er88577: add new panel driver

2024-06-14 Thread Dmitry Baryshkov
On Fri, Jun 14, 2024 at 10:56:09PM GMT, Zhaoxiong Lv wrote: > The bias IC of this starry-er88577 panel is placed > on the panel side, so when the panel is powered on, > there is no need to control AVDD and AVEE in the driver, > only 3.3v and reset are needed. > > Signed-off-by: Zhaoxiong Lv > >

Re: [PATCH v3 1/4] drm/panel: jd9365da: Modify the method of sending commands

2024-06-14 Thread Alex Bee
Am 14.06.24 um 16:55 schrieb Zhaoxiong Lv: Currently, the init_code of the jd9365da driver is placed in the enable() function and sent, but this seems to take a long time. It takes 17ms to send each instruction (an init code consists of about 200 instructions), so it takes about 3.5s to send the

Re: [PATCH v3 3/4] drm/panel: jd9365da: Support for kd101ne3-40ti MIPI-DSI panel.

2024-06-14 Thread Dmitry Baryshkov
On Fri, Jun 14, 2024 at 10:55:09PM GMT, Zhaoxiong Lv wrote: > The K&d kd101ne3-40ti is a 10.1" WXGA TFT-LCD panel, use > jd9365da controller,which fits in nicely with the existing > panel-jadard-jd9365da-h3 driver.Hence,we add a new compatible > with panel specific config. > > Although they have t

Re: Linux 6.10-rc1

2024-06-14 Thread Linus Torvalds
On Fri, 14 Jun 2024 at 09:21, Linus Torvalds wrote: > > Let's bring in the actual gpu people.. Dave/Jani/others - does any of > this sound familiar? Pavel says things have gotten much slower in > 6.10: "something was very wrong with the performance, likely to do > with graphics" Actually, maybe i

Re: [PATCH] drm/ci: mark kms_addfb_basic@addfb25-bad-modifier as passing on msm

2024-06-14 Thread Helen Koike
On 13/06/2024 14:55, Dmitry Baryshkov wrote: On Thu, 13 Jun 2024 at 20:49, Abhinav Kumar wrote: On 6/13/2024 9:33 AM, Dmitry Baryshkov wrote: The commit b228501ff183 ("drm/msm: merge dpu format database to MDP formats") made get_format take modifiers into account. This makes kms_addfb_ba

Re: [PATCH v6] drm/ci: add tests on vkms

2024-06-14 Thread Helen Koike
On 14/06/2024 13:18, Vignesh Raman wrote: Add job that runs igt on top of vkms. Acked-by: Maíra Canal Acked-by: Helen Koike Signed-off-by: Vignesh Raman Acked-by: Jessica Zhang Tested-by: Jessica Zhang Acked-by: Maxime Ripard Signed-off-by: Helen Koike --- v2: - do not mv modules to /

Re: Design session notes: GPU acceleration in Xen

2024-06-14 Thread Demi Marie Obenour
On Fri, Jun 14, 2024 at 08:38:51AM +0200, Jan Beulich wrote: > On 13.06.2024 20:43, Demi Marie Obenour wrote: > > GPU acceleration requires that pageable host memory be able to be mapped > > into a guest. > > I'm sure it was explained in the session, which sadly I couldn't attend. > I've been aski

Re: [PATCH 9/9] accel/rocket: Add IOCTLs for synchronizing memory accesses

2024-06-14 Thread Jeffrey Hugo
On 6/12/2024 7:53 AM, Tomeu Vizoso wrote: diff --git a/include/uapi/drm/rocket_accel.h b/include/uapi/drm/rocket_accel.h index 888c9413e4cd..1539af0af4fe 100644 --- a/include/uapi/drm/rocket_accel.h +++ b/include/uapi/drm/rocket_accel.h @@ -12,9 +12,13 @@ extern "C" { #endif #define DRM_RO

Re: [PATCH v3 2/4] dt-bindings: display: panel: Add compatible for kingdisplay-kd101ne3

2024-06-14 Thread Dmitry Baryshkov
On Fri, Jun 14, 2024 at 10:55:08PM GMT, Zhaoxiong Lv wrote: > The kingdisplay-kd101ne3 is a 10.1" WXGA TFT-LCD panel with > jadard-jd9365da controller. Hence, we add a new compatible > with panel specific config. > > Signed-off-by: Zhaoxiong Lv > --- > Chage since V3: > > - 1. Abandon the V2 pat

Re: [PATCH 8/9] accel/rocket: Add job submission IOCTL

2024-06-14 Thread Jeffrey Hugo
On 6/12/2024 7:53 AM, Tomeu Vizoso wrote: Using the DRM GPU scheduler infrastructure, with a scheduler for each core. Userspace can decide for a series of tasks to be executed sequentially in the same core, so SRAM locality can be taken advantage of. The job submission code was intially based o

Re: [PATCH v4 0/3] drm/panel-edp: remove several legacy compatibles used by the driver

2024-06-14 Thread Dmitry Baryshkov
On Fri, 14 Jun 2024 03:02:19 +0300, Dmitry Baryshkov wrote: > There are two ways to describe an eDP panel in device tree. The > recommended way is to add a device on the AUX bus, ideally using the > edp-panel compatible. The legacy way is to define a top-level platform > device for the panel. > >

[PATCH v6] drm/ci: add tests on vkms

2024-06-14 Thread Vignesh Raman
Add job that runs igt on top of vkms. Acked-by: Maíra Canal Acked-by: Helen Koike Signed-off-by: Vignesh Raman Acked-by: Jessica Zhang Tested-by: Jessica Zhang Acked-by: Maxime Ripard Signed-off-by: Helen Koike --- v2: - do not mv modules to /lib/modules in the job definition, leave it to

Re: Linux 6.10-rc1

2024-06-14 Thread Linus Torvalds
On Fri, 14 Jun 2024 at 02:02, Pavel Machek wrote: > > If I can get at least basic metric on the gpu (%idle? which process > use how much time?), it might be feasible. Is there tool similar for > top? Let's bring in the actual gpu people.. Dave/Jani/others - does any of this sound familiar? Pavel

Re: [PATCH 7/9] accel/rocket: Add IOCTL for BO creation

2024-06-14 Thread Jeffrey Hugo
On 6/12/2024 7:53 AM, Tomeu Vizoso wrote: This uses the SHMEM DRM helpers and we map right away to the CPU and NPU sides, as all buffers are expected to be accessed from both. Signed-off-by: Tomeu Vizoso Reviewed-by: Jeffrey Hugo

Re: [PATCH v11 8/8] x86/vmware: Add TDX hypercall support

2024-06-14 Thread Dave Hansen
On 6/14/24 09:14, Borislav Petkov wrote: > On Fri, Jun 14, 2024 at 09:03:22AM -0700, Dave Hansen wrote: ... >> You need to zero out all of 'args' somehow. > > You mean like this: > > struct tdx_module_args args = {}; > > ? Yes, or do all the assignments with the initializer. We seem to d

Re: [PATCH 6/9] accel/rocket: Add a new driver for Rockchip's NPU

2024-06-14 Thread Jeffrey Hugo
On 6/12/2024 7:52 AM, Tomeu Vizoso wrote: This initial version supports the NPU as shipped in the RK3588 SoC and described in the first part of its TRM, in Chapter 36. This NPU contains 3 independent cores that the driver can submit jobs to. This commit adds just hardware initialization and pow

Re: [PATCH v3 1/4] drm/panel: jd9365da: Modify the method of sending commands

2024-06-14 Thread Dmitry Baryshkov
On Fri, Jun 14, 2024 at 10:55:07PM GMT, Zhaoxiong Lv wrote: > Currently, the init_code of the jd9365da driver is placed > in the enable() function and sent, but this seems to take > a long time. It takes 17ms to send each instruction (an init > code consists of about 200 instructions), so it takes

Re: [PATCH v9 00/13] Make PCI's devres API more consistent

2024-06-14 Thread Bjorn Helgaas
On Fri, Jun 14, 2024 at 01:38:41PM +0200, Philipp Stanner wrote: > On Thu, 2024-06-13 at 16:57 -0500, Bjorn Helgaas wrote: > > This is on pci/devres with some commit log rework and the following > > diffs.  I think the bar short/int thing is the only actual code > > change.  Happy to squash in any

Re: [PATCH v11 8/8] x86/vmware: Add TDX hypercall support

2024-06-14 Thread Borislav Petkov
On Fri, Jun 14, 2024 at 09:03:22AM -0700, Dave Hansen wrote: > On 6/13/24 12:16, Alexey Makhalov wrote: > > +unsigned long vmware_tdx_hypercall(unsigned long cmd, > > + unsigned long in1, unsigned long in3, > > + unsigned long in4, unsigned

Re: [PATCH v9 10/13] PCI: Give pci_intx() its own devres callback

2024-06-14 Thread Bjorn Helgaas
On Fri, Jun 14, 2024 at 10:09:46AM +0200, Philipp Stanner wrote: > On Thu, 2024-06-13 at 16:06 -0500, Bjorn Helgaas wrote: > > On Thu, Jun 13, 2024 at 01:50:23PM +0200, Philipp Stanner wrote: > > > pci_intx() is one of the functions that have "hybrid mode" (i.e., > > > sometimes managed, sometimes

[PATCH] drm/nouveau: Constify struct nouveau_job_ops

2024-06-14 Thread Christophe JAILLET
"struct nouveau_job_ops" is not modified in these drivers. Constifying this structure moves some data to a read-only section, so increase overall security. In order to do it, "struct nouveau_job" and "struct nouveau_job_args" also need to be adjusted to this new const qualifier. On a x86_64, wit

Re: [PATCH 5/6] drm/amdgpu: always enable move threshold for BOs

2024-06-14 Thread Tvrtko Ursulin
On 14/06/2024 10:53, Christian König wrote:   if (domain & abo->preferred_domains & AMDGPU_GEM_DOMAIN_VRAM && -    !(adev->flags & AMD_IS_APU)) -    places[c].flags |= TTM_PL_FLAG_FALLBACK; +    !(adev->flags & AMD_IS_APU)) { +    /* + * Wh

Re: [PATCH v11 8/8] x86/vmware: Add TDX hypercall support

2024-06-14 Thread Dave Hansen
On 6/13/24 12:16, Alexey Makhalov wrote: > +unsigned long vmware_tdx_hypercall(unsigned long cmd, > +unsigned long in1, unsigned long in3, > +unsigned long in4, unsigned long in5, > +u32 *out1, u32 *out2

Re: [PATCH] drm/amd/display: Increase frame-larger-than warning limit

2024-06-14 Thread Harry Wentland
On 2024-06-13 18:22, Nathan Chancellor wrote: > Hi Palmer (and AMD folks), > > On Tue, Jun 04, 2024 at 09:04:23AM -0700, Palmer Dabbelt wrote: >> On Mon, 03 Jun 2024 15:29:48 PDT (-0700), nat...@kernel.org wrote: >>> On Thu, May 30, 2024 at 07:57:42AM -0700, Palmer Dabbelt wrote: From: Pal

[PATCH v6 5/8] drm/i915: Enable async flips on the primary plane

2024-06-14 Thread André Almeida
This driver can perfom async flips on primary planes, so enable it. Signed-off-by: André Almeida --- drivers/gpu/drm/i915/display/i9xx_plane.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/i915/display/i9xx_plane.c b/drivers/gpu/drm/i915/display/i9xx_plane.c index 0279c

[PATCH v6 2/8] drm: Support per-plane async flip configuration

2024-06-14 Thread André Almeida
Drivers have different capabilities on what plane types they can or cannot perform async flips. Create a plane::async_flip field so each driver can choose which planes they allow doing async flips. Signed-off-by: André Almeida --- drivers/gpu/drm/drm_atomic_uapi.c | 4 ++-- include/drm/drm_plane

[PATCH v6 4/8] drm: atmel-hlcdc: Enable async flips on the primary plane

2024-06-14 Thread André Almeida
This driver can perfom async flips on primary planes, so enable it. Signed-off-by: André Almeida --- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_p

[PATCH v6 8/8] drm/amdgpu: Make it possible to async flip overlay planes

2024-06-14 Thread André Almeida
amdgpu can handle async flips on overlay planes, so mark it as true during the plane initialization. Signed-off-by: André Almeida --- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.

[PATCH v6 7/8] drm/vc4: Enable async flips on the primary plane

2024-06-14 Thread André Almeida
This driver can perfom async flips on primary planes, so enable it. Signed-off-by: André Almeida --- drivers/gpu/drm/vc4/vc4_plane.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/vc4/vc4_plane.c b/drivers/gpu/drm/vc4/vc4_plane.c index 07caf2a47c6c..e3d41d

[PATCH v6 6/8] drm/nouveau: Enable async flips on the primary plane

2024-06-14 Thread André Almeida
This driver can perfom async flips on primary planes, so enable it. Signed-off-by: André Almeida --- drivers/gpu/drm/nouveau/dispnv04/crtc.c | 4 drivers/gpu/drm/nouveau/dispnv50/wndw.c | 4 2 files changed, 8 insertions(+) diff --git a/drivers/gpu/drm/nouveau/dispnv04/crtc.c b/drive

[PATCH v6 3/8] drm/amdgpu: Enable async flips on the primary plane

2024-06-14 Thread André Almeida
This driver can perfom async flips on primary planes, so enable it. Signed-off-by: André Almeida --- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c b/drivers/gpu/drm/amd/display/

[PATCH v6 1/8] drm/atomic: Allow userspace to use explicit sync with atomic async flips

2024-06-14 Thread André Almeida
Allow userspace to use explicit synchronization with atomic async flips. That means that the flip will wait for some hardware fence, and then will flip as soon as possible (async) in regard of the vblank. Signed-off-by: André Almeida --- drivers/gpu/drm/drm_atomic_uapi.c | 4 +++- 1 file changed

[PATCH v6 0/8] drm: Support per-plane async flip configuration

2024-06-14 Thread André Almeida
AMD hardware can do async flips with overlay planes, but currently there's no easy way to enable that in DRM. To solve that, this patchset creates a new drm_plane field, bool async_flip, that allows drivers to choose which plane can or cannot do async flips. This is latter used on drm_atomic_set_pr

RE: [PATCH] drm/i915/gt/uc: Fix typo in comment

2024-06-14 Thread Cavitt, Jonathan
-Original Message- From: Andi Shyti Sent: Friday, June 14, 2024 8:22 AM To: Andi Shyti Cc: intel-gfx ; dri-devel ; Harrison, John C ; Cavitt, Jonathan Subject: Re: [PATCH] drm/i915/gt/uc: Fix typo in comment > > I guess sparse and potential CI errors won't minimally relate to > this

Re: [PATCH] drm/i915/gt/uc: Fix typo in comment

2024-06-14 Thread Andi Shyti
I guess sparse and potential CI errors won't minimally relate to this patch. Adding also Jonathan in Cc :-) Thanks, Andi On Fri, Jun 14, 2024 at 12:28:37AM +0200, Andi Shyti wrote: > Replace "dynmically" with "dynamically". > > Signed-off-by: Andi Shyti > Cc: John Harrison > --- > drivers/gp

[PATCH v3 0/2] Support Starry er88577 MIPI-DSI panel

2024-06-14 Thread Zhaoxiong Lv
The Starry is a 10.1" WXGA TFT LCD panel with er88577 controller Because Starry-er88577 and kingdisplay-kd101ne3 are not the same IC, separate Starry-er88577 from the panel-kingdisplay-kd101ne3 driver. Changes in v3: - PATCH 1/2: This add the bindings to panel-simple-dsi. - PATCH 2/2: Add a separ

[PATCH v3 3/4] drm/panel: jd9365da: Support for kd101ne3-40ti MIPI-DSI panel.

2024-06-14 Thread Zhaoxiong Lv
The K&d kd101ne3-40ti is a 10.1" WXGA TFT-LCD panel, use jd9365da controller,which fits in nicely with the existing panel-jadard-jd9365da-h3 driver.Hence,we add a new compatible with panel specific config. Although they have the same control IC, the two panels are different, and the timing will be

[PATCH v3 4/4] drm/panel: jd9365da: Add the function of adjusting orientation

2024-06-14 Thread Zhaoxiong Lv
This driver does not have the function to adjust the orientation, so this function is added. Signed-off-by: Zhaoxiong Lv --- drivers/gpu/drm/panel/panel-jadard-jd9365da-h3.c | 16 +++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/panel/panel-jadard-jd

[PATCH v3 2/2] drm/panel: starry-er88577: add new panel driver

2024-06-14 Thread Zhaoxiong Lv
The bias IC of this starry-er88577 panel is placed on the panel side, so when the panel is powered on, there is no need to control AVDD and AVEE in the driver, only 3.3v and reset are needed. Signed-off-by: Zhaoxiong Lv --- Chage since V3: - Separate Starry-er88577 from the panel-kingdisplay-

[PATCH v3 1/2] dt-bindings: display: panel-simple-dsi: add Starry-er88577 DSI panel bindings

2024-06-14 Thread Zhaoxiong Lv
This add the bindings for the 1280x800 TFT LCD Starry-er88577 DSI panel to panel-simple-dsi. Signed-off-by: Zhaoxiong Lv --- Chage since V3: - Separate the Starry bindings from kingdisplay, and add it to panel-simple-dsi.yaml v2: https://lore.kernel.org/all/20240601084528.22502-4-lvzhaoxi..

[PATCH v3 2/4] dt-bindings: display: panel: Add compatible for kingdisplay-kd101ne3

2024-06-14 Thread Zhaoxiong Lv
The kingdisplay-kd101ne3 is a 10.1" WXGA TFT-LCD panel with jadard-jd9365da controller. Hence, we add a new compatible with panel specific config. Signed-off-by: Zhaoxiong Lv --- Chage since V3: - 1. Abandon the V2 patch and add kingdisplay kd101ne3-40ti binding to -jadard,jd9365da-h3.yaml

[PATCH v3 0/4] Add kd101ne3-40ti configuration in driver jd9365da

2024-06-14 Thread Zhaoxiong Lv
This kingdisplay panel uses the jd9365da controller, so add it to panel-jadard-jd9365da-h3.c driver, but because the init_code and timing are different, some variables are added in struct jadard_panel_des to control it. In addition, since sending init_code in the enable() function takes a long

[PATCH v3 1/4] drm/panel: jd9365da: Modify the method of sending commands

2024-06-14 Thread Zhaoxiong Lv
Currently, the init_code of the jd9365da driver is placed in the enable() function and sent, but this seems to take a long time. It takes 17ms to send each instruction (an init code consists of about 200 instructions), so it takes about 3.5s to send the init_code. So we moved the sending of the int

Re: [PATCH 2/6] drm/ttm: Store the bo_kmap_type in struct iosys_map

2024-06-14 Thread Christian König
Am 14.06.24 um 15:21 schrieb Thomas Zimmermann: For each instances of struct iosys_map set up by ttm_bo_vmap(), store the type of allocation in the instance. Use this information to unmap the memory in ttm_bo_vunmap(). This change simplifies the unmap code and puts the complicated logic entirely

Re: [PATCH 3/6] drm/ttm: Support partial buffer mappings for ttm_bo_vmap()

2024-06-14 Thread Christian König
Am 14.06.24 um 15:21 schrieb Thomas Zimmermann: Add offset and size parameters to ttm_bo_vmap() to allow for partial mappings of a buffer object. This brings the functionality on par with ttm_bo_kmap(). Well the long term plan was to remove this functionality from ttm_bo_kmap() and nuke that f

Re: [PATCH v3] drm/fb-helper: Detect when lid is closed during initialization

2024-06-14 Thread Mario Limonciello
On 6/14/2024 09:17, Thomas Zimmermann wrote: Hi Am 14.06.24 um 15:47 schrieb Mario Limonciello: On 6/14/2024 03:15, Thomas Zimmermann wrote: Hi Mario Am 13.06.24 um 07:17 schrieb Mario Limonciello: If the lid on a laptop is closed when eDP connectors are populated then it remains enabled whe

Re: [PATCH v3] drm/fb-helper: Detect when lid is closed during initialization

2024-06-14 Thread Thomas Zimmermann
Hi Am 14.06.24 um 15:47 schrieb Mario Limonciello: On 6/14/2024 03:15, Thomas Zimmermann wrote: Hi Mario Am 13.06.24 um 07:17 schrieb Mario Limonciello: If the lid on a laptop is closed when eDP connectors are populated then it remains enabled when the initial framebuffer configuration is bui

Re: [PATCH v3] drm/fb-helper: Detect when lid is closed during initialization

2024-06-14 Thread Mario Limonciello
On 6/14/2024 03:15, Thomas Zimmermann wrote: Hi Mario Am 13.06.24 um 07:17 schrieb Mario Limonciello: If the lid on a laptop is closed when eDP connectors are populated then it remains enabled when the initial framebuffer configuration is built. When creating the initial framebuffer configurat

[PATCH 0/6] drm/{ttm,xe}: Improve ttm_bo_vmap() and update xe

2024-06-14 Thread Thomas Zimmermann
Add ttm_bo_kmap()'s features to ttm_bo_vmap() and convert xe to use the latter helper. ttm_bo_vmap() returns mappings in an instance of struct iosys_map, which simplifies driver code in several places. Patches 1 and 2 allow ttm_bo_vmap() to store the method of allocation in the iosys_map instance.

[PATCH 5/6] drm/xe: Remove vunmap calls object-freeing code

2024-06-14 Thread Thomas Zimmermann
Move calls to unmap the buffer-object memory from the object-release code in xe_gem_object_free() to the caller of the release. Doing an unmap for a BO requires holding the reservation lock, which is not allowed while releasing a GEM object. Without the reservation lock, TTM can concurrently evict

RE: [REGRESSION] QXL display malfunction

2024-06-14 Thread Kaplan, David
[AMD Official Use Only - AMD Internal Distribution Only] > -Original Message- > From: Thomas Zimmermann > Sent: Wednesday, June 12, 2024 9:26 AM > To: Linux regressions mailing list > Cc: Petkov, Borislav ; > zack.ru...@broadcom.com; dmitry.osipe...@collabora.com; Kaplan, David > ; Koeni

[PATCH 2/6] drm/ttm: Store the bo_kmap_type in struct iosys_map

2024-06-14 Thread Thomas Zimmermann
For each instances of struct iosys_map set up by ttm_bo_vmap(), store the type of allocation in the instance. Use this information to unmap the memory in ttm_bo_vunmap(). This change simplifies the unmap code and puts the complicated logic entirely into the map code. Signed-off-by: Thomas Zimmerma

  1   2   >