From: Mohammad Faiz Abbas Rizvi <faiz.abbas@arm.com>
To: Liviu Dudau <liviu.dudau@arm.com>
Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org,
airlied@gmail.com, daniel@ffwll.ch
Subject: Re: [PATCH v2] drm/arm/komeda: Remove component framework and add a simple encoder
Date: Wed, 12 Jul 2023 12:14:30 +0530 [thread overview]
Message-ID: <a6f6731b-9478-b91d-f4ce-aa018fb44d7b@arm.com> (raw)
In-Reply-To: <ZKWk3YkM7jI304uv@e110455-lin.cambridge.arm.com>
Hi Liviu,
On 7/5/2023 10:44 PM, Liviu Dudau wrote:
> Hi Faiz,
>
> On Tue, Jul 04, 2023 at 10:04:54PM +0530, Faiz Abbas wrote:
>> The Komeda driver always expects the remote connector node to initialize
>> an encoder. It uses the component aggregator framework which consists
>> of component->bind() calls used to initialize the remote encoder and attach
>> it to the crtc. This makes it incompatible with connector drivers which
>> implement drm_bridge APIs.
>>
>> Remove all component framework calls from the komeda driver and declare and
>> attach an encoder inside komeda_crtc_add().
>>
>> The remote connector driver has to implement the DRM bridge APIs which
>> can be used to glue the encoder to the remote connector. Since we
>> usually pair this with a component encoder that also implements a
>> drm_bridge, dropping support is not expected to affect users of this
>> driver.
>
> Thanks for updating the commit description, I think it shows the intent better.
>
> When I'm trying to apply your patch to drm-misc next (or any branch that matters)
> it fails because ...
>
>>
>> Signed-off-by: Faiz Abbas <faiz.abbas@arm.com>
>> ---
>> .../gpu/drm/arm/display/komeda/komeda_crtc.c | 23 +++++++-
>> .../gpu/drm/arm/display/komeda/komeda_drv.c | 57 ++-----------------
>> .../gpu/drm/arm/display/komeda/komeda_kms.c | 10 +---
>> .../gpu/drm/arm/display/komeda/komeda_kms.h | 3 +
>> 4 files changed, 32 insertions(+), 61 deletions(-)
>>
>> diff --git a/drivers/gpu/drm/arm/display/komeda/komeda_crtc.c b/drivers/gpu/drm/arm/display/komeda/komeda_crtc.c
>> index 4cc07d6bb9d82..e5a8a80b173f4 100644
>> --- a/drivers/gpu/drm/arm/display/komeda/komeda_crtc.c
>> +++ b/drivers/gpu/drm/arm/display/komeda/komeda_crtc.c
>> @@ -13,6 +13,8 @@
>> #include <drm/drm_crtc_helper.h>
>
> ... this line is different in my tree. It looks like your tree is missing
> commit e3b63718827880 ("drm/arm/komeda: Remove unnecessary include
> statements for drm_crtc_helper.h"), which has been applied in early January.
>
Right. Let me rebase to drm-misc-next and send another version.
Thanks,
Faiz
prev parent reply other threads:[~2023-07-12 6:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-04 16:34 Faiz Abbas
2023-07-05 17:14 ` Liviu Dudau
2023-07-12 6:44 ` Mohammad Faiz Abbas Rizvi [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a6f6731b-9478-b91d-f4ce-aa018fb44d7b@arm.com \
--to=faiz.abbas@arm.com \
--cc=airlied@gmail.com \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=liviu.dudau@arm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®