forked from Minki/linux
drm/exynos: set edid fake data only for test.
Signed-off-by: Inki Dae <inki.dae@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
This commit is contained in:
parent
a04f3fab2a
commit
d07d39df30
@ -529,6 +529,10 @@ static int vidi_store_connection(struct device *dev,
|
||||
if (ctx->connected > 1)
|
||||
return -EINVAL;
|
||||
|
||||
/* use fake edid data for test. */
|
||||
if (!ctx->raw_edid)
|
||||
ctx->raw_edid = (struct edid *)fake_edid_info;
|
||||
|
||||
DRM_DEBUG_KMS("requested connection.\n");
|
||||
|
||||
drm_helper_hpd_irq_event(ctx->subdrv.drm_dev);
|
||||
@ -612,9 +616,6 @@ static int __devinit vidi_probe(struct platform_device *pdev)
|
||||
|
||||
INIT_WORK(&ctx->work, vidi_fake_vblank_handler);
|
||||
|
||||
/* for test */
|
||||
ctx->raw_edid = (struct edid *)fake_edid_info;
|
||||
|
||||
subdrv = &ctx->subdrv;
|
||||
subdrv->dev = dev;
|
||||
subdrv->manager = &vidi_manager;
|
||||
|
Loading…
Reference in New Issue
Block a user