diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2018-11-01 23:31:20 +0200 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2018-11-05 18:09:54 +0200 |
commit | 737241d621cc1a7ff6ae4278bde234439ab61799 (patch) | |
tree | 04e52fcd1bbc785cf033e2b43c63d3572a927de6 /runner/resultgen.h | |
parent | f3da419dbfce476990c462073dfafed10ecd732e (diff) |
lib/igt_fb: Generalize the slow read from gtt mmap handling
Make the handling of slow gtt mmap reads generic, and extend it to
the pixman converter. Makes the pixman path a bit faster.
With testing just XRGB8888 and XBGR8888 on KBL:
$ time kms_plane --r pixel-format-pipe-A-planes
- real 0m18,757s
+ real 0m2,635s
v2: Use the original src buffer if the malloc fails (Chris)
Drop the duplicated comment about things being slow
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Maxime Ripard <maxime.ripard@bootlin.com>
Cc: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Cc: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Maxime Ripard <maxime.ripard@bootlin.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Diffstat (limited to 'runner/resultgen.h')
0 files changed, 0 insertions, 0 deletions