[Intel-gfx] [stable] [PATCH 2/4] drm/i915: Enable panel fitting for eDP
Greg KH
greg at kroah.com
Fri Aug 6 17:56:31 CEST 2010
On Thu, Jul 29, 2010 at 10:58:53AM +1000, Dave Airlie wrote:
> did this patch go anywhere?
It's now upstream in Linus's tree.
thanks,
greg k-h
> On Mon, Jul 19, 2010 at 6:43 PM, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> > From: Zhao Yakui <yakui.zhao at intel.com>
> >
> > When trying to set other display mode besides the fixed panel mode, the
> > panel fitting should be enabled. This is similar to LVDS.
> >
> > Signed-off-by: Zhao Yakui <yakui.zhao at intel.com>
> > Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
> > Cc: stable at kernel.org
> > ---
> > drivers/gpu/drm/i915/intel_display.c | 3 ++-
> > 1 files changed, 2 insertions(+), 1 deletions(-)
> >
> > diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
> > index 8359c50..77ae44e 100644
> > --- a/drivers/gpu/drm/i915/intel_display.c
> > +++ b/drivers/gpu/drm/i915/intel_display.c
> > @@ -1888,7 +1888,8 @@ static void ironlake_crtc_dpms(struct drm_crtc *crtc, int mode)
> > }
> >
> > /* Enable panel fitting for LVDS */
> > - if (intel_pipe_has_type(crtc, INTEL_OUTPUT_LVDS)) {
> > + if (intel_pipe_has_type(crtc, INTEL_OUTPUT_LVDS)
> > + || HAS_eDP || intel_pch_has_edp(crtc)) {
> > temp = I915_READ(pf_ctl_reg);
> > I915_WRITE(pf_ctl_reg, temp | PF_ENABLE | PF_FILTER_MED_3x3);
> >
> > --
> > 1.7.1
> >
> > _______________________________________________
> > Intel-gfx mailing list
> > Intel-gfx at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/intel-gfx
> >
>
> _______________________________________________
> stable mailing list
> stable at linux.kernel.org
> http://linux.kernel.org/mailman/listinfo/stable
More information about the Intel-gfx
mailing list