Re: [Freedreno] [PATCH] drm/msm/dpu: ensure device suspend happens during PM sleep

2020-03-24 Thread Doug Anderson
Hi, On Sun, Mar 22, 2020 at 11:14 PM Kalyan Thota wrote: > > "The PM core always increments the runtime usage counter > before calling the ->suspend() callback and decrements it > after calling the ->resume() callback" > > DPU and DSI are managed as runtime devices. When > suspend is triggered,

[Freedreno] [PATCH 2/2] drm/msm/dpu: add support for pcc color block in dpu driver

2020-03-24 Thread Kalyan Thota
This change adds support for color correction sub block for SC7180 device. Signed-off-by: Kalyan Thota --- drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 77 ++ drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 9 ++- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_dspp.c| 49

[Freedreno] [PATCH 1/2] drm/msm/dpu: add support for color processing blocks in dpu driver

2020-03-24 Thread Kalyan Thota
This change adds support to configure dspp blocks in the dpu driver. Macro description of the changes coming in this patch. 1) Add dspp definitions in the hw catalog. 2) Add capability to reserve dspp blocks in the display data path. 3) Attach the reserved block to the encoder. Signed-off-by: