Re: [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/

[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

[PATCH libdrm] tests/modetest: add QCOM_COMPRESSED to supported modifiers list

2019-03-01 Thread Fritz Koenig
Signed-off-by: Fritz Koenig --- tests/modetest/modetest.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/modetest/modetest.c b/tests/modetest/modetest.c index 975dcbcd..9c85c07b 100644 --- a/tests/modetest/modetest.c +++ b/tests/modetest/modetest.c @@ -293,6 +293,8 @@ static const

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

2019-02-05 Thread Fritz Koenig
; > + atomic_set(_enc->frame_done_timeout_ms, 0); > timer_setup(_enc->frame_done_timer, > dpu_encoder_frame_done_timeout, 0); > > diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_kms.h > b/drivers/gpu/drm/msm/disp/dpu1/dpu_kms.h > index ac7

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

2019-02-05 Thread Fritz Koenig
jiffies + msecs_to_jiffies(timeout_ms)); > + } > > /* All phys encs are ready to go, trigger the kickoff */ > _dpu_encoder_kickoff_phys(dpu_enc, async); > -- > Sean Paul, Software Engineer, Google / Chr

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

2019-02-05 Thread Fritz Koenig
!phys->ops.needs_single_flush(phys)) > _dpu_encoder_trigger_flush(_enc->base, phys, 0x0, > -- > Sean Paul, Software Engineer, Google / Chromium OS > Reviewed-by: Fritz Koenig > ___ &

Re: [PATCH 4/5] drm/msm/dpu: Initialize supported modifiers

2018-12-12 Thread Fritz Koenig
On Wed, Dec 12, 2018 at 8:12 AM Sean Paul wrote: > > On Tue, Dec 11, 2018 at 10:42:23AM -0800, Fritz Koenig wrote: > > Pass list of supported modifiers to plane init. > > > > Signed-off-by: Fritz Koenig > > --- > > drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c

[PATCH 3/5] drm/msm/dpu: Plane helper for modifiers

2018-12-11 Thread Fritz Koenig
Filter planes based on the supported modifiers Signed-off-by: Fritz Koenig --- drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c index

[PATCH 5/5] drm/msm/dpu: Correct initialization of modifiers

2018-12-11 Thread Fritz Koenig
allow_fb_modifiers needs to be set before drm_universal_plane_init is called. Signed-off-by: Fritz Koenig --- drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c b/drivers/gpu

[PATCH 1/5] drm/msm/dpu: Remove unused format tables.

2018-12-11 Thread Fritz Koenig
Signed-off-by: Fritz Koenig --- .../drm/msm/disp/dpu1/dpu_hw_catalog_format.h | 73 --- 1 file changed, 73 deletions(-) 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 3c9f028628ef..c37ba38ac83d

[PATCH 2/5] drm/msm/dpu: Use simple list for plane format init

2018-12-11 Thread Fritz Koenig
Simplify the initilization of a list of formats by passing the list in directly instead of copying it from one structure to another. Signed-off-by: Fritz Koenig --- drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c | 33 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.h | 14 -- .../gpu/drm/msm

[PATCH 4/5] drm/msm/dpu: Initialize supported modifiers

2018-12-11 Thread Fritz Koenig
Pass list of supported modifiers to plane init. Signed-off-by: Fritz Koenig --- drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c index