All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pekka Paalanen <ppaalanen@gmail.com>
To: Maira Canal <mairacanal@riseup.net>
Cc: hamohammed.sa@gmail.com, aleixpol@kde.org,
	andrealmeid@riseup.net, rodrigosiqueiramelo@gmail.com,
	xaver.hugl@gmail.com, mdaenzer@redhat.com,
	dri-devel@lists.freedesktop.org, victoria@system76.com,
	mwen@igalia.com, jadahl@redhat.com, uma.shankar@intel.com,
	sebastian.wick@redhat.com,
	Arthur Grillo <arthurgrillo@riseup.net>,
	joshua@froggi.es
Subject: Re: [PATCH v4] drm/vkms: Add support to 1D gamma LUT
Date: Mon, 26 Jun 2023 11:17:45 +0300	[thread overview]
Message-ID: <20230626111745.49dbbf08@eldfell> (raw)
In-Reply-To: <e880d5cd-a958-164e-4ba9-dd2d0e3ad903@riseup.net>

[-- Attachment #1: Type: text/plain, Size: 2422 bytes --]

On Sat, 24 Jun 2023 18:48:08 -0300
Maira Canal <mairacanal@riseup.net> wrote:

> Hi Arthur,
> 
> Thanks for working on this feature for the VKMS!
> 
> On 6/21/23 16:41, Arthur Grillo wrote:
> > Support a 1D gamma LUT with interpolation for each color channel on the
> > VKMS driver. Add a check for the LUT length by creating
> > vkms_atomic_check().
> > 
> > Tested with:
> > igt@kms_color@gamma
> > igt@kms_color@legacy-gamma
> > igt@kms_color@invalid-gamma-lut-sizes  
> 
> Could you also mention that this will make it possible to run the test 
> igt@kms_plane@pixel-format?
> 
> Also, you mentioned to me that the performance degraded with this new 
> feature, but I wasn't able to see it while running the VKMS CI. I 
> performed a couple of tests and I didn't see any significant performance 
> issue.
> 
> Could you please run a benchmark and share the results with us? This way 
> we can atest that this new feature will not affect significantly the 
> VKMS performance. It would be nice to have a small brief of this 
> benchmark on the commit message as well.
> 
> Attesting that there isn't a performance issue and adding those nits to 
> the commit message, you can add my
> 
> Reviewed-by: Maíra Canal <mairacanal@riseup.net>
> 
> on the next version.

Hi,

perfomance testing is good indeed. As future work, could there be a
document describing how to test VKMS performance?

"I ran IGT@blah 100 times and it took xx seconds before and yy seconds
after" does not really give someone like me an idea of what was
actually measured. For example blending overhead increase could be
completely lost in opaque pixel copying noise if the test case has only
few pixels to blend, e.g. a cursor plane, not to mention the overhead
of launching an IGT test in the first place.

Something that would guide new developers in running meaningful
benchmarks would be nice.

Should e.g. IGT have explicit (VKMS) performance tests that need to be
run manually, since evaluation of the result is not feasible
automatically? Or a benchmark mode in correctness tests that would run
the identical operation N times and measure the time before checking
for correctness?

The correctness verification in IGT tests, if done by image comparison
which they undoubtedly will need to be in the future, may dominate the
CPU run time measurements if included.


Thanks,
pq

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2023-06-26  8:18 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-21 19:41 [PATCH v4] drm/vkms: Add support to 1D gamma LUT Arthur Grillo
2023-06-22 13:30 ` Harry Wentland
2023-06-24 21:48 ` Maira Canal
2023-06-26  8:17   ` Pekka Paalanen [this message]
2023-06-26 17:35     ` Maira Canal
2023-06-27  8:12       ` Pekka Paalanen
2023-07-02 21:37         ` Maira Canal
2023-07-03 19:11           ` Arthur Grillo Queiroz Cabral

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=20230626111745.49dbbf08@eldfell \
    --to=ppaalanen@gmail.com \
    --cc=aleixpol@kde.org \
    --cc=andrealmeid@riseup.net \
    --cc=arthurgrillo@riseup.net \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=hamohammed.sa@gmail.com \
    --cc=jadahl@redhat.com \
    --cc=joshua@froggi.es \
    --cc=mairacanal@riseup.net \
    --cc=mdaenzer@redhat.com \
    --cc=mwen@igalia.com \
    --cc=rodrigosiqueiramelo@gmail.com \
    --cc=sebastian.wick@redhat.com \
    --cc=uma.shankar@intel.com \
    --cc=victoria@system76.com \
    --cc=xaver.hugl@gmail.com \
    /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.