diff options
author | Lionel Landwerlin <[email protected]> | 2017-06-20 11:06:24 +0100 |
---|---|---|
committer | Lionel Landwerlin <[email protected]> | 2017-06-20 23:26:42 +0100 |
commit | 030abc61091a38596427aa04022066719be9add5 (patch) | |
tree | 31bcc61d00bf788ffa04a03aacd8a2451427c50e /src/intel/isl | |
parent | b3b61211157ab934f1898d3519e7288c1fd89d80 (diff) |
intel: compiler/i965: fix is_broxton checks
In 5f2fe9302c is_geminilake was introduced for the differenciate
broxton from geminilake. Unfortunately I failed as verifying that
is_broxton is throughout the code base to mean Gen9lp.
Fixes: 5f2fe9302c ("intel: common: add flag to identify platforms by name")
Signed-off-by: Lionel Landwerlin <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/intel/isl')
-rw-r--r-- | src/intel/isl/isl_format.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/intel/isl/isl_format.c b/src/intel/isl/isl_format.c index 31c74bd5f0f..a9f9c6be73a 100644 --- a/src/intel/isl/isl_format.c +++ b/src/intel/isl/isl_format.c @@ -406,7 +406,7 @@ isl_format_supports_sampling(const struct gen_device_info *devinfo, */ if (fmtl->txc == ISL_TXC_ASTC) return format < ISL_FORMAT_ASTC_HDR_2D_4X4_FLT16; - } else if (devinfo->is_broxton) { + } else if (gen_device_info_is_9lp(devinfo)) { const struct isl_format_layout *fmtl = isl_format_get_layout(format); /* Support for ASTC HDR exists on Broxton even though big-core * GPUs didn't get it until Cannonlake. @@ -439,7 +439,7 @@ isl_format_supports_filtering(const struct gen_device_info *devinfo, */ if (fmtl->txc == ISL_TXC_ASTC) return format < ISL_FORMAT_ASTC_HDR_2D_4X4_FLT16; - } else if (devinfo->is_broxton) { + } else if (gen_device_info_is_9lp(devinfo)) { const struct isl_format_layout *fmtl = isl_format_get_layout(format); /* Support for ASTC HDR exists on Broxton even though big-core * GPUs didn't get it until Cannonlake. |