diff options
| author | Jani Nikula <jani.nikula@intel.com> | 2020-04-20 16:16:32 +0300 |
|---|---|---|
| committer | Jani Nikula <jani.nikula@intel.com> | 2020-04-21 09:38:04 +0300 |
| commit | 11ebc2321b8ef88f549c5b8bf61ed4d00fc7952a (patch) | |
| tree | 8f4715e08bcaeffe3aec4084b045ffad6d6f72b9 /tools/perf/scripts/python | |
| parent | drm/i915: drop a bunch of superfluous inlines (diff) | |
| download | linux-11ebc2321b8ef88f549c5b8bf61ed4d00fc7952a.tar.gz linux-11ebc2321b8ef88f549c5b8bf61ed4d00fc7952a.zip | |
drm/i915/audio: fix compressed_bpp check
The early check for compressed_bpp being zero is too early, as it is hit
also when DSC is not enabled. Move the checks down to where the values
are actually needed. This is a paranoid check for a situation that
should not happen, so we don't really care about handling it gracefully
apart from not oopsing.
Fixes: 48b8b04c791d ("drm/i915/display: Enable DP Display Audio WA")
Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/1750
Cc: Anshuman Gupta <anshuman.gupta@intel.com>
Cc: Uma Shankar <uma.shankar@intel.com>
Reviewed-by: Uma Shankar <uma.shankar@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200420131632.23283-1-jani.nikula@intel.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
