Re: rk3399: Graphical artifacts when running for-next

Jonas Karlman
2019-02-21T20:29:25Z

On 2019-02-21 20:42, Robert Foss wrote:
>
> On 2/21/19 8:15 PM, Ezequiel Garcia wrote:
>> Folks,
>>
>> On Thu, 2019-02-21 at 20:08 +0100, Robert Foss wrote:
>> [..]
>>
>> The clock debugging is obviously good research.
>>
>>>>
>>>> Additionally I've had a look at the libdrm modetest util, and it is reporting
>>>> far fewer modes than what I would expect on my 4k monitor.
>>>>
>> That said, this is also worth looking into.
>> I'm curious, is the EDID the kernel getting OK?
>>
> Given that modetest lists way too few modes, I would think
> there could be some EDID related issues.

It is more likely the issue is in dw_hdmi_rockchip_mode_valid(), it currently filters out
any mode not defined in rockchip_mpll_cfg.
That method needs some changes to allow for 4k modes and fractal refresh rates.
E.g. for RK3328 it should probably check the inno-hdmi-phy clock rates.

Best regards,
Jonas

>
>> Thanks!
>> Eze
>>
> _______________________________________________
> Linux-rockchip mailing list
> Linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
> http://lists.infradead.org/mailman/listinfo/linux-rockchip