drm/i915: Parse DSI backlight/cabc ports.
authorMadhav Chauhan <[email protected]>
Fri, 13 Oct 2017 12:44:59 +0000 (18:14 +0530)
committerJani Nikula <[email protected]>
Fri, 20 Oct 2017 08:28:43 +0000 (11:28 +0300)
commit46e5832014480ba70daf41a80489c0d11d431e08
tree84edfe7a877dcd2d4f89965bbccd616e78df0f4a
parent8bd8181590501bc0bae2b6bd9f38d1371e9413a3
drm/i915: Parse DSI backlight/cabc ports.

This patch parse DSI backlight/cabc ports info from
VBT and save them inside local structure. This saved info
can be directly used while initializing DSI for different
platforms instead of parsing for each platform.

V2: Changes:
    - Typo fix in commit message.
    - Move up newly added port variables (Jani N)
    - Remove redundant initialization (Jani N)
    - Don't parse CABC ports if not supported (Jani N)
V3: Patch restructure (Suggested by Jani N)

Credits-to: Jani Nikula <[email protected]>
Signed-off-by: Madhav Chauhan <[email protected]>
Reviewed-by: Jani Nikula <[email protected]>
Signed-off-by: Jani Nikula <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_bios.c