mirror_ubuntu-kernels/drivers/gpu/drm/amd/display
David Ward 29b25b7067 drm/amd/display: Initialize attribute for hdcp_srm sysfs file
It is stored in dynamically allocated memory, so sysfs_bin_attr_init() must
be called to initialize it. (Note: "initialization" only sets the .attr.key
member in this struct; it does not change the value of any other members.)

Otherwise, when CONFIG_DEBUG_LOCK_ALLOC=y this message appears during boot:

    BUG: key ffff9248900cd148 has not been registered!

Fixes: 9037246bb2 ("drm/amd/display: Add sysfs interface for set/get srm")
Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1586
Reported-by: Mikhail Gavrilov <mikhail.v.gavrilov@gmail.com>
Signed-off-by: David Ward <david.ward@gatech.edu>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-05-11 09:43:41 -04:00
..
amdgpu_dm drm/amd/display: Initialize attribute for hdcp_srm sysfs file 2021-05-11 09:43:41 -04:00
dc drm/amd/display: remove unused function dc_link_perform_link_training 2021-05-10 18:14:18 -04:00
dmub drm/amd/display: [FW Promotion] Release 0.0.65 2021-05-10 18:11:24 -04:00
include drm/amd/display: minor dp link training refactor 2021-05-10 18:10:42 -04:00
modules drm/amd/display: avoid to authentication when DEVICE_COUNT=0 2021-04-28 23:35:50 -04:00
Kconfig drm/amd/display: Support crc on specific region 2021-03-05 15:11:47 -05:00
Makefile drm/amd/display: Drop CONFIG_DRM_AMD_DC_DMUB guards 2019-11-13 15:29:42 -05:00
TODO