From: "Stephane Marchesin" Subject: Re: XRandR 180 Date: Mon, 8 Oct 2007 15:57:00 +0200 Message-ID: <6a89f9d50710080657l7630415ctb9efc30b0d86ee08@mail.gmail.com> References: <816bc7510710080112x5faa57afjb9fc87b9d2a075d3@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0390833305==" Return-path: In-Reply-To: <816bc7510710080112x5faa57afjb9fc87b9d2a075d3-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: Justin Dugger Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============0390833305== Content-Type: multipart/alternative; boundary="----=_Part_35731_24526288.1191851820204" ------=_Part_35731_24526288.1191851820204 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On 10/8/07, Justin Dugger wrote: > > Hi, > > Does the current tree implement Rotate 180? I can see 0, 90 and 270, > but not 180. This feature might sound silly at first glance, but it > happens to be highly useful for my convertible tablet laptop. I've > browsed the current nv code and nouveau implementations, and it's > pretty clear that the older xrandr implementation did not do this. Is > there some secret in xrandr1.2 that I'm not seeing, or is the function > also lacking in the current tree? > > This change seems like a fairly simple 20-ish line of code patch to > support an additional rotation mode, but there's one thing I'm not > clear on: does pNV map to some register in hardware, or is it simply a > global state for the driver itself? > Hello Our plan is a bit longer term than that. We want to implement hw accelerated rotate support through randr + EXA. On the minus side, it's not a 10-line job and requires us finishing up EXA composite() hookrs properly, but on the plus side, it'll be hw accelerated. Stephane ------=_Part_35731_24526288.1191851820204 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline

On 10/8/07, Justin Dugger <jldugger-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
Hi,

Does the current tree implement Rotate 180? I can see 0, 90 and 270,
but not 180.  This feature might sound silly at first glance, but it
happens to be highly useful for my convertible tablet laptop.  I've
browsed the current nv code and nouveau implementations, and it's
pretty clear that the older xrandr implementation did not do this.  Is
there some secret in xrandr1.2 that I'm not seeing, or is the function
also lacking in the current tree?

This change seems like a fairly simple 20-ish line of code patch to
support an additional rotation mode, but there's one thing I'm not
clear on: does pNV map to some register in hardware, or is it simply a
global state for the driver itself?

Hello

Our plan is a bit longer term than that. We want to implement hw accelerated rotate support through randr + EXA. On the minus side, it's not a 10-line job and requires us finishing up EXA composite() hookrs properly, but on the plus side, it'll be hw accelerated.

Stephane

------=_Part_35731_24526288.1191851820204-- --===============0390833305== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============0390833305==--