aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel
diff options
context:
space:
mode:
authorDongwon Kim <[email protected]>2019-06-27 09:54:34 -0700
committerAnuj Phogat <[email protected]>2019-07-08 10:54:38 -0700
commiteb6d067e68c49bd3fdefc6effd988b37f1c45ecc (patch)
treec17f53d704942e640e5dcb0301e1ba5fccdb2774 /src/intel
parente6ac6d3224f0d69e537daef93b42a1762b7af760 (diff)
intel: add disable_ccs_repack to gen_device_info
add a new attribute, 'disable_ccs_repack' to gen_device info, which indicates whether repacking of components in certain pixel formats before compression needs to be disabled to keep the compatibility with decompression capability of display controller (gen11+) Signed-off-by: Dongwon Kim <[email protected]> Reviewed-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src/intel')
-rw-r--r--src/intel/dev/gen_device_info.c3
-rw-r--r--src/intel/dev/gen_device_info.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/intel/dev/gen_device_info.c b/src/intel/dev/gen_device_info.c
index fec6159fd37..951e81d3e60 100644
--- a/src/intel/dev/gen_device_info.c
+++ b/src/intel/dev/gen_device_info.c
@@ -958,6 +958,7 @@ static const struct gen_device_info gen_device_info_ehl_4x8 = {
[MESA_SHADER_GEOMETRY] = 1032,
},
},
+ .disable_ccs_repack = true,
.simulator_id = 28,
};
@@ -978,6 +979,7 @@ static const struct gen_device_info gen_device_info_ehl_4x4 = {
[MESA_SHADER_GEOMETRY] = 1032,
},
},
+ .disable_ccs_repack = true,
.num_eu_per_subslice = 4,
.simulator_id = 28,
};
@@ -999,6 +1001,7 @@ static const struct gen_device_info gen_device_info_ehl_2x4 = {
[MESA_SHADER_GEOMETRY] = 1032,
},
},
+ .disable_ccs_repack = true,
.num_eu_per_subslice =4,
.simulator_id = 28,
};
diff --git a/src/intel/dev/gen_device_info.h b/src/intel/dev/gen_device_info.h
index af13615be2b..4fe937355a7 100644
--- a/src/intel/dev/gen_device_info.h
+++ b/src/intel/dev/gen_device_info.h
@@ -74,6 +74,7 @@ struct gen_device_info
bool has_surface_tile_offset;
bool supports_simd16_3src;
bool has_resource_streamer;
+ bool disable_ccs_repack;
/**
* \name Intel hardware quirks