I had some patches in this area ages ago so I re-visited them, tweaked and
decided to re-post.

First is a clear fix while second is a serious refactor which needs a lot of
scrutiny. Mostly closing in on the desired semantics and thinking whether
changing any of the existing (incosistent) semantics is likely to break any
(hypothetical) scripts used for debugfs configuration. In it probably desirable
in principle since it removes a lot of redundant and somewhat questionable code.

Cc: Harry Wentland <[email protected]>
Cc: Leo Li <[email protected]>
Cc: Timur Kristóf <[email protected]>

Tvrtko Ursulin (2):
  drm/amd/display: Use memdup_user_nul in debugfs code
  drm/amd/display: Simplify debugfs token parsing

 .../amd/display/amdgpu_dm/amdgpu_dm_debugfs.c | 600 ++++--------------
 1 file changed, 130 insertions(+), 470 deletions(-)

-- 
2.55.0

Reply via email to