Linux-mediatek Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Jason-JH Lin (林睿祥)" <Jason-JH.Lin@mediatek.com>
To: "michal@nozomi.space" <michal@nozomi.space>,
	"Shawn Sung (宋孝謙)" <Shawn.Sung@mediatek.com>,
	"2025e0ddff85a3bfa1f8894587b5e26ba3cfd65b.camel@mediatek.com"
	<2025e0ddff85a3bfa1f8894587b5e26ba3cfd65b.camel@mediatek.com>
Cc: "CK Hu (胡俊光)" <ck.hu@mediatek.com>,
	"Shih-che Lin (林士哲)" <Shih-che.Lin@mediatek.com>,
	"linux-mediatek@lists.infradead.org"
	<linux-mediatek@lists.infradead.org>,
	"Nancy Lin (林欣螢)" <Nancy.Lin@mediatek.com>,
	"Singo Chang (張興國)" <Singo.Chang@mediatek.com>,
	"David-YH Chiu (邱鈺翔)" <David-YH.Chiu@mediatek.com>,
	"Jamie Chang (張博皓)" <Jamie.Chang@mediatek.com>
Subject: Re: [PATCH v2 1/1] drm/mediatek: Filter modes according to hardware capability
Date: Tue, 3 Dec 2024 08:16:38 +0000	[thread overview]
Message-ID: <26a311d6983012b2ac6d782eb9cbb32005dd79bd.camel@mediatek.com> (raw)
In-Reply-To: <b38ade853c9fa01369fe8e400c693d20e8b2256a.camel@mediatek.com>

Hi Michał,

[snip]

> >  > 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.
> > 
> > Understood. I was just wondering if it might be dependent on other
> > factors than Vbp and pixel clock.
> > 
> >  > 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.
> > 
> > I was going to initially try to implement something for personal
> > use
> > but
> > I wanted to eventually try to upstream it. However, from what I
> > understand,
> > it might not be easy or possible.
> > 
> > If I develop a patch that works reliably at least for me, would you
> > be
> > open to me adding a kernel module parameter to allow unverified
> > data
> > rates, with clear description that it may cause unstable behavior?
> 
> As I also have a high refresh rate monitor, I can completely
> understand
> how you feel. Could you please change 8250 to `8250 * 1.05` and see
> if
> it works in your situation?
> 
> Since the official configuration usually prefer a more stable
> setting,
> we have initiated an internal discussion about this request.
> 

Here is the reply by hardware designer after an internal discussion
with us:

Due to internal regulations, we are unable to disclose the actual
hardware specifications.

The current approach has been validated against the hardware
limitations:
1. pixel clock rate < 594000 KHz
2. pixel clock rate / VBP  < 8250

While it is possible that exceeding these limitations might still work,
it could potentially go beyond the guarantees provided by the DRAM
controller and Hardware Real-Time (HRT) capabilities, leading to a risk
of encountering unstable underflow issues.

I think this scaling patch (without hardware guarantees) is more
suitable for the specific product lines applied to Chrome, not
upstream.

Regards,
Jason-JH Lin

> > 
> >  > Regards,
> >  > Shawn
> > 
> > Regards,
> > Michał
> > 
> 
> Regards,
> Shawn
> 

  reply	other threads:[~2024-12-03  8:16 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <7QZPNS.0SWJEBP013RP1@nozomi.space>
2024-12-02  2:19 ` [PATCH v2 1/1] drm/mediatek: Filter modes according to hardware capability Shawn Sung (宋孝謙)
2024-12-03  8:16   ` Jason-JH Lin (林睿祥) [this message]
2024-11-27 14:28 Michał Kopeć
2024-11-29  6:17 ` CK Hu (胡俊光)
  -- strict thread matches above, loose matches on Subject: below --
2024-11-27 14:24 Michał Kopeć
2024-02-07  2:15 [PATCH v2 0/1] " Hsiao Chien Sung
2024-02-07  2:15 ` [PATCH v2 1/1] drm/mediatek: " Hsiao Chien Sung
2024-02-16  9:38   ` CK Hu (胡俊光)
2024-02-20  9:06     ` Shawn Sung (宋孝謙)

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=26a311d6983012b2ac6d782eb9cbb32005dd79bd.camel@mediatek.com \
    --to=jason-jh.lin@mediatek.com \
    --cc=2025e0ddff85a3bfa1f8894587b5e26ba3cfd65b.camel@mediatek.com \
    --cc=David-YH.Chiu@mediatek.com \
    --cc=Jamie.Chang@mediatek.com \
    --cc=Nancy.Lin@mediatek.com \
    --cc=Shawn.Sung@mediatek.com \
    --cc=Shih-che.Lin@mediatek.com \
    --cc=Singo.Chang@mediatek.com \
    --cc=ck.hu@mediatek.com \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=michal@nozomi.space \
    /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