diff options
author | Zheng Yang <zhengyang@rock-chips.com> | 2017-06-23 10:16:49 +0800 |
---|---|---|
committer | Tao Huang <huangtao@rock-chips.com> | 2017-11-02 15:41:19 +0800 |
commit | eda86cea45cb0d393a2c9dc01747885117015b47 (patch) | |
tree | f236e03a7b7911de1f20e278a26c9018f64849b7 /include/drm | |
parent | eabf439fe6d8046c3015e81296b0447f2ca614df (diff) |
drm: move panel HDR metadata to drm_hdmi_info
The hdr_panel_metadata indicate sink HDR capability,moving
it to drm_hdmi_info is more reasonable.
Change-Id: I0ccd404cfb0ec1e74130b0692de4261ae9a24c8f
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/drm_crtc.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h index ba1a1ba1ed02..75e7abcf5810 100644 --- a/include/drm/drm_crtc.h +++ b/include/drm/drm_crtc.h @@ -189,6 +189,9 @@ struct drm_hdmi_info { /* Colorimerty info from EDID */ u32 colorimetry; + + /* HDR metdata */ + struct hdr_static_metadata hdr_panel_metadata; }; #define DRM_COLOR_FORMAT_RGB444 (1<<0) @@ -990,9 +993,6 @@ struct drm_connector { uint8_t tile_h_loc, tile_v_loc; uint16_t tile_h_size, tile_v_size; - /* HDR metdata */ - struct hdr_static_metadata *hdr_panel_metadata; - struct hdr_static_metadata *hdr_source_metadata; }; /** |