Message ID | 20230419-dpu-tweaks-v1-0-d1bac46db075@freebox.fr |
---|---|
Headers | show |
Series | drm/msm/dpu: tweaks for better hardware resources allocation | expand |
On 4/19/2023 7:41 AM, Arnaud Vrac wrote: > Change lm blocks pairs so that lm blocks with the same features are > paired together: > > LM_0 and LM_1 with PP and DSPP > LM_2 and LM_5 with PP > LM_3 and LM_4 > > This matches the sdm845 configuration and allows using pp or dspp when 2 > lm blocks are needed in the topology. In the previous config the > reservation code could never find an lm pair without a matching feature > set. > > Signed-off-by: Arnaud Vrac <avrac@freebox.fr> Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
On 4/19/2023 7:41 AM, Arnaud Vrac wrote: > Match the values found in the downstream msm-4.4 kernel sde driver. > > Signed-off-by: Arnaud Vrac <avrac@freebox.fr> > --- Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
On Wed, 19 Apr 2023 16:41:07 +0200, Arnaud Vrac wrote: > This series include misc fixes related to hardware resource allocations > in the msm dpu driver, some specifically for msm8998 (including hw > catalog fixes and cursor sspp support for cursor planes, instead of > using Smart DMA pipes). > > This series has been tested on msm8998 with additional patches to enable > hdmi support. > > [...] Applied, thanks! [01/11] drm/msm/dpu: tweak msm8998 hw catalog values https://gitlab.freedesktop.org/abhinavk/msm/-/commit/3f23a52fc2b8 [10/11] drm/msm/dpu: tweak lm pairings in msm8998 hw catalog https://gitlab.freedesktop.org/abhinavk/msm/-/commit/686eb89b1036 Best regards,
This series include misc fixes related to hardware resource allocations in the msm dpu driver, some specifically for msm8998 (including hw catalog fixes and cursor sspp support for cursor planes, instead of using Smart DMA pipes). This series has been tested on msm8998 with additional patches to enable hdmi support. The following modetest example command works now; 8 planes can be displayed simultaneously on msm8998 in 1080p, including a cursor plane, using a single LM: modetest -Mmsm -a \ -s 32:1920x1080-60 \ -P 33@87:1920x1080+0+0@XR24 \ -P 39@87:200x200+100+600@AR24 \ -P 45@87:200x200+200+500@AR24 \ -P 51@87:200x200+300+400@AR24 \ -P 57@87:200x200+400+300@AR24 \ -P 63@87:200x200+500+200@AR24 \ -P 69@87:200x200+600+100@AR24 \ -P 81@87:200x200+700+000@AR24 Signed-off-by: Arnaud Vrac <avrac@freebox.fr> --- Arnaud Vrac (11): drm/msm/dpu: tweak msm8998 hw catalog values drm/msm/dpu: use the actual lm maximum width instead of a hardcoded value drm/msm/dpu: use hsync/vsync polarity set by the encoder drm/msm/dpu: allow using lm mixer base stage drm/msm/dpu: allow using all lm mixer stages drm/msm/dpu: support cursor sspp hw blocks drm/msm/dpu: add sspp cursor blocks to msm8998 hw catalog drm/msm/dpu: fix cursor block register bit offset in msm8998 hw catalog drm/msm/dpu: set max cursor width to 512x512 drm/msm/dpu: tweak lm pairings in msm8998 hw catalog drm/msm/dpu: do not use mixer that supports dspp when not required .../drm/msm/disp/dpu1/catalog/dpu_3_0_msm8998.h | 28 +++++++------ drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 10 ++--- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 49 +++++++++++++++++----- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_intf.c | 16 ++----- drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 22 +++++++--- drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c | 32 +++++++++++--- drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c | 2 +- 7 files changed, 107 insertions(+), 52 deletions(-) --- base-commit: e3342532ecd39bbd9c2ab5b9001cec1589bc37e9 change-id: 20230419-dpu-tweaks-5475305621d9 Best regards,