On Wed, Sep 27, 2017 at 05:31:56PM -0700, Keith Packard wrote: > Manasi Navare <manasi.d.navare@xxxxxxxxx> writes: > > > This patch fixes this problem by checking if the mode being pruned > > is the last mode on that connector and if so doesnt prune it. > > I think you want to stop pruning when you've gotten to a single mode on > the list, not at the last mode in the list (which may well need to be > pruned). > > This is entirely untested, but perhaps > > + !(list_is_singular(mode_list))) { > > is what you want? > Thanks Keith. Yes thats correct, I got confused by the macro name. But its correct I should use the list_is_singular instead. Manasi > -- > -keith _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx