-
Ville Syrjälä authored
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>
f3da419d