summaryrefslogtreecommitdiffstats
path: root/src/intel
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2018-01-26 11:43:24 -0800
committerJason Ekstrand <[email protected]>2018-05-09 11:16:33 -0700
commit561348caa14a849dd50ed1df1d8f7abba7de66f7 (patch)
tree95ab9bef2501994c5771042e212543809fd8d6b5 /src/intel
parentccb44b8a94654fc827eda784653e607062de3ca1 (diff)
intel/isl: Allow CCS_E on 1010102 formats
On CNL and above, CCS_E supports 1010102 formats and R11G11B10F. We had shut them off during early enabling because blorp_copy couldn't handle them. Now it can handle 1010102 formats so we can turn them back on. Reviewed-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'src/intel')
-rw-r--r--src/intel/isl/isl_format.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/intel/isl/isl_format.c b/src/intel/isl/isl_format.c
index 3cdf676c74b..37d2243a46e 100644
--- a/src/intel/isl/isl_format.c
+++ b/src/intel/isl/isl_format.c
@@ -558,17 +558,6 @@ isl_format_supports_ccs_e(const struct gen_device_info *devinfo,
if (format == ISL_FORMAT_R11G11B10_FLOAT)
return false;
- /* blorp_copy currently doesn't support formats with different bit-widths
- * per-channel. Until that support is added, report that these formats don't
- * support CCS_E. FIXME: Add support for these formats.
- */
- if (format == ISL_FORMAT_B10G10R10A2_UNORM ||
- format == ISL_FORMAT_B10G10R10A2_UNORM_SRGB ||
- format == ISL_FORMAT_R10G10B10A2_UNORM ||
- format == ISL_FORMAT_R10G10B10A2_UINT) {
- return false;
- }
-
return format_gen(devinfo) >= format_info[format].ccs_e;
}