diff options
author | Jani Nikula <jani.nikula@intel.com> | 2022-02-18 00:40:20 +0200 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2022-02-21 12:06:06 +0200 |
commit | 8f0991cccec93665dd6ecd88dbefd7db2b28c85e (patch) | |
tree | 6cceb769acdb63139b152008a8fc33a01b03b948 /drivers/gpu/drm/i915/gt/selftests | |
parent | e62f25e8b3cdd29224c27938addba817aedd4b54 (diff) | |
download | linux-8f0991cccec93665dd6ecd88dbefd7db2b28c85e.tar.gz linux-8f0991cccec93665dd6ecd88dbefd7db2b28c85e.tar.bz2 linux-8f0991cccec93665dd6ecd88dbefd7db2b28c85e.zip |
drm/i915/dsi: disassociate VBT video transfer mode from register values
The VBT DSI video transfer mode field values have been defined in terms
of the VLV MIPI_VIDEO_MODE_FORMAT register. The ICL DSI code maps that
to ICL DSI_TRANS_FUNC_CONF() register. The values are the same, though
the shift is different.
Make a clean break and disassociate the values from each other. Assume
the values can be different, and translate the VBT value to VLV and ICL
register values as needed. Use the existing macros from intel_bios.h.
This will be useful in splitting the DSI register macros to files by DSI
implementation.
Cc: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220217224023.3994777-1-jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/gt/selftests')
0 files changed, 0 insertions, 0 deletions