Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Tina Zhang <tina.zhang@intel.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>,
	intel-gfx@lists.freedesktop.org,
	Gustavo Padovan <gustavo.padovan@collabora.com>,
	Helen Koike <helen.koike@collabora.com>,
	Enric Balletbo i Serra <enric.balletbo@collabora.com>,
	kalyan.kondapally@intel.com, intel-gvt-dev@lists.freedesktop.org
Subject: [RFC PATCH 4/7] drm/i915: Extend async plane update to other planes
Date: Mon,  3 Dec 2018 15:35:19 +0800	[thread overview]
Message-ID: <1543822522-3413-5-git-send-email-tina.zhang@intel.com> (raw)
In-Reply-To: <1543822522-3413-1-git-send-email-tina.zhang@intel.com>

Extend async plane update idea to more planes.

Signed-off-by: Tina Zhang <tina.zhang@intel.com>
Cc: Gustavo Padovan <gustavo.padovan@collabora.com>
Cc: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Cc: Helen Koike <helen.koike@collabora.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
---
 drivers/gpu/drm/i915/intel_atomic_plane.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/gpu/drm/i915/intel_atomic_plane.c b/drivers/gpu/drm/i915/intel_atomic_plane.c
index dddd3a7..b4c37ee 100644
--- a/drivers/gpu/drm/i915/intel_atomic_plane.c
+++ b/drivers/gpu/drm/i915/intel_atomic_plane.c
@@ -222,9 +222,6 @@ static int intel_plane_atomic_async_check(struct drm_plane *plane,
 {
 	struct drm_crtc_state *crtc_state;
 
-	if (plane->type != DRM_PLANE_TYPE_CURSOR)
-		return -EINVAL;
-
 	crtc_state = drm_atomic_get_existing_crtc_state(state->state,
 							state->crtc);
 	if (WARN_ON(!crtc_state))
-- 
2.7.4

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

  parent reply	other threads:[~2018-12-03  7:35 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-03  7:35 [RFC PATCH 0/7] drm/i915/gvt: Enable vGPU local display direct flip Tina Zhang
2018-12-03  7:35 ` [RFC PATCH 1/7] drm/i915: Introduce meta framebuffer Tina Zhang
2018-12-03  7:35 ` [RFC PATCH 2/7] drm/i915/gvt: Use meta fbs to stand for vGPU's planes Tina Zhang
2018-12-03  8:21   ` Zhenyu Wang
2018-12-03  8:35     ` Zhenyu Wang
2018-12-03  8:58       ` Zhang, Tina
2018-12-03  8:53     ` Zhang, Tina
2018-12-03  8:55     ` Zhang, Tina
2018-12-03  7:35 ` [RFC PATCH 3/7] drm/i915: Introduce async plane update to i915 Tina Zhang
2018-12-03  7:35 ` Tina Zhang [this message]
2018-12-03  7:35 ` [RFC PATCH 5/7] drm/i915/gvt: Introduce vGPU plane page flip framework Tina Zhang
2018-12-03  7:35 ` [RFC PATCH 6/7] drm/i915/gvt: Enable guest direct page flip Tina Zhang
2018-12-03  7:35 ` [RFC PATCH 7/7] drm/i915/gvt: Introduce HW Vblank interrupt to vGPU Tina Zhang
2018-12-03  7:53 ` ✗ Fi.CI.BAT: failure for drm/i915/gvt: Enable vGPU local display direct flip Patchwork

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=1543822522-3413-5-git-send-email-tina.zhang@intel.com \
    --to=tina.zhang@intel.com \
    --cc=daniel.vetter@ffwll.ch \
    --cc=enric.balletbo@collabora.com \
    --cc=gustavo.padovan@collabora.com \
    --cc=helen.koike@collabora.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=intel-gvt-dev@lists.freedesktop.org \
    --cc=kalyan.kondapally@intel.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox