Re: [PATCH] drm/amd/display: Null check aconnector in event_property_validate

2019-11-25 Thread Liu, Zhan
[AMD Official Use Only - Internal Distribution Only] Reviewed-by: Zhan Liu From: amd-gfx on behalf of Bhawanpreet Lakha Sent: Monday, November 25, 2019 10:40:24 AM To: amd-gfx@lists.freedesktop.org Cc: Lakha, Bhawanpreet Subject: [PATCH] drm/amd/display

Re: [PATCH] drm/amd/display: Null check aconnector in event_property_validate

2019-11-25 Thread Kazlauskas, Nicholas
On 2019-11-25 10:40 a.m., Bhawanpreet Lakha wrote: [Why] previously event_property_validate was only called after we enabled the display. But after "Refactor HDCP to handle multiple displays per link" this function can be called at any time. In certain cases we don't have a aconnector [How]

[PATCH] drm/amd/display: Null check aconnector in event_property_validate

2019-11-25 Thread Bhawanpreet Lakha
[Why] previously event_property_validate was only called after we enabled the display. But after "Refactor HDCP to handle multiple displays per link" this function can be called at any time. In certain cases we don't have a aconnector [How] Null check aconnector and exit early. This is ok because