OSDN Git Service

drm/modes: Introduce drm_mode_match()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 8 May 2018 11:09:36 +0000 (16:39 +0530)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Fri, 11 May 2018 06:59:09 +0000 (08:59 +0200)
commitdd7c2626329468c0344a794187b467d34c3640cb
treec53a8487464ebbfef72d803d4cf585be6693409c
parent818c05d8e2679e27800b9ce5bc2b0a89ecd164e8
drm/modes: Introduce drm_mode_match()

Make mode matching less confusing by allowing the caller to specify
which parts of the modes should match via some flags.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Shashank Sharma <shashank.sharma@intel.com>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1525777785-9740-2-git-send-email-ankit.k.nautiyal@intel.com
drivers/gpu/drm/drm_modes.c
include/drm/drm_modes.h