Re: [RFC PATCH 1/5] x86/xen: disable swiotlb for xen pvh

2023-03-16 Thread Stefano Stabellini
On Thu, 16 Mar 2023, Juergen Gross wrote: > On 16.03.23 14:53, Alex Deucher wrote: > > On Thu, Mar 16, 2023 at 9:48 AM Juergen Gross wrote: > > > > > > On 16.03.23 14:45, Alex Deucher wrote: > > > > On Thu, Mar 16, 2023 at 3:50 AM Jan Beulich wrote: > > > > > > > > > > On 16.03.2023 00:25,

[PATCH] tests/amdgpu: Add all 9 optios to the help output

2023-03-16 Thread Luben Tuikov
Add -s and -t to the help output, as well as sort the options output alphabetically. Cc: Alex Deucher Signed-off-by: Luben Tuikov --- tests/amdgpu/amdgpu_test.c | 18 ++ 1 file changed, 10 insertions(+), 8 deletions(-) MR 291 has been updated. diff --git

Re: [PATCH v3 09/17] drm/amd/display: Register Colorspace property for DP and HDMI

2023-03-16 Thread Ville Syrjälä
On Thu, Mar 16, 2023 at 10:13:54PM +0100, Sebastian Wick wrote: > On Thu, Mar 16, 2023 at 1:35 PM Ville Syrjälä > wrote: > > > > On Thu, Mar 16, 2023 at 01:34:49PM +0200, Pekka Paalanen wrote: > > > On Thu, 16 Mar 2023 12:47:51 +0200 > > > Ville Syrjälä wrote: > > > > > > > On Thu, Mar 16, 2023

[PATCH] tests/amdgpu: Fix Usage string

2023-03-16 Thread Luben Tuikov
Fix the Usage: string on -h (help) in amdgpu_tests.c, so brackets match, and remove mismatched angle brackets. Cc: Alex Deucher Signed-off-by: Luben Tuikov --- tests/amdgpu/amdgpu_test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/amdgpu/amdgpu_test.c

Re: [PATCH v3 09/17] drm/amd/display: Register Colorspace property for DP and HDMI

2023-03-16 Thread Sebastian Wick
On Thu, Mar 16, 2023 at 1:35 PM Ville Syrjälä wrote: > > On Thu, Mar 16, 2023 at 01:34:49PM +0200, Pekka Paalanen wrote: > > On Thu, 16 Mar 2023 12:47:51 +0200 > > Ville Syrjälä wrote: > > > > > On Thu, Mar 16, 2023 at 12:07:01PM +0200, Pekka Paalanen wrote: > > > > On Thu, 16 Mar 2023 11:50:27

Re: [PATCH v3 09/17] drm/amd/display: Register Colorspace property for DP and HDMI

2023-03-16 Thread Ville Syrjälä
On Thu, Mar 16, 2023 at 01:34:49PM +0200, Pekka Paalanen wrote: > On Thu, 16 Mar 2023 12:47:51 +0200 > Ville Syrjälä wrote: > > > On Thu, Mar 16, 2023 at 12:07:01PM +0200, Pekka Paalanen wrote: > > > On Thu, 16 Mar 2023 11:50:27 +0200 > > > Ville Syrjälä wrote: > > > > > > > On Thu, Mar 16,

Re: [PATCH v3 09/17] drm/amd/display: Register Colorspace property for DP and HDMI

2023-03-16 Thread Pekka Paalanen
On Thu, 16 Mar 2023 12:47:51 +0200 Ville Syrjälä wrote: > On Thu, Mar 16, 2023 at 12:07:01PM +0200, Pekka Paalanen wrote: > > On Thu, 16 Mar 2023 11:50:27 +0200 > > Ville Syrjälä wrote: > > > > > On Thu, Mar 16, 2023 at 01:37:24AM +0100, Sebastian Wick wrote: > > > > On Tue, Mar 7, 2023 at

[PATCH 1/2] drm/amd/display: make is_synaptics_cascaded_panamera static

2023-03-16 Thread Jiapeng Chong
This symbol is not used outside of amdgpu_dm_mst_types.c, so marks it static. drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c:211:6: warning: no previous prototype for ‘is_synaptics_cascaded_panamera’. Reported-by: Abaci Robot Link:

[PATCH 2/2] drm/amd/display: Remove the unused function link_timing_bandwidth_kbps()

2023-03-16 Thread Jiapeng Chong
The function link_timing_bandwidth_kbps is defined in the link_validation.c file, but not called elsewhere, so remove this unused function. drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_validation.c:258:10: warning: no previous prototype for ‘link_timing_bandwidth_kbps’. Reported-by: Abaci

Re: [PATCH v3 09/17] drm/amd/display: Register Colorspace property for DP and HDMI

2023-03-16 Thread Pekka Paalanen
On Thu, 16 Mar 2023 11:50:27 +0200 Ville Syrjälä wrote: > On Thu, Mar 16, 2023 at 01:37:24AM +0100, Sebastian Wick wrote: > > On Tue, Mar 7, 2023 at 4:12 PM Harry Wentland > > wrote: > > > > > > We want compositors to be able to set the output > > > colorspace on DP and HDMI outputs, based

Re: [PATCH v3 09/17] drm/amd/display: Register Colorspace property for DP and HDMI

2023-03-16 Thread Ville Syrjälä
On Thu, Mar 16, 2023 at 12:07:01PM +0200, Pekka Paalanen wrote: > On Thu, 16 Mar 2023 11:50:27 +0200 > Ville Syrjälä wrote: > > > On Thu, Mar 16, 2023 at 01:37:24AM +0100, Sebastian Wick wrote: > > > On Tue, Mar 7, 2023 at 4:12 PM Harry Wentland > > > wrote: > > > > > > > > We want

Re: [Intel-gfx] [BUG 6.3-rc1] Bad lock in ttm_bo_delayed_delete()

2023-03-16 Thread Steven Rostedt
On Wed, 15 Mar 2023 20:21:33 -0400 Steven Rostedt wrote: > On Wed, 15 Mar 2023 16:20:11 -0400 > Steven Rostedt wrote: > > > On Wed, 15 Mar 2023 20:51:49 +0100 > > Christian König wrote: > > > > > Steven please try the attached patch. > > > > I applied it, but as it's not always

Re: [Intel-gfx] [BUG 6.3-rc1] Bad lock in ttm_bo_delayed_delete()

2023-03-16 Thread Steven Rostedt
On Wed, 15 Mar 2023 16:20:11 -0400 Steven Rostedt wrote: > On Wed, 15 Mar 2023 20:51:49 +0100 > Christian König wrote: > > > Steven please try the attached patch. > > I applied it, but as it's not always reproducible, I'll have to give it > several runs before I give you my "tested-by" tag.

Re: [RFC PATCH 1/5] x86/xen: disable swiotlb for xen pvh

2023-03-16 Thread Jan Beulich
On 16.03.2023 00:25, Stefano Stabellini wrote: > On Wed, 15 Mar 2023, Jan Beulich wrote: >> On 15.03.2023 01:52, Stefano Stabellini wrote: >>> On Mon, 13 Mar 2023, Jan Beulich wrote: On 12.03.2023 13:01, Huang Rui wrote: > Xen PVH is the paravirtualized mode and takes advantage of

Re: [PATCH v3 09/17] drm/amd/display: Register Colorspace property for DP and HDMI

2023-03-16 Thread Ville Syrjälä
On Thu, Mar 16, 2023 at 01:37:24AM +0100, Sebastian Wick wrote: > On Tue, Mar 7, 2023 at 4:12 PM Harry Wentland wrote: > > > > We want compositors to be able to set the output > > colorspace on DP and HDMI outputs, based on the > > caps reported from the receiver via EDID. > > About that... The

[PATCH] drm/amdgpu: Adding CAP firmware initialization

2023-03-16 Thread Bill Liu
Added CAP firmware initialization for PSP v13.0.10 under psp_init_sriov_microcode Signed-off-by: Bill Liu --- drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | 2 ++ 2 files changed, 3 insertions(+) diff --git

[PATCH 06/10] drm/radeon: Fix coding style in fbdev emulation

2023-03-16 Thread Thomas Zimmermann
Fix the coding style in several places in the fbdev-emulation code. Also rename functions and structure file by comments. No functional changes. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/radeon/radeon_fb.c | 81 +- 1 file changed, 46 insertions(+), 35

[PATCH 07/10] drm/radeon: Move fbdev cleanup code into fb_destroy callback

2023-03-16 Thread Thomas Zimmermann
Fbdev calls struct fb_ops.fb_destroy after cleaning up the final reference to an fbdev framebuffer. Move radeon's fbdev cleanup code there. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/radeon/radeon_fb.c | 43 +++--- 1 file changed, 21 insertions(+), 22

[PATCH 09/10] drm/radeon: Implement client-based fbdev emulation

2023-03-16 Thread Thomas Zimmermann
Implement fbdev emulation on top of struct drm_client and its helpers. Replaces ad-hoc interfaces for restoring and closing fbdev emulation with per-client callbacks for hotplugging, restoring and unregistering. A single function, radeon_fbdev_setup(), starts fbdev emulation after the DRM device

[PATCH 04/10] drm/radeon: Remove test for !screen_base in fbdev probing

2023-03-16 Thread Thomas Zimmermann
The screen_base field comes from the fbdev BO and contains the fbdev framebuffer base address. We get the BO memory via radeon_bo_kmap(), which already reports the error -ENOMEM if the buffer could not be mapped. So remove the later test for screen_base, which will never be NULL at this point.

[PATCH 00/10] drm/radeon: Convert fbdev to DRM client

2023-03-16 Thread Thomas Zimmermann
Convert radeon's fbdev code to drm_client. Replaces the current ad-hoc integration. The conversion includes a number of cleanups. Only build fbdev support if the config option has been set. Thomas Zimmermann (10): drm/radeon: Move radeon_align_pitch() next to dumb-buffer helpers drm/radeon:

[PATCH 03/10] drm/radeon: Remove struct radeon_fbdev

2023-03-16 Thread Thomas Zimmermann
Both data fields in struct radeon_fbdev, the framebuffer and the device, are already available in struct drm_fb_helper. Simplify radeon by converting all callers and removing struct radeon_fbdev. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/radeon/radeon_fb.c | 100

[PATCH 05/10] drm/radeon: Move fbdev object helpers before struct fb_ops et al

2023-03-16 Thread Thomas Zimmermann
Move the helpers for creating and destroying fbdev GEM objects to the top of the source file. Makes them available to fb_ops functions. This will allow to implement framebuffer cleanup in fb_destroy. No functional changes. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/radeon/radeon_fb.c

[PATCH 08/10] drm/radeon: Correctly clean up failed display probing

2023-03-16 Thread Thomas Zimmermann
Improve the fbdev probing function to fully clean up if it failed. Allows to remove special cases from fb_destroy as well. This change is reorders the operations within radeonfb_probe(). It first allocates a buffer object, then builds a DRM framebuffer for the object and finally creates the fbdev

[PATCH 10/10] drm/radeon: Only build fbdev if DRM_FBDEV_EMULATION is set

2023-03-16 Thread Thomas Zimmermann
Make building fbdev emulation depend on DRM_FBDEV_EMULATION. Also rename the source file to radeon_fbdev.c to align with other fbdev files. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/radeon/Makefile | 3 ++- .../gpu/drm/radeon/{radeon_fb.c => radeon_fbdev.c}

[PATCH 02/10] drm/radeon: Improve fbdev object-test helper

2023-03-16 Thread Thomas Zimmermann
Look up the framebuffer GEM object in fbdev object test with the respective helper drm_gem_fb_get_obj(). The look-up helper warns if no GEM object has been installed. Upcasting types prevents runtime type checking, so avoid upcast to struct radeon_bo. Signed-off-by: Thomas Zimmermann ---

[PATCH 01/10] drm/radeon: Move radeon_align_pitch() next to dumb-buffer helpers

2023-03-16 Thread Thomas Zimmermann
Move radeon_align_pitch() next to its caller in the dumb-buffer code. Removes the only dependency on the radeon's fbdev source file that is not related to fbdev emulation. No functional changes. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/radeon/radeon.h | 2 ++

Re: [RFC PATCH 1/5] x86/xen: disable swiotlb for xen pvh

2023-03-16 Thread Juergen Gross
On 16.03.23 14:45, Alex Deucher wrote: On Thu, Mar 16, 2023 at 3:50 AM Jan Beulich wrote: On 16.03.2023 00:25, Stefano Stabellini wrote: On Wed, 15 Mar 2023, Jan Beulich wrote: On 15.03.2023 01:52, Stefano Stabellini wrote: On Mon, 13 Mar 2023, Jan Beulich wrote: On 12.03.2023 13:01,

Re: [RFC PATCH 1/5] x86/xen: disable swiotlb for xen pvh

2023-03-16 Thread Jan Beulich
On 16.03.2023 14:53, Alex Deucher wrote: > On Thu, Mar 16, 2023 at 9:48 AM Juergen Gross wrote: >> >> On 16.03.23 14:45, Alex Deucher wrote: >>> On Thu, Mar 16, 2023 at 3:50 AM Jan Beulich wrote: On 16.03.2023 00:25, Stefano Stabellini wrote: > On Wed, 15 Mar 2023, Jan Beulich

Re: [PATCH 1/2] drm/amd/display: make is_synaptics_cascaded_panamera static

2023-03-16 Thread Hamza Mahfooz
On 3/16/23 05:51, Jiapeng Chong wrote: This symbol is not used outside of amdgpu_dm_mst_types.c, so marks it static. drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c:211:6: warning: no previous prototype for ‘is_synaptics_cascaded_panamera’. Reported-by: Abaci Robot

Re: [RFC PATCH 1/5] x86/xen: disable swiotlb for xen pvh

2023-03-16 Thread Alex Deucher
On Thu, Mar 16, 2023 at 3:50 AM Jan Beulich wrote: > > On 16.03.2023 00:25, Stefano Stabellini wrote: > > On Wed, 15 Mar 2023, Jan Beulich wrote: > >> On 15.03.2023 01:52, Stefano Stabellini wrote: > >>> On Mon, 13 Mar 2023, Jan Beulich wrote: > On 12.03.2023 13:01, Huang Rui wrote: > >

Re: [RFC PATCH 1/5] x86/xen: disable swiotlb for xen pvh

2023-03-16 Thread Alex Deucher
On Thu, Mar 16, 2023 at 9:48 AM Juergen Gross wrote: > > On 16.03.23 14:45, Alex Deucher wrote: > > On Thu, Mar 16, 2023 at 3:50 AM Jan Beulich wrote: > >> > >> On 16.03.2023 00:25, Stefano Stabellini wrote: > >>> On Wed, 15 Mar 2023, Jan Beulich wrote: > On 15.03.2023 01:52, Stefano

[linux-next:master] BUILD REGRESSION 6f72958a49f68553f2b6ff713e8c8e51a34c1e1e

2023-03-16 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master branch HEAD: 6f72958a49f68553f2b6ff713e8c8e51a34c1e1e Add linux-next specific files for 20230316 Error/Warning reports: https://lore.kernel.org/oe-kbuild-all/202303081807.lblwkmpx-...@intel.com https

Re: [PATCH v3 0/6] drm/amd/display: Pass proper parent for DM backlight device v3

2023-03-16 Thread Rodrigo Siqueira Jordao
On 3/12/23 13:17, Hans de Goede wrote: Hi All, Here is version 3 of my patch series to pass the proper parent device to backlight_device_register(). Changes in v3: - Make amdgpu_dm_register_backlight_device() check bl_idx != 1 before registering the backlight since

Re: [PATCH v3 0/6] drm/amd/display: Pass proper parent for DM backlight device v3

2023-03-16 Thread Hans de Goede
Hi, On 3/16/23 15:57, Rodrigo Siqueira Jordao wrote: > > > On 3/12/23 13:17, Hans de Goede wrote: >> Hi All, >> >> Here is version 3 of my patch series to pass the proper parent device >> to backlight_device_register(). >> >> Changes in v3: >> - Make amdgpu_dm_register_backlight_device() check

Re: [RFC PATCH 1/5] x86/xen: disable swiotlb for xen pvh

2023-03-16 Thread Juergen Gross
On 16.03.23 14:53, Alex Deucher wrote: On Thu, Mar 16, 2023 at 9:48 AM Juergen Gross wrote: On 16.03.23 14:45, Alex Deucher wrote: On Thu, Mar 16, 2023 at 3:50 AM Jan Beulich wrote: On 16.03.2023 00:25, Stefano Stabellini wrote: On Wed, 15 Mar 2023, Jan Beulich wrote: On 15.03.2023

Re: [RFC PATCH 1/5] x86/xen: disable swiotlb for xen pvh

2023-03-16 Thread Roger Pau Monné
On Sun, Mar 12, 2023 at 08:01:53PM +0800, Huang Rui wrote: > Xen PVH is the paravirtualized mode and takes advantage of hardware > virtualization support when possible. It will using the hardware IOMMU > support instead of xen-swiotlb, so disable swiotlb if current domain is > Xen PVH. > >

[PATCH] umr: Add umrgui to bash command line completion

2023-03-16 Thread Luben Tuikov
Add umrgui to bash command line completion as well. Cc: Tom StDenis Signed-off-by: Luben Tuikov --- scripts/umr-completion.bash | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/umr-completion.bash b/scripts/umr-completion.bash index 344095b5d0633d..8bb2e7abb1fe97 100644 ---