diff options
author | Jani Nikula <jani.nikula@intel.com> | 2017-10-09 12:29:58 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2017-10-11 22:04:33 +0300 |
commit | fc603ca7f81d729bbec7ced294f25a93113c49f7 (patch) | |
tree | 58808d57648901839bfbc2753787456021833ed9 /arch/m32r/kernel/irq.c | |
parent | 3c7b6b3c4f2a4882d9d82365cc122cc8d29f4811 (diff) |
drm/i915/dp: centralize max source rate conditions more
Turn intel_dp_source_supports_hbr2() into a simple helper to query the
pre-filled source rates array, and move the conditions about which
platforms support which rates to the single point of truth in
intel_dp_set_source_rates().
This also reduces the code paths you have to think about in the source
rates initialization in intel_dp_set_source_rates(), making it easier to
grasp.
Cc: Manasi Navare <manasi.d.navare@intel.com>
Reviewed-by: Manasi Navare <manasi.d.navare@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171009092959.29021-2-jani.nikula@intel.com
Diffstat (limited to 'arch/m32r/kernel/irq.c')
0 files changed, 0 insertions, 0 deletions