diff options
| author | Lee Shawn C <[email protected]> | 2021-09-08 19:56:07 +0800 |
|---|---|---|
| committer | Vandita Kulkarni <[email protected]> | 2021-09-08 19:34:41 +0530 |
| commit | ddb8cd4eee01049f34194affaf7d027bfa400e2c (patch) | |
| tree | 5a6e618822209efaab157330a4dbc4ec2280abc2 /tools/perf/scripts/python | |
| parent | 84d3d71fe3630c757580dc0c4b7d1c141785fbcc (diff) | |
drm/i915/dsi: Read/write proper brightness value via MIPI DCS command
Driver has to swap the endian before send brightness level value
to tcon.
v2: Use __be16 instead of u16 to fix sparse warning.
v3: Send one or two bytes brightness value depend on the precision.
v4: get data length of brightness value more easily.
Reported-by: kernel test robot <[email protected]>
Cc: Ville Syrjala <[email protected]>
Cc: Jani Nikula <[email protected]>
Cc: Vandita Kulkarni <[email protected]>
Cc: Cooper Chiou <[email protected]>
Cc: William Tseng <[email protected]>
Signed-off-by: Lee Shawn C <[email protected]>
Reviewed-by: Jani Nikula <[email protected]>
Signed-off-by: Vandita Kulkarni <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions