drm: Remove hdr_metadata_changed

For compatibility with GKI, hdr_metadata_changed should be removed.

Fixes: 2beb3925b7 ("drm: bridge: dw-hdmi: support Dynamic Range and Mastering Infoframe")
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
Change-Id: Ia1981a44507bbd58e5677a9ebfc0053afd228d19
This commit is contained in:
Algea Cao
2020-08-21 11:38:05 +08:00
committed by Tao Huang
parent 38e112d31c
commit 0976d53030
3 changed files with 0 additions and 4 deletions

View File

@@ -1406,7 +1406,6 @@ static int drm_atomic_connector_set_property(struct drm_connector *connector,
val,
sizeof(struct hdr_output_metadata), -1,
&replaced);
state->hdr_metadata_changed |= replaced;
return ret;
} else if (property == config->aspect_ratio_property) {
state->picture_aspect_ratio = val;

View File

@@ -3843,7 +3843,6 @@ __drm_atomic_helper_connector_duplicate_state(struct drm_connector *connector,
if (state->hdr_output_metadata)
drm_property_blob_get(state->hdr_output_metadata);
state->hdr_metadata_changed = false;
/* Don't copy over a writeback job, they are used only once */
state->writeback_job = NULL;
}

View File

@@ -546,8 +546,6 @@ struct drm_connector_state {
struct drm_property_blob *hdr_output_metadata;
struct drm_property_blob *hdr_panel_blob_ptr;
bool hdr_metadata_changed : 1;
};
/**