Commit 80f5ad62 authored by Ville Syrjälä's avatar Ville Syrjälä

drm/i915/sdvo: Fix SDVO colorimetry bit defines

Fix up the SDVO colorimetry bits to match the spec.
Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200108181242.13650-4-ville.syrjala@linux.intel.comReviewed-by: default avatarImre Deak <imre.deak@intel.com>
parent 763fedd6
...@@ -705,10 +705,10 @@ struct intel_sdvo_enhancements_arg { ...@@ -705,10 +705,10 @@ struct intel_sdvo_enhancements_arg {
#define SDVO_CMD_GET_PIXEL_REPLI 0x8c #define SDVO_CMD_GET_PIXEL_REPLI 0x8c
#define SDVO_CMD_GET_COLORIMETRY_CAP 0x8d #define SDVO_CMD_GET_COLORIMETRY_CAP 0x8d
#define SDVO_CMD_SET_COLORIMETRY 0x8e #define SDVO_CMD_SET_COLORIMETRY 0x8e
#define SDVO_COLORIMETRY_RGB256 0x0 #define SDVO_COLORIMETRY_RGB256 (1 << 0)
#define SDVO_COLORIMETRY_RGB220 0x1 #define SDVO_COLORIMETRY_RGB220 (1 << 1)
#define SDVO_COLORIMETRY_YCrCb422 0x3 #define SDVO_COLORIMETRY_YCrCb422 (1 << 2)
#define SDVO_COLORIMETRY_YCrCb444 0x4 #define SDVO_COLORIMETRY_YCrCb444 (1 << 3)
#define SDVO_CMD_GET_COLORIMETRY 0x8f #define SDVO_CMD_GET_COLORIMETRY 0x8f
#define SDVO_CMD_GET_AUDIO_ENCRYPT_PREFER 0x90 #define SDVO_CMD_GET_AUDIO_ENCRYPT_PREFER 0x90
#define SDVO_CMD_SET_AUDIO_STAT 0x91 #define SDVO_CMD_SET_AUDIO_STAT 0x91
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment