[Freedreno] [PATCH 06/11] drm/msm/disp/dpu1: Add DSC support in hw_ctl

Vinod Koul vkoul at kernel.org
Wed Oct 6 12:21:59 UTC 2021


On 02-08-21, 17:00, abhinavk at 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 at 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

-- 
~Vinod


More information about the dri-devel mailing list