]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
drm/i915: Parse DSI backlight/cabc ports.
authorMadhav Chauhan <madhav.chauhan@intel.com>
Fri, 13 Oct 2017 12:44:59 +0000 (18:14 +0530)
committerJani Nikula <jani.nikula@intel.com>
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 <jani.nikula@intel.com>
Signed-off-by: Madhav Chauhan <madhav.chauhan@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1507898700-20016-1-git-send-email-madhav.chauhan@intel.com
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_bios.c