@@ -5802,6 +5802,8 @@ static int intel_crtc_cursor_set(struct drm_crtc *crtc,
if (old_obj)
intel_crtc_cursor_bo_unref(crtc, old_obj);
+ intel_crtc_update_properties(crtc);
+
return 0;
}
@@ -5814,6 +5816,8 @@ static int intel_crtc_cursor_move(struct drm_crtc *crtc, int x, int y)
intel_crtc_update_cursor(crtc, true);
+ intel_crtc_update_properties(crtc);
+
return 0;
}
@@ -6763,6 +6767,8 @@ static int intel_crtc_page_flip(struct drm_crtc *crtc,
trace_i915_flip_request(intel_crtc->plane, obj);
+ intel_crtc_update_properties(crtc);
+
return 0;
cleanup_pending:
@@ -7490,6 +7496,7 @@ next_encoder:
static int intel_crtc_set_config(struct drm_mode_set *set)
{
struct drm_device *dev;
+ struct drm_crtc *crtc;
struct drm_mode_set save_set;
struct intel_set_config *config;
int ret;
@@ -7563,6 +7570,10 @@ static int intel_crtc_set_config(struct drm_mode_set *set)
intel_set_config_free(config);
+ /* changes in one CRTC can affect the others */
+ list_for_each_entry(crtc, &dev->mode_config.crtc_list, head)
+ intel_crtc_update_properties(crtc);
+
return 0;
fail:
@@ -7574,6 +7585,10 @@ fail:
save_set.x, save_set.y, save_set.fb))
DRM_ERROR("failed to restore config after modeset failure\n");
+ /* changes in one CRTC can affect the others */
+ list_for_each_entry(crtc, &dev->mode_config.crtc_list, head)
+ intel_crtc_update_properties(crtc);
+
out_config:
intel_set_config_free(config);
return ret;