Re: [RFC PATCH 3/5] drm/i915: hdmi: add CEC notifier to intel_hdmi

From: Neil Armstrong
Date: Tue May 15 2018 - 03:29:26 EST


On 15/05/2018 08:34, Hans Verkuil wrote:
> On 05/15/2018 12:40 AM, Neil Armstrong wrote:
>> This patchs adds the cec_notifier feature to the intel_hdmi part
>> of the i915 DRM driver. It uses the HDMI DRM connector name to differentiate
>> between each HDMI ports.
>> The changes will allow the i915 HDMI code to notify EDID and HPD changes
>> to an eventual CEC adapter.
>>
>> Signed-off-by: Neil Armstrong <narmstrong@xxxxxxxxxxxx>
>> ---
>> drivers/gpu/drm/i915/intel_drv.h | 2 ++
>> drivers/gpu/drm/i915/intel_hdmi.c | 10 ++++++++++
>
> The Kconfig also needs to be changed. In the DRM_I915 you need to add:
>
> select CEC_CORE if CEC_NOTIFIER

OK, thanks

>
> Otherwise you'll get problems if the cec driver is a module and i915 is built-in.
>
> Regards,
>
> Hans
>