diff options
| author | 2021-05-14 14:15:00 -0400 | |
|---|---|---|
| committer | 2021-06-09 13:35:21 -0400 | |
| commit | 17917ff62443414569ea76e151e7a7ef44812264 (patch) | |
| tree | 31e1a98cc49f3d9cf9ec23f2291659f44473d341 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | drm/i915/dpcd_bl: Move VESA backlight enabling code closer together (diff) | |
drm/i915/dpcd_bl: Return early in vesa_calc_max_backlight if we can't read PWMGEN_BIT_COUNT
If we can't read DP_EDP_PWMGEN_BIT_COUNT in
intel_dp_aux_vesa_calc_max_backlight() but do have a valid PWM frequency
defined in the VBT, we'll keep going in the function until we inevitably
fail on reading DP_EDP_PWMGEN_BIT_COUNT_CAP_MIN. There's not much point in
doing this, so just return early.
Signed-off-by: Lyude Paul <lyude@redhat.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210514181504.565252-7-lyude@redhat.com
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
