aboutsummaryrefslogtreecommitdiff
path: root/lib/kunit/string-stream-test.c
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2021-10-15 16:39:08 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2022-02-11 22:34:22 +0200
commit5d488786a3a18d48bcbd1d215ba9dc6811b7d639 (patch)
tree140c71f537020938ec8f3c3e7eca2e4ea6a79867 /lib/kunit/string-stream-test.c
parentcad3fab413efbfdb1c64a08808aa3a59fa288457 (diff)
drm/i915/hdmi: Simplify intel_hdmi_mode_clock_valid()
Just loop over the possible bpc values instead of using an ugly if construct. A slight change in behaviour is that we now call intel_hdmi_{source,sink}_bpc_possible() even for 8bpc, but that is fine since 8bpc is always supported. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20211015133921.4609-8-ville.syrjala@linux.intel.com Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Diffstat (limited to 'lib/kunit/string-stream-test.c')
0 files changed, 0 insertions, 0 deletions