Re: [PATCH] drm/amd/display: Calculate bpc based on max_requested_bpc

2019-08-21 Thread Li, Sun peng (Leo)
Reviewed-by: Leo Li Thanks! On 2019-08-21 12:57 p.m., Nicholas Kazlauskas wrote: > [Why] > The only place where state->max_bpc is updated on the connector is > at the start of atomic check during drm_atomic_connector_check. It > isn't updated when adding the connectors to the atomic state after >

[PATCH] drm/amd/display: Calculate bpc based on max_requested_bpc

2019-08-21 Thread Nicholas Kazlauskas
[Why] The only place where state->max_bpc is updated on the connector is at the start of atomic check during drm_atomic_connector_check. It isn't updated when adding the connectors to the atomic state after the fact. It also doesn't necessarily reflect the right value when called in amdgpu during m