Linux-mediatek Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Shawn Sung (宋孝謙)" <Shawn.Sung@mediatek.com>
To: "2025e0ddff85a3bfa1f8894587b5e26ba3cfd65b.camel@mediatek.com"
	<2025e0ddff85a3bfa1f8894587b5e26ba3cfd65b.camel@mediatek.com>
Cc: "linux-mediatek@lists.infradead.org"
	<linux-mediatek@lists.infradead.org>
Subject: Re: [SPAM]Re: [PATCH v2 1/1] drm/mediatek: Filter modes according to hardware capability
Date: Fri, 29 Nov 2024 10:26:41 +0000	[thread overview]
Message-ID: <0442e558c1771fd23f5cc75806f9cbf0c6167094.camel@mediatek.com> (raw)
In-Reply-To: <UJ5MNS.Y9SOF1FBB3XG@nozomi.space>

Hi Michał,

On Wed, 2024-11-27 at 15:28 +0100, Michał Kopeć wrote:
> External email : Please do not click links or open attachments until
> you have verified the sender or the content.
> 
> 
> (Re-sending because Shawn's @google email is inactive)
> 
> Hi Shawn,
> 
> I'm a new owner of the Chromebook Ciri (MT8188) and have run into an
> issue which I believe is related to this patch.
> 
> I'm attempting to use a 3440x1440 144Hz monitor over DisplayPort, but
> the available resolutions are limited to 2560x1440@120Hz. I found
> this
> patch, then I confirmed with the monitor's EDID that i am indeed
> reaching data rates above 8250 (though minimally) in higher
> resolution
> modes.

As the reference number 8250 = 594000 / 72:
594000 is KHz of the clock rate in mode setting
72 is lines during VBP (Vertical Back Porch)
Can you share your reference number or the EDID in 3440x1440@144 with
us?

> 
> I wanted to ask about this comment:
> 
>  > The proposed formula is only one way to estimate whether our SoC
>  > supports the mode setting. The basic idea behind it is just to
> check
>  > if the data rate requirement is too high (directly proportional to
>  > pixel clock, inversely proportional to vbp). Please adjust the
>  > function if it doesn't fit your situation in the future.
> 
> - Can you confirm if the reference number 8250 is the hard limit of
> the
> hardware?

The reference number 8250 is established based on our hardware
specifications. Numbers higher than that may function, but could be
unstable. For example, the monitor may seem to work properly at first,
but you could encounter black screens or glitching from time to time. 

> - Could you suggest other formulae that could work for my use case?
> I'd
> be happy to implement and test on my end but as I don't have access
> to
> MTK documentation, I don't know the actual limits of the hardware and
> how to deal with them
> 

May I confirm if you are going to implement the patch just for local
testing or for upstream? As 8250 is calculated based on the
specifications and was verified through a series of procedures. Any
changes to it may require thorough verifications before being accepted.

> Regards,
> Michał Kopeć
> 
> 
Regards,
Shawn

> 

      parent reply	other threads:[~2024-11-29 10:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-27 14:28 [PATCH v2 1/1] drm/mediatek: Filter modes according to hardware capability Michał Kopeć
2024-11-29  6:17 ` CK Hu (胡俊光)
2024-11-29 10:26 ` Shawn Sung (宋孝謙) [this message]

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=0442e558c1771fd23f5cc75806f9cbf0c6167094.camel@mediatek.com \
    --to=shawn.sung@mediatek.com \
    --cc=2025e0ddff85a3bfa1f8894587b5e26ba3cfd65b.camel@mediatek.com \
    --cc=linux-mediatek@lists.infradead.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox