public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH 1/2] drm/i915: Add missing scanline case for 8 cpp watermarks.
@ 2019-03-21  9:15 Maarten Lankhorst
  2019-03-21  9:15 ` [PATCH 2/2] drm/i915: Reject Yf tiling for 8cpp formats Maarten Lankhorst
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Maarten Lankhorst @ 2019-03-21  9:15 UTC (permalink / raw)
  To: intel-gfx

Now that we can rotate 64 bpp formats, we need to add the rotation case.
This wasn't caught by CI or me, because the rotated formats were skipping
because the rotated watermarks exceeded the allocation limits.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
---
 drivers/gpu/drm/i915/intel_pm.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c
index fcd3baff8b65..5977dca2c55d 100644
--- a/drivers/gpu/drm/i915/intel_pm.c
+++ b/drivers/gpu/drm/i915/intel_pm.c
@@ -4689,6 +4689,9 @@ skl_compute_wm_params(const struct intel_crtc_state *crtc_state,
 		case 4:
 			wp->y_min_scanlines = 4;
 			break;
+		case 8:
+			wp->y_min_scanlines = 2;
+			break;
 		default:
 			MISSING_CASE(wp->cpp);
 			return -EINVAL;
-- 
2.20.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-03-21 23:19 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-21  9:15 [PATCH 1/2] drm/i915: Add missing scanline case for 8 cpp watermarks Maarten Lankhorst
2019-03-21  9:15 ` [PATCH 2/2] drm/i915: Reject Yf tiling for 8cpp formats Maarten Lankhorst
2019-03-21 10:27   ` Ville Syrjälä
2019-03-21 11:59     ` Maarten Lankhorst
2019-03-21 10:29 ` [PATCH 1/2] drm/i915: Add missing scanline case for 8 cpp watermarks Ville Syrjälä
2019-03-21 12:48   ` Maarten Lankhorst
2019-03-21 12:10 ` ✓ Fi.CI.BAT: success for series starting with [1/2] " Patchwork
2019-03-21 23:19 ` ✓ Fi.CI.IGT: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox