Re: [PATCH 18/30] fbdev/radeonfb: Use hardware device as backlight parent

2023-06-05 Thread Dan Carpenter
On Mon, Jun 05, 2023 at 04:48:00PM +0200, Thomas Zimmermann wrote: > Use the hardware device in struct fb_info.device as parent of the > backlight device. Aligns the driver with the rest of the codebase > and prepares fbdev for making struct fb_info.dev optional. > > Signed-off-by: Thomas

Re: [PATCH 11/30] fbdev/ep93xx-fb: Do not assign to struct fb_info.dev

2023-06-05 Thread Dan Carpenter
On Mon, Jun 05, 2023 at 04:47:53PM +0200, Thomas Zimmermann wrote: > Do not assing the Linux device to struct fb_info.dev. The call to > register_framebuffer() initializes the field to the fbdev device. > Drivers should not override its value. > > Fixes a bug where the driver incorrectly

[PATCH v3] drm/i915/mtl/gsc: Add a gsc_info debugfs

2023-06-05 Thread Daniele Ceraolo Spurio
Add a new debugfs to dump information about the GSC. This includes: - the FW path and SW tracking status; - the release, security and compatibility versions; - the HECI1 status registers. Note that those are the same registers that the mei driver dumps in their own status sysfs on DG2 (where mei

[PATCH] drm/i915: Avoid circular locking dependency when flush delayed work on gt reset

2023-06-05 Thread Zhanjun Dong
This attemps to avoid circular locing dependency between flush delayed work and intel_gt_reset. WARNING: possible circular locking dependency detected 6.4.0-rc1-drmtip_1340-g31e3463b0edb+ #1 Not tainted -- kms_pipe_crc_ba/6415 is trying to

Re: [Freedreno] [PATCH] drm/msm/dpu: re-introduce dpu core revision to the catalog

2023-06-05 Thread Abhinav Kumar
On 6/5/2023 6:03 PM, Dmitry Baryshkov wrote: On 06/06/2023 03:55, Abhinav Kumar wrote: On 6/3/2023 7:21 PM, Dmitry Baryshkov wrote: On 31/05/2023 21:25, Abhinav Kumar wrote: On 5/31/2023 3:07 AM, Dmitry Baryshkov wrote: On 31/05/2023 06:05, Abhinav Kumar wrote: On 5/30/2023 7:53

[PATCH v2 5/5] drm/i915/gsc: define gsc fw

2023-06-05 Thread Daniele Ceraolo Spurio
Add FW definition and the matching override modparam. The GSC FW has both a release version, based on platform and a rolling counter, and a compatibility version, which is the one tracking interface changes. Since what we care about is the interface, we use the compatibility version in the binary

[PATCH v2 4/5] drm/i915/mtl/gsc: Add a gsc_info debugfs

2023-06-05 Thread Daniele Ceraolo Spurio
Add a new debugfs to dump information about the GSC. This includes: - the FW path and SW tracking status; - the release, security and compatibility versions; - the HECI1 status registers. Note that those are the same registers that the mei driver dumps in their own status sysfs on DG2 (where mei

[PATCH v2 3/5] drm/i915/mtl/gsc: query the GSC FW for its compatibility version

2023-06-05 Thread Daniele Ceraolo Spurio
The compatibility version is queried via an MKHI command. Right now, the only existing interface is 1.0 This is basically the interface version for the GSC FW, so the plan is to use it as the main tracked version, including for the binary naming in the fetch code. v2: use define for the object

[PATCH v2 2/5] drm/i915/mtl/gsc: extract release and security versions from the gsc binary

2023-06-05 Thread Daniele Ceraolo Spurio
The release and security versions of the GSC binary are not used at runtime to decide interface compatibility (there is a separate version for that), but they're still useful for debug, so it is still worth extracting them and printing them out in dmesg. To get to these version, we need to

[PATCH v2 1/5] drm/i915/gsc: fixes and updates for GSC memory allocation

2023-06-05 Thread Daniele Ceraolo Spurio
A few fixes/updates are required around the GSC memory allocation and it is easier to do them all at the same time. The changes are as follows: 1 - Switch the memory allocation to stolen memory. We need to avoid accesses from GSC FW to normal memory after the suspend function has completed and to

[PATCH v2 0/5] drm/i915: GSC FW support for MTL

2023-06-05 Thread Daniele Ceraolo Spurio
Last chunk of the required support for the GSC FW. This includes some fixes to the GSC memory allocation, FW idefinition and version management, plus a new debugfs for debug information. Adding the FW definition will enable all the features that are dependent on the GSC being loaded (Media C6,

Re: [Intel-gfx] [PATCH v2 1/2] vgaarb: various coding style and comments fix

2023-06-05 Thread Sui Jingfeng
Hi, On 2023/6/6 06:16, Andi Shyti wrote: Hi Sui, On Mon, Jun 05, 2023 at 04:58:30AM +0800, Sui Jingfeng wrote: From: Sui Jingfeng To keep consistent with vga_iostate_to_str() function, the third argument of vga_str_to_iostate() function should be 'unsigned int *'. I think the real reason

Re: [Freedreno] [PATCH] drm/msm/dpu: re-introduce dpu core revision to the catalog

2023-06-05 Thread Dmitry Baryshkov
On 06/06/2023 03:55, Abhinav Kumar wrote: On 6/3/2023 7:21 PM, Dmitry Baryshkov wrote: On 31/05/2023 21:25, Abhinav Kumar wrote: On 5/31/2023 3:07 AM, Dmitry Baryshkov wrote: On 31/05/2023 06:05, Abhinav Kumar wrote: On 5/30/2023 7:53 PM, Dmitry Baryshkov wrote: On Wed, 31 May 2023 at

Re: [Freedreno] [PATCH] drm/msm/dpu: re-introduce dpu core revision to the catalog

2023-06-05 Thread Abhinav Kumar
On 6/3/2023 7:21 PM, Dmitry Baryshkov wrote: On 31/05/2023 21:25, Abhinav Kumar wrote: On 5/31/2023 3:07 AM, Dmitry Baryshkov wrote: On 31/05/2023 06:05, Abhinav Kumar wrote: On 5/30/2023 7:53 PM, Dmitry Baryshkov wrote: On Wed, 31 May 2023 at 03:54, Abhinav Kumar wrote: With [1]

Re: [PATCH v15] drm/msm/dpu: add DSC blocks to the catalog of MSM8998 and SC8180X

2023-06-05 Thread Dmitry Baryshkov
On 06/06/2023 02:58, Kuogee Hsieh wrote: From: Abhinav Kumar Some platforms have DSC blocks which have not been declared in the catalog. Complete DSC 1.1 support for all platforms by adding the missing blocks to MSM8998 and SC8180X. Changes in v9: -- add MSM8998 and SC8180x to commit title

Re: [PATCH v15] drm/msm/dpu: add DSC blocks to the catalog of MSM8998 and SC8180X

2023-06-05 Thread Marijn Suijten
SC8180 aleady has it? On 2023-06-05 16:58:14, Kuogee Hsieh wrote: > From: Abhinav Kumar > > Some platforms have DSC blocks which have not been declared in the catalog. > Complete DSC 1.1 support for all platforms by adding the missing blocks to > MSM8998 and SC8180X. > > Changes in v9: > --

Re: [PATCH 2/6] drm/i915/uc/gsc: fixes and updates for GSC memory allocation

2023-06-05 Thread Teres Alexis, Alan Previn
On Tue, 2023-05-23 at 08:21 -0700, Ceraolo Spurio, Daniele wrote: > > > > > > +static int gsc_allocate_and_map_vma(struct intel_gsc_uc *gsc, u32 size) > > alan:snip > > > + obj = i915_gem_object_create_stolen(gt->i915, s0ize); > > > + if (IS_ERR(obj)) > > > + return PTR_ERR(obj); > > > +

[PATCH v15] drm/msm/dpu: add DSC blocks to the catalog of MSM8998 and SC8180X

2023-06-05 Thread Kuogee Hsieh
From: Abhinav Kumar Some platforms have DSC blocks which have not been declared in the catalog. Complete DSC 1.1 support for all platforms by adding the missing blocks to MSM8998 and SC8180X. Changes in v9: -- add MSM8998 and SC8180x to commit title Changes in v10: -- fix grammar at commit

Re: [PATCH 6/6] drm/i915/uc/gsc: Add a gsc_info debugfs

2023-06-05 Thread Ceraolo Spurio, Daniele
On 6/5/2023 4:46 PM, Teres Alexis, Alan Previn wrote: On Wed, 2023-05-31 at 17:25 -0700, Ceraolo Spurio, Daniele wrote: On 5/26/2023 3:57 PM, Teres Alexis, Alan Previn wrote: On Fri, 2023-05-05 at 09:04 -0700, Ceraolo Spurio, Daniele wrote: Add a new debugfs to dump information about the

Re: [PATCH 3/6] drm/i915/uc/gsc: extract release and security versions from the gsc binary

2023-06-05 Thread Teres Alexis, Alan Previn
On Fri, 2023-05-26 at 18:27 -0700, Ceraolo Spurio, Daniele wrote: > > > > diff --git a/drivers/gpu/drm/i915/gt/uc/intel_gsc_meu_headers.h > > > b/drivers/gpu/drm/i915/gt/uc/intel_gsc_meu_headers.h > > > index d55a66202576..8bce2b8aed84 100644 > > > ---

Re: [PATCH 6/6] drm/i915/uc/gsc: Add a gsc_info debugfs

2023-06-05 Thread Teres Alexis, Alan Previn
On Wed, 2023-05-31 at 17:25 -0700, Ceraolo Spurio, Daniele wrote: > > On 5/26/2023 3:57 PM, Teres Alexis, Alan Previn wrote: > > On Fri, 2023-05-05 at 09:04 -0700, Ceraolo Spurio, Daniele wrote: > > > Add a new debugfs to dump information about the GSC. This includes: > > alan:snip > > Actually

Re: [PATCH v9 0/4] drm/i915: use ref_tracker library for tracking wakerefs

2023-06-05 Thread patchwork-bot+netdevbpf
Hello: This series was applied to netdev/net-next.git (main) by Jakub Kicinski : On Fri, 02 Jun 2023 12:21:32 +0200 you wrote: > Hi Jakub, > > This is reviewed series of ref_tracker patches, ready to merge > via network tree, rebased on net-next/main. > i915 patches will be merged later via

Re: [PATCH v9 0/4] drm/i915: use ref_tracker library for tracking wakerefs

2023-06-05 Thread Jakub Kicinski
On Fri, 02 Jun 2023 12:21:32 +0200 Andrzej Hajda wrote: > This is reviewed series of ref_tracker patches, ready to merge > via network tree, rebased on net-next/main. > i915 patches will be merged later via intel-gfx tree. FWIW I'll try to merge these on top of the -rc4 tag so with a bit of luck

Re: [Intel-gfx] [PATCH] drm/i915: Implement fdinfo memory stats printing

2023-06-05 Thread Andi Shyti
Hi Tvrtko, On Mon, Jun 05, 2023 at 03:37:20PM +0100, Tvrtko Ursulin wrote: > From: Tvrtko Ursulin > > Use the newly added drm_print_memory_stats helper to show memory > utilisation of our objects in drm/driver specific fdinfo output. > > To collect the stats we walk the per memory regions

Re: [Intel-gfx] [PATCH v2 1/2] vgaarb: various coding style and comments fix

2023-06-05 Thread Andi Shyti
Hi Sui, On Mon, Jun 05, 2023 at 04:58:30AM +0800, Sui Jingfeng wrote: > From: Sui Jingfeng > > To keep consistent with vga_iostate_to_str() function, the third argument > of vga_str_to_iostate() function should be 'unsigned int *'. I think the real reason is not to keep consistent with

Re: [Intel-gfx] [PATCH] drm/i915: Use the fdinfo helper

2023-06-05 Thread Andi Shyti
Hi Tvrtko, On Mon, Jun 05, 2023 at 01:32:24PM +0100, Tvrtko Ursulin wrote: > From: Tvrtko Ursulin > > Use the common fdinfo helper for printing the basics. Remove now unused > client id allocation code. > > Signed-off-by: Tvrtko Ursulin > Cc: Rob Clark looks good to me: Reviewed-by: Andi

Re: [PATCH net-next v6 3/6] net: bcmasp: Add support for ASP2.0 Ethernet controller

2023-06-05 Thread Florian Fainelli
On 6/2/2023 11:58 PM, Jakub Kicinski wrote: On Thu, 1 Jun 2023 15:12:28 -0700 Justin Chen wrote: + /* general stats */ + STAT_NETDEV(rx_packets), + STAT_NETDEV(tx_packets), + STAT_NETDEV(rx_bytes), + STAT_NETDEV(tx_bytes), + STAT_NETDEV(rx_errors), +

Re: [PATCH 30/30] fbdev: Make support for userspace interfaces configurable

2023-06-05 Thread kernel test robot
Hi Thomas, kernel test robot noticed the following build errors: [auto build test ERROR on next-20230605] [cannot apply to drm-misc/drm-misc-next lee-backlight/for-backlight-next staging/staging-testing staging/staging-next staging/staging-linus linus/master lee-backlight/for-backlight-fixes

Re: [PATCH 28/30] fbdev/core: Move file-I/O code into separate file

2023-06-05 Thread kernel test robot
Hi Thomas, kernel test robot noticed the following build warnings: [auto build test WARNING on next-20230605] [cannot apply to drm-misc/drm-misc-next lee-backlight/for-backlight-next staging/staging-testing staging/staging-next staging/staging-linus linus/master lee-backlight/for-backlight

[PATCH] drm/i915/guc: Force a reset on internal GuC error

2023-06-05 Thread John . C . Harrison
From: John Harrison If GuC hits an internal error (and survives long enough to report it to the KMD), it is basically toast and will stop until a GT reset and subsequent GuC reload is performed. Previously, the KMD just printed an error message and then waited for the heartbeat to eventually

RE: [PATCH 02/30] backlight/gpio_backlight: Compare against struct fb_info.device

2023-06-05 Thread Ruhl, Michael J
>-Original Message- >From: Sam Ravnborg >Sent: Monday, June 5, 2023 4:23 PM >To: Ruhl, Michael J >Cc: Thomas Zimmermann ; dan...@ffwll.ch; >javi...@redhat.com; del...@gmx.de; geert+rene...@glider.be; >l...@kernel.org; daniel.thomp...@linaro.org; jingooh...@gmail.com; linux-

Re: [PATCH] drm/i915: Fix a VMA UAF for multi-gt platform

2023-06-05 Thread Andi Shyti
Hi Nirmoy, On Mon, Jun 05, 2023 at 10:10:21PM +0200, Nirmoy Das wrote: > Ensure correct handling of closed VMAs on multi-gt platforms to prevent > Use-After-Free. Currently, when GT0 goes idle, closed VMAs that are > exclusively added to GT0's closed_vma link (gt->closed_vma) and > subsequently

Re: [PATCH 02/30] backlight/gpio_backlight: Compare against struct fb_info.device

2023-06-05 Thread Sam Ravnborg
Hi Michael. > > > >Fixes a bug in the backlight driver and prepares fbdev for making > >struct fb_info.dev optional. > > I only see a rename from fbdev to dev... > > Is there missing code? > > Would a fixes: be useful? > > M > > >@@ -35,7 +35,7 @@ static int gpio_backlight_check_fb(struct

RE: [PATCH 02/30] backlight/gpio_backlight: Compare against struct fb_info.device

2023-06-05 Thread Ruhl, Michael J
>-Original Message- >From: dri-devel On Behalf Of >Thomas Zimmermann >Sent: Monday, June 5, 2023 10:48 AM >To: dan...@ffwll.ch; javi...@redhat.com; s...@ravnborg.org; >del...@gmx.de; geert+rene...@glider.be; l...@kernel.org; >daniel.thomp...@linaro.org; jingooh...@gmail.com >Cc:

[PATCH] drm/i915: Fix a VMA UAF for multi-gt platform

2023-06-05 Thread Nirmoy Das
Ensure correct handling of closed VMAs on multi-gt platforms to prevent Use-After-Free. Currently, when GT0 goes idle, closed VMAs that are exclusively added to GT0's closed_vma link (gt->closed_vma) and subsequently freed by i915_vma_parked(), which assumes the entire GPU is idle. However, on

Re: [PATCH v2] drm: rcar-du: Use dev_err_probe() to record cause of KMS init errors

2023-06-05 Thread Kieran Bingham
Quoting Laurent Pinchart (2023-06-04 11:49:58) > The (large) rcar_du_modeset_init() function can fail for many reasons, > two of two involving probe deferral. Use dev_err_probe() in those code > paths to record the cause of the probe deferral, in order to help > debugging probe issues. > >

Re: PROBLEM: AMD Ryzen 9 7950X iGPU - Blinking Issue

2023-06-05 Thread Felix Richter
I will apply this patch and see if fixes the issue for me. Will let you now when I am done. Felix On 05.06.23 16:11, Alex Deucher wrote: On Sat, Jun 3, 2023 at 10:52 AM Felix Richter wrote: Hi Guys, sorry for the silence from my side. I had a lot of things to take care of after returning

Re: PROBLEM: AMD Ryzen 9 7950X iGPU - Blinking Issue

2023-06-05 Thread Felix Richter
Hi, I can confirm that setting amdgpu.sg_display=0 does not fix the issue for me. I have 64GB of Kinsten Memory running with XMP at 5200MHz. I attached the result of `dmidecode --type=memory` to this email. Kind regards Felix Richter On 05.06.23 17:27, Hamza Mahfooz wrote: On 6/3/23

Re: [PATCH v4 1/4] Input: ads7846 - Convert to use software nodes

2023-06-05 Thread Guenter Roeck
failed with error -110 [7.309572] 8<--- cut here --- [7.309785] Unhandled fault: page domain fault (0x01b) at 0x1eba [7.309916] [1eba] *pgd= [7.310327] Internal error: : 1b [#1] SMP ARM [7.310504] Modules linked in: [7.310701] CPU: 0 PID: 29 Comm: kworker/u4:2

[PATCH 2/2] drm/amd/display: mark dml314's UseMinimumDCFCLK() as noinline_for_stack

2023-06-05 Thread Hamza Mahfooz
clang reports: drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn314/display_mode_vba_314.c:3892:6: error: stack frame size (2632) exceeds limit (2048) in 'dml314_ModeSupportAndSystemConfigurationFull' [-Werror,-Wframe-larger-than] 3892 | void dml314_ModeSupportAndSystemConfigurationFull(struct

[PATCH 1/2] drm/amd/display: mark dml31's UseMinimumDCFCLK() as noinline_for_stack

2023-06-05 Thread Hamza Mahfooz
clang reports: drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn31/display_mode_vba_31.c:3797:6: error: stack frame size (2632) exceeds limit (2048) in 'dml31_ModeSupportAndSystemConfigurationFull' [-Werror,-Wframe-larger-than] 3797 | void dml31_ModeSupportAndSystemConfigurationFull(struct

Re: [Intel-xe] [RFC 2/5] drm/xe/RAS: Register a genl netlink family

2023-06-05 Thread Iddamsetty, Aravind
On 04-06-2023 22:39, Tomer Tayar wrote: > On 26/05/2023 19:20, Aravind Iddamsetty wrote: >> Use the generic netlink(genl) subsystem to expose the RAS counters to >> userspace. We define a family structure and operations and register to >> genl subsystem and these callbacks will be invoked by

Re: [Intel-xe] [RFC 1/5] drm/netlink: Add netlink infrastructure

2023-06-05 Thread Iddamsetty, Aravind
On 04-06-2023 22:37, Tomer Tayar wrote: > On 26/05/2023 19:20, Aravind Iddamsetty wrote: >> Define the netlink commands and attributes that can be commonly used >> across by drm drivers. >> >> Signed-off-by: Aravind Iddamsetty >> --- >> include/uapi/drm/drm_netlink.h | 68

Re: [Intel-xe] [RFC 0/5] Proposal to use netlink for RAS and Telemetry across drm subsystem

2023-06-05 Thread Iddamsetty, Aravind
On 04-06-2023 22:37, Tomer Tayar wrote: > On 26/05/2023 19:20, Aravind Iddamsetty wrote: >> Our hardware supports RAS(Reliability, Availability, Serviceability) by >> exposing a set of error counters which can be used by observability >> tools to take corrective actions or repairs.

Re: [PATCH v5 05/12] dt-bindings: display/msm: Add SM6375 MDSS

2023-06-05 Thread Dmitry Baryshkov
On Mon, 5 Jun 2023 at 20:01, Konrad Dybcio wrote: > > > > On 4.06.2023 20:04, Krzysztof Kozlowski wrote: > > On 23/05/2023 09:46, Konrad Dybcio wrote: > >> Document the SM6375 MDSS. > >> > >> Signed-off-by: Konrad Dybcio > >> --- > >> .../bindings/display/msm/qcom,sm6375-mdss.yaml | 216 >

Re: [PATCH v5 05/12] dt-bindings: display/msm: Add SM6375 MDSS

2023-06-05 Thread Konrad Dybcio
On 4.06.2023 20:04, Krzysztof Kozlowski wrote: > On 23/05/2023 09:46, Konrad Dybcio wrote: >> Document the SM6375 MDSS. >> >> Signed-off-by: Konrad Dybcio >> --- >> .../bindings/display/msm/qcom,sm6375-mdss.yaml | 216 >> + >> 1 file changed, 216 insertions(+) >> >>

Re: [PATCH] drm/amdkfd: mark som eclear_address_watch() callback static

2023-06-05 Thread Alex Deucher
On Mon, Jun 5, 2023 at 6:58 AM Arnd Bergmann wrote: > > From: Arnd Bergmann > > Some of the newly introduced clear_address_watch callback handlers have > no prototype because they are only used in one file, which causes a W=1 > warning: > >

Re: [PATCH v1] drm/xe/guc: Fix h2g_write usage of GUC_CTB_MSG_MAX_LEN

2023-06-05 Thread Matthew Brost
On Fri, Jun 02, 2023 at 11:52:13AM -0700, Alan Previn wrote: > In the ABI header, GUC_CTB_MSG_MIN_LEN is '1' because > GUC_CTB_HDR_LEN is 1. This aligns with H2G/G2H CTB specification > where all command formats are defined in units of dwords so that '1' > is a dword. Accordingly,

Re: [RFC 0/5] Proposal to use netlink for RAS and Telemetry across drm subsystem

2023-06-05 Thread Alex Deucher
Adding the relevant AMD folks for RAS. We currently expose RAS via sysfs, but also have an event interface in KFD which may be somewhat similar to this. If we were to converge on a common RAS interface, would we want to look at any commonality in bad page storage/reporting for device memory?

Re: [Intel-gfx] [PATCH v15 1/1] drm/i915: Allow user to set cache at BO creation

2023-06-05 Thread Yang, Fei
> On 31/05/2023 18:10, fei.y...@intel.com wrote: >> From: Fei Yang >> >> To comply with the design that buffer objects shall have immutable >> cache setting through out their life cycle, {set, get}_caching ioctl's >> are no longer supported from MTL onward. With that change caching >> policy can

RE: WARNING: CPU: 5 PID: 1464 at drivers/gpu/drm/ttm/ttm_bo.c:326 ttm_bo_release+0x27e/0x2d0 [ttm]

2023-06-05 Thread Deucher, Alexander
[Public] + Christian > -Original Message- > From: Borislav Petkov > Sent: Saturday, June 3, 2023 1:48 PM > To: amd-...@lists.freedesktop.org > Cc: Deucher, Alexander ; dri- > de...@lists.freedesktop.org; lkml > Subject: WARNING: CPU: 5 PID: 1464 at drivers/gpu/drm/ttm/ttm_bo.c:326 >

Re: [PATCH v1 1/1] backlight: hx8357: Convert to agnostic GPIO API

2023-06-05 Thread Andy Shevchenko
On Mon, Mar 20, 2023 at 01:54:26PM +0200, Andy Shevchenko wrote: > On Fri, Mar 17, 2023 at 09:53:40PM +0100, Linus Walleij wrote: > > On Fri, Mar 17, 2023 at 7:51 PM Andy Shevchenko > > wrote: > > > > > The of_gpio.h is going to be removed. In preparation of that convert > > > the driver to the

Re: [PATCH] drm/amdgpu: fix xclk freq on CHIP_STONEY

2023-06-05 Thread Alex Deucher
Applied. Thanks! On Fri, Jun 2, 2023 at 11:13 PM Chia-I Wu wrote: > > On Fri, Jun 2, 2023 at 11:50 AM Alex Deucher wrote: > > > > Nevermind, missing your Signed-off-by. Please add and I'll apply. > Sorry that I keep forgetting... This patch is > > Signed-off-by: Chia-I Wu > > I can send

[linux-next:master] BUILD REGRESSION 9ca10bfb8aa8fbf19ee22e702c8cf9b66ea73a54

2023-06-05 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master branch HEAD: 9ca10bfb8aa8fbf19ee22e702c8cf9b66ea73a54 Add linux-next specific files for 20230605 Error/Warning reports: https://lore.kernel.org/oe-kbuild-all/202305070840.x0g3ofjl-...@intel.com https

Re: [RESUBMIT][PATCH] x86/mm: Fix PAT bit missing from page protection modify mask

2023-06-05 Thread Janusz Krzysztofik
(fixed misspelled Cc: email address of intel-gfx list) On Friday, 2 June 2023 16:53:30 CEST Juergen Gross wrote: > On 02.06.23 16:48, Juergen Gross wrote: > > On 02.06.23 16:43, Borislav Petkov wrote: > >> On Thu, Jun 01, 2023 at 10:47:39AM +0200, Juergen Gross wrote: > >>> As described in the

Re: [PATCH v5 00/12] SM63(50|75) DPU support

2023-06-05 Thread Dmitry Baryshkov
On Mon, 5 Jun 2023 at 18:43, Will Deacon wrote: > > On Thu, Jun 01, 2023 at 03:16:52AM +0300, Dmitry Baryshkov wrote: > > On 23/05/2023 10:46, Konrad Dybcio wrote: > > > > [skipped the changelog] > > > > > --- > > > Konrad Dybcio (12): > > >dt-bindings: display/msm: dsi-controller-main:

Re: [PATCH v5 00/12] SM63(50|75) DPU support

2023-06-05 Thread Will Deacon
On Thu, Jun 01, 2023 at 03:16:52AM +0300, Dmitry Baryshkov wrote: > On 23/05/2023 10:46, Konrad Dybcio wrote: > > [skipped the changelog] > > > --- > > Konrad Dybcio (12): > >dt-bindings: display/msm: dsi-controller-main: Add SM6350 > >dt-bindings: display/msm:

[PATCH v2 3/3] drm/panel-fannal-c3003: Add fannal c3004 DSI panel

2023-06-05 Thread Paulo Pavacic
Fannal C3004 is a 480x800 display made by fannal that requires DCS initialization sequences. Signed-off-by: Paulo Pavacic --- v3 changelog: - using generic mipi_dsi_dcs_write_seq - removed success prints - removed some comments - simplified code/removed support for different panels -

[PATCH v2 2/3] dt-bindings: display: panel: add fannal,c3004

2023-06-05 Thread Paulo Pavacic
Added fannal to vendor-prefixes and dt bindings for Fannal C3004. Fannal C3004 is a 480x800 MIPI DSI Panel which requires DCS initialization sequences with certain delays between certain commands. Signed-off-by: Paulo Pavacic --- v4 changelog: - add spaces between properties v3 changelog: -

[PATCH v2 1/3] dt-bindings: add fannal vendor prefix

2023-06-05 Thread Paulo Pavacic
Fannal is a one-stop-solution provider for touch displays in industrial application, committed to delivering a variety of professional high-quality products and technical services globally. Website: www.fannal.com Signed-off-by: Paulo Pavacic ---

[PATCH v2 0/3] drm/panel: add fannal c3004 panel

2023-06-05 Thread Paulo Pavacic
Fannal C3004 is a 2 lane MIPI DSI 480x800 panel which requires initialization with DSI DCS commands. After few initialization commands delay is required. Paulo Pavacic (3): dt-bindings: add fannal vendor prefix dt-bindings: display: panel: add fannal,c3004 drm/panel-fannal-c3003: Add

[PATCH] drm/amdgpu: Log if device is unsupported

2023-06-05 Thread Paul Menzel
Since there is overlap in supported devices, both modules load, but only one will bind to a particular device depending on the model and user's configuration. amdgpu binds to all display class devices with VID 0x1002 and then determines whether or not to bind to a device based on whether the

RE: [PATCH] drm/amdgpu: Log if device is unsupported

2023-06-05 Thread Deucher, Alexander
[AMD Official Use Only - General] > -Original Message- > From: Paul Menzel > Sent: Monday, June 5, 2023 11:23 AM > To: Deucher, Alexander ; Koenig, Christian > ; Pan, Xinhui ; David > Airlie ; Daniel Vetter > Cc: Paul Menzel ; amd-...@lists.freedesktop.org; >

Re: PROBLEM: AMD Ryzen 9 7950X iGPU - Blinking Issue

2023-06-05 Thread Hamza Mahfooz
On 6/3/23 10:52, Felix Richter wrote: Hi Guys, sorry for the silence from my side. I had a lot of things to take care of after returning from vacation. Also I had to wait on the zfs modules to be updated to support kernel 6.3 for further testing. The bad news is that I am still

Re: [PATCH v2] drm/radeon: fix race condition UAF in radeon_gem_set_domain_ioctl

2023-06-05 Thread Alex Deucher
Applied. Thanks! On Mon, Jun 5, 2023 at 4:13 AM Christian König wrote: > > Am 03.06.23 um 09:43 schrieb Min Li: > > Userspace can race to free the gobj(robj converted from), robj should not > > be accessed again after drm_gem_object_put, otherwith it will result in > > use-after-free. > > > >

Re: [Intel-gfx] [PATCH v15 0/1] drm/i915: Allow user to set cache at BO creation

2023-06-05 Thread Yang, Fei
> On 05/06/2023 09:53, Tvrtko Ursulin wrote: >> On 31/05/2023 18:10, fei.y...@intel.com wrote: >>> From: Fei Yang >>> >>> This series introduce a new extension for GEM_CREATE, >>> 1. end support for set caching ioctl [PATCH 1/2] >>> 2. add set_pat extension for gem_create [PATCH 2/2] >>> >>> v2:

Re: [PATCH 1/2] dt-bindings: display: panel: add fannal,c3004

2023-06-05 Thread Conor Dooley
On Mon, Jun 05, 2023 at 04:56:13PM +0200, Paulo Pavacic wrote: > Hello Conor, > > pon, 5. lip 2023. u 16:43 Conor Dooley napisao je: > Sorry this is my first patch, I still don't understand, why should I > add `maxItems: 1` to the 'reg:' ? > Isn't part of the code: > > required: > > -

Re: [Intel-gfx] [PATCH v15 0/1] drm/i915: Allow user to set cache at BO creation

2023-06-05 Thread Andi Shyti
On Mon, Jun 05, 2023 at 10:16:22AM +0100, Tvrtko Ursulin wrote: > > On 05/06/2023 09:53, Tvrtko Ursulin wrote: > > > > On 31/05/2023 18:10, fei.y...@intel.com wrote: > > > From: Fei Yang > > > > > > This series introduce a new extension for GEM_CREATE, > > > 1. end support for set caching

Re: [PATCH 30/30] fbdev: Make support for userspace interfaces configurable

2023-06-05 Thread Greg KH
On Mon, Jun 05, 2023 at 04:48:12PM +0200, Thomas Zimmermann wrote: > Add Kconfig option CONFIG_FB_DEVICE and make the virtual fbdev > device optional. If the new option has not been selected, fbdev > does not create a files in devfs or sysfs. > > Most modern Linux systems run a DRM-based graphics

Re: [PATCH 1/2] dt-bindings: display: panel: add fannal,c3004

2023-06-05 Thread Paulo Pavacic
Hello Conor, pon, 5. lip 2023. u 16:43 Conor Dooley napisao je: > > On Mon, Jun 05, 2023 at 04:33:15PM +0200, Paulo Pavacic wrote: > > Hello Conor, > > > > pet, 19. svi 2023. u 18:41 Conor Dooley napisao je: > > > > > > Hey Paulo, > > > > > > On Fri, May 19, 2023 at 04:24:55PM +0200, Paulo

Re: [PATCH] drm/i915/selftests: Add some missing error propagation

2023-06-05 Thread Tvrtko Ursulin
On 05/06/2023 14:43, Dan Carpenter wrote: On Mon, Jun 05, 2023 at 02:11:35PM +0100, Tvrtko Ursulin wrote: From: Tvrtko Ursulin Add some missing error propagation in live_parallel_switch. To avoid needlessly burdening the various backport processes, note I am not marking it as a fix against

[PATCH 27/30] fbdev/core: Move procfs code to separate file

2023-06-05 Thread Thomas Zimmermann
Move fbdev's procfs code into a separate file and contain it in init and cleanup helpers. No functional changes. Signed-off-by: Thomas Zimmermann --- drivers/video/fbdev/core/Makefile | 1 + drivers/video/fbdev/core/fb_internal.h | 12 - drivers/video/fbdev/core/fb_procfs.c | 62

[PATCH 28/30] fbdev/core: Move file-I/O code into separate file

2023-06-05 Thread Thomas Zimmermann
Move fbdev's file-I/O code into a separate file and contain it in init and cleanup helpers. No functional changes. Signed-off-by: Thomas Zimmermann --- drivers/video/fbdev/core/Makefile | 1 + drivers/video/fbdev/core/fb_devfs.c| 484 +

[PATCH 24/30] fbdev/core: Pass Linux device to pm_vt_switch_*() functions

2023-06-05 Thread Thomas Zimmermann
Pass the Linux device to pm_vt_switch_*() instead of the virtual fbdev device. Prepares fbdev for making struct fb_info.dev optional. The type of device that is passed to the PM functions does not matter much. It is only a token within the internal list of known devices. The PM functions do not

[PATCH 20/30] fbdev/rivafb: Use hardware device as backlight parent

2023-06-05 Thread Thomas Zimmermann
Use the hardware device in struct fb_info.device as parent of the backlight device. Aligns the driver with the rest of the codebase and prepares fbdev for making struct fb_info.dev optional. Signed-off-by: Thomas Zimmermann Cc: Antonino Daplas --- drivers/video/fbdev/riva/fbdev.c | 2 +- 1

[PATCH 11/30] fbdev/ep93xx-fb: Do not assign to struct fb_info.dev

2023-06-05 Thread Thomas Zimmermann
Do not assing the Linux device to struct fb_info.dev. The call to register_framebuffer() initializes the field to the fbdev device. Drivers should not override its value. Fixes a bug where the driver incorrectly decreases the hardware device's reference counter and leaks the fbdev device.

[PATCH 25/30] fbdev/core: Move framebuffer and backlight helpers into separate files

2023-06-05 Thread Thomas Zimmermann
Move framebuffer and backlight helpers into separate files. Leave fbsysfs.c to sysfs-related code. No functional changes. The framebuffer helpers are not in fbmem.c because they are under GPL-2.0-or-later copyright, while fbmem.c is GPL-2.0. Signed-off-by: Thomas Zimmermann ---

[PATCH 22/30] fbdev/smscufx: Detect registered fb_info from refcount

2023-06-05 Thread Thomas Zimmermann
Detect registered instances of fb_info by reading the reference counter from struct fb_info.read. Avoids looking at the dev field and prepares fbdev for making struct fb_info.dev optional. Signed-off-by: Thomas Zimmermann Cc: Steve Glendinning --- drivers/video/fbdev/smscufx.c | 4 ++-- 1 file

[PATCH 26/30] fbdev/core: Add fb_device_{create,destroy}()

2023-06-05 Thread Thomas Zimmermann
Move the logic to create and destroy fbdev devices into the new helpers fb_device_create() and fb_device_destroy(). There was a call to fb_cleanup_device() in do_unregister_framebuffer() that was too late. The device had already been removed at this point. Move the call into fb_device_destroy().

[PATCH 01/30] backlight/bd6107: Compare against struct fb_info.device

2023-06-05 Thread Thomas Zimmermann
Struct bd6107_platform_data refers to a platform device within the Linux device hierarchy. The test in bd6107_backlight_check_fb() compares it against the fbdev device in struct fb_info.dev, which is different. Fix the test by comparing to struct fb_info.device. Fixes a bug in the backlight

[PATCH 19/30] fbdev/rivafb: Reorder backlight and framebuffer init/cleanup

2023-06-05 Thread Thomas Zimmermann
The driver's backlight code requires the framebuffer to be registered. Therefore reorder the init and cleanup calls for both data structures. Signed-off-by: Thomas Zimmermann Cc: Antonino Daplas --- drivers/video/fbdev/riva/fbdev.c | 8 1 file changed, 4 insertions(+), 4 deletions(-)

[PATCH 08/30] fbdev/broadsheetfb: Call device_remove_file() with hardware device

2023-06-05 Thread Thomas Zimmermann
Call device_remove_file() with the same device that has been used for device_create_file(), which is the hardware device stored in struct fb_info.device. Prepares fbdev for making struct fb_info.dev optional. Signed-off-by: Thomas Zimmermann --- drivers/video/fbdev/broadsheetfb.c | 2 +- 1 file

[PATCH 30/30] fbdev: Make support for userspace interfaces configurable

2023-06-05 Thread Thomas Zimmermann
Add Kconfig option CONFIG_FB_DEVICE and make the virtual fbdev device optional. If the new option has not been selected, fbdev does not create a files in devfs or sysfs. Most modern Linux systems run a DRM-based graphics stack that uses the kernel's framebuffer console, but has otherwise

[PATCH 29/30] fbdev/core: Rework fb init code

2023-06-05 Thread Thomas Zimmermann
Init the class "graphics" before the rest of fbdev. Later steps, such as the sysfs code, depend on the class. Also arrange the module's exit code in reverse order. Unexport the global variable fb_class, which is only shared internally within the fbdev core module. Signed-off-by: Thomas

[PATCH 13/30] fbdev/metronomefb: Use hardware device for dev_err()

2023-06-05 Thread Thomas Zimmermann
Replace the use of the fbdev software device, stored in struct fb_info.dev, with the hardware device from struct fb_info.device in load_waveform(). The device is only used for printing errors with dev_err(). This change aligns load_waveform() with the rest of the driver and prepares fbdev for

[PATCH 05/30] fbdev/atyfb: Use hardware device as backlight parent

2023-06-05 Thread Thomas Zimmermann
Use the hardware device in struct fb_info.device as parent of the backlight device. Aligns the driver with the rest of the codebase and prepares fbdev for making struct fb_info.dev optional. Signed-off-by: Thomas Zimmermann --- drivers/video/fbdev/aty/atyfb_base.c | 2 +- 1 file changed, 1

[PATCH 15/30] fbdev/nvidiafb: Use hardware device as backlight parent

2023-06-05 Thread Thomas Zimmermann
Use the hardware device in struct fb_info.device as parent of the backlight device. Aligns the driver with the rest of the codebase and prepares fbdev for making struct fb_info.dev optional. Signed-off-by: Thomas Zimmermann Cc: Antonino Daplas --- drivers/video/fbdev/nvidia/nv_backlight.c | 2

[PATCH 10/30] fbdev/ep93xx-fb: Output messages with fb_info() and fb_err()

2023-06-05 Thread Thomas Zimmermann
Fix cases were output helpers are called with struct fb_info.dev. Use fb_info() and fb_err() instead. Signed-off-by: Thomas Zimmermann --- drivers/video/fbdev/ep93xx-fb.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/video/fbdev/ep93xx-fb.c

[PATCH 23/30] fbdev/tdfxfb: Set i2c adapter parent to hardware device

2023-06-05 Thread Thomas Zimmermann
Use the 3dfx hardware device from the Linux device hierarchy as parent device of the i2c adapter. Aligns the driver with the rest of the codebase and prepares fbdev for making struct fb_info.dev optional. Signed-off-by: Thomas Zimmermann --- drivers/video/fbdev/tdfxfb.c | 4 ++-- 1 file

[PATCH 17/30] fbdev/radeonfb: Reorder backlight and framebuffer cleanup

2023-06-05 Thread Thomas Zimmermann
The driver's backlight code requires the framebuffer to be registered. Therefore reorder the cleanup calls for both data structures. The init calls are already in the correct order. Signed-off-by: Thomas Zimmermann Cc: Benjamin Herrenschmidt --- drivers/video/fbdev/aty/radeon_base.c | 3 +-- 1

[PATCH 06/30] fbdev/aty128fb: Reorder backlight and framebuffer init/cleanup

2023-06-05 Thread Thomas Zimmermann
The driver's backlight code requires the framebuffer to be registered. Therefore reorder the init and cleanup calls for both data structures. Signed-off-by: Thomas Zimmermann --- drivers/video/fbdev/aty/aty128fb.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

[PATCH 16/30] fbdev/pxa168fb: Do not assign to struct fb_info.dev

2023-06-05 Thread Thomas Zimmermann
Do not assign the hardware device to struct fb_info.dev. The field references the fbdev software device, which is unrelated. Signed-off-by: Thomas Zimmermann --- drivers/video/fbdev/pxa168fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/fbdev/pxa168fb.c

[PATCH 18/30] fbdev/radeonfb: Use hardware device as backlight parent

2023-06-05 Thread Thomas Zimmermann
Use the hardware device in struct fb_info.device as parent of the backlight device. Aligns the driver with the rest of the codebase and prepares fbdev for making struct fb_info.dev optional. Signed-off-by: Thomas Zimmermann Benjamin Herrenschmidt --- drivers/video/fbdev/aty/radeon_backlight.c

[PATCH 12/30] fbdev/mb862xxfb: Output messages with fb_dbg() and fb_err()

2023-06-05 Thread Thomas Zimmermann
Fix cases were output helpers are called with struct fb_info.dev. Use fb_dbg() and fb_err() instead. Prepares fbdev for making struct fb_info.dev optional. Signed-off-by: Thomas Zimmermann --- drivers/video/fbdev/mb862xx/mb862xxfbdrv.c | 7 +++ 1 file changed, 3 insertions(+), 4

[PATCH 14/30] fbdev/nvidiafb: Reorder backlight and framebuffer init/cleanup

2023-06-05 Thread Thomas Zimmermann
The driver's backlight code requires the framebuffer to be registered. Therefore reorder the init and cleanup calls for both data structures. Signed-off-by: Thomas Zimmermann Cc: Antonino Daplas --- drivers/video/fbdev/nvidia/nvidia.c | 8 1 file changed, 4 insertions(+), 4

[PATCH 21/30] fbdev/sm501fb: Output message with fb_err()

2023-06-05 Thread Thomas Zimmermann
Fix case were dev_err() is being called with struct fb_info.dev. Use fb_err() instead. Signed-off-by: Thomas Zimmermann --- drivers/video/fbdev/sm501fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/fbdev/sm501fb.c b/drivers/video/fbdev/sm501fb.c index

[PATCH 03/30] backlight/lv5207lp: Compare against struct fb_info.device

2023-06-05 Thread Thomas Zimmermann
Struct lv5207lp_platform_data refers to a platform device within the Linux device hierarchy. The test in lv5207lp_backlight_check_fb() compares it against the fbdev device in struct fb_info.dev, which is different. Fix the test by comparing to struct fb_info.device. Fixes a bug in the backlight

[PATCH 02/30] backlight/gpio_backlight: Compare against struct fb_info.device

2023-06-05 Thread Thomas Zimmermann
Struct gpio_backlight_platform_data refers to a platform device within the Linux device hierarchy. The test in gpio_backlight_check_fb() compares it against the fbdev device in struct fb_info.dev, which is different. Fix the test by comparing to struct fb_info.device. Fixes a bug in the backlight

[PATCH 07/30] fbdev/aty128fb: Use hardware device as backlight parent

2023-06-05 Thread Thomas Zimmermann
Use the hardware device in struct fb_info.device as parent of the backlight device. Aligns the driver with the rest of the codebase and prepares fbdev for making struct fb_info.dev optional. Signed-off-by: Thomas Zimmermann --- drivers/video/fbdev/aty/aty128fb.c | 2 +- 1 file changed, 1

[PATCH 09/30] fbdev/ep93xx-fb: Alloc DMA memory from hardware device

2023-06-05 Thread Thomas Zimmermann
Pass the hardware device to the DMA helpers dma_alloc_wc(), dma_mmap_wc() and dma_free_coherent(). The fbdev device that is currently being used is a software device and does not provide DMA memory. Signed-off-by: Thomas Zimmermann --- drivers/video/fbdev/ep93xx-fb.c | 8 1 file

  1   2   >