All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Andy Yan" <andyshrk@163.com>
To: "Heiko Stübner" <heiko@sntech.de>
Cc: "Daniel Semkowicz" <dse@thaumatec.com>,
	 "Diederik de Haas" <didi.debian@cknow.org>,
	andy.yan@rock-chips.com,  Laurent.pinchart@ideasonboard.com,
	andrzej.hajda@intel.com,  conor+dt@kernel.org,
	devicetree@vger.kernel.org,  dri-devel@lists.freedesktop.org,
	jernej.skrabec@gmail.com,  jonas@kwiboo.se, krzk+dt@kernel.org,
	 linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org,
	 linux-rockchip@lists.infradead.org,
	 maarten.lankhorst@linux.intel.com, mripard@kernel.org,
	 neil.armstrong@linaro.org, quentin.schulz@cherry.de,
	 rfoss@kernel.org, robh@kernel.org, tzimmermann@suse.de
Subject: Re:Re: [PATCH v3 0/3] drm/rockchip: Add driver for the new DSI2 controller
Date: Tue, 10 Dec 2024 08:50:51 +0800 (CST)	[thread overview]
Message-ID: <4e015ea9.960.193ae0c236a.Coremail.andyshrk@163.com> (raw)
In-Reply-To: <2203458.KiezcSG77Q@diego>



Hi,

At 2024-12-10 07:12:26, "Heiko Stübner" <heiko@sntech.de> wrote:
>Am Montag, 9. Dezember 2024, 17:11:03 CET schrieb Diederik de Haas:
>> Hi,
>> 
>> On Mon Dec 9, 2024 at 4:06 PM CET, Daniel Semkowicz wrote:
>> > On 03.12.24 21:54, Heiko Stuebner wrote:
>> > > This series adds a bridge and glue driver for the DSI2 controller found
>> > > in the rk3588 soc from Rockchip, that is based on a Synopsis IP block.
>> > > 
>> >
>> > I did more tests with different LVDS displays. I tested following
>> > configurations with DSI/LVDS bridge:
>> > - 1024x600@60.01
>> > - 1024x768@60.02
>> > - 1280x800@60.07
>> > - 1366x768@60.06
>> >
>> > All of them worked without issues, except 1366x768.
>> > With this resolution, video is blurry, and offset incorrectly
>> > to the left. There are also repeating errors on the console:
>> >
>> >   rockchip-drm display-subsystem: [drm] *ERROR* POST_BUF_EMPTY irq err at vp3
>> >
>> > In correct operation with other resolutions, there is no error.
>> > I am not sure if this is a problem in your series or rather in VOP2
>> > driver.
>
>This really sounds like something is wrong on the vop side.
>The interrupt is part of the vop, the divisable by 4 things likely too.

This is a hardware limitation on vop side:
The horizontal resolution must be 4 pixel aligned.



>
>
>Heiko
>
>
>> 
>> On my PineTab2 I got similar messages about 2 weeks ago:
>> rockchip-drm display-subsystem: [drm] *ERROR* POST_BUF_EMPTY irq err at vp1
>> 
>> Preceding those, I got several panfrost related errors:
>> 
>> panfrost fde60000.gpu: get clock failed -517
>> panfrost fde60000.gpu: clk init failed -517
>> platform fde60000.gpu: deferred probe pending: (reason unknown)
>> platform cpufreq-dt: deferred probe pending: (reason unknown)
>> vdd_gpu_npu: disabling
>> 
>> But can also be that the PineTab2 (likely) needs regulator-always-on
>> and regulator-boot-on in its vdd_gpu_npu node.
>> 
>> > I tried to track down the problem, and it seems to be a generic issue
>> > when horizontal line width is not divisible by 4.
>> > Lowering line width to 1364px fixes the issue, but of course I have two
>> > vertical lines of black pixels on the right.
>> > I also made some tests with 720x1280 DSI display. Lowering horizontal
>> > line to 718px shows the same problem. With 720px and 716px it works
>> > correctly.
>> 
>> I haven't look further into it, but the PT2 has a 1280x800 resolution.
>> 
>> HTH,
>>   Diederik
>> 
>
>
>

WARNING: multiple messages have this Message-ID (diff)
From: "Andy Yan" <andyshrk@163.com>
To: "Heiko Stübner" <heiko@sntech.de>
Cc: "Daniel Semkowicz" <dse@thaumatec.com>,
	 "Diederik de Haas" <didi.debian@cknow.org>,
	andy.yan@rock-chips.com,  Laurent.pinchart@ideasonboard.com,
	andrzej.hajda@intel.com,  conor+dt@kernel.org,
	devicetree@vger.kernel.org,  dri-devel@lists.freedesktop.org,
	jernej.skrabec@gmail.com,  jonas@kwiboo.se, krzk+dt@kernel.org,
	 linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org,
	 linux-rockchip@lists.infradead.org,
	 maarten.lankhorst@linux.intel.com, mripard@kernel.org,
	 neil.armstrong@linaro.org, quentin.schulz@cherry.de,
	 rfoss@kernel.org, robh@kernel.org, tzimmermann@suse.de
Subject: Re:Re: [PATCH v3 0/3] drm/rockchip: Add driver for the new DSI2 controller
Date: Tue, 10 Dec 2024 08:50:51 +0800 (CST)	[thread overview]
Message-ID: <4e015ea9.960.193ae0c236a.Coremail.andyshrk@163.com> (raw)
In-Reply-To: <2203458.KiezcSG77Q@diego>



Hi,

At 2024-12-10 07:12:26, "Heiko Stübner" <heiko@sntech.de> wrote:
>Am Montag, 9. Dezember 2024, 17:11:03 CET schrieb Diederik de Haas:
>> Hi,
>> 
>> On Mon Dec 9, 2024 at 4:06 PM CET, Daniel Semkowicz wrote:
>> > On 03.12.24 21:54, Heiko Stuebner wrote:
>> > > This series adds a bridge and glue driver for the DSI2 controller found
>> > > in the rk3588 soc from Rockchip, that is based on a Synopsis IP block.
>> > > 
>> >
>> > I did more tests with different LVDS displays. I tested following
>> > configurations with DSI/LVDS bridge:
>> > - 1024x600@60.01
>> > - 1024x768@60.02
>> > - 1280x800@60.07
>> > - 1366x768@60.06
>> >
>> > All of them worked without issues, except 1366x768.
>> > With this resolution, video is blurry, and offset incorrectly
>> > to the left. There are also repeating errors on the console:
>> >
>> >   rockchip-drm display-subsystem: [drm] *ERROR* POST_BUF_EMPTY irq err at vp3
>> >
>> > In correct operation with other resolutions, there is no error.
>> > I am not sure if this is a problem in your series or rather in VOP2
>> > driver.
>
>This really sounds like something is wrong on the vop side.
>The interrupt is part of the vop, the divisable by 4 things likely too.

This is a hardware limitation on vop side:
The horizontal resolution must be 4 pixel aligned.



>
>
>Heiko
>
>
>> 
>> On my PineTab2 I got similar messages about 2 weeks ago:
>> rockchip-drm display-subsystem: [drm] *ERROR* POST_BUF_EMPTY irq err at vp1
>> 
>> Preceding those, I got several panfrost related errors:
>> 
>> panfrost fde60000.gpu: get clock failed -517
>> panfrost fde60000.gpu: clk init failed -517
>> platform fde60000.gpu: deferred probe pending: (reason unknown)
>> platform cpufreq-dt: deferred probe pending: (reason unknown)
>> vdd_gpu_npu: disabling
>> 
>> But can also be that the PineTab2 (likely) needs regulator-always-on
>> and regulator-boot-on in its vdd_gpu_npu node.
>> 
>> > I tried to track down the problem, and it seems to be a generic issue
>> > when horizontal line width is not divisible by 4.
>> > Lowering line width to 1364px fixes the issue, but of course I have two
>> > vertical lines of black pixels on the right.
>> > I also made some tests with 720x1280 DSI display. Lowering horizontal
>> > line to 718px shows the same problem. With 720px and 716px it works
>> > correctly.
>> 
>> I haven't look further into it, but the PT2 has a 1280x800 resolution.
>> 
>> HTH,
>>   Diederik
>> 
>
>
>
_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip

  reply	other threads:[~2024-12-10  0:53 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-03 16:54 [PATCH v3 0/3] drm/rockchip: Add driver for the new DSI2 controller Heiko Stuebner
2024-12-03 16:54 ` Heiko Stuebner
2024-12-03 16:54 ` [PATCH v3 1/3] drm/bridge/synopsys: Add MIPI DSI2 host controller bridge Heiko Stuebner
2024-12-03 16:54   ` Heiko Stuebner
2024-12-03 16:54 ` [PATCH v3 2/3] dt-bindings: display: rockchip: Add schema for RK3588 DW DSI2 controller Heiko Stuebner
2024-12-03 16:54   ` Heiko Stuebner
2024-12-04  8:22   ` Andy Yan
2024-12-04  8:22     ` Andy Yan
2024-12-05  1:11   ` Andy Yan
2024-12-05  1:11     ` Andy Yan
2024-12-03 16:54 ` [PATCH v3 3/3] drm/rockchip: Add MIPI DSI2 glue driver for RK3588 Heiko Stuebner
2024-12-03 16:54   ` Heiko Stuebner
2024-12-04  2:16   ` Kever Yang
2024-12-04  2:16     ` Kever Yang
2024-12-04 10:48     ` Diederik de Haas
2024-12-04 10:48       ` Diederik de Haas
2024-12-04 12:41   ` Andy Yan
2024-12-04 12:41     ` Andy Yan
2024-12-05  9:06 ` [PATCH v3 0/3] drm/rockchip: Add driver for the new DSI2 controller Dmitry Yashin
2024-12-05  9:06   ` Dmitry Yashin
2024-12-09 15:06 ` Daniel Semkowicz
2024-12-09 15:06   ` Daniel Semkowicz
2024-12-09 16:11   ` Diederik de Haas
2024-12-09 16:11     ` Diederik de Haas
2024-12-09 23:12     ` Heiko Stübner
2024-12-09 23:12       ` Heiko Stübner
2024-12-10  0:50       ` Andy Yan [this message]
2024-12-10  0:50         ` Andy Yan
2024-12-10  1:01         ` Dmitry Baryshkov
2024-12-10  1:01           ` Dmitry Baryshkov
2024-12-10  1:21           ` Andy Yan
2024-12-10  1:21             ` Andy Yan
2024-12-10  1:45             ` Dmitry Baryshkov
2024-12-10  1:45               ` Dmitry Baryshkov
2024-12-10  1:54               ` Andy Yan
2024-12-10  1:54                 ` Andy Yan
2024-12-10 10:01                 ` Heiko Stübner
2024-12-10 10:01                   ` Heiko Stübner
2024-12-10 12:32                 ` Dmitry Baryshkov
2024-12-10 12:32                   ` Dmitry Baryshkov
2024-12-10 12:48                   ` Andy Yan
2024-12-10 12:48                     ` Andy Yan
2024-12-10 14:36                     ` Heiko Stübner
2024-12-10 14:36                       ` Heiko Stübner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4e015ea9.960.193ae0c236a.Coremail.andyshrk@163.com \
    --to=andyshrk@163.com \
    --cc=Laurent.pinchart@ideasonboard.com \
    --cc=andrzej.hajda@intel.com \
    --cc=andy.yan@rock-chips.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=didi.debian@cknow.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=dse@thaumatec.com \
    --cc=heiko@sntech.de \
    --cc=jernej.skrabec@gmail.com \
    --cc=jonas@kwiboo.se \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rockchip@lists.infradead.org \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=mripard@kernel.org \
    --cc=neil.armstrong@linaro.org \
    --cc=quentin.schulz@cherry.de \
    --cc=rfoss@kernel.org \
    --cc=robh@kernel.org \
    --cc=tzimmermann@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.