All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Hellstrom <thellstrom@vmware.com>
To: dri-devel@lists.freedesktop.org
Cc: Thomas Hellstrom <thellstrom@vmware.com>
Subject: [PATCH 10/14] drm/vmwgfx: Default to explicit crtc placement for screen targets and screen objects
Date: Tue, 15 Mar 2016 08:30:00 +0100	[thread overview]
Message-ID: <1458027004-3180-10-git-send-email-thellstrom@vmware.com> (raw)
In-Reply-To: <1458027004-3180-1-git-send-email-thellstrom@vmware.com>

Enables using multiple framebuffers. For legacy display units,
explicit crtc placement is not supported due to hardware limitations.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
---
 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c | 2 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c b/drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c
index 8a3d3c9..0ea22fd 100644
--- a/drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c
+++ b/drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c
@@ -516,7 +516,7 @@ static int vmw_sou_init(struct vmw_private *dev_priv, unsigned unit)
 	sou->base.pref_width = dev_priv->initial_width;
 	sou->base.pref_height = dev_priv->initial_height;
 	sou->base.pref_mode = NULL;
-	sou->base.is_implicit = true;
+	sou->base.is_implicit = false;
 
 	drm_connector_init(dev, connector, &vmw_sou_connector_funcs,
 			   DRM_MODE_CONNECTOR_VIRTUAL);
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c b/drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c
index fe42a2c..b949102 100644
--- a/drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c
+++ b/drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c
@@ -1109,7 +1109,7 @@ static int vmw_stdu_init(struct vmw_private *dev_priv, unsigned unit)
 	stdu->base.pref_active = (unit == 0);
 	stdu->base.pref_width  = dev_priv->initial_width;
 	stdu->base.pref_height = dev_priv->initial_height;
-	stdu->base.is_implicit = true;
+	stdu->base.is_implicit = false;
 
 	drm_connector_init(dev, connector, &vmw_stdu_connector_funcs,
 			   DRM_MODE_CONNECTOR_VIRTUAL);
-- 
2.5.0


_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

  parent reply	other threads:[~2016-03-15  7:51 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-15  7:29 [PATCH 01/14] drm/vmwgfx: Add DXGenMips support Thomas Hellstrom
2016-03-15  7:29 ` [PATCH 02/14] drm/vmwgfx: Fix a screen object framebuffer dirty corner case Thomas Hellstrom
2016-03-15  7:29 ` [PATCH 03/14] drm/vmwgfx: Fix screen object page flips for large framebuffers Thomas Hellstrom
2016-03-15  7:29 ` [PATCH 04/14] drm/vmwgfx: Rework screen target page flips v2 Thomas Hellstrom
2016-03-15  7:29 ` [PATCH 05/14] drm/vmwgfx: Break out implicit fb code Thomas Hellstrom
2016-03-15  7:29 ` [PATCH 06/14] drm/vmwgfx: Add implicit framebuffer checks to the screen target code Thomas Hellstrom
2016-03-15  7:29 ` [PATCH 07/14] drm/vmwgfx: Add suggested screen x and y connector properties Thomas Hellstrom
2016-03-15  7:29 ` [PATCH 08/14] drm/vmwgfx: Add connector properties to switch between explicit and implicit placement Thomas Hellstrom
2016-03-15  7:29 ` [PATCH 09/14] drm/vmwgfx: Calculate the cursor position based on the crtc gui origin Thomas Hellstrom
2016-03-15  7:30 ` Thomas Hellstrom [this message]
2016-03-15  7:30 ` [PATCH 11/14] drm/vmwgfx: Send a hotplug event at master_set Thomas Hellstrom
2016-03-15  7:30 ` [PATCH 12/14] drm/vmwgfx: Allow the UPDATE_LAYOUT ioctl from control nodes Thomas Hellstrom
2016-03-15  7:30 ` [PATCH 13/14] drm: Adjust the maximum value of suggested [X|Y] properties Thomas Hellstrom
2016-03-15  8:14   ` Daniel Vetter
2016-03-15  8:32     ` Thomas Hellstrom
2016-03-15  9:23       ` Daniel Vetter
2016-03-15  9:25         ` Daniel Vetter
2016-03-15  9:26         ` Thomas Hellstrom
2016-03-15  7:30 ` [PATCH 14/14] drm/vmwgfx: Bump driver minor Thomas Hellstrom

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=1458027004-3180-10-git-send-email-thellstrom@vmware.com \
    --to=thellstrom@vmware.com \
    --cc=dri-devel@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.