From: Jesse Barnes <jbarnes@virtuousgeek.org>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH] drm/i915: fix fastboot pfit disable hack to update pipe w/h
Date: Mon, 6 Jan 2014 15:31:23 -0800 [thread overview]
Message-ID: <20140106153123.18d8fdfe@jbarnes-desktop> (raw)
In-Reply-To: <1387478881-2357-1-git-send-email-jbarnes@virtuousgeek.org>
On Thu, 19 Dec 2013 10:48:01 -0800
Jesse Barnes <jbarnes@virtuousgeek.org> wrote:
> When fastbooting, we read out the pipe timings early on, and then in a
> panel fitted config, disable the fitter later. But we weren't updating
> the pipe src h/w, which meant the mouse cursor was clipped to the
> pfitted size rather than the native size set later. Fix that up so the
> cursor is visible in the new mode.
>
> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
> ---
> drivers/gpu/drm/i915/intel_display.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
> index 4d1357a..7e46d75 100644
> --- a/drivers/gpu/drm/i915/intel_display.c
> +++ b/drivers/gpu/drm/i915/intel_display.c
> @@ -2382,6 +2382,8 @@ intel_pipe_set_base(struct drm_crtc *crtc, int x, int y,
> I915_WRITE(PF_WIN_POS(intel_crtc->pipe), 0);
> I915_WRITE(PF_WIN_SZ(intel_crtc->pipe), 0);
> }
> + intel_crtc->config.pipe_src_w = adjusted_mode->crtc_hdisplay;
> + intel_crtc->config.pipe_src_h = adjusted_mode->crtc_vdisplay;
> }
>
> ret = dev_priv->display.update_plane(crtc, fb, x, y);
References: https://bugzilla.kernel.org/show_bug.cgi?id=67591
--
Jesse Barnes, Intel Open Source Technology Center
next prev parent reply other threads:[~2014-01-06 23:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-19 18:48 [PATCH] drm/i915: fix fastboot pfit disable hack to update pipe w/h Jesse Barnes
2014-01-06 23:31 ` Jesse Barnes [this message]
2014-01-07 7:07 ` Daniel Vetter
2014-01-07 18:51 ` Jesse Barnes
2014-01-07 18:52 ` Jesse Barnes
2014-01-07 20:08 ` Daniel Vetter
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=20140106153123.18d8fdfe@jbarnes-desktop \
--to=jbarnes@virtuousgeek.org \
--cc=intel-gfx@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox