diff options
author | Matthias Kaehlcke <mka@chromium.org> | 2017-07-17 12:58:54 -0700 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2017-08-14 19:28:28 +0300 |
commit | 7eceb9d04966435ed2d03f5554413715ab3cb34a (patch) | |
tree | 3ea939afea16c2bf62666fd64a3f7e6f8731a4a3 /drivers/gpu/drm/i915/i915_oa_sklgt3.h | |
parent | 1dd7a3e7af70ebdd0cdd937b180726d15a4f0948 (diff) |
drm/i915: Return correct EDP voltage swing table for 0.85V
For 0.85V cnl_get_buf_trans_edp() returns the DP table, instead of EDP.
Use the correct table.
The error was pointed out by this clang warning:
drivers/gpu/drm/i915/intel_ddi.c:392:39: warning: variable
'cnl_ddi_translations_edp_0_85V' is not needed and will not be emitted
[-Wunneeded-internal-declaration]
static const struct cnl_ddi_buf_trans cnl_ddi_translations_edp_0_85V[] = {
Fixes: cf54ca8bc567 ("drm/i915/cnl: Implement voltage swing sequence.")
Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Reviewed-by: Manasi Navare <manasi.d.navare@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170717195854.192139-1-mka@chromium.org
(cherry picked from commit 50946c89850db13bd672c664aec6cf4551f71fe9)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_oa_sklgt3.h')
0 files changed, 0 insertions, 0 deletions