projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c01270
)
drm/tegra: Do not enable output on .mode_set()
author
Thierry Reding
<treding@nvidia.com>
Tue, 7 Oct 2014 14:26:24 +0000
(16:26 +0200)
committer
Thierry Reding
<treding@nvidia.com>
Thu, 13 Nov 2014 15:12:02 +0000
(16:12 +0100)
The output is already enabled in .dpms(), doing it in .mode_set() too
can cause noticeable flicker.
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/output.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/tegra/output.c
b/drivers/gpu/drm/tegra/output.c
index 0c67d7eebc94876d645fe0827485bdc13a998035..6b393cfbb5e7bab2772c17adbd8946506b1b1172 100644
(file)
--- a/
drivers/gpu/drm/tegra/output.c
+++ b/
drivers/gpu/drm/tegra/output.c
@@
-167,12
+167,6
@@
static void tegra_encoder_mode_set(struct drm_encoder *encoder,
struct drm_display_mode *mode,
struct drm_display_mode *adjusted)
{
- struct tegra_output *output = encoder_to_output(encoder);
- int err;
-
- err = tegra_output_enable(output);
- if (err < 0)
- dev_err(encoder->dev->dev, "tegra_output_enable(): %d\n", err);
}
static const struct drm_encoder_helper_funcs encoder_helper_funcs = {