public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Arnaud Patard (Rtp) <arnaud.patard@rtp-net.org>
To: u-boot@lists.denx.de
Subject: [PATCH] video: rockchip: Add missing dpcd_write() call to link_train_ce()
Date: Thu, 15 Oct 2020 09:19:02 +0200	[thread overview]
Message-ID: <878sc86jo9.fsf@lechat.rtp-net.org> (raw)
In-Reply-To: <68f74cb8-afcf-b033-e211-363c0f29f206@gmail.com> (Alper Nebi Yasak's message of "Wed, 14 Oct 2020 23:39:40 +0300")

Alper Nebi Yasak <alpernebiyasak@gmail.com> writes:

> On 14/10/2020 22:31, Tom Rini wrote:
>> On Wed, Oct 14, 2020 at 09:58:28PM +0300, Alper Nebi Yasak wrote:
>>> On 14/10/2020 18:24, Tom Rini wrote:
>>>> Ugh.  In so far as anything can be re-licensed, who did it all
>>>> originally?  I suspect coreboot isn't interested in 2.0+ but we can do
>>>> 2.0-only.
>>>
>>> For this patch, coreboot commit b9a7877568cf ("rockchip/*: refactor edp
>>> driver") introduces the related change to src/soc/rockchip/common/edp.c
>>> renamed from .../rk3288/edp.c, which was introduced at coreboot commit
>>> 40f558e8f4f7 ("rockchip: support display").
>> 
>> Right, sorry.  I mean, on the U-Boot side, where did things come from?
>> I wonder how we got a different license text, and perhaps if we
>> shouldn't just re-port the coreboot code over as a clean/clear way to
>> re-license it to GPL-2.0-only.
>
> I'm not sure re-porting is a great idea from the technical perspective.
> I've been reading both drivers to compare them, there are also things in
> U-Boot that're missing from coreboot. Things like DM integration are
> also not there as they're U-Boot specific.
>

I think it would be better to use fixes from the kernel or coreboot (if
license allows it) than copying coreboot blindly. Doing that will
possibly regress support from some systems as I fear that coreboot is
missing some HW support.

tbh, I've not looked at the coreboot code but given most HW vendor
history, it would be not so surprising that only the support for what's
needed on kevin or bob (EDP and CDN DP or HDMI on rk3399) has been added
to coreboot.

I've also seen some uboot sources with rockchip linux drm code
[1]. I've no idea if it's used in practice but this means that people may
even ask "Why merging coreboot code while it's possible to use linux drm
code ?" ...

Arnaud

[1] https://gitlab.collabora.com/nicolas/rockchip-uboot/-/tree/rk3399-roc-pc/drivers/video/drm

  reply	other threads:[~2020-10-15  7:19 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-06 20:39 [PATCH] video: rockchip: Add missing dpcd_write() call to link_train_ce() Alper Nebi Yasak
2020-10-12  3:34 ` Simon Glass
2020-10-13 15:00   ` Alper Nebi Yasak
2020-10-13 15:54     ` Simon Glass
2020-10-14 15:24       ` Tom Rini
2020-10-14 18:58         ` Alper Nebi Yasak
2020-10-14 19:31           ` Tom Rini
2020-10-14 20:39             ` Alper Nebi Yasak
2020-10-15  7:19               ` Arnaud Patard [this message]
2020-10-15 17:13                 ` Alper Nebi Yasak
2020-10-15 18:29               ` Tom Rini
2020-10-30 10:22                 ` Kever Yang
2020-10-14 19:17         ` Simon Glass
2020-10-30 10:17 ` Kever Yang

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=878sc86jo9.fsf@lechat.rtp-net.org \
    --to=arnaud.patard@rtp-net.org \
    --cc=u-boot@lists.denx.de \
    /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