diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2015-12-10 20:39:08 (GMT) |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-12-11 08:26:47 (GMT) |
commit | 5ba894064d98547c82a1efd50eba40a92df777a1 (patch) | |
tree | 78259fd1e7c4ca812396479298c8bb64f35c302e /include | |
parent | be8719a610003297c28b140f1ebd4445aef1d613 (diff) | |
download | linux-5ba894064d98547c82a1efd50eba40a92df777a1.tar.xz |
drm: Rename MODE_UNVERIFIED to MODE_STALE
MODE_UNVERIFIED actually means that the mode came from a previous probe,
and if the new probe doesn't produce a matching mode it will get pruned
from the list. Rename the flag to MODE_STALE to better convey the
meaning.
v2: Rebased due to conflicts with Daniel's doc stuff
Cc: Adam Jackson <ajax@redhat.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1449779948-10906-1-git-send-email-ville.syrjala@linux.intel.com
Diffstat (limited to 'include')
-rw-r--r-- | include/drm/drm_modes.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/drm/drm_modes.h b/include/drm/drm_modes.h index 9e6d7a1..d7445cc 100644 --- a/include/drm/drm_modes.h +++ b/include/drm/drm_modes.h @@ -73,7 +73,7 @@ * @MODE_ONE_SIZE: only one resolution is supported * @MODE_NO_REDUCED: monitor doesn't accept reduced blanking * @MODE_NO_STEREO: stereo modes not supported - * @MODE_UNVERIFIED: mode needs to reverified + * @MODE_STALE: mode has become stale * @MODE_BAD: unspecified reason * @MODE_ERROR: error condition * @@ -117,7 +117,7 @@ enum drm_mode_status { MODE_ONE_SIZE, MODE_NO_REDUCED, MODE_NO_STEREO, - MODE_UNVERIFIED = -3, + MODE_STALE = -3, MODE_BAD = -2, MODE_ERROR = -1 }; |