Browse Source

updating ipts patches

Jake Day 7 years ago
parent
commit
28720a7cf3
3 changed files with 6 additions and 6 deletions
  1. 2 2
      patches/4.14/ipts.patch
  2. 2 2
      patches/4.15/ipts.patch
  3. 2 2
      patches/4.16/ipts.patch

+ 2 - 2
patches/4.14/ipts.patch

@@ -133,7 +133,7 @@ index 48a1e93..ee9bc8a 100644
 -	if (is_high_priority(client)) {
 -		offset = end;
 -		end += offset;
-+	if (IS_SKYLAKE(dev_priv)) {
++	if (IS_SKYLAKE(dev_priv) || IS_KABYLAKE(dev_priv)) {
 +		end = GUC_NUM_DOORBELLS;
 +	}
 +	else {
@@ -185,7 +185,7 @@ index 48a1e93..ee9bc8a 100644
 +	/* client for execbuf submission */
 +	client = guc_client_alloc(dev_priv,
 +				  INTEL_INFO(dev_priv)->ring_mask,
-+				  IS_SKYLAKE(dev_priv) ? GUC_CLIENT_PRIORITY_HIGH : GUC_CLIENT_PRIORITY_NORMAL,
++				  IS_SKYLAKE(dev_priv) || IS_KABYLAKE(dev_priv) ? GUC_CLIENT_PRIORITY_HIGH : GUC_CLIENT_PRIORITY_NORMAL,
 +				  ctx);
 +	if (!client) {
 +		DRM_ERROR("Failed to create normal GuC client!\n");

+ 2 - 2
patches/4.15/ipts.patch

@@ -120,7 +120,7 @@ index f84c267..c29d64b 100644
 -	if (is_high_priority(client)) {
 -		offset = end;
 -		end += offset;
-+	if (IS_SKYLAKE(dev_priv)) {
++	if (IS_SKYLAKE(dev_priv) || IS_KABYLAKE(dev_priv)) {
 +		end = GUC_NUM_DOORBELLS;
 +	}
 +	else {
@@ -172,7 +172,7 @@ index f84c267..c29d64b 100644
 +	/* client for execbuf submission */
 +	client = guc_client_alloc(dev_priv,
 +				  INTEL_INFO(dev_priv)->ring_mask,
-+				  IS_SKYLAKE(dev_priv) ? GUC_CLIENT_PRIORITY_HIGH : GUC_CLIENT_PRIORITY_NORMAL,
++				  IS_SKYLAKE(dev_priv) || IS_KABYLAKE(dev_priv) ? GUC_CLIENT_PRIORITY_HIGH : GUC_CLIENT_PRIORITY_NORMAL,
 +				  ctx);
 +	if (!client) {
 +		DRM_ERROR("Failed to create normal GuC client!\n");

+ 2 - 2
patches/4.16/ipts.patch

@@ -181,7 +181,7 @@ index 4d24094..e96205e 100644
 -	if (is_high_priority(client)) {
 -		offset = end;
 -		end += offset;
-+	if (IS_SKYLAKE(dev_priv)) {
++	if (IS_SKYLAKE(dev_priv) || IS_KABYLAKE(dev_priv)) {
 +		end = GUC_NUM_DOORBELLS;
 +	}
 +	else {
@@ -233,7 +233,7 @@ index 4d24094..e96205e 100644
 +	/* client for execbuf submission */
 +	client = guc_client_alloc(dev_priv,
 +				  INTEL_INFO(dev_priv)->ring_mask,
-+				  IS_SKYLAKE(dev_priv) ? GUC_CLIENT_PRIORITY_HIGH : GUC_CLIENT_PRIORITY_NORMAL,
++				  IS_SKYLAKE(dev_priv) || IS_KABYLAKE(dev_priv) ? GUC_CLIENT_PRIORITY_HIGH : GUC_CLIENT_PRIORITY_NORMAL,
 +				  ctx);
 +	if (!client) {
 +		DRM_ERROR("Failed to create normal GuC client!\n");