drm/gma500: Rename psb_intel_crtc to gma_crtc
Subsystems (3)
Patrik Jakobsson
maintainerPATCH 1/3 drm/gma500: Rename psb_intel_crtc to gma_crtc
The psb_intel_crtc is generic and should be named appropriately
Signed-off-by Patrik Jakobsson <[email protected]>
--- drivers/gpu/drm/gma500/cdv_intel_crt.c | 7 +- drivers/gpu/drm/gma500/cdv_intel_display.c | 28 +++---- drivers/gpu/drm/gma500/cdv_intel_dp.c | 10 +-- drivers/gpu/drm/gma500/cdv_intel_hdmi.c | 6 +- drivers/gpu/drm/gma500/cdv_intel_lvds.c | 8 +- drivers/gpu/drm/gma500/framebuffer.c | 16 ++-- drivers/gpu/drm/gma500/gma_display.c | 105 +++++++++++++-------------- drivers/gpu/drm/gma500/mdfld_dsi_output.c | 15 ++-- drivers/gpu/drm/gma500/mdfld_intel_display.c | 16 ++-- drivers/gpu/drm/gma500/oaktrail_crtc.c | 16 ++-- drivers/gpu/drm/gma500/psb_drv.c | 6 +- drivers/gpu/drm/gma500/psb_intel_display.c | 98 ++++++++++++------------- drivers/gpu/drm/gma500/psb_intel_drv.h | 6 +- drivers/gpu/drm/gma500/psb_intel_lvds.c | 10 +-- drivers/gpu/drm/gma500/psb_intel_sdvo.c | 4 +- 15 files changed, 170 insertions(+), 181 deletions(-)
drivers/gpu/drm/gma500/cdv_intel_crt.c +3 -4
@@ -95,13 +95,12 @@ static void cdv_intel_crt_mode_set(struct drm_encoder *encoder,struct drm_device *dev = encoder->dev;struct drm_crtc *crtc = encoder->crtc; -struct psb_intel_crtc *psb_intel_crtc = -to_psb_intel_crtc (crtc); +struct gma_crtc *gma_crtc =to_gma_crtc (crtc);int dpll_md_reg;u32 adpa, dpll_md;u32 adpa_reg; -if (psb_intel_crtc->pipe ==0 ) +if (gma_crtc->pipe ==0 ) dpll_md_reg =DPLL_A_MD ;else dpll_md_reg =DPLL_B_MD ;
@@ -124,7 +123,7 @@ static void cdv_intel_crt_mode_set(struct drm_encoder *encoder,if (adjusted_mode->flags &DRM_MODE_FLAG_PVSYNC ) adpa |=ADPA_VSYNC_ACTIVE_HIGH ; -if (psb_intel_crtc->pipe ==0 ) +if (gma_crtc->pipe ==0 ) adpa |=ADPA_PIPE_A_SELECT ;else adpa |=ADPA_PIPE_B_SELECT ;
drivers/gpu/drm/gma500/cdv_intel_display.c +14 -14
@@ -222,8 +222,8 @@ static int cdv_dpll_set_clock_cdv(struct drm_device *dev, struct drm_crtc *crtc, struct gma_clock_t *clock, bool is_lvds, u32 ddi_select) { - struct psb_intel_crtc *psb_crtc = to_psb_intel_crtc(crtc); -int pipe = psb_crtc->pipe; + struct gma_crtc *gma_crtc = to_gma_crtc(crtc); +int pipe = gma_crtc->pipe;u32 m, n_vco, p;int ret =0 ;int dpll_reg = (pipe ==0 ) ?DPLL_A :DPLL_B ;
@@ -458,12 +458,12 @@ static bool cdv_intel_pipe_enabled(struct drm_device *dev, int pipe) {struct drm_crtc *crtc;struct drm_psb_private *dev_priv = dev->dev_private; -struct psb_intel_crtc *psb_intel_crtc =NULL ; +struct gma_crtc *gma_crtc =NULL ; crtc = dev_priv->pipe_to_crtc_mapping[pipe]; - psb_intel_crtc =to_psb_intel_crtc (crtc); + gma_crtc =to_gma_crtc (crtc); -if (crtc->fb ==NULL || !psb_intel_crtc->active) +if (crtc->fb ==NULL || !gma_crtc->active)return false;return true; }
@@ -489,11 +489,11 @@ static bool cdv_intel_single_pipe_active (struct drm_device *dev)static bool is_pipeb_lvds (struct drm_device *dev,struct drm_crtc *crtc) { -struct psb_intel_crtc *psb_intel_crtc =to_psb_intel_crtc (crtc); +struct gma_crtc *gma_crtc =to_gma_crtc (crtc);struct drm_mode_config *mode_config = &dev->mode_config;struct drm_connector *connector; -if (psb_intel_crtc->pipe !=1 ) +if (gma_crtc->pipe !=1 )return false;list_for_each_entry (connector, &mode_config->connector_list, head) {
@@ -616,8 +616,8 @@ static int cdv_intel_crtc_mode_set(struct drm_crtc *crtc, {struct drm_device *dev = crtc->dev;struct drm_psb_private *dev_priv = dev->dev_private; -struct psb_intel_crtc *psb_intel_crtc =to_psb_intel_crtc (crtc); -int pipe = psb_intel_crtc->pipe; +struct gma_crtc *gma_crtc =to_gma_crtc (crtc); +int pipe = gma_crtc->pipe;const struct psb_offset *map = &dev_priv->regmap[pipe];int refclk;struct gma_clock_t clock;
@@ -693,7 +693,7 @@ static int cdv_intel_crtc_mode_set(struct drm_crtc *crtc,drm_mode_debug_printmodeline (adjusted_mode); - limit = psb_intel_crtc->clock_funcs->limit (crtc, refclk); + limit = gma_crtc->clock_funcs->limit (crtc, refclk); ok = limit->find_pll (limit, crtc, adjusted_mode->clock, refclk, &clock);
@@ -883,8 +883,8 @@ static int cdv_intel_crtc_clock_get(struct drm_device *dev, struct drm_crtc *crtc) {struct drm_psb_private *dev_priv = dev->dev_private; -struct psb_intel_crtc *psb_intel_crtc =to_psb_intel_crtc (crtc); -int pipe = psb_intel_crtc->pipe; +struct gma_crtc *gma_crtc =to_gma_crtc (crtc); +int pipe = gma_crtc->pipe;const struct psb_offset *map = &dev_priv->regmap[pipe];u32 dpll;u32 fp;
@@ -961,8 +961,8 @@ static int cdv_intel_crtc_clock_get(struct drm_device *dev,struct drm_display_mode *cdv_intel_crtc_mode_get (struct drm_device *dev,struct drm_crtc *crtc) { -struct psb_intel_crtc *psb_intel_crtc =to_psb_intel_crtc (crtc); -int pipe = psb_intel_crtc->pipe; +struct gma_crtc *gma_crtc =to_gma_crtc (crtc); +int pipe = gma_crtc->pipe;struct drm_psb_private *dev_priv = dev->dev_private;struct psb_pipe *p = &dev_priv->regs.pipe[pipe];const struct psb_offset *map = &dev_priv->regmap[pipe];
drivers/gpu/drm/gma500/cdv_intel_dp.c +5 -5
@@ -793,10 +793,10 @@ cdv_intel_dp_set_m_n(struct drm_crtc *crtc, struct drm_display_mode *mode,struct drm_psb_private *dev_priv = dev->dev_private;struct drm_mode_config *mode_config = &dev->mode_config;struct drm_encoder *encoder; -struct psb_intel_crtc *intel_crtc =to_psb_intel_crtc (crtc); +struct gma_crtc *gma_crtc =to_gma_crtc (crtc);int lane_count =4 , bpp =24 ;struct cdv_intel_dp_m_n m_n; -int pipe = intel_crtc->pipe; +int pipe = gma_crtc->pipe;/* * Find the lane count in the intel_encoder private
@@ -844,7 +844,7 @@ cdv_intel_dp_mode_set(struct drm_encoder *encoder, struct drm_display_mode *mode {struct psb_intel_encoder *intel_encoder =to_psb_intel_encoder (encoder);struct drm_crtc *crtc = encoder->crtc; -struct psb_intel_crtc *intel_crtc =to_psb_intel_crtc (crtc); +struct gma_crtc *gma_crtc =to_gma_crtc (crtc);struct cdv_intel_dp *intel_dp = intel_encoder->dev_priv;struct drm_device *dev = encoder->dev;
@@ -886,7 +886,7 @@ cdv_intel_dp_mode_set(struct drm_encoder *encoder, struct drm_display_mode *mode }/* CPT DP's pipe select is decided in TRANS_DP_CTL */ -if (intel_crtc->pipe ==1 ) +if (gma_crtc->pipe ==1 ) intel_dp->DP |=DP_PIPEB_SELECT ;REG_WRITE (intel_dp->output_reg, (intel_dp->DP |DP_PORT_EN ));
@@ -901,7 +901,7 @@ cdv_intel_dp_mode_set(struct drm_encoder *encoder, struct drm_display_mode *modeelse pfit_control =0 ; - pfit_control |= intel_crtc->pipe <<PFIT_PIPE_SHIFT ; + pfit_control |= gma_crtc->pipe <<PFIT_PIPE_SHIFT ;REG_WRITE (PFIT_CONTROL , pfit_control); }
drivers/gpu/drm/gma500/cdv_intel_hdmi.c +3 -3
@@ -68,7 +68,7 @@ static void cdv_hdmi_mode_set(struct drm_encoder *encoder,struct mid_intel_hdmi_priv *hdmi_priv = psb_intel_encoder->dev_priv;u32 hdmib;struct drm_crtc *crtc = encoder->crtc; -struct psb_intel_crtc *intel_crtc =to_psb_intel_crtc (crtc); +struct gma_crtc *gma_crtc =to_gma_crtc (crtc); hdmib = (2 <<10 );
@@ -77,7 +77,7 @@ static void cdv_hdmi_mode_set(struct drm_encoder *encoder,if (adjusted_mode->flags &DRM_MODE_FLAG_PHSYNC ) hdmib |=HDMI_HSYNC_ACTIVE_HIGH ; -if (intel_crtc->pipe ==1 ) +if (gma_crtc->pipe ==1 ) hdmib |=HDMIB_PIPE_B_SELECT ;if (hdmi_priv->has_hdmi_audio) {
@@ -167,7 +167,7 @@ static int cdv_hdmi_set_property(struct drm_connector *connector,struct drm_encoder *encoder = connector->encoder;if (!strcmp (property->name,"scaling mode" ) && encoder) { -struct psb_intel_crtc *crtc =to_psb_intel_crtc (encoder->crtc); +struct gma_crtc *crtc =to_gma_crtc (encoder->crtc);bool centre;uint64_t curValue;
drivers/gpu/drm/gma500/cdv_intel_lvds.c +3 -5
@@ -356,8 +356,7 @@ static void cdv_intel_lvds_mode_set(struct drm_encoder *encoder, {struct drm_device *dev = encoder->dev;struct drm_psb_private *dev_priv = dev->dev_private; -struct psb_intel_crtc *psb_intel_crtc =to_psb_intel_crtc ( - encoder->crtc); +struct gma_crtc *gma_crtc =to_gma_crtc (encoder->crtc);u32 pfit_control;/*
@@ -379,7 +378,7 @@ static void cdv_intel_lvds_mode_set(struct drm_encoder *encoder,else pfit_control =0 ; - pfit_control |= psb_intel_crtc->pipe <<PFIT_PIPE_SHIFT ; + pfit_control |= gma_crtc->pipe <<PFIT_PIPE_SHIFT ;if (dev_priv->lvds_dither) pfit_control |=PANEL_8TO6_DITHER_ENABLE ;
@@ -461,8 +460,7 @@ static int cdv_intel_lvds_set_property(struct drm_connector *connector,struct drm_encoder *encoder = connector->encoder;if (!strcmp (property->name,"scaling mode" ) && encoder) { -struct psb_intel_crtc *crtc = -to_psb_intel_crtc (encoder->crtc); +struct gma_crtc *crtc =to_gma_crtc (encoder->crtc);uint64_t curValue;if (!crtc)
drivers/gpu/drm/gma500/framebuffer.c +8 -8
@@ -520,21 +520,21 @@ static struct drm_framebuffer *psb_user_framebuffer_createstatic void psbfb_gamma_set (struct drm_crtc *crtc,u16 red,u16 green,u16 blue,int regno) { -struct psb_intel_crtc *intel_crtc =to_psb_intel_crtc (crtc); +struct gma_crtc *gma_crtc =to_gma_crtc (crtc); - intel_crtc->lut_r[regno] = red >>8 ; - intel_crtc->lut_g[regno] = green >>8 ; - intel_crtc->lut_b[regno] = blue >>8 ; + gma_crtc->lut_r[regno] = red >>8 ; + gma_crtc->lut_g[regno] = green >>8 ; + gma_crtc->lut_b[regno] = blue >>8 ; }static void psbfb_gamma_get (struct drm_crtc *crtc,u16 *red,u16 *green,u16 *blue,int regno) { -struct psb_intel_crtc *intel_crtc =to_psb_intel_crtc (crtc); +struct gma_crtc *gma_crtc =to_gma_crtc (crtc); - *red = intel_crtc->lut_r[regno] <<8 ; - *green = intel_crtc->lut_g[regno] <<8 ; - *blue = intel_crtc->lut_b[regno] <<8 ; + *red = gma_crtc->lut_r[regno] <<8 ; + *green = gma_crtc->lut_g[regno] <<8 ; + *blue = gma_crtc->lut_b[regno] <<8 ; } static int psbfb_probe(struct drm_fb_helper *helper,
drivers/gpu/drm/gma500/gma_display.c +52 -53
236 lines not on this page · raw message
drivers/gpu/drm/gma500/mdfld_dsi_output.c +7 -8
@@ -249,12 +249,11 @@ static int mdfld_dsi_connector_set_property(struct drm_connector *connector,struct drm_encoder *encoder = connector->encoder;if (!strcmp (property->name,"scaling mode" ) && encoder) { -struct psb_intel_crtc *psb_crtc = -to_psb_intel_crtc (encoder->crtc); +struct gma_crtc *gma_crtc =to_gma_crtc (encoder->crtc);bool centerechange;uint64_t val; -if (!psb_crtc) +if (!gma_crtc) goto set_prop_error;switch (value) {
@@ -281,11 +280,11 @@ static int mdfld_dsi_connector_set_property(struct drm_connector *connector, centerechange = (val ==DRM_MODE_SCALE_NO_SCALE ) || (value ==DRM_MODE_SCALE_NO_SCALE ); -if (psb_crtc->saved_mode.hdisplay !=0 && - psb_crtc->saved_mode.vdisplay !=0 ) { +if (gma_crtc->saved_mode.hdisplay !=0 && + gma_crtc->saved_mode.vdisplay !=0 ) {if (centerechange) {if (!drm_crtc_helper_set_mode (encoder->crtc, - &psb_crtc->saved_mode, + &gma_crtc->saved_mode, encoder->crtc->x, encoder->crtc->y, encoder->crtc->fb))
@@ -294,8 +293,8 @@ static int mdfld_dsi_connector_set_property(struct drm_connector *connector,struct drm_encoder_helper_funcs *funcs = encoder->helper_private; funcs->mode_set (encoder, - &psb_crtc->saved_mode, - &psb_crtc->saved_adjusted_mode); + &gma_crtc->saved_mode, + &gma_crtc->saved_adjusted_mode); } } }else if (!strcmp (property->name,"backlight" ) && encoder) {
drivers/gpu/drm/gma500/mdfld_intel_display.c +8 -8
@@ -165,9 +165,9 @@ static int mdfld__intel_pipe_set_base(struct drm_crtc *crtc, int x, int y, {struct drm_device *dev = crtc->dev;struct drm_psb_private *dev_priv = dev->dev_private; -struct psb_intel_crtc *psb_intel_crtc =to_psb_intel_crtc (crtc); +struct gma_crtc *gma_crtc =to_gma_crtc (crtc);struct psb_framebuffer *psbfb =to_psb_fb (crtc->fb); -int pipe = psb_intel_crtc->pipe; +int pipe = gma_crtc->pipe;const struct psb_offset *map = &dev_priv->regmap[pipe];unsigned long start, offset;u32 dspcntr;
@@ -305,8 +305,8 @@ static void mdfld_crtc_dpms(struct drm_crtc *crtc, int mode) {struct drm_device *dev = crtc->dev;struct drm_psb_private *dev_priv = dev->dev_private; -struct psb_intel_crtc *psb_intel_crtc =to_psb_intel_crtc (crtc); -int pipe = psb_intel_crtc->pipe; +struct gma_crtc *gma_crtc =to_gma_crtc (crtc); +int pipe = gma_crtc->pipe;const struct psb_offset *map = &dev_priv->regmap[pipe];u32 pipeconf = dev_priv->pipeconf[pipe];u32 temp;
@@ -669,9 +669,9 @@ static int mdfld_crtc_mode_set(struct drm_crtc *crtc, struct drm_framebuffer *old_fb) {struct drm_device *dev = crtc->dev; -struct psb_intel_crtc *psb_intel_crtc =to_psb_intel_crtc (crtc); +struct gma_crtc *gma_crtc =to_gma_crtc (crtc);struct drm_psb_private *dev_priv = dev->dev_private; -int pipe = psb_intel_crtc->pipe; +int pipe = gma_crtc->pipe;const struct psb_offset *map = &dev_priv->regmap[pipe];int refclk =0 ; int clk_n = 0, clk_p2 = 0, clk_byte = 1, clk = 0, m_conv = 0,
@@ -730,9 +730,9 @@ static int mdfld_crtc_mode_set(struct drm_crtc *crtc,if (!gma_power_begin (dev, true))return 0 ; -memcpy (&psb_intel_crtc->saved_mode, mode, +memcpy (&gma_crtc->saved_mode, mode,sizeof (struct drm_display_mode )); -memcpy (&psb_intel_crtc->saved_adjusted_mode, adjusted_mode, +memcpy (&gma_crtc->saved_adjusted_mode, adjusted_mode,sizeof (struct drm_display_mode ));list_for_each_entry (connector, &mode_config->connector_list, head) {
drivers/gpu/drm/gma500/oaktrail_crtc.c +8 -8
@@ -163,8 +163,8 @@ static void oaktrail_crtc_dpms(struct drm_crtc *crtc, int mode) {struct drm_device *dev = crtc->dev;struct drm_psb_private *dev_priv = dev->dev_private; -struct psb_intel_crtc *psb_intel_crtc =to_psb_intel_crtc (crtc); -int pipe = psb_intel_crtc->pipe; +struct gma_crtc *gma_crtc =to_gma_crtc (crtc); +int pipe = gma_crtc->pipe;const struct psb_offset *map = &dev_priv->regmap[pipe];u32 temp;
@@ -292,9 +292,9 @@ static int oaktrail_crtc_mode_set(struct drm_crtc *crtc, struct drm_framebuffer *old_fb) {struct drm_device *dev = crtc->dev; -struct psb_intel_crtc *psb_intel_crtc =to_psb_intel_crtc (crtc); +struct gma_crtc *gma_crtc =to_gma_crtc (crtc);struct drm_psb_private *dev_priv = dev->dev_private; -int pipe = psb_intel_crtc->pipe; +int pipe = gma_crtc->pipe;const struct psb_offset *map = &dev_priv->regmap[pipe];int refclk =0 ;struct oaktrail_clock_t clock;
@@ -313,10 +313,10 @@ static int oaktrail_crtc_mode_set(struct drm_crtc *crtc,if (!gma_power_begin (dev, true))return 0 ; -memcpy (&psb_intel_crtc->saved_mode, +memcpy (&gma_crtc->saved_mode, mode,sizeof (struct drm_display_mode )); -memcpy (&psb_intel_crtc->saved_adjusted_mode, +memcpy (&gma_crtc->saved_adjusted_mode, adjusted_mode,sizeof (struct drm_display_mode ));
@@ -499,9 +499,9 @@ static int oaktrail_pipe_set_base(struct drm_crtc *crtc, {struct drm_device *dev = crtc->dev;struct drm_psb_private *dev_priv = dev->dev_private; -struct psb_intel_crtc *psb_intel_crtc =to_psb_intel_crtc (crtc); +struct gma_crtc *gma_crtc =to_gma_crtc (crtc);struct psb_framebuffer *psbfb =to_psb_fb (crtc->fb); -int pipe = psb_intel_crtc->pipe; +int pipe = gma_crtc->pipe;const struct psb_offset *map = &dev_priv->regmap[pipe];unsigned long start, offset;
drivers/gpu/drm/gma500/psb_drv.c +3 -3
@@ -441,7 +441,7 @@ static int psb_gamma_ioctl(struct drm_device *dev, void *data,struct drm_mode_object *obj;struct drm_crtc *crtc;struct drm_connector *connector; -struct psb_intel_crtc *psb_intel_crtc; +struct gma_crtc *gma_crtc;int i =0 ;int32_t obj_id;
@@ -454,10 +454,10 @@ static int psb_gamma_ioctl(struct drm_device *dev, void *data, connector =obj_to_connector (obj); crtc = connector->encoder->crtc; - psb_intel_crtc =to_psb_intel_crtc (crtc); + gma_crtc =to_gma_crtc (crtc);for (i =0 ; i <256 ; i++) - psb_intel_crtc->lut_adj[i] = lut_arg->lut[i]; + gma_crtc->lut_adj[i] = lut_arg->lut[i];gma_crtc_load_lut (crtc);
drivers/gpu/drm/gma500/psb_intel_display.c +47 -51
200 lines not on this page · raw message
drivers/gpu/drm/gma500/psb_intel_drv.h +3 -3
@@ -162,7 +162,7 @@ struct psb_intel_crtc_state {uint32_t savePalette[256 ]; }; -struct psb_intel_crtc { +struct gma_crtc {struct drm_crtc base;int pipe;int plane;
@@ -193,8 +193,8 @@ struct psb_intel_crtc {const struct gma_clock_funcs *clock_funcs; }; -#define to_psb_intel_crtc (x) \ - container_of(x, struct psb_intel_crtc, base) +#define to_gma_crtc (x) \ + container_of(x, struct gma_crtc, base)#define to_psb_intel_connector (x) \ container_of(x, struct psb_intel_connector, base)#define to_psb_intel_encoder (x) \
drivers/gpu/drm/gma500/psb_intel_lvds.c +4 -6
@@ -381,8 +381,7 @@ bool psb_intel_lvds_mode_fixup(struct drm_encoder *encoder,struct drm_device *dev = encoder->dev;struct drm_psb_private *dev_priv = dev->dev_private;struct psb_intel_mode_device *mode_dev = &dev_priv->mode_dev; -struct psb_intel_crtc *psb_intel_crtc = -to_psb_intel_crtc (encoder->crtc); +struct gma_crtc *gma_crtc =to_gma_crtc (encoder->crtc);struct drm_encoder *tmp_encoder;struct drm_display_mode *panel_fixed_mode = mode_dev->panel_fixed_mode; struct psb_intel_encoder *psb_intel_encoder =
@@ -392,11 +391,11 @@ bool psb_intel_lvds_mode_fixup(struct drm_encoder *encoder, panel_fixed_mode = mode_dev->panel_fixed_mode2;/* PSB requires the LVDS is on pipe B, MRST has only one pipe anyway */ -if (!IS_MRST (dev) && psb_intel_crtc->pipe ==0 ) { +if (!IS_MRST (dev) && gma_crtc->pipe ==0 ) {printk (KERN_ERR "Can't support LVDS on pipe A\n" );return false; } -if (IS_MRST (dev) && psb_intel_crtc->pipe !=0 ) { +if (IS_MRST (dev) && gma_crtc->pipe !=0 ) {printk (KERN_ERR "Must use PIPE A\n" );return false; }
@@ -585,8 +584,7 @@ int psb_intel_lvds_set_property(struct drm_connector *connector,return -1 ;if (!strcmp (property->name,"scaling mode" )) { -struct psb_intel_crtc *crtc = -to_psb_intel_crtc (encoder->crtc); +struct gma_crtc *crtc =to_gma_crtc (encoder->crtc);uint64_t curval;if (!crtc)
drivers/gpu/drm/gma500/psb_intel_sdvo.c +2 -2
@@ -987,7 +987,7 @@ static void psb_intel_sdvo_mode_set(struct drm_encoder *encoder, {struct drm_device *dev = encoder->dev;struct drm_crtc *crtc = encoder->crtc; -struct psb_intel_crtc *psb_intel_crtc =to_psb_intel_crtc (crtc); +struct gma_crtc *gma_crtc =to_gma_crtc (crtc);struct psb_intel_sdvo *psb_intel_sdvo =to_psb_intel_sdvo (encoder);u32 sdvox;struct psb_intel_sdvo_in_out_map in_out;
@@ -1070,7 +1070,7 @@ static void psb_intel_sdvo_mode_set(struct drm_encoder *encoder, } sdvox |= (9 <<19 ) |SDVO_BORDER_ENABLE ; -if (psb_intel_crtc->pipe ==1 ) +if (gma_crtc->pipe ==1 ) sdvox |=SDVO_PIPE_B_SELECT ;if (psb_intel_sdvo->has_hdmi_audio) sdvox |=SDVO_AUDIO_ENABLE ;
Signature · 1 line
1.8.1.2