[igt-dev] [PATCH i-g-t 2/5] lib/igt_fb: Fix 32bit integer overflow in the shadow buffer size calculation

Chris Wilson chris at chris-wilson.co.uk
Fri Apr 26 19:14:34 UTC 2019


Quoting Ville Syrjala (2019-04-18 20:40:40)
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
> 
> 16k*16k*16 == 1<<32, so 32bits isn't enough for the result when
> we start to have big framebuffers.
> 
> Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris


More information about the igt-dev mailing list