intel/isl: Add the maximum surface size limit
authorAnuj Phogat <anuj.phogat@gmail.com>
Fri, 19 May 2017 19:09:22 +0000 (12:09 -0700)
committerAnuj Phogat <anuj.phogat@gmail.com>
Fri, 16 Jun 2017 16:05:05 +0000 (09:05 -0700)
commitc07271fef095164c8bcfb54fdc95567c3774a866
treeb0c65532909b6e6f8cf767dd0164fd47e86225a8
parent70229782370c7ed9a63e05689f4d8bfc80128dd9
intel/isl: Add the maximum surface size limit

V2: Use 2^31 bytes (2GB) surface size limit on pre-gen9 and
    2^38 bytes for gen9+.

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
src/intel/isl/isl.c