diff options
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_drm_vidi.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_vidi.c b/drivers/gpu/drm/exynos/exynos_drm_vidi.c index 5640d57b4693..88dae6b012b3 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_vidi.c +++ b/drivers/gpu/drm/exynos/exynos_drm_vidi.c | |||
@@ -529,6 +529,10 @@ static int vidi_store_connection(struct device *dev, | |||
529 | if (ctx->connected > 1) | 529 | if (ctx->connected > 1) |
530 | return -EINVAL; | 530 | return -EINVAL; |
531 | 531 | ||
532 | /* use fake edid data for test. */ | ||
533 | if (!ctx->raw_edid) | ||
534 | ctx->raw_edid = (struct edid *)fake_edid_info; | ||
535 | |||
532 | DRM_DEBUG_KMS("requested connection.\n"); | 536 | DRM_DEBUG_KMS("requested connection.\n"); |
533 | 537 | ||
534 | drm_helper_hpd_irq_event(ctx->subdrv.drm_dev); | 538 | drm_helper_hpd_irq_event(ctx->subdrv.drm_dev); |
@@ -612,9 +616,6 @@ static int __devinit vidi_probe(struct platform_device *pdev) | |||
612 | 616 | ||
613 | INIT_WORK(&ctx->work, vidi_fake_vblank_handler); | 617 | INIT_WORK(&ctx->work, vidi_fake_vblank_handler); |
614 | 618 | ||
615 | /* for test */ | ||
616 | ctx->raw_edid = (struct edid *)fake_edid_info; | ||
617 | |||
618 | subdrv = &ctx->subdrv; | 619 | subdrv = &ctx->subdrv; |
619 | subdrv->dev = dev; | 620 | subdrv->dev = dev; |
620 | subdrv->manager = &vidi_manager; | 621 | subdrv->manager = &vidi_manager; |