intel/common: Add an is_kabylake field to gen_device_info
Most of the 3-D engine Kaby Lake is identical to Sky Lake. However, there are a few small differences that we need to be able to detect. Signed-off-by: Jason Ekstrand <jason@jlekstrand.net> Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
parent
e074a08a6d
commit
767b163e47
|
@ -489,6 +489,7 @@ static const struct gen_device_info gen_device_info_bxt_2x6 = {
|
|||
|
||||
static const struct gen_device_info gen_device_info_kbl_gt1 = {
|
||||
GEN9_FEATURES,
|
||||
.is_kabylake = true,
|
||||
.gt = 1,
|
||||
|
||||
.max_cs_threads = 7 * 6,
|
||||
|
@ -498,6 +499,7 @@ static const struct gen_device_info gen_device_info_kbl_gt1 = {
|
|||
|
||||
static const struct gen_device_info gen_device_info_kbl_gt1_5 = {
|
||||
GEN9_FEATURES,
|
||||
.is_kabylake = true,
|
||||
.gt = 1,
|
||||
|
||||
.max_cs_threads = 7 * 6,
|
||||
|
@ -506,6 +508,7 @@ static const struct gen_device_info gen_device_info_kbl_gt1_5 = {
|
|||
|
||||
static const struct gen_device_info gen_device_info_kbl_gt2 = {
|
||||
GEN9_FEATURES,
|
||||
.is_kabylake = true,
|
||||
.gt = 2,
|
||||
|
||||
.num_slices = 1,
|
||||
|
@ -513,6 +516,7 @@ static const struct gen_device_info gen_device_info_kbl_gt2 = {
|
|||
|
||||
static const struct gen_device_info gen_device_info_kbl_gt3 = {
|
||||
GEN9_FEATURES,
|
||||
.is_kabylake = true,
|
||||
.gt = 3,
|
||||
|
||||
.num_slices = 2,
|
||||
|
@ -520,6 +524,7 @@ static const struct gen_device_info gen_device_info_kbl_gt3 = {
|
|||
|
||||
static const struct gen_device_info gen_device_info_kbl_gt4 = {
|
||||
GEN9_FEATURES,
|
||||
.is_kabylake = true,
|
||||
.gt = 4,
|
||||
|
||||
/*
|
||||
|
|
|
@ -41,6 +41,7 @@ struct gen_device_info
|
|||
bool is_haswell;
|
||||
bool is_cherryview;
|
||||
bool is_broxton;
|
||||
bool is_kabylake;
|
||||
|
||||
bool has_hiz_and_separate_stencil;
|
||||
bool must_use_separate_stencil;
|
||||
|
|
Loading…
Reference in New Issue