drm: Add support for device_id based detection.
authorLee, Shawn C <shawn.c.lee@intel.com>
Wed, 12 Sep 2018 06:22:49 +0000 (23:22 -0700)
committerJani Nikula <jani.nikula@intel.com>
Wed, 19 Sep 2018 13:43:56 +0000 (16:43 +0300)
commit0b49bbbd9f10dd5bcce126aa99041a44320767f7
tree78351ccdefb5cebfe94d73e0a42b36d1af12e6b9
parent8f44ca223345a7d02e18ed4e70ff95178434e137
drm: Add support for device_id based detection.

DP quirk list just compare sink or branch device's OUI so far.
That means particular vendor's products will be applied specific
change. This change would confirm device_id the same or not.
Then driver can implement some changes for branch/sink device
that really need additional WA.

v2: use sizeof instead of hard coded '6'
v3: add lost commit messages back for version 2
v4: send patch to both intel-gfx and dri-devel

Cc: Jani Nikula <jani.nikula@intel.com>
Cc: Cooper Chiou <cooper.chiou@intel.com>
Cc: Matt Atwood <matthew.s.atwood@intel.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Cc: Clint Taylor <clinton.a.taylor@intel.com>
Tested-by: Clint Taylor <clinton.a.taylor@intel.com>
Signed-off-by: Lee, Shawn C <shawn.c.lee@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1536733371-25004-2-git-send-email-shawn.c.lee@intel.com
drivers/gpu/drm/drm_dp_helper.c