Skip to content

Commit

Permalink
gma500: Add the HDMI bits
Browse files Browse the repository at this point in the history
This adds the basic HDMI support for Cedarview.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Alan Cox authored and Greg Kroah-Hartman committed Jul 5, 2011
1 parent 93b68b6 commit a11c3ec
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion drivers/staging/gma500/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ psb_gfx-y += gem_glue.o \
mid_bios.o

psb_gfx-$(CONFIG_DRM_PSB_CDV) += cdv_device.o \
cdv_intel_display.o \
cdv_intel_crt.o \
cdv_intel_display.o \
cdv_intel_hdmi.o \
cdv_intel_lvds.o

psb_gfx-$(CONFIG_DRM_PSB_MRST) += mrst_device.o \
Expand Down
4 changes: 2 additions & 2 deletions drivers/staging/gma500/cdv_device.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ static int cdv_output_init(struct drm_device *dev)
/* These bits indicate HDMI not SDVO on CDV, but we don't yet support
the HDMI interface */
if (REG_READ(SDVOB) & SDVO_DETECTED)
DRM_ERROR("HDMI not supported yet\n");
cdv_hdmi_init(dev, &dev_priv->mode_dev, SDVOB);
if (REG_READ(SDVOC) & SDVO_DETECTED)
DRM_ERROR("HDMI not supported yet\n");
cdv_hdmi_init(dev, &dev_priv->mode_dev, SDVOC);
return 0;
}

Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/gma500/psb_intel_drv.h
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ struct psb_intel_output {
void *dev_priv;

struct psb_intel_mode_device *mode_dev;

struct i2c_adapter *hdmi_i2c_adapter; /* for control functions */
};

struct psb_intel_crtc_state {
Expand Down

0 comments on commit a11c3ec

Please sign in to comment.