]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915/bios: have get_blocksize() support MIPI sequence block v3+
authorJani Nikula <jani.nikula@intel.com>
Mon, 21 Dec 2015 13:10:55 +0000 (15:10 +0200)
committerJani Nikula <jani.nikula@intel.com>
Tue, 5 Jan 2016 12:58:57 +0000 (14:58 +0200)
commit08c0888b28d75cf4ee9ca0bbe1a2c55ddef87423
tree5be0f0fc3bff80c27c3278661dd717cac96d1341
parent0f8689f5bb569d2ff19f5248b2d3940ad6d35504
drm/i915/bios: have get_blocksize() support MIPI sequence block v3+

Have get_blocksize() support the special case of MIPI sequence block v3+
which has a separate field for size. Provide and use abstractions for
getting the blocksize given a pointer to the block "envelope",
i.e. pointer to the block id, and given a pointer to the block payload
data.

Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/e935bd5e119a83dd91214c47e6cd4f6ce8b2a17e.1450702954.git.jani.nikula@intel.com
drivers/gpu/drm/i915/intel_bios.c