aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/gma500
diff options
context:
space:
mode:
authorRob Clark <rob@ti.com>2012-10-11 21:38:23 -0400
committerRob Clark <robdclark@gmail.com>2012-11-30 11:20:11 -0500
commita69ac9ea85d87b57166a1c017c5019447b854a68 (patch)
tree6b13272c8140e08f4f1178b3f4307c5c074ce708 /drivers/gpu/drm/gma500
parent7136470d4b37b46565b29b8b9425a8361421483b (diff)
drm/gma500: drm_connector_property -> drm_object_property
Signed-off-by: Rob Clark <rob@ti.com>
Diffstat (limited to 'drivers/gpu/drm/gma500')
-rw-r--r--drivers/gpu/drm/gma500/cdv_device.c4
-rw-r--r--drivers/gpu/drm/gma500/cdv_intel_dp.c2
-rw-r--r--drivers/gpu/drm/gma500/cdv_intel_hdmi.c6
-rw-r--r--drivers/gpu/drm/gma500/cdv_intel_lvds.c10
-rw-r--r--drivers/gpu/drm/gma500/mdfld_dsi_output.c10
-rw-r--r--drivers/gpu/drm/gma500/mdfld_intel_display.c2
-rw-r--r--drivers/gpu/drm/gma500/oaktrail_crtc.c2
-rw-r--r--drivers/gpu/drm/gma500/oaktrail_lvds.c8
-rw-r--r--drivers/gpu/drm/gma500/psb_intel_lvds.c10
-rw-r--r--drivers/gpu/drm/gma500/psb_intel_sdvo.c24
10 files changed, 39 insertions, 39 deletions
diff --git a/drivers/gpu/drm/gma500/cdv_device.c b/drivers/gpu/drm/gma500/cdv_device.c
index 1ceca3d13b6..23e14e93991 100644
--- a/drivers/gpu/drm/gma500/cdv_device.c
+++ b/drivers/gpu/drm/gma500/cdv_device.c
@@ -523,7 +523,7 @@ void cdv_intel_attach_force_audio_property(struct drm_connector *connector)
523 523
524 dev_priv->force_audio_property = prop; 524 dev_priv->force_audio_property = prop;
525 } 525 }
526 drm_connector_attach_property(connector, prop, 0); 526 drm_object_attach_property(&connector->base, prop, 0);
527} 527}
528 528
529 529
@@ -553,7 +553,7 @@ void cdv_intel_attach_broadcast_rgb_property(struct drm_connector *connector)
553 dev_priv->broadcast_rgb_property = prop; 553 dev_priv->broadcast_rgb_property = prop;
554 } 554 }
555 555
556 drm_connector_attach_property(connector, prop, 0); 556 drm_object_attach_property(&connector->base, prop, 0);
557} 557}
558 558
559/* Cedarview */ 559/* Cedarview */
diff --git a/drivers/gpu/drm/gma500/cdv_intel_dp.c b/drivers/gpu/drm/gma500/cdv_intel_dp.c
index e3a3978cf32..51044cc55cf 100644
--- a/drivers/gpu/drm/gma500/cdv_intel_dp.c
+++ b/drivers/gpu/drm/gma500/cdv_intel_dp.c
@@ -1650,7 +1650,7 @@ cdv_intel_dp_set_property(struct drm_connector *connector,
1650 struct cdv_intel_dp *intel_dp = encoder->dev_priv; 1650 struct cdv_intel_dp *intel_dp = encoder->dev_priv;
1651 int ret; 1651 int ret;
1652 1652
1653 ret = drm_connector_property_set_value(connector, property, val); 1653 ret = drm_object_property_set_value(&connector->base, property, val);
1654 if (ret) 1654 if (ret)
1655 return ret; 1655 return ret;
1656 1656
diff --git a/drivers/gpu/drm/gma500/cdv_intel_hdmi.c b/drivers/gpu/drm/gma500/cdv_intel_hdmi.c
index 7272a461edf..e223b500022 100644
--- a/drivers/gpu/drm/gma500/cdv_intel_hdmi.c
+++ b/drivers/gpu/drm/gma500/cdv_intel_hdmi.c
@@ -185,14 +185,14 @@ static int cdv_hdmi_set_property(struct drm_connector *connector,
185 return -1; 185 return -1;
186 } 186 }
187 187
188 if (drm_connector_property_get_value(connector, 188 if (drm_object_property_get_value(&connector->base,
189 property, &curValue)) 189 property, &curValue))
190 return -1; 190 return -1;
191 191
192 if (curValue == value) 192 if (curValue == value)
193 return 0; 193 return 0;
194 194
195 if (drm_connector_property_set_value(connector, 195 if (drm_object_property_set_value(&connector->base,
196 property, value)) 196 property, value))
197 return -1; 197 return -1;
198 198
@@ -341,7 +341,7 @@ void cdv_hdmi_init(struct drm_device *dev,
341 connector->interlace_allowed = false; 341 connector->interlace_allowed = false;
342 connector->doublescan_allowed = false; 342 connector->doublescan_allowed = false;
343 343
344 drm_connector_attach_property(connector, 344 drm_object_attach_property(&connector->base,
345 dev->mode_config.scaling_mode_property, 345 dev->mode_config.scaling_mode_property,
346 DRM_MODE_SCALE_FULLSCREEN); 346 DRM_MODE_SCALE_FULLSCREEN);
347 347
diff --git a/drivers/gpu/drm/gma500/cdv_intel_lvds.c b/drivers/gpu/drm/gma500/cdv_intel_lvds.c
index b362dd39bf5..d81dbc3368f 100644
--- a/drivers/gpu/drm/gma500/cdv_intel_lvds.c
+++ b/drivers/gpu/drm/gma500/cdv_intel_lvds.c
@@ -479,7 +479,7 @@ static int cdv_intel_lvds_set_property(struct drm_connector *connector,
479 return -1; 479 return -1;
480 } 480 }
481 481
482 if (drm_connector_property_get_value(connector, 482 if (drm_object_property_get_value(&connector->base,
483 property, 483 property,
484 &curValue)) 484 &curValue))
485 return -1; 485 return -1;
@@ -487,7 +487,7 @@ static int cdv_intel_lvds_set_property(struct drm_connector *connector,
487 if (curValue == value) 487 if (curValue == value)
488 return 0; 488 return 0;
489 489
490 if (drm_connector_property_set_value(connector, 490 if (drm_object_property_set_value(&connector->base,
491 property, 491 property,
492 value)) 492 value))
493 return -1; 493 return -1;
@@ -502,7 +502,7 @@ static int cdv_intel_lvds_set_property(struct drm_connector *connector,
502 return -1; 502 return -1;
503 } 503 }
504 } else if (!strcmp(property->name, "backlight") && encoder) { 504 } else if (!strcmp(property->name, "backlight") && encoder) {
505 if (drm_connector_property_set_value(connector, 505 if (drm_object_property_set_value(&connector->base,
506 property, 506 property,
507 value)) 507 value))
508 return -1; 508 return -1;
@@ -671,10 +671,10 @@ void cdv_intel_lvds_init(struct drm_device *dev,
671 connector->doublescan_allowed = false; 671 connector->doublescan_allowed = false;
672 672
673 /*Attach connector properties*/ 673 /*Attach connector properties*/
674 drm_connector_attach_property(connector, 674 drm_object_attach_property(&connector->base,
675 dev->mode_config.scaling_mode_property, 675 dev->mode_config.scaling_mode_property,
676 DRM_MODE_SCALE_FULLSCREEN); 676 DRM_MODE_SCALE_FULLSCREEN);
677 drm_connector_attach_property(connector, 677 drm_object_attach_property(&connector->base,
678 dev_priv->backlight_property, 678 dev_priv->backlight_property,
679 BRIGHTNESS_MAX_LEVEL); 679 BRIGHTNESS_MAX_LEVEL);
680 680
diff --git a/drivers/gpu/drm/gma500/mdfld_dsi_output.c b/drivers/gpu/drm/gma500/mdfld_dsi_output.c
index 637dd84785e..2d4ab48f07a 100644
--- a/drivers/gpu/drm/gma500/mdfld_dsi_output.c
+++ b/drivers/gpu/drm/gma500/mdfld_dsi_output.c
@@ -265,13 +265,13 @@ static int mdfld_dsi_connector_set_property(struct drm_connector *connector,
265 goto set_prop_error; 265 goto set_prop_error;
266 } 266 }
267 267
268 if (drm_connector_property_get_value(connector, property, &val)) 268 if (drm_object_property_get_value(&connector->base, property, &val))
269 goto set_prop_error; 269 goto set_prop_error;
270 270
271 if (val == value) 271 if (val == value)
272 goto set_prop_done; 272 goto set_prop_done;
273 273
274 if (drm_connector_property_set_value(connector, 274 if (drm_object_property_set_value(&connector->base,
275 property, value)) 275 property, value))
276 goto set_prop_error; 276 goto set_prop_error;
277 277
@@ -296,7 +296,7 @@ static int mdfld_dsi_connector_set_property(struct drm_connector *connector,
296 } 296 }
297 } 297 }
298 } else if (!strcmp(property->name, "backlight") && encoder) { 298 } else if (!strcmp(property->name, "backlight") && encoder) {
299 if (drm_connector_property_set_value(connector, property, 299 if (drm_object_property_set_value(&connector->base, property,
300 value)) 300 value))
301 goto set_prop_error; 301 goto set_prop_error;
302 else 302 else
@@ -572,10 +572,10 @@ void mdfld_dsi_output_init(struct drm_device *dev,
572 connector->doublescan_allowed = false; 572 connector->doublescan_allowed = false;
573 573
574 /*attach properties*/ 574 /*attach properties*/
575 drm_connector_attach_property(connector, 575 drm_object_attach_property(&connector->base,
576 dev->mode_config.scaling_mode_property, 576 dev->mode_config.scaling_mode_property,
577 DRM_MODE_SCALE_FULLSCREEN); 577 DRM_MODE_SCALE_FULLSCREEN);
578 drm_connector_attach_property(connector, 578 drm_object_attach_property(&connector->base,
579 dev_priv->backlight_property, 579 dev_priv->backlight_property,
580 MDFLD_DSI_BRIGHTNESS_MAX_LEVEL); 580 MDFLD_DSI_BRIGHTNESS_MAX_LEVEL);
581 581
diff --git a/drivers/gpu/drm/gma500/mdfld_intel_display.c b/drivers/gpu/drm/gma500/mdfld_intel_display.c
index dec6a9aea3c..74485dc4394 100644
--- a/drivers/gpu/drm/gma500/mdfld_intel_display.c
+++ b/drivers/gpu/drm/gma500/mdfld_intel_display.c
@@ -820,7 +820,7 @@ static int mdfld_crtc_mode_set(struct drm_crtc *crtc,
820 REG_WRITE(map->pos, 0); 820 REG_WRITE(map->pos, 0);
821 821
822 if (psb_intel_encoder) 822 if (psb_intel_encoder)
823 drm_connector_property_get_value(connector, 823 drm_object_property_get_value(&connector->base,
824 dev->mode_config.scaling_mode_property, &scalingType); 824 dev->mode_config.scaling_mode_property, &scalingType);
825 825
826 if (scalingType == DRM_MODE_SCALE_NO_SCALE) { 826 if (scalingType == DRM_MODE_SCALE_NO_SCALE) {
diff --git a/drivers/gpu/drm/gma500/oaktrail_crtc.c b/drivers/gpu/drm/gma500/oaktrail_crtc.c
index 4ec2962f763..3071526bc3c 100644
--- a/drivers/gpu/drm/gma500/oaktrail_crtc.c
+++ b/drivers/gpu/drm/gma500/oaktrail_crtc.c
@@ -351,7 +351,7 @@ static int oaktrail_crtc_mode_set(struct drm_crtc *crtc,
351 (mode->crtc_vdisplay - 1)); 351 (mode->crtc_vdisplay - 1));
352 352
353 if (psb_intel_encoder) 353 if (psb_intel_encoder)
354 drm_connector_property_get_value(connector, 354 drm_object_property_get_value(&connector->base,
355 dev->mode_config.scaling_mode_property, &scalingType); 355 dev->mode_config.scaling_mode_property, &scalingType);
356 356
357 if (scalingType == DRM_MODE_SCALE_NO_SCALE) { 357 if (scalingType == DRM_MODE_SCALE_NO_SCALE) {
diff --git a/drivers/gpu/drm/gma500/oaktrail_lvds.c b/drivers/gpu/drm/gma500/oaktrail_lvds.c
index 558c77fb55e..325013a9c48 100644
--- a/drivers/gpu/drm/gma500/oaktrail_lvds.c
+++ b/drivers/gpu/drm/gma500/oaktrail_lvds.c
@@ -133,8 +133,8 @@ static void oaktrail_lvds_mode_set(struct drm_encoder *encoder,
133 return; 133 return;
134 } 134 }
135 135
136 drm_connector_property_get_value( 136 drm_object_property_get_value(
137 connector, 137 &connector->base,
138 dev->mode_config.scaling_mode_property, 138 dev->mode_config.scaling_mode_property,
139 &v); 139 &v);
140 140
@@ -363,10 +363,10 @@ void oaktrail_lvds_init(struct drm_device *dev,
363 connector->interlace_allowed = false; 363 connector->interlace_allowed = false;
364 connector->doublescan_allowed = false; 364 connector->doublescan_allowed = false;
365 365
366 drm_connector_attach_property(connector, 366 drm_object_attach_property(&connector->base,
367 dev->mode_config.scaling_mode_property, 367 dev->mode_config.scaling_mode_property,
368 DRM_MODE_SCALE_FULLSCREEN); 368 DRM_MODE_SCALE_FULLSCREEN);
369 drm_connector_attach_property(connector, 369 drm_object_attach_property(&connector->base,
370 dev_priv->backlight_property, 370 dev_priv->backlight_property,
371 BRIGHTNESS_MAX_LEVEL); 371 BRIGHTNESS_MAX_LEVEL);
372 372
diff --git a/drivers/gpu/drm/gma500/psb_intel_lvds.c b/drivers/gpu/drm/gma500/psb_intel_lvds.c
index 2a4c3a9e33e..9fa5fa2e619 100644
--- a/drivers/gpu/drm/gma500/psb_intel_lvds.c
+++ b/drivers/gpu/drm/gma500/psb_intel_lvds.c
@@ -603,7 +603,7 @@ int psb_intel_lvds_set_property(struct drm_connector *connector,
603 goto set_prop_error; 603 goto set_prop_error;
604 } 604 }
605 605
606 if (drm_connector_property_get_value(connector, 606 if (drm_object_property_get_value(&connector->base,
607 property, 607 property,
608 &curval)) 608 &curval))
609 goto set_prop_error; 609 goto set_prop_error;
@@ -611,7 +611,7 @@ int psb_intel_lvds_set_property(struct drm_connector *connector,
611 if (curval == value) 611 if (curval == value)
612 goto set_prop_done; 612 goto set_prop_done;
613 613
614 if (drm_connector_property_set_value(connector, 614 if (drm_object_property_set_value(&connector->base,
615 property, 615 property,
616 value)) 616 value))
617 goto set_prop_error; 617 goto set_prop_error;
@@ -626,7 +626,7 @@ int psb_intel_lvds_set_property(struct drm_connector *connector,
626 goto set_prop_error; 626 goto set_prop_error;
627 } 627 }
628 } else if (!strcmp(property->name, "backlight")) { 628 } else if (!strcmp(property->name, "backlight")) {
629 if (drm_connector_property_set_value(connector, 629 if (drm_object_property_set_value(&connector->base,
630 property, 630 property,
631 value)) 631 value))
632 goto set_prop_error; 632 goto set_prop_error;
@@ -746,10 +746,10 @@ void psb_intel_lvds_init(struct drm_device *dev,
746 connector->doublescan_allowed = false; 746 connector->doublescan_allowed = false;
747 747
748 /*Attach connector properties*/ 748 /*Attach connector properties*/
749 drm_connector_attach_property(connector, 749 drm_object_attach_property(&connector->base,
750 dev->mode_config.scaling_mode_property, 750 dev->mode_config.scaling_mode_property,
751 DRM_MODE_SCALE_FULLSCREEN); 751 DRM_MODE_SCALE_FULLSCREEN);
752 drm_connector_attach_property(connector, 752 drm_object_attach_property(&connector->base,
753 dev_priv->backlight_property, 753 dev_priv->backlight_property,
754 BRIGHTNESS_MAX_LEVEL); 754 BRIGHTNESS_MAX_LEVEL);
755 755
diff --git a/drivers/gpu/drm/gma500/psb_intel_sdvo.c b/drivers/gpu/drm/gma500/psb_intel_sdvo.c
index fc9292705db..a4cc777ab7a 100644
--- a/drivers/gpu/drm/gma500/psb_intel_sdvo.c
+++ b/drivers/gpu/drm/gma500/psb_intel_sdvo.c
@@ -1694,7 +1694,7 @@ psb_intel_sdvo_set_property(struct drm_connector *connector,
1694 uint8_t cmd; 1694 uint8_t cmd;
1695 int ret; 1695 int ret;
1696 1696
1697 ret = drm_connector_property_set_value(connector, property, val); 1697 ret = drm_object_property_set_value(&connector->base, property, val);
1698 if (ret) 1698 if (ret)
1699 return ret; 1699 return ret;
1700 1700
@@ -1749,7 +1749,7 @@ psb_intel_sdvo_set_property(struct drm_connector *connector,
1749 } else if (IS_TV_OR_LVDS(psb_intel_sdvo_connector)) { 1749 } else if (IS_TV_OR_LVDS(psb_intel_sdvo_connector)) {
1750 temp_value = val; 1750 temp_value = val;
1751 if (psb_intel_sdvo_connector->left == property) { 1751 if (psb_intel_sdvo_connector->left == property) {
1752 drm_connector_property_set_value(connector, 1752 drm_object_property_set_value(&connector->base,
1753 psb_intel_sdvo_connector->right, val); 1753 psb_intel_sdvo_connector->right, val);
1754 if (psb_intel_sdvo_connector->left_margin == temp_value) 1754 if (psb_intel_sdvo_connector->left_margin == temp_value)
1755 return 0; 1755 return 0;
@@ -1761,7 +1761,7 @@ psb_intel_sdvo_set_property(struct drm_connector *connector,
1761 cmd = SDVO_CMD_SET_OVERSCAN_H; 1761 cmd = SDVO_CMD_SET_OVERSCAN_H;
1762 goto set_value; 1762 goto set_value;
1763 } else if (psb_intel_sdvo_connector->right == property) { 1763 } else if (psb_intel_sdvo_connector->right == property) {
1764 drm_connector_property_set_value(connector, 1764 drm_object_property_set_value(&connector->base,
1765 psb_intel_sdvo_connector->left, val); 1765 psb_intel_sdvo_connector->left, val);
1766 if (psb_intel_sdvo_connector->right_margin == temp_value) 1766 if (psb_intel_sdvo_connector->right_margin == temp_value)
1767 return 0; 1767 return 0;
@@ -1773,7 +1773,7 @@ psb_intel_sdvo_set_property(struct drm_connector *connector,
1773 cmd = SDVO_CMD_SET_OVERSCAN_H; 1773 cmd = SDVO_CMD_SET_OVERSCAN_H;
1774 goto set_value; 1774 goto set_value;
1775 } else if (psb_intel_sdvo_connector->top == property) { 1775 } else if (psb_intel_sdvo_connector->top == property) {
1776 drm_connector_property_set_value(connector, 1776 drm_object_property_set_value(&connector->base,
1777 psb_intel_sdvo_connector->bottom, val); 1777 psb_intel_sdvo_connector->bottom, val);
1778 if (psb_intel_sdvo_connector->top_margin == temp_value) 1778 if (psb_intel_sdvo_connector->top_margin == temp_value)
1779 return 0; 1779 return 0;
@@ -1785,7 +1785,7 @@ psb_intel_sdvo_set_property(struct drm_connector *connector,
1785 cmd = SDVO_CMD_SET_OVERSCAN_V; 1785 cmd = SDVO_CMD_SET_OVERSCAN_V;
1786 goto set_value; 1786 goto set_value;
1787 } else if (psb_intel_sdvo_connector->bottom == property) { 1787 } else if (psb_intel_sdvo_connector->bottom == property) {
1788 drm_connector_property_set_value(connector, 1788 drm_object_property_set_value(&connector->base,
1789 psb_intel_sdvo_connector->top, val); 1789 psb_intel_sdvo_connector->top, val);
1790 if (psb_intel_sdvo_connector->bottom_margin == temp_value) 1790 if (psb_intel_sdvo_connector->bottom_margin == temp_value)
1791 return 0; 1791 return 0;
@@ -2286,7 +2286,7 @@ static bool psb_intel_sdvo_tv_create_property(struct psb_intel_sdvo *psb_intel_s
2286 i, tv_format_names[psb_intel_sdvo_connector->tv_format_supported[i]]); 2286 i, tv_format_names[psb_intel_sdvo_connector->tv_format_supported[i]]);
2287 2287
2288 psb_intel_sdvo->tv_format_index = psb_intel_sdvo_connector->tv_format_supported[0]; 2288 psb_intel_sdvo->tv_format_index = psb_intel_sdvo_connector->tv_format_supported[0];
2289 drm_connector_attach_property(&psb_intel_sdvo_connector->base.base, 2289 drm_object_attach_property(&psb_intel_sdvo_connector->base.base.base,
2290 psb_intel_sdvo_connector->tv_format, 0); 2290 psb_intel_sdvo_connector->tv_format, 0);
2291 return true; 2291 return true;
2292 2292
@@ -2302,7 +2302,7 @@ static bool psb_intel_sdvo_tv_create_property(struct psb_intel_sdvo *psb_intel_s
2302 psb_intel_sdvo_connector->name = \ 2302 psb_intel_sdvo_connector->name = \
2303 drm_property_create_range(dev, 0, #name, 0, data_value[0]); \ 2303 drm_property_create_range(dev, 0, #name, 0, data_value[0]); \
2304 if (!psb_intel_sdvo_connector->name) return false; \ 2304 if (!psb_intel_sdvo_connector->name) return false; \
2305 drm_connector_attach_property(connector, \ 2305 drm_object_attach_property(&connector->base, \
2306 psb_intel_sdvo_connector->name, \ 2306 psb_intel_sdvo_connector->name, \
2307 psb_intel_sdvo_connector->cur_##name); \ 2307 psb_intel_sdvo_connector->cur_##name); \
2308 DRM_DEBUG_KMS(#name ": max %d, default %d, current %d\n", \ 2308 DRM_DEBUG_KMS(#name ": max %d, default %d, current %d\n", \
@@ -2339,7 +2339,7 @@ psb_intel_sdvo_create_enhance_property_tv(struct psb_intel_sdvo *psb_intel_sdvo,
2339 if (!psb_intel_sdvo_connector->left) 2339 if (!psb_intel_sdvo_connector->left)
2340 return false; 2340 return false;
2341 2341
2342 drm_connector_attach_property(connector, 2342 drm_object_attach_property(&connector->base,
2343 psb_intel_sdvo_connector->left, 2343 psb_intel_sdvo_connector->left,
2344 psb_intel_sdvo_connector->left_margin); 2344 psb_intel_sdvo_connector->left_margin);
2345 2345
@@ -2348,7 +2348,7 @@ psb_intel_sdvo_create_enhance_property_tv(struct psb_intel_sdvo *psb_intel_sdvo,
2348 if (!psb_intel_sdvo_connector->right) 2348 if (!psb_intel_sdvo_connector->right)
2349 return false; 2349 return false;
2350 2350
2351 drm_connector_attach_property(connector, 2351 drm_object_attach_property(&connector->base,
2352 psb_intel_sdvo_connector->right, 2352 psb_intel_sdvo_connector->right,
2353 psb_intel_sdvo_connector->right_margin); 2353 psb_intel_sdvo_connector->right_margin);
2354 DRM_DEBUG_KMS("h_overscan: max %d, " 2354 DRM_DEBUG_KMS("h_overscan: max %d, "
@@ -2375,7 +2375,7 @@ psb_intel_sdvo_create_enhance_property_tv(struct psb_intel_sdvo *psb_intel_sdvo,
2375 if (!psb_intel_sdvo_connector->top) 2375 if (!psb_intel_sdvo_connector->top)
2376 return false; 2376 return false;
2377 2377
2378 drm_connector_attach_property(connector, 2378 drm_object_attach_property(&connector->base,
2379 psb_intel_sdvo_connector->top, 2379 psb_intel_sdvo_connector->top,
2380 psb_intel_sdvo_connector->top_margin); 2380 psb_intel_sdvo_connector->top_margin);
2381 2381
@@ -2384,7 +2384,7 @@ psb_intel_sdvo_create_enhance_property_tv(struct psb_intel_sdvo *psb_intel_sdvo,
2384 if (!psb_intel_sdvo_connector->bottom) 2384 if (!psb_intel_sdvo_connector->bottom)
2385 return false; 2385 return false;
2386 2386
2387 drm_connector_attach_property(connector, 2387 drm_object_attach_property(&connector->base,
2388 psb_intel_sdvo_connector->bottom, 2388 psb_intel_sdvo_connector->bottom,
2389 psb_intel_sdvo_connector->bottom_margin); 2389 psb_intel_sdvo_connector->bottom_margin);
2390 DRM_DEBUG_KMS("v_overscan: max %d, " 2390 DRM_DEBUG_KMS("v_overscan: max %d, "
@@ -2416,7 +2416,7 @@ psb_intel_sdvo_create_enhance_property_tv(struct psb_intel_sdvo *psb_intel_sdvo,
2416 if (!psb_intel_sdvo_connector->dot_crawl) 2416 if (!psb_intel_sdvo_connector->dot_crawl)
2417 return false; 2417 return false;
2418 2418
2419 drm_connector_attach_property(connector, 2419 drm_object_attach_property(&connector->base,
2420 psb_intel_sdvo_connector->dot_crawl, 2420 psb_intel_sdvo_connector->dot_crawl,
2421 psb_intel_sdvo_connector->cur_dot_crawl); 2421 psb_intel_sdvo_connector->cur_dot_crawl);
2422 DRM_DEBUG_KMS("dot crawl: current %d\n", response); 2422 DRM_DEBUG_KMS("dot crawl: current %d\n", response);