Hi,

I don't know if we're locked but I'd like to point out that in NetBSD's

http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/arm/rockchip/rk_anxdp.c.diff?r1=1.3&r2=1.4&only_with_tag=MAIN

There is this change from 0x3 to 0x2.  I don't know if it'll help me, as I have
a pinephone pro and this driver had to be disabled to boot, to boot the phone.
The phone is at home but i'm doing research without it (I'M currently away 
from home).

If anyone has a rockchip (preferably a pinebook pro or even a pinephone pro)
that uses this driver can you test this for me?  I will get to it next week 
perhaps with the phinephone pro.  Due to thermal issues with the phone I'll 
compile on a rpi 4b before testing this.

In any case:

Index: rkanxdp.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/rkanxdp.c,v
retrieving revision 1.5
diff -u -p -u -r1.5 rkanxdp.c
--- rkanxdp.c   6 Apr 2022 18:59:28 -0000       1.5
+++ rkanxdp.c   16 Apr 2022 18:53:16 -0000
@@ -199,7 +199,7 @@ rkanxdp_ep_activate(void *cookie, struct
        if (crtc == NULL)
                return EINVAL;
 
-       sc->sc_encoder.possible_crtcs = 0x3; /* XXX */
+       sc->sc_encoder.possible_crtcs = 0x2; /* VOPB only */
        drm_encoder_init(crtc->dev, &sc->sc_encoder, &rkanxdp_encoder_funcs,
            DRM_MODE_ENCODER_TMDS, NULL);
        drm_encoder_helper_add(&sc->sc_encoder, &rkanxdp_encoder_helper_funcs);

Best Regards,
-peter

Reply via email to