Re: [PATCH] drm/dp: Do not prune the last mode on the connector

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?

-- 
-keith

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux