drm: make mode numbers no change by comparing probed modes
authorDave Airlie <airlied@linux.ie>
Mon, 23 Apr 2007 01:42:29 +0000 (11:42 +1000)
committerDave Airlie <airlied@linux.ie>
Mon, 23 Apr 2007 01:42:29 +0000 (11:42 +1000)
commitceb44021ad7755721acc3c0307c54009b666442e
tree15ec54103ff26a46060145b51ad89dfdeb60dc7f
parent0f3c5148f02bd98411095fdc8059207fa17b4a7d
drm: make mode numbers no change by comparing probed modes

The mode list sets all the output modes to UNVERIFIED, then probes a new list,
If a mode is on the new list and not on the old, it adds it to the old,
if a mode is on the new list and old, it just updates the status to the new
mode status.
If a mode is on the old list and not on the new, prune invalid modes should
remove all UNVERIFIED modes
linux-core/drm_crtc.c
linux-core/drm_crtc.h
linux-core/drm_modes.c