Re: [PATCH] drm/sun4i: validate modes for HDMI

2017-12-08 Thread Hans Verkuil
Please ignore, this patch was on top of my old hack instead of being a proper patch. I'll resend. Hans On 12/08/2017 04:45 PM, Hans Verkuil wrote: > When I connected my cubieboard running 4.15-rc1 to my 4k display I got no > picture. Some > digging found that there is no check against t

[PATCH] drm/sun4i: validate modes for HDMI

2017-12-08 Thread Hans Verkuil
When I connected my cubieboard running 4.15-rc1 to my 4k display I got no picture. Some digging found that there is no check against the upper pixelclock limit of the HDMI output, so X selects a 4kp60 format at 594 MHz, which obviously won't work. The patch below adds a check for the upper bound