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

2017-12-15 Thread Maxime Ripard
Hi, On Fri, Dec 15, 2017 at 04:21:50PM +0100, 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 the upper pixelclock limit of > the HDMI > output, so X selects a 4kp60 format at 594 MHz,

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

2017-12-15 Thread Daniel Vetter
On Fri, Dec 15, 2017 at 04:21:50PM +0100, 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 the upper pixelclock limit of > the HDMI > output, so X selects a 4kp60 format at 594 MHz, which

[PATCHv3] drm/sun4i: validate modes for HDMI

2017-12-15 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