|
@@ -431,9 +431,6 @@ static void vop_enable(struct drm_crtc *crtc)
|
|
struct vop *vop = to_vop(crtc);
|
|
struct vop *vop = to_vop(crtc);
|
|
int ret;
|
|
int ret;
|
|
|
|
|
|
- if (vop->is_enabled)
|
|
|
|
- return;
|
|
|
|
-
|
|
|
|
ret = pm_runtime_get_sync(vop->dev);
|
|
ret = pm_runtime_get_sync(vop->dev);
|
|
if (ret < 0) {
|
|
if (ret < 0) {
|
|
dev_err(vop->dev, "failed to get pm runtime: %d\n", ret);
|
|
dev_err(vop->dev, "failed to get pm runtime: %d\n", ret);
|
|
@@ -501,9 +498,6 @@ static void vop_crtc_disable(struct drm_crtc *crtc)
|
|
struct vop *vop = to_vop(crtc);
|
|
struct vop *vop = to_vop(crtc);
|
|
int i;
|
|
int i;
|
|
|
|
|
|
- if (!vop->is_enabled)
|
|
|
|
- return;
|
|
|
|
-
|
|
|
|
/*
|
|
/*
|
|
* We need to make sure that all windows are disabled before we
|
|
* We need to make sure that all windows are disabled before we
|
|
* disable that crtc. Otherwise we might try to scan from a destroyed
|
|
* disable that crtc. Otherwise we might try to scan from a destroyed
|