diff options
author | Dave Airlie <airlied@redhat.com> | 2014-12-01 19:58:33 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2014-12-01 19:58:33 -0500 |
commit | e8115e79aa62b6ebdb3e8e61ca4092cc32938afc (patch) | |
tree | 42b791ab54ef9d5c73dcd49f907b8b37fa2f7e19 /drivers/gpu/drm/tegra | |
parent | 9be23ae4350bfd71c0cc2ea3494671ee90e5603b (diff) | |
parent | 009d0431c3914de64666bec0d350e54fdd59df6a (diff) |
Merge tag 'v3.18-rc7' into drm-next
This fixes a bunch of conflicts prior to merging i915 tree.
Linux 3.18-rc7
Conflicts:
drivers/gpu/drm/exynos/exynos_drm_drv.c
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/intel_pm.c
drivers/gpu/drm/tegra/dc.c
Diffstat (limited to 'drivers/gpu/drm/tegra')
-rw-r--r-- | drivers/gpu/drm/tegra/dc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/drm/tegra/dc.c b/drivers/gpu/drm/tegra/dc.c index b957908aec73..3367960286a6 100644 --- a/drivers/gpu/drm/tegra/dc.c +++ b/drivers/gpu/drm/tegra/dc.c | |||
@@ -906,7 +906,7 @@ static void tegra_crtc_disable(struct drm_crtc *crtc) | |||
906 | } | 906 | } |
907 | } | 907 | } |
908 | 908 | ||
909 | drm_vblank_off(drm, dc->pipe); | 909 | drm_crtc_vblank_off(crtc); |
910 | tegra_dc_commit(dc); | 910 | tegra_dc_commit(dc); |
911 | } | 911 | } |
912 | 912 | ||
@@ -996,8 +996,6 @@ static int tegra_crtc_mode_set(struct drm_crtc *crtc, | |||
996 | u32 value; | 996 | u32 value; |
997 | int err; | 997 | int err; |
998 | 998 | ||
999 | drm_vblank_pre_modeset(crtc->dev, dc->pipe); | ||
1000 | |||
1001 | err = tegra_crtc_setup_clk(crtc, mode); | 999 | err = tegra_crtc_setup_clk(crtc, mode); |
1002 | if (err) { | 1000 | if (err) { |
1003 | dev_err(dc->dev, "failed to setup clock for CRTC: %d\n", err); | 1001 | dev_err(dc->dev, "failed to setup clock for CRTC: %d\n", err); |
@@ -1051,6 +1049,8 @@ static void tegra_crtc_prepare(struct drm_crtc *crtc) | |||
1051 | unsigned int syncpt; | 1049 | unsigned int syncpt; |
1052 | unsigned long value; | 1050 | unsigned long value; |
1053 | 1051 | ||
1052 | drm_crtc_vblank_off(crtc); | ||
1053 | |||
1054 | /* hardware initialization */ | 1054 | /* hardware initialization */ |
1055 | reset_control_deassert(dc->rst); | 1055 | reset_control_deassert(dc->rst); |
1056 | usleep_range(10000, 20000); | 1056 | usleep_range(10000, 20000); |
@@ -1091,7 +1091,7 @@ static void tegra_crtc_commit(struct drm_crtc *crtc) | |||
1091 | { | 1091 | { |
1092 | struct tegra_dc *dc = to_tegra_dc(crtc); | 1092 | struct tegra_dc *dc = to_tegra_dc(crtc); |
1093 | 1093 | ||
1094 | drm_vblank_post_modeset(crtc->dev, dc->pipe); | 1094 | drm_crtc_vblank_on(crtc); |
1095 | tegra_dc_commit(dc); | 1095 | tegra_dc_commit(dc); |
1096 | } | 1096 | } |
1097 | 1097 | ||