From: Nicolas Frattaroli <frattaroli.nicolas@gmail.com>
To: Simon Glass <sjg@chromium.org>,
Philipp Tomsich <philipp.tomsich@vrull.eu>,
Kever Yang <kever.yang@rock-chips.com>
Cc: u-boot@lists.denx.de
Subject: Re: [PATCH] rockchip: rk3328: Set VOP QoS to high priority
Date: Wed, 04 Jan 2023 12:18:22 +0100 [thread overview]
Message-ID: <3048031.aZSOJHIV7L@archbook> (raw)
In-Reply-To: <31442545.XjgUJs76Fk@archbook>
On Freitag, 21. Oktober 2022 14:30:39 CET Nicolas Frattaroli wrote:
> On Samstag, 23. Juli 2022 13:28:36 CEST Nicolas Frattaroli wrote:
> > The default priority for the quality of service for the video
> > output results in unsightly glitches on the output whenever there
> > is memory pressure on the system, which happens a lot.
> >
> > This sets the VOP QoS to high priority, which fixes this issue.
> >
> > Signed-off-by: Nicolas Frattaroli <frattaroli.nicolas@gmail.com>
> > ---
> > arch/arm/mach-rockchip/rk3328/rk3328.c | 5 +++++
> > 1 file changed, 5 insertions(+)
> >
> > diff --git a/arch/arm/mach-rockchip/rk3328/rk3328.c b/arch/arm/mach-rockchip/rk3328/rk3328.c
> > index de17b88682..2373586b14 100644
> > --- a/arch/arm/mach-rockchip/rk3328/rk3328.c
> > +++ b/arch/arm/mach-rockchip/rk3328/rk3328.c
> > @@ -19,6 +19,8 @@ DECLARE_GLOBAL_DATA_PTR;
> > #define GRF_BASE 0xFF100000
> > #define UART2_BASE 0xFF130000
> > #define FW_DDR_CON_REG 0xFF7C0040
> > +#define QOS_VOP_OFFSET 0xFF760080
> > +#define QOS_VOP_PRIORITY 0x8
> >
> > const char * const boot_devices[BROM_LAST_BOOTSOURCE + 1] = {
> > [BROM_BOOTSOURCE_EMMC] = "/mmc@ff520000",
> > @@ -54,6 +56,9 @@ int arch_cpu_init(void)
> >
> > /* Disable the ddr secure region setting to make it non-secure */
> > rk_setreg(FW_DDR_CON_REG, 0x200);
> > +#else
> > + printf("Setting VOP QoS\n");
> > + rk_setreg(QOS_VOP_OFFSET + QOS_VOP_PRIORITY, 0x2);
> > #endif
> > return 0;
> > }
> >
>
> Hello,
>
> could I get a review on this?
>
> Thank you for your time,
> Nicolas Frattaroli
It has been almost 6 months since patch submission now.
next prev parent reply other threads:[~2023-01-04 11:18 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-23 11:28 [PATCH] rockchip: rk3328: Set VOP QoS to high priority Nicolas Frattaroli
2022-10-21 12:30 ` Nicolas Frattaroli
2023-01-04 11:18 ` Nicolas Frattaroli [this message]
2023-01-04 11:21 ` Jagan Teki
2023-01-04 11:30 ` Nicolas Frattaroli
2023-01-04 12:04 ` Philipp Tomsich
2023-01-05 2:19 ` Kever Yang
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=3048031.aZSOJHIV7L@archbook \
--to=frattaroli.nicolas@gmail.com \
--cc=kever.yang@rock-chips.com \
--cc=philipp.tomsich@vrull.eu \
--cc=sjg@chromium.org \
--cc=u-boot@lists.denx.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox