mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 22:30:12 +01:00
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 <dongwon.kim@intel.com> Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
This commit is contained in:
parent
e6ac6d3224
commit
eb6d067e68
2 changed files with 4 additions and 0 deletions
|
|
@ -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,
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue