All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nabendu Maiti <nabendu.bikash.maiti@intel.com>
To: intel-gfx@lists.freedesktop.org
Subject: [PATCH] drm/i915/bxt: Fix wm calculation for pixel format change
Date: Wed, 23 Dec 2015 10:52:36 +0530	[thread overview]
Message-ID: <1450848156-26022-1-git-send-email-nabendu.bikash.maiti@intel.com> (raw)

Recalculate watermark when there is a change in pixel format.

Signed-off-by: Nabendu Maiti <nabendu.bikash.maiti@intel.com>
---
 drivers/gpu/drm/i915/intel_display.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index 2d0b006..4bd5080 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -11819,6 +11819,7 @@ static bool intel_wm_need_update(struct drm_plane *plane,
 		return false;
 
 	if (cur->base.fb->modifier[0] != new->base.fb->modifier[0] ||
+	    cur->base.fb->pixel_format != new->base.fb->pixel_format ||
 	    cur->base.rotation != new->base.rotation ||
 	    drm_rect_width(&new->src) != drm_rect_width(&cur->src) ||
 	    drm_rect_height(&new->src) != drm_rect_height(&cur->src) ||
-- 
1.9.1

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

             reply	other threads:[~2015-12-23  5:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-23  5:22 Nabendu Maiti [this message]
2015-12-23  7:20 ` ✗ warning: Fi.CI.BAT Patchwork
2016-01-05 14:43 ` [PATCH] drm/i915/bxt: Fix wm calculation for pixel format change Daniel Vetter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1450848156-26022-1-git-send-email-nabendu.bikash.maiti@intel.com \
    --to=nabendu.bikash.maiti@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.