diff options
| author | Lyude Paul <[email protected]> | 2021-05-14 14:15:00 -0400 |
|---|---|---|
| committer | Lyude Paul <[email protected]> | 2021-06-09 13:35:21 -0400 |
| commit | 17917ff62443414569ea76e151e7a7ef44812264 (patch) | |
| tree | 31e1a98cc49f3d9cf9ec23f2291659f44473d341 /tools/perf/scripts/python/syscall-counts.py | |
| parent | ade673bb2ba496a66250c5c2006c502c3d734ea2 (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 <[email protected]>
Reviewed-by: Rodrigo Vivi <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions