diff options
author | Alan Cox <alan@linux.intel.com> | 2012-08-08 13:54:41 (GMT) |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-08-23 23:29:12 (GMT) |
commit | 220801bdb53ceeac01d021ac459d112acc7deb0b (patch) | |
tree | 87c64cbd330b26754922caca5c94c67082e8de0d /drivers/gpu/drm/gma500/framebuffer.c | |
parent | 8695b612943561478fd22f28f45e5692e5d078db (diff) | |
download | linux-220801bdb53ceeac01d021ac459d112acc7deb0b.tar.xz |
gma500/cdv: add the bits that don't need the new code
Based on bits from Yakui <yakui.zhao@intel.com>
We can import various little bits of code before we plumb it all
in and hopefully this way catch any regressions more easily.
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/gma500/framebuffer.c')
-rw-r--r-- | drivers/gpu/drm/gma500/framebuffer.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/gma500/framebuffer.c b/drivers/gpu/drm/gma500/framebuffer.c index 5732b57..2de6b1f 100644 --- a/drivers/gpu/drm/gma500/framebuffer.c +++ b/drivers/gpu/drm/gma500/framebuffer.c @@ -764,6 +764,10 @@ static void psb_setup_outputs(struct drm_device *dev) crtc_mask = dev_priv->ops->hdmi_mask; clone_mask = (1 << INTEL_OUTPUT_HDMI); break; + case INTEL_OUTPUT_DISPLAYPORT: + crtc_mask = (1 << 0) | (1 << 1); + clone_mask = (1 << INTEL_OUTPUT_DISPLAYPORT); + break; } encoder->possible_crtcs = crtc_mask; encoder->possible_clones = |