Re: [PATCH v3 2/2] drm: add backwards compatibility support for drm_kms_helper.edid_firmware

2017-09-18 Thread Jani Nikula
On Fri, 15 Sep 2017, Ville Syrjälä wrote: > Hmm. Wouldn't you just have to have custom kernel_param_ops and > that's about it? Seems like that could be a bit cleaner. Here's a shot at that. Completely untested, but seems like this should do the trick, and is less complex than I anticipated. BR,

Re: [PATCH v3 2/2] drm: add backwards compatibility support for drm_kms_helper.edid_firmware

2017-09-15 Thread Ville Syrjälä
On Tue, Sep 12, 2017 at 11:19:27AM +0300, Jani Nikula wrote: > If drm_kms_helper.edid_firmware module parameter is set at > drm_kms_helper probe time, update the new drm.edid_firmware parameter > for backwards compatibility. > > The drm_kms_helper.edid_firmware is now read-only in sysfs to prevent

[PATCH v3 2/2] drm: add backwards compatibility support for drm_kms_helper.edid_firmware

2017-09-12 Thread Jani Nikula
If drm_kms_helper.edid_firmware module parameter is set at drm_kms_helper probe time, update the new drm.edid_firmware parameter for backwards compatibility. The drm_kms_helper.edid_firmware is now read-only in sysfs to prevent runtime updates. This is a sort of easy middle ground; adding a full