From: Chris Wilson <chris@chris-wilson.co.uk>
To: Paulo Zanoni <przanoni@gmail.com>, dri-devel@lists.freedesktop.org
Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
Subject: Re: [PATCH RFC xf86-video-intel 1/2] Update the rotation property whenever we change the rotation.
Date: Thu, 29 Mar 2012 23:16:23 +0100 [thread overview]
Message-ID: <1333059400_147753@CP5-2952> (raw)
In-Reply-To: <1333056620-3548-1-git-send-email-przanoni@gmail.com>
On Thu, 29 Mar 2012 18:30:19 -0300, Paulo Zanoni <przanoni@gmail.com> wrote:
> From: Paulo Zanoni <paulo.r.zanoni@intel.com>
>
> Don't worry if that fails: only the KVMr feature will be affected.
>
> We still need to change the sna/ code.
> We also need to add the dependency on libdrm.
>
> Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
> ---
> src/intel.h | 3 ++
> src/intel_display.c | 80 +++++++++++++++++++++++++++++++++++++++++++++++++++
> src/intel_driver.c | 2 +
> 3 files changed, 85 insertions(+), 0 deletions(-)
>
> This is just an RFC. Read comment from Kernel patch 0007.
>
> diff --git a/src/intel.h b/src/intel.h
> index f806aea..29df531 100644
> --- a/src/intel.h
> +++ b/src/intel.h
> @@ -644,4 +644,7 @@ static inline Bool intel_pixmap_is_offscreen(PixmapPtr pixmap)
> return priv && priv->offscreen;
> }
>
> +/* intel_display.c */
> +void intel_crtc_leave_vt(ScrnInfoPtr scrn);
This is the only minor issue I have with this patch (other than its
influx natiure ;). I would rather call this intel_mode_leave_vt() to
be consistent with the other callouts from intel_driver.c
Also consider whether we need to manually restore the rotation parameter
upon CloseScreen (shutdown). However, I strongly doubt that we should be
the ones to be restoring the rotation parameter, as it should be whoever
then assumes control of the vt establishes the mode to its liking. This
also covers the case of abnormal program termination and panics.
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
prev parent reply other threads:[~2012-03-29 22:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-29 21:30 [PATCH RFC xf86-video-intel 1/2] Update the rotation property whenever we change the rotation Paulo Zanoni
2012-03-29 21:30 ` [PATCH RFC xf86-video-intel 2/2] Add underscan properties Paulo Zanoni
2012-03-29 22:19 ` Chris Wilson
2012-03-30 11:32 ` Ville Syrjälä
2012-03-29 22:16 ` Chris Wilson [this message]
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=1333059400_147753@CP5-2952 \
--to=chris@chris-wilson.co.uk \
--cc=dri-devel@lists.freedesktop.org \
--cc=paulo.r.zanoni@intel.com \
--cc=przanoni@gmail.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 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.