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

Chris Wilson
2019-04-26T19:14:38Z

Quoting Ville Syrjala (2019-04-18 20:40:40)
> From: Ville Syrjälä <ville.syrjala@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@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
-Chris