[Freedreno] [RFC PATCH 03/13] drm/msm/dsi: add support for dsc data
Vinod Koul
vkoul at kernel.org
Wed Jun 2 11:06:34 UTC 2021
On 28-05-21, 02:45, Dmitry Baryshkov wrote:
> On 21/05/2021 15:49, Vinod Koul wrote:
> > DSC needs some configuration from device tree, add support to read and
> > store these params and add DSC structures in msm_drv
> >
> > Signed-off-by: Vinod Koul <vkoul at kernel.org>
> > ---
> > drivers/gpu/drm/msm/dsi/dsi_host.c | 170 +++++++++++++++++++++++++++++
> > drivers/gpu/drm/msm/msm_drv.h | 32 ++++++
> > 2 files changed, 202 insertions(+)
> >
>
>
> [skipped]
>
>
> > DRM_DEV_ERROR(dev, "%s: invalid lane configuration %d\n",
> > diff --git a/drivers/gpu/drm/msm/msm_drv.h b/drivers/gpu/drm/msm/msm_drv.h
> > index 2668941df529..26661dd43936 100644
> > --- a/drivers/gpu/drm/msm/msm_drv.h
> > +++ b/drivers/gpu/drm/msm/msm_drv.h
> > @@ -30,6 +30,7 @@
> > #include <drm/drm_plane_helper.h>
> > #include <drm/drm_probe_helper.h>
> > #include <drm/drm_fb_helper.h>
> > +#include <drm/drm_dsc.h>
> > #include <drm/msm_drm.h>
> > #include <drm/drm_gem.h>
> > @@ -70,6 +71,16 @@ enum msm_mdp_plane_property {
> > #define MSM_GPU_MAX_RINGS 4
> > #define MAX_H_TILES_PER_DISPLAY 2
> > +/**
> > + * enum msm_display_compression_type - compression method used for pixel stream
> > + * @MSM_DISPLAY_COMPRESSION_NONE: Pixel data is not compressed
> > + * @MSM_DISPLAY_COMPRESSION_DSC: DSC compresison is used
> > + */
> > +enum msm_display_compression_type {
> > + MSM_DISPLAY_COMPRESSION_NONE,
> > + MSM_DISPLAY_COMPRESSION_DSC,
> > +};
> > +
>
> Seems to be unused
Yeah this was started from downstream which used this and I seem to have
not cleared this up, thanks for pointing. Will remove..
--
~Vinod
More information about the Freedreno
mailing list