aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJosé Roberto de Souza <jose.souza@intel.com>2020-10-08 14:19:30 -0700
committerJosé Roberto de Souza <jose.souza@intel.com>2020-10-09 14:09:52 -0700
commitd381baad29b43511a7fc34c64402ef65029ab281 (patch)
tree87310c0a0c6daaa860bc01eb9367d43b31539685 /tools/perf/scripts/python
parentdrm/i915: s/int/u32/ for aux_offset/alignment (diff)
downloadlinux-d381baad29b43511a7fc34c64402ef65029ab281.tar.gz
linux-d381baad29b43511a7fc34c64402ef65029ab281.zip
drm/i915/vbt: Fix backlight parsing for VBT 234+
Child min_brightness is obsolete from VBT 234+, instead the new min_brightness field in the main structure should be used. This new field is 16 bits wide, so backlight_precision_bits is needed to check if value needs to be scaled down but it is only available in VBT 236+ so working around it by using the also new backlight_level in the main struct. v2: - missed that backlight_data->level is also obsolete v3: - s/backlight/brightness to better match specification - using u16 to specify brightness level instead of a u32 : 16 BSpec: 20149 Reviewed-by: Matt Roper <matthew.d.roper@intel.com> Signed-off-by: José Roberto de Souza <jose.souza@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20201008211932.24989-1-jose.souza@intel.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions