lkml.org 
[lkml]   [2023]   [Jul]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v4 2/4] drm/msm/dpu: use dpu core's major version to enable data compress
From
On 12/07/2023 03:33, Abhinav Kumar wrote:
> Instead of using a feature bit to decide whether to enable data
> compress or not for DSC use-cases, use dpu core's major version
> instead by assigning the enable_compression op based on the
> dpu core's major version.
>
> To make this possible pass the struct dpu_mdss_version to
> dpu_hw_intf_init().
>
> This will avoid defining feature bits for every bit level details of
> registers.
>
> changes in v4:
> - split renaming of enable_compression into another change
> - pass struct dpu_mdss_version to dpu_hw_intf_init() to
> assign the enable_compression op based on dpu's core revision
>
> Signed-off-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
> ---
> drivers/gpu/drm/msm/disp/dpu1/dpu_hw_intf.c | 8 ++++----
> drivers/gpu/drm/msm/disp/dpu1/dpu_hw_intf.h | 3 ++-
> drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c | 2 +-
> 3 files changed, 7 insertions(+), 6 deletions(-)

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>

--
With best wishes
Dmitry

\
 
 \ /
  Last update: 2023-07-12 02:38    [W:0.026 / U:0.664 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site