[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZhXM3ldkY7FBlFjF@hu-bjorande-lv.qualcomm.com>
Date: Tue, 9 Apr 2024 16:18:54 -0700
From: Bjorn Andersson <quic_bjorande@...cinc.com>
To: Abhinav Kumar <quic_abhinavk@...cinc.com>
CC: Bjorn Andersson <andersson@...nel.org>, Rob Clark <robdclark@...il.com>,
Dmitry Baryshkov <dmitry.baryshkov@...aro.org>,
Sean Paul <sean@...rly.run>,
Marijn Suijten <marijn.suijten@...ainline.org>,
David Airlie
<airlied@...il.com>, Daniel Vetter <daniel@...ll.ch>,
<linux-arm-msm@...r.kernel.org>, <dri-devel@...ts.freedesktop.org>,
<freedreno@...ts.freedesktop.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2 6/6] drm/msm/dp: Use function arguments for audio
operations
On Mon, Apr 08, 2024 at 02:31:45PM -0700, Abhinav Kumar wrote:
> On 3/28/2024 7:40 AM, Bjorn Andersson wrote:
> > From: Bjorn Andersson <quic_bjorande@...cinc.com>
> >
> > The dp_audio read and write operations uses members in struct dp_catalog
> > for passing arguments and return values. This adds unnecessary
> > complexity to the implementation, as it turns out after detangling the
> > logic that no state is actually held in these variables.
> >
> > Clean this up by using function arguments and return values for passing
> > the data.
> >
> > Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@...aro.org>
> > Signed-off-by: Bjorn Andersson <quic_bjorande@...cinc.com>
> > ---
> > drivers/gpu/drm/msm/dp/dp_audio.c | 20 +++++--------------
> > drivers/gpu/drm/msm/dp/dp_catalog.c | 39 +++++++++++++------------------------
> > drivers/gpu/drm/msm/dp/dp_catalog.h | 18 +++++++++--------
> > 3 files changed, 28 insertions(+), 49 deletions(-)
> >
>
> One quick question, was DP audio re-tested after this patch?
No, sorry for not being explicit about that. I don't have any target
with working DP audio...
Regards,
Bjorn
Powered by blists - more mailing lists