Re: [PATCH v2 09/10] drm/i915/hdcp: migrate away from kdev_to_i915() in GSC messaging

2024-08-09 Thread Gustavo Sousa
Quoting Jani Nikula (2024-08-08 12:15:54-03:00) >Use to_intel_display() instead of kdev_to_i915() in the HDCP component >API hooks. Avoid further drive-by changes at this point, and just >convert the display pointer to i915, and leave the struct intel_display >conversion for later. > >The NULL erro

[PATCH v2 09/10] drm/i915/hdcp: migrate away from kdev_to_i915() in GSC messaging

2024-08-08 Thread Jani Nikula
Use to_intel_display() instead of kdev_to_i915() in the HDCP component API hooks. Avoid further drive-by changes at this point, and just convert the display pointer to i915, and leave the struct intel_display conversion for later. The NULL error checking in the hooks make this a bit cumbersome. I'