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

2020-04-08 Thread Fritz Koenig
s in the display data path. > 3) Attach the reserved block to the encoder. > > Signed-off-by: Kalyan Thota Tested-by: Fritz Koenig > --- > drivers/gpu/drm/msm/Makefile | 1 + > drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.h | 2 + > drivers/gpu/drm/msm/disp/

[Freedreno] [PATCH] drm/msm/dpu: Allow UBWC on NV12

2020-01-10 Thread Fritz Koenig
NV12 is a valid format for UBWC Signed-off-by: Fritz Koenig --- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog_format.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog_format.h b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog_format.h index

[Freedreno] [PATCH] drm/msm/dpu: Add UBWC support for RGB8888 formats

2019-11-06 Thread Fritz Koenig
Hardware only natively supports BGR UBWC. UBWC support for RGB can be had by pretending that the buffer is BGR. Signed-off-by: Fritz Koenig --- drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c| 18 ++ .../drm/msm/disp/dpu1/dpu_hw_catalog_format.h | 2 ++ 2 files changed

Re: [Freedreno] [PATCH 3/4] drm/msm: dpu: Untangle frame_done timeout units

2019-02-05 Thread Fritz Koenig
ct > drm_encoder *enc, > > spin_lock_init(&dpu_enc->enc_spinlock); > > - atomic_set(&dpu_enc->frame_done_timeout, 0); > + atomic_set(&dpu_enc->frame_done_timeout_ms, 0); > timer_setup(&dpu_enc->frame_done_timer, >

Re: [Freedreno] [PATCH 4/4] drm/msm: dpu: Don't queue the frame_done watchdog for cursor

2019-02-05 Thread Fritz Koenig
me_done_timeout_ms, timeout_ms); > + mod_timer(&dpu_enc->frame_done_timer, > + jiffies + msecs_to_jiffies(timeout_ms)); > + } > > /* All phys encs are ready to go, trigger the kickoff */ > _dpu_encoder_kickoff_phys(dpu_enc, asyn

Re: [Freedreno] [PATCH] drm/msm: dpu: Don't set frame_busy_mask for async updates

2019-02-05 Thread Fritz Koenig
ingle_flush || > !phys->ops.needs_single_flush(phys)) > _dpu_encoder_trigger_flush(&dpu_enc->base, phys, 0x0, > -- > Sean Paul, Software Engineer, Google / Chromium OS > Review