From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jesse Barnes Subject: Re: [RFC] drm: implement DRM_IOCTL_MODE_SETROTATION Date: Fri, 6 Jan 2012 07:26:37 -0800 Message-ID: <20120106072637.7ffdaad0@jbarnes-desktop> References: <1325780183-23690-1-git-send-email-przanoni@gmail.com> <8739btsez0.fsf@eliezer.anholt.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from oproxy5-pub.bluehost.com (oproxy5-pub.bluehost.com [67.222.38.55]) by gabe.freedesktop.org (Postfix) with SMTP id 36B2CA0ADF for ; Fri, 6 Jan 2012 07:26:41 -0800 (PST) In-Reply-To: <8739btsez0.fsf@eliezer.anholt.net> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Eric Anholt Cc: intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Paulo Zanoni List-Id: intel-gfx@lists.freedesktop.org On Thu, 05 Jan 2012 19:10:43 -0800 Eric Anholt wrote: > On Thu, 5 Jan 2012 14:16:23 -0200, przanoni@gmail.com wrote: > > From: Paulo Zanoni > > > > This ioctl is used to signal the drivers that the screen is rotated, > > not to make the drivers rotate the screen. > > - add a driver-specific "rotation_set" function > > - implement Intel's rotation_set by setting the right values to the > > PIPECONF registers. > > > > The idea is that when user-space does rotation, it can call this ioctl > > to inform the Kernel that we have a rotation. This feature is needed > > by the KVMr feature of VPro. > > So am I following this right, that these register bits are used to > communicate from one piece of software to another piece of software, > across the virtualization boundary? Right, but not for virtualization; these bits are read by the AMT engine for its built-in KVM functionality. -- Jesse Barnes, Intel Open Source Technology Center