diff options
author | Alan Cox <alan@linux.intel.com> | 2012-08-08 15:54:41 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-08-24 01:29:12 +0200 |
commit | 220801bdb53ceeac01d021ac459d112acc7deb0b (patch) | |
tree | 87c64cbd330b26754922caca5c94c67082e8de0d /drivers/gpu/drm/gma500/framebuffer.c | |
parent | gma500: Add the support of display port on CDV (diff) | |
download | linux-220801bdb53ceeac01d021ac459d112acc7deb0b.tar.xz linux-220801bdb53ceeac01d021ac459d112acc7deb0b.zip |
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 5732b5702e1c..2de6b1fcc135 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 = |