[drm-tip:drm-tip 5/7] drivers/gpu/drm/i915/gt/intel_workarounds.c:1479:27: warning: unused variable 'i915'

2023-03-11 Thread kernel test robot
tree: git://anongit.freedesktop.org/drm/drm-tip drm-tip head: b21ced77ae1dbc3d8b01d3aef3c99bba7377a69b commit: 878ab630c6059f436bdf6bdef59f97eb5753a155 [5/7] Merge remote-tracking branch 'drm-intel/drm-intel-gt-next' into drm-tip config: i386-randconfig-a013 (https://download.01.org/0day-ci/a

[drm-tip:drm-tip 5/7] drivers/gpu/drm/i915/gt/intel_workarounds.c:1479:34: warning: unused variable 'i915'

2023-03-11 Thread kernel test robot
tree: git://anongit.freedesktop.org/drm/drm-tip drm-tip head: b21ced77ae1dbc3d8b01d3aef3c99bba7377a69b commit: 878ab630c6059f436bdf6bdef59f97eb5753a155 [5/7] Merge remote-tracking branch 'drm-intel/drm-intel-gt-next' into drm-tip config: x86_64-randconfig-a011 (https://download.01.org/0day-ci

[drm-tip:drm-tip 5/7] drivers/gpu/drm/i915/gt/intel_workarounds.c:1479:34: error: unused variable 'i915'

2023-03-11 Thread kernel test robot
tree: git://anongit.freedesktop.org/drm/drm-tip drm-tip head: b21ced77ae1dbc3d8b01d3aef3c99bba7377a69b commit: 878ab630c6059f436bdf6bdef59f97eb5753a155 [5/7] Merge remote-tracking branch 'drm-intel/drm-intel-gt-next' into drm-tip config: x86_64-defconfig (https://download.01.org/0day-ci/archi

Re: [PATCH] drm/bridge: adv7533: Fix adv7533_mode_valid for adv7533 and adv7535

2023-03-11 Thread Dmitry Baryshkov
On 12/03/2023 01:10, Adam Ford wrote: When dynamically switching lanes was removed, the intent of the code was to check to make sure that higher speed items used 4 lanes, but it had the unintended consequence of removing the slower speeds for 4-lane users. This attempts to remedy this by doing a

Re: [PATCH v16 14/16] drm: bridge: samsung-dsim: Add i.MX8M Mini/Nano support

2023-03-11 Thread Adam Ford
On Wed, Mar 8, 2023 at 10:41 AM Jagan Teki wrote: > > Samsung MIPI DSIM master can also be found in i.MX8M Mini/Nano SoC. > > Add compatible and associated driver_data for it. > I have a few updates that I want to push once this series has been accepted to support non-burst mode, fine-tune the PMS

[PATCH] drm/bridge: adv7533: Fix adv7533_mode_valid for adv7533 and adv7535

2023-03-11 Thread Adam Ford
When dynamically switching lanes was removed, the intent of the code was to check to make sure that higher speed items used 4 lanes, but it had the unintended consequence of removing the slower speeds for 4-lane users. This attempts to remedy this by doing a check to see that the max frequency doe

Re: [PATCH v2] drm/bridge: adv7533: remove dynamic lane switching from adv7533 bridge

2023-03-11 Thread Dmitry Baryshkov
On 12/03/2023 00:52, Adam Ford wrote: On Sat, Mar 11, 2023 at 4:42 PM Dmitry Baryshkov wrote: On 12/03/2023 00:40, Adam Ford wrote: On Sat, Mar 11, 2023 at 4:02 PM Dmitry Baryshkov wrote: On 11/03/2023 23:53, Adam Ford wrote: On Sat, Mar 11, 2023 at 3:40 PM Dmitry Baryshkov wrote: "Hi

Re: [PATCH v2] drm/bridge: adv7533: remove dynamic lane switching from adv7533 bridge

2023-03-11 Thread Adam Ford
On Sat, Mar 11, 2023 at 4:42 PM Dmitry Baryshkov wrote: > > On 12/03/2023 00:40, Adam Ford wrote: > > On Sat, Mar 11, 2023 at 4:02 PM Dmitry Baryshkov > > wrote: > >> > >> On 11/03/2023 23:53, Adam Ford wrote: > >>> On Sat, Mar 11, 2023 at 3:40 PM Dmitry Baryshkov > >>> wrote: > > "Hi

Re: [PATCH v2] drm/bridge: adv7533: remove dynamic lane switching from adv7533 bridge

2023-03-11 Thread Dmitry Baryshkov
On 12/03/2023 00:40, Adam Ford wrote: On Sat, Mar 11, 2023 at 4:02 PM Dmitry Baryshkov wrote: On 11/03/2023 23:53, Adam Ford wrote: On Sat, Mar 11, 2023 at 3:40 PM Dmitry Baryshkov wrote: "Hi Abhinav, On Sat, 11 Mar 2023 at 23:18, Abhinav Kumar wrote: Hi Adam On 3/11/2023 9:28 AM, Ada

Re: [PATCH v2] drm/bridge: adv7533: remove dynamic lane switching from adv7533 bridge

2023-03-11 Thread Adam Ford
On Sat, Mar 11, 2023 at 4:02 PM Dmitry Baryshkov wrote: > > On 11/03/2023 23:53, Adam Ford wrote: > > On Sat, Mar 11, 2023 at 3:40 PM Dmitry Baryshkov > > wrote: > >> > >> "Hi Abhinav, > >> > >> On Sat, 11 Mar 2023 at 23:18, Abhinav Kumar > >> wrote: > >>> > >>> Hi Adam > >>> > >>> On 3/11/2023

Re: [PATCH v2] drm/bridge: adv7533: remove dynamic lane switching from adv7533 bridge

2023-03-11 Thread Dmitry Baryshkov
On 11/03/2023 23:53, Adam Ford wrote: On Sat, Mar 11, 2023 at 3:40 PM Dmitry Baryshkov wrote: "Hi Abhinav, On Sat, 11 Mar 2023 at 23:18, Abhinav Kumar wrote: Hi Adam On 3/11/2023 9:28 AM, Adam Ford wrote: On Thu, Oct 13, 2022 at 3:39 AM Robert Foss wrote: On Tue, 11 Oct 2022 at 23:11,

Re: [PATCH v2] drm/bridge: adv7533: remove dynamic lane switching from adv7533 bridge

2023-03-11 Thread Adam Ford
On Sat, Mar 11, 2023 at 3:40 PM Dmitry Baryshkov wrote: > > "Hi Abhinav, > > On Sat, 11 Mar 2023 at 23:18, Abhinav Kumar wrote: > > > > Hi Adam > > > > On 3/11/2023 9:28 AM, Adam Ford wrote: > > > On Thu, Oct 13, 2022 at 3:39 AM Robert Foss > > > wrote: > > >> > > >> On Tue, 11 Oct 2022 at 23:1

Re: [PATCH v2] drm/bridge: adv7533: remove dynamic lane switching from adv7533 bridge

2023-03-11 Thread Dmitry Baryshkov
"Hi Abhinav, On Sat, 11 Mar 2023 at 23:18, Abhinav Kumar wrote: > > Hi Adam > > On 3/11/2023 9:28 AM, Adam Ford wrote: > > On Thu, Oct 13, 2022 at 3:39 AM Robert Foss wrote: > >> > >> On Tue, 11 Oct 2022 at 23:11, Abhinav Kumar > >> wrote: > >>> > >>> adv7533 bridge tries to dynamically switch

Re: [PATCH v2] drm/bridge: adv7533: remove dynamic lane switching from adv7533 bridge

2023-03-11 Thread Abhinav Kumar
Hi Adam On 3/11/2023 9:28 AM, Adam Ford wrote: On Thu, Oct 13, 2022 at 3:39 AM Robert Foss wrote: On Tue, 11 Oct 2022 at 23:11, Abhinav Kumar wrote: adv7533 bridge tries to dynamically switch lanes based on the mode by detaching and attaching the mipi dsi device. This approach is incorrec

Re: [PATCH] drm/i915/guc: Disable PL1 power limit when loading GuC firmware

2023-03-11 Thread Dixit, Ashutosh
On Fri, 10 Mar 2023 16:33:58 -0800, Ashutosh Dixit wrote: > > On dGfx, the PL1 power limit being enabled and set to a low value results > in a low GPU operating freq. It also negates the freq raise operation which > is done before GuC firmware load. As a result GuC firmware load can time > out. Suc

[no subject]

2023-03-11 Thread Danila Chernetsov
Date: Sat, 11 Mar 2023 19:00:03 + Subject: [PATCH 5.10 1/1] drm/amdgpu: add error handling for drm_fb_helper_initial_config The type of return value of drm_fb_helper_initial_config is int, which may return wrong result, so we add error handling for it to reclaim memory resource, and return w

[PATCH 2/2] backlight: arcxcnn_bl: drop of_match_ptr for ID table

2023-03-11 Thread Krzysztof Kozlowski
The driver will match mostly by DT table (even thought there is regular ID table) so there is little benefit in of_match_ptr (this also allows ACPI matching via PRP0001, even though it might not be relevant here). drivers/video/backlight/arcxcnn_bl.c:378:34: error: ‘arcxcnn_dt_ids’ defined but

[PATCH 1/2] backlight: lp855x: mark OF related data as maybe unused

2023-03-11 Thread Krzysztof Kozlowski
The driver can be compile tested with !CONFIG_OF making certain data unused: drivers/video/backlight/lp855x_bl.c:551:34: error: ‘lp855x_dt_ids’ defined but not used [-Werror=unused-const-variable=] Signed-off-by: Krzysztof Kozlowski --- drivers/video/backlight/lp855x_bl.c | 2 +- 1 file chan

[PATCH 1/2] dma-buf/dma-fence: Add dma_fence_init_noref()

2023-03-11 Thread Rob Clark
From: Rob Clark Add a way to initialize a fence without touching the refcount. This is useful, for example, if the fence is embedded in a drm_sched_job. In this case the refcount will be initialized before the job is queued. But the seqno of the hw_fence is not known until job_run(). Signed-of

[PATCH 0/2] drm/msm: Get rid of fence allocation in job_run()

2023-03-11 Thread Rob Clark
From: Rob Clark Inspired by https://lore.kernel.org/dri-devel/20200604081224.863494-10-daniel.vet...@ffwll.ch/ it seemed like a good idea to get rid of memory allocation in job_run() by embedding the hw dma_fence in the job/submit struct. Applies on top of https://patchwork.freedesktop.org/seri

[PATCH 2/2] drm/msm: Embed the hw_fence in msm_gem_submit

2023-03-11 Thread Rob Clark
From: Rob Clark Avoid allocating memory in job_run() by embedding the fence in the submit object. Since msm gpu fences are always 1:1 with msm_gem_submit we can just use the fence's refcnt to track the submit. And since we can get the fence ctx from the submit we can just drop the msm_fence str

Re: [PATCH v2] drm/bridge: adv7533: remove dynamic lane switching from adv7533 bridge

2023-03-11 Thread Adam Ford
On Thu, Oct 13, 2022 at 3:39 AM Robert Foss wrote: > > On Tue, 11 Oct 2022 at 23:11, Abhinav Kumar wrote: > > > > adv7533 bridge tries to dynamically switch lanes based on the > > mode by detaching and attaching the mipi dsi device. > > > > This approach is incorrect because this method of dynami

Re: [PATCH] fbdev: Use of_property_present() for testing DT property presence

2023-03-11 Thread Rob Herring
git://anongit.freedesktop.org/drm/drm-misc drm-misc-next > patch link: > https://lore.kernel.org/r/20230310144729.1545943-1-robh%40kernel.org > patch subject: [PATCH] fbdev: Use of_property_present() for testing DT > property presence > config: arm64-randconfig-r0

Re: [PATCH] fbdev: Use of_property_present() for testing DT property presence

2023-03-11 Thread kernel test robot
943-1-robh%40kernel.org patch subject: [PATCH] fbdev: Use of_property_present() for testing DT property presence config: arm-allyesconfig (https://download.01.org/0day-ci/archive/20230311/202303112153.upbfjeui-...@intel.com/config) compiler: arm-linux-gnueabi-gcc (GCC) 12.1.0 reproduce (this is a

[PATCH v3 2/2] drm/format-helper: Make "destination_pitch" test case usable for the monochrome case

2023-03-11 Thread Arthur Grillo
This test case uses an arbitrary pitch size, different of the default one, to test if the conversions methods obey. Change the "destination_pitch" colors to change the monochrome expected result from being just zeros, as this makes the arbitrary pitch use unusable. Signed-off-by: Arthur Grillo -

[PATCH v3 1/2] drm/format-helper: Add Kunit tests for drm_fb_xrgb8888_to_mono()

2023-03-11 Thread Arthur Grillo
Extend the existing test cases to test the conversion from XRGB to monochromatic. Signed-off-by: Arthur Grillo --- .../gpu/drm/tests/drm_format_helper_test.c| 62 +++ 1 file changed, 62 insertions(+) diff --git a/drivers/gpu/drm/tests/drm_format_helper_test.c b/drivers/

[PATCH v3 0/2] drm/format-helper: Add Kunit tests for drm_fb_xrgb8888_to_mono()

2023-03-11 Thread Arthur Grillo
This patchset aims to insert a unit test for the conversion from XRGB to monochromatic. Previously this was a single patch, but as the changes grew from v1 to v2, I thought it would be better to split it in two. Thanks for reviewing! Best regards, ~Arthur Grillo --- v1->v2: https://lore.k

Re: [PATCH v5 2/2] drm/panel: Add driver for Novatek NT36523

2023-03-11 Thread Jianhua Lu
On Sat, Mar 11, 2023 at 01:38:52PM +0100, Konrad Dybcio wrote: > > > On 11.03.2023 13:32, Jianhua Lu wrote: > > Add a driver for panels using the Novatek NT36523 display driver IC. > > > > Signed-off-by: Jianhua Lu > > --- > [...] > > > + > > +static int nt36523_get_modes(struct drm_panel *pan

Re: [PATCH v5 2/2] drm/panel: Add driver for Novatek NT36523

2023-03-11 Thread Konrad Dybcio
On 11.03.2023 13:32, Jianhua Lu wrote: > Add a driver for panels using the Novatek NT36523 display driver IC. > > Signed-off-by: Jianhua Lu > --- [...] > + > +static int nt36523_get_modes(struct drm_panel *panel, > +struct drm_connector *connector) > +{ > + str

[PATCH v5 2/2] drm/panel: Add driver for Novatek NT36523

2023-03-11 Thread Jianhua Lu
Add a driver for panels using the Novatek NT36523 display driver IC. Signed-off-by: Jianhua Lu --- Changes in v5: - use lowercase hex for init sequence - fix code style - enable DRM_MODE_TYPE_PREFERRED if where is only one mode. Changes in v4: - add multiple modes support - use dev_err

[PATCH v5 1/2] dt-bindings: display: panel: Add Novatek NT36523 bindings

2023-03-11 Thread Jianhua Lu
Novatek NT36523 is a display driver IC used to drive DSI panels. Signed-off-by: Jianhua Lu Reviewed-by: Krzysztof Kozlowski --- No changes in v5 No changes in v4 Changes in v3: - pick up Krzysztof's R-b - remove vddpos and vddneg supply Changes in v2: - Drop unnecessary description -

Re: [PATCH] fbdev: Use of_property_read_bool() for boolean properties

2023-03-11 Thread Helge Deller
On 3/10/23 15:47, Rob Herring wrote: It is preferred to use typed property access functions (i.e. of_property_read_ functions) rather than low-level of_get_property/of_find_property functions for reading properties. Convert reading boolean properties to to of_property_read_bool(). Signed-off-by:

Re: [PATCH -next] fbdev/clps711x-fb: Use devm_platform_get_and_ioremap_resource()

2023-03-11 Thread Helge Deller
On 3/8/23 06:49, Yang Li wrote: According to commit 890cc39a8799 ("drivers: provide devm_platform_get_and_ioremap_resource()"), convert platform_get_resource(), devm_ioremap_resource() to a single call to devm_platform_get_and_ioremap_resource(), as this is exactly what this function does. Signe

[PATCH] drm/panel: simple: add support for innolux at070tn83

2023-03-11 Thread Pawel Zalewski
Add config for innolux at070tn83 [1] which is a 152x91 display. Tested on a stm32mp1 based platform. [1] https://elinux.org/images/0/07/AT070TN83.pdf Signed-off-by: Pawel Zalewski --- drivers/gpu/drm/panel/panel-simple.c | 28 1 file changed, 28 insertions(+) diff

[PATCH] gpu/drm: Remove unnecessary semicolon

2023-03-11 Thread zhounan
Drop the extra semicolon after nvkm_memory_map() call. Signed-off-by: zhounan --- drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c b/drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c in

Re: [PATCH 3/4] x86/PCI: Enable a 64bit BAR on AMD Family 15h (Models 30h-3fh) Processors

2023-03-11 Thread Brandi Gulbin
-- Brandi B Gulbin

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

2023-03-11 Thread Hans de Goede
Hi Rodrigo, On 3/10/23 23:12, Rodrigo Siqueira Jordao wrote: > Hi Hans, > > Which AMD device do you have available for testing this series? As mentioned in a reply to the cover-letter (should have been in the cover-letter itself but I forgot, sorry. I don't have any hw to test this which is why

Re: [regression] RPI4B drm vc4: no crtc or sizes since 5.17 (works in 5.16; and still broken in at least 6.1)

2023-03-11 Thread AL13N
AL13N schreef op 2023-03-10 13:38: Dave Stevenson schreef op 2023-03-09 13:59: On Wed, 8 Mar 2023 at 22:46, AL13N wrote: AL13N schreef op 2023-03-08 22:16: > Maxime Ripard schreef op 2023-03-08 13:35: >> Hi, >> >> On Tue, Mar 07, 2023 at 05:10:16PM +, Dave Stevenson wrote: >>> On Tue, 7 M

Re: [PATCH v4 2/2] drm/panel: Add driver for Novatek NT36523

2023-03-11 Thread Neil Armstrong
Le 10/03/2023 à 23:50, Linus Walleij a écrit : On Fri, Mar 10, 2023 at 7:35 PM Jianhua Lu wrote: On Fri, Mar 10, 2023 at 07:10:21PM +0100, Konrad Dybcio wrote: +#define mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, cmd, seq...)\ + do {