Lines 535-540
static int intel_crt_set_property(struct drm_connector *connector,
Link Here
|
535 |
return 0; |
535 |
return 0; |
536 |
} |
536 |
} |
537 |
|
537 |
|
|
|
538 |
static void intel_crt_restore(struct drm_connector *connector) |
539 |
{ |
540 |
struct intel_crt *crt = intel_attached_crt(connector); |
541 |
struct drm_device *dev = connector->dev; |
542 |
|
543 |
/* Force the re-probing of the output after resume */ |
544 |
if (HAS_PCH_SPLIT(dev)) |
545 |
crt->force_hotplug_required = 1; |
546 |
} |
547 |
|
538 |
/* |
548 |
/* |
539 |
* Routines for controlling stuff on the analog port |
549 |
* Routines for controlling stuff on the analog port |
540 |
*/ |
550 |
*/ |
Lines 549-554
static const struct drm_encoder_helper_funcs intel_crt_helper_funcs = {
Link Here
|
549 |
|
559 |
|
550 |
static const struct drm_connector_funcs intel_crt_connector_funcs = { |
560 |
static const struct drm_connector_funcs intel_crt_connector_funcs = { |
551 |
.dpms = drm_helper_connector_dpms, |
561 |
.dpms = drm_helper_connector_dpms, |
|
|
562 |
.restore = intel_crt_restore, |
552 |
.detect = intel_crt_detect, |
563 |
.detect = intel_crt_detect, |
553 |
.fill_modes = drm_helper_probe_single_connector_modes, |
564 |
.fill_modes = drm_helper_probe_single_connector_modes, |
554 |
.destroy = intel_crt_destroy, |
565 |
.destroy = intel_crt_destroy, |
555 |
- |
|
|