[Intel-gfx] commit drm/i915: disable shared panel fitter for pipe breaks resolution switching

Daniel Vetter daniel at ffwll.ch
Tue Apr 9 19:59:02 CEST 2013


On Tue, Apr 9, 2013 at 7:51 PM, Hans de Bruin <jmdebruin at xmsnet.nl> wrote:
>>          /* 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.

Now I'm confused, please clarify: Did the patch help a bit? Can you
pls describe more precisely what "not aligned properly" means? Have
you checked whether changing the scaling mode xrandr property helps?
-Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch



More information about the Intel-gfx mailing list