[PATCH v6 0/3] Send a hotplug when edid changes

2020-06-23 Thread Kunal Joshi
From: Stanislav Lisovskiy This series introduce to drm a way to determine if something else except connection_status had changed during probing, which can be used by other drivers as well. Another i915 specific part uses this approach to determine if edid had changed without changing the connecti

[PATCH v6 1/3] drm: Add helper to compare edids.

2020-06-23 Thread Kunal Joshi
From: Stanislav Lisovskiy Many drivers would benefit from using drm helper to compare edid, rather than bothering with own implementation. v2: Added documentation for this function. Signed-off-by: Stanislav Lisovskiy --- drivers/gpu/drm/drm_edid.c | 33 + inclu

[PATCH v6 3/3] drm/i915: Send hotplug event if edid had changed

2020-06-23 Thread Kunal Joshi
From: Stanislav Lisovskiy Added epoch counter checking to intel_encoder_hotplug in order to be able process all the connector changes, besides connection status. Also now any change in connector would result in epoch counter change, so no multiple checks are needed. v2: Renamed change counter to

[PATCH v6 2/3] drm: Introduce epoch counter to drm_connector

2020-06-23 Thread Kunal Joshi
From: Stanislav Lisovskiy This counter will be used by drm_helper_probe_detect caller to determine if anything had changed(including edid, connection status and etc). Hardware specific driver detect hooks are responsible for updating this counter when some change is detected to notify the drm par