Re: [PATCH v2 1/2] drm: Remove plane hsub/vsub alignment requirement for core helpers

2023-10-01 Thread André Almeida
Hi Carlos, On 9/26/23 16:15, Carlos Eduardo Gallo Filho wrote: The drm_format_info_plane_{height,width} functions was implemented using regular division for the plane size calculation, which cause issues [1][2] when used on contexts where the dimensions are misaligned with relation to the subsam

Re: [PATCH v2 2/2] drm: Replace drm_framebuffer plane size functions with its equivalents

2023-10-01 Thread André Almeida
On 9/26/23 16:15, Carlos Eduardo Gallo Filho wrote: The functions drm_framebuffer_plane_{width,height} and fb_plane_{width,height} do exactly the same job of its equivalents drm_format_info_plane_{width,height} from drm_fourcc. The only reason to have these functions on drm_framebuffer would be

Re: [PATCH] accel/habanalabs/gaudi2: fix spmu mask creation

2023-10-01 Thread Ofir Bitton
On 28/09/2023 16:25, Oded Gabbay wrote: > event_types_num received from the user can be 0. In that case, the > event_mask should be 0. > > In addition, to create a correct mask we need to match the number > of event types to the bit location such that bit 0 represents a single > event type, bit 1

Re: [PATCH 1/3] accel/habanalabs: remove unused asic functions

2023-10-01 Thread Ofir Bitton
On 19/09/2023 13:37, Oded Gabbay wrote: > asic_dma_{un}map_single() asic-specific functions are no longer called > from the common code, so delete these functions. > > In addition, delete the gaudi2 implementation as they are also not > called. > > Signed-off-by: Oded Gabbay > --- > drivers/ac

Re: [PATCH 1/9] accel/habanalabs: minor cosmetics update to cpucp_if.h

2023-10-01 Thread Ofir Bitton
On 26/09/2023 11:13, Oded Gabbay wrote: > - Update copyright years > - Align comments > > Signed-off-by: Oded Gabbay > --- > include/linux/habanalabs/cpucp_if.h | 17 +++-- > 1 file changed, 7 insertions(+), 10 deletions(-) > > diff --git a/include/linux/habanalabs/cpucp_if.h > b

[PATCH 1/2] drm/panel: ili9322: Remove redundant volatle_reg() operation

2023-10-01 Thread Mark Brown
The ili9322 driver has a volatile_reg() operation in it's regmap which always returns false. This is redundant since it is the default in the regmap core, remove the operation for a trivial code size and performance improvement. Signed-off-by: Mark Brown --- drivers/gpu/drm/panel/panel-ilitek-il

[PATCH 0/2] drm/panel: ili9322: Minor regmap improvements

2023-10-01 Thread Mark Brown
These two patches provide some minor improvements to the ili9322 regmap API usage. Signed-off-by: Mark Brown --- Mark Brown (2): drm/panel: ili9322: Remove redundant volatle_reg() operation drm/panel: ili9322: Convert to use maple tree register cache drivers/gpu/drm/panel/panel-ilit

[PATCH 2/2] drm/panel: ili9322: Convert to use maple tree register cache

2023-10-01 Thread Mark Brown
The maple tree register cache is based on a much more modern data structure than the rbtree cache and makes optimisation choices which are probably more appropriate for modern systems than those made by the rbtree cache. Signed-off-by: Mark Brown --- drivers/gpu/drm/panel/panel-ilitek-ili9322.c

[PATCH] drm/bridge: lt9211: Convert to use maple tree register cache

2023-10-01 Thread Mark Brown
The maple tree register cache is based on a much more modern data structure than the rbtree cache and makes optimisation choices which are probably more appropriate for modern systems than those made by the rbtree cache. Signed-off-by: Mark Brown --- drivers/gpu/drm/bridge/lontium-lt9211.c | 2 +

[PATCH] drm/bridge: sn65dsi83: Convert to use maple tree register cache

2023-10-01 Thread Mark Brown
The maple tree register cache is based on a much more modern data structure than the rbtree cache and makes optimisation choices which are probably more appropriate for modern systems than those made by the rbtree cache. Signed-off-by: Mark Brown --- drivers/gpu/drm/bridge/ti-sn65dsi83.c | 2 +-

Re: [PATCH] drm/bridge: adv7511: Convert to use maple tree register cache

2023-10-01 Thread Mark Brown
On Sat, Sep 30, 2023 at 12:38:17AM +0300, Laurent Pinchart wrote: > Out of curiosity, is this part of an effort to drop the rbtree cache ? Probably, yes - there's probably some drivers where it will make sense. signature.asc Description: PGP signature

Re: [PATCH v2] drm: panel-orientation-quirks: Add quirk for One Mix 2S

2023-10-01 Thread Hans de Goede
Hi, On 10/1/23 13:47, Kai Uwe Broulik wrote: > The One Mix 2S is a mini laptop with a 1200x1920 portrait screen > mounted in a landscape oriented clamshell case. Because of the too > generic DMI strings this entry is also doing bios-date matching. > > Signed-off-by: Kai Uwe Broulik > --- > Chang

[REGRESSION] BUG: KFENCE: memory corruption in drm_gem_put_pages+0x186/0x250

2023-10-01 Thread Oleksandr Natalenko
Hello. I've got a VM from a cloud provider, and since v6.5 I observe the following kfence splat in dmesg during boot: ``` BUG: KFENCE: memory corruption in drm_gem_put_pages+0x186/0x250 Corrupted memory at 0xe173a294 [ ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ] (in kfence-#108): drm_gem_put_pa

[Bug 198123] Console is the wrong color at boot with radeon 6670

2023-10-01 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=198123 Roland Kletzing (devz...@web.de) changed: What|Removed |Added CC||devz...@web.de --- Com

Re: [REGRESSION] BUG: KFENCE: memory corruption in drm_gem_put_pages+0x186/0x250

2023-10-01 Thread Bagas Sanjaya
On Sun, Oct 01, 2023 at 06:32:34PM +0200, Oleksandr Natalenko wrote: > Hello. > > I've got a VM from a cloud provider, and since v6.5 I observe the following > kfence splat in dmesg during boot: > > ``` > BUG: KFENCE: memory corruption in drm_gem_put_pages+0x186/0x250 > > Corrupted memory at 0x

[PATCH] drm/i915/uapi: fix doc typos

2023-10-01 Thread Randy Dunlap
Correct typo of "its". Add a comma for clarity. Signed-off-by: Randy Dunlap Cc: Jani Nikula Cc: Joonas Lahtinen Cc: Rodrigo Vivi Cc: Tvrtko Ursulin Cc: intel-...@lists.freedesktop.org Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Thomas Zimmermann Cc: dri-devel@lists.freedesktop.org --- inc

[PATCH] drm/amd/display: add kernel docs for dc_dmub_caps

2023-10-01 Thread Sagar Vashnav
Add kernel documentation for the dc_dmub_caps structure. Signed-off-by: Sagar Vashnav --- drivers/gpu/drm/amd/display/dc/dc.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/gpu/drm/amd/display/dc/dc.h b/drivers/gpu/drm/amd/display/dc/dc.h index 81258392d..14b4c503d 1006

Re: [REGRESSION] BUG: KFENCE: memory corruption in drm_gem_put_pages+0x186/0x250

2023-10-01 Thread Oleksandr Natalenko
Hello. On pondělí 2. října 2023 1:45:44 CEST Bagas Sanjaya wrote: > On Sun, Oct 01, 2023 at 06:32:34PM +0200, Oleksandr Natalenko wrote: > > Hello. > > > > I've got a VM from a cloud provider, and since v6.5 I observe the following > > kfence splat in dmesg during boot: > > > > ``` > > BUG: KFE

Re: [PATCH drm-misc-next v5 3/6] drm/gpuvm: add an abstraction for a VM / BO combination

2023-10-01 Thread kernel test robot
Hi Danilo, kernel test robot noticed the following build warnings: [auto build test WARNING on a4ead6e37e3290cff399e2598d75e98777b69b37] url: https://github.com/intel-lab-lkp/linux/commits/Danilo-Krummrich/drm-gpuvm-add-common-dma-resv-per-struct-drm_gpuvm/20230929-031831 base: a4ead6e37e3

Re: [PATCH] drm/amd/display: add kernel docs for dc_dmub_caps

2023-10-01 Thread Randy Dunlap
On 10/1/23 21:41, Sagar Vashnav wrote: > Add kernel documentation for the dc_dmub_caps structure. > > Signed-off-by: Sagar Vashnav Reviewed-by: Randy Dunlap Thanks. > --- > drivers/gpu/drm/amd/display/dc/dc.h | 10 ++ > 1 file changed, 10 insertions(+) > > diff --git a/drivers/gp

Re: [PATCH] drm/i915/uapi: fix doc typos

2023-10-01 Thread Ville Syrjälä
On Sun, Oct 01, 2023 at 06:08:24PM -0700, Randy Dunlap wrote: > Correct typo of "its". > Add a comma for clarity. > > Signed-off-by: Randy Dunlap > Cc: Jani Nikula > Cc: Joonas Lahtinen > Cc: Rodrigo Vivi > Cc: Tvrtko Ursulin > Cc: intel-...@lists.freedesktop.org > Cc: Maarten Lankhorst > Cc

Re: [PATCH 1/2] drm/panel: ili9322: Remove redundant volatle_reg() operation

2023-10-01 Thread Neil Armstrong
On 01/10/2023 12:24, Mark Brown wrote: The ili9322 driver has a volatile_reg() operation in it's regmap which always returns false. This is redundant since it is the default in the regmap core, remove the operation for a trivial code size and performance improvement. Signed-off-by: Mark Brown -

Re: [PATCH 2/2] drm/panel: ili9322: Convert to use maple tree register cache

2023-10-01 Thread Neil Armstrong
On 01/10/2023 12:24, Mark Brown wrote: The maple tree register cache is based on a much more modern data structure than the rbtree cache and makes optimisation choices which are probably more appropriate for modern systems than those made by the rbtree cache. Signed-off-by: Mark Brown --- dri

Re: [PATCH v2 2/2] drm/panel: Add driver for BOE RM692E5 AMOLED panel

2023-10-01 Thread Neil Armstrong
On 29/09/2023 14:54, Konrad Dybcio wrote: Add support for the 2700x1224 AMOLED BOE panel bundled with a RM692E5 driver IC, as found on the Fairphone 5 smartphone. Co-developed-by: Luca Weiss Signed-off-by: Luca Weiss Signed-off-by: Konrad Dybcio --- drivers/gpu/drm/panel/Kconfig