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

2020-06-30 Thread Kunal Joshi
From: Stanislav Lisovskiy 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

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

2020-06-30 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

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

2020-06-30 Thread Kunal Joshi
From: Stanislav Lisovskiy 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 w

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

2020-06-30 Thread Kunal Joshi
From: Stanislav Lisovskiy 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 de

Re: [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Send a hotplug when edid changes (rev8)

2020-06-26 Thread Kunal Joshi
On 2020-06-26 at 08:25:24 -0700, Lisovskiy, Stanislav wrote: > Omg, where did those come from?.. > > Joshi Kunal: will you fix or should I do that? > > > Best Regards, > > Lisovskiy Stanislav > > Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo > yes stan floated

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

2020-06-26 Thread Kunal Joshi
From: Stanislav Lisovskiy 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 w

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

2020-06-26 Thread Kunal Joshi
From: Stanislav Lisovskiy 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

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

2020-06-26 Thread Kunal Joshi
From: Stanislav Lisovskiy 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 de

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

2020-06-26 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

[Intel-gfx] [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

[Intel-gfx] [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

[Intel-gfx] [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

[Intel-gfx] [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