Re: Suspect code in drm_crtc_helper.c

2013-09-15 Thread Daniel Vetter
On Fri, Sep 13, 2013 at 11:03 AM, Giovanni Campagna wrote: > I was reading through the drm code to get an understanding of how it > works, and stumbled upon some really strange code in > drm_crtc_helper_set_config(), where it computes then new encoder for > each connector (drm_crtc_helper.c:705 in

Suspect code in drm_crtc_helper.c

2013-09-15 Thread Giovanni Campagna
Hello all I was reading through the drm code to get an understanding of how it works, and stumbled upon some really strange code in drm_crtc_helper_set_config(), where it computes then new encoder for each connector (drm_crtc_helper.c:705 in linux-next/master, aka f03a594). There is a comment ther