On 02-08-21, 17:00, abhinavk@codeaurora.org wrote:
On 2021-07-14 23:51, Vinod Koul wrote:
Later gens of hardware have DSC bits moved to hw_ctl, so configure these bits so that DSC would work there as well
Signed-off-by: Vinod Koul vkoul@kernel.org
Please correct me if wrong but here you seem to be flushing all the DSC bits even the unused ones. This will end-up enabling DSC even when DSC is unused on the newer targets. If so, thats wrong. We need to implement bit-mask based approach to avoid this change and only enable those DSCs which are used.
Yes as Dimitry suggested I have done that by passing indices