From: Hans de Bruin <jmdebruin@xmsnet.nl>
To: Daniel Vetter <daniel@ffwll.ch>
Cc: intel-gfx <intel-gfx@lists.freedesktop.org>
Subject: Re: commit drm/i915: disable shared panel fitter for pipe breaks resolution switching
Date: Tue, 09 Apr 2013 19:51:22 +0200 [thread overview]
Message-ID: <5164551A.7050700@xmsnet.nl> (raw)
In-Reply-To: <516452EF.1050004@xmsnet.nl>
On 04/09/2013 07:42 PM, Hans de Bruin wrote:
> On 04/09/2013 06:40 PM, Daniel Vetter wrote:
>> Can you please quickly test whether the below patch changes anything
>> in the behaviour?
>>
>> diff --git a/drivers/gpu/drm/i915/intel_display.c
>> b/drivers/gpu/drm/i915/intel_display.c
>> index 8809813..974ae32 100644
>> --- a/drivers/gpu/drm/i915/intel_display.c
>> +++ b/drivers/gpu/drm/i915/intel_display.c
>> @@ -4715,7 +4715,7 @@ static int i9xx_crtc_mode_set(struct drm_crtc
>> *crtc,
>>
>> i9xx_set_pipeconf(intel_crtc);
>>
>> - intel_enable_pipe(dev_priv, pipe, false);
>> + //intel_enable_pipe(dev_priv, pipe, false);
>>
>> intel_wait_for_vblank(dev, pipe);
>>
>>
>>
>
>
> for some reason the diff did not work. Here a snippet of my modified
> intel_display.c:
>
>
> ...
> /* pipesrc and dspsize control the size that is scaled from,
> * which should always be the user's requested size.
> */
> I915_WRITE(DSPSIZE(plane),
> ((mode->vdisplay - 1) << 16) |
> (mode->hdisplay - 1));
> I915_WRITE(DSPPOS(plane), 0);
>
> I915_WRITE(PIPECONF(pipe), pipeconf);
> POSTING_READ(PIPECONF(pipe));
> //intel_enable_pipe(dev_priv, pipe, false);
>
> intel_wait_for_vblank(dev, pipe);
>
> I915_WRITE(DSPCNTR(plane), dspcntr);
> POSTING_READ(DSPCNTR(plane));
> ...
>
> The screen still does not scale.
>
>
> By the way, I have had this problem before:
> https://bugzilla.kernel.org/show_bug.cgi?id=43071
sorry my mistake that one did scale, but just was not alligned properly.
--
Hans
next prev parent reply other threads:[~2013-04-09 17:53 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <513255BC.80201@xmsnet.nl>
2013-03-03 20:10 ` commit drm/i915: disable shared panel fitter for pipe breaks resolution switching Daniel Vetter
2013-03-06 14:00 ` Daniel Vetter
2013-03-06 15:32 ` Mika Kuoppala
2013-03-06 21:20 ` Hans de Bruin
2013-03-06 18:39 ` Hans de Bruin
2013-03-06 22:37 ` Daniel Vetter
2013-03-07 19:12 ` Hans de Bruin
2013-03-10 17:02 ` Hans de Bruin
2013-04-07 18:56 ` Daniel Vetter
2013-04-08 17:38 ` Hans de Bruin
2013-04-09 16:40 ` Daniel Vetter
2013-04-09 17:42 ` Hans de Bruin
2013-04-09 17:51 ` Hans de Bruin [this message]
2013-04-09 17:59 ` Daniel Vetter
2013-04-11 14:34 ` Daniel Vetter
2013-04-11 18:02 ` Hans de Bruin
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=5164551A.7050700@xmsnet.nl \
--to=jmdebruin@xmsnet.nl \
--cc=daniel@ffwll.ch \
--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 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.