Re: [PATCH v2] i915: intel_dp_aux_backlight: Fix max backlight calculations

2019-09-19 Thread Lisovskiy, Stanislav
On Wed, 2019-07-10 at 17:43 -0700, Furquan Shaikh wrote: > Max backlight value for the panel was being calculated using byte > count i.e. 0x if 2 bytes are supported for backlight brightness > and 0xff if 1 byte is supported. However, EDP_PWMGEN_BIT_COUNT > determines the number of active contr

[PATCH v2] i915: intel_dp_aux_backlight: Fix max backlight calculations

2019-07-10 Thread Furquan Shaikh
Max backlight value for the panel was being calculated using byte count i.e. 0x if 2 bytes are supported for backlight brightness and 0xff if 1 byte is supported. However, EDP_PWMGEN_BIT_COUNT determines the number of active control bits used for the brightness setting. Thus, even if the panel