mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
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:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user