drm/i915/opregion: abstract didl and did2 getter and setter
authorJani Nikula <jani.nikula@intel.com>
Thu, 2 Jul 2015 14:43:24 +0000 (17:43 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 6 Jul 2015 09:37:32 +0000 (11:37 +0200)
commitd5cbb22fcd0685944bbac80935b59df83e33e28e
tree7e7e66ccf13f37667d1aac0e2c04ab6409e4f1f8
parentb4fe8156a72da0030f18fd16ce7ded3747f932bb
drm/i915/opregion: abstract didl and did2 getter and setter

Make it easier to handle the extended didl. No functional changes.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_opregion.c