linux/drivers/gpu/drm/amd/display
David Ward fe1c97d008 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>
Cc: stable@vger.kernel.org
2021-05-13 10:46:06 -04:00
..
amdgpu_dm drm/amd/display: Initialize attribute for hdcp_srm sysfs file 2021-05-13 10:46:06 -04:00
dc drm/amd/display: 3.2.132 2021-04-20 21:43:32 -04:00
dmub drm/amd/display: [FW Promotion] Release 0.0.62 2021-04-20 21:43:13 -04:00
include drm/amd/display: Use pr_debug in DM to prevent dmesg flooding 2021-04-09 16:49:32 -04:00
modules drm/amd/display: Always poll for rxstatus in authenticate 2021-04-20 21:41:47 -04:00
Kconfig drm/amd/display: Support crc on specific region 2021-03-05 15:11:47 -05:00
Makefile
TODO