diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2018-11-01 22:55:28 +0200 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2018-11-05 18:09:45 +0200 |
commit | f3da419dbfce476990c462073dfafed10ecd732e (patch) | |
tree | 25d0e4a1d243c17b334bb73a3fee613aba0dd1c3 /runner | |
parent | 9c33e5f74f510db349c51e9454070e84e3b0367d (diff) |
lib/igt_fb: Use linear.fb in the converter
The converter operates between the linear and shadow fbs. When using
the blitter path there is no particular reason to assume that the
linear fb and actual fb have the same strides for instance. Thus
consulting the actual fb for metadata is not really correct.
We can also simplify the mmap() path by copying all the original
fb metadata into linear.fb as there we map the original fb directly.
We just have to keep clearing linear.fb.gem_handle so that the
dtor knows which kind of beast it's got.
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>
Diffstat (limited to 'runner')
0 files changed, 0 insertions, 0 deletions