OpenCloudOS-Kernel/drivers/gpu/drm/amd/display/amdgpu_dm
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
..
Makefile drm/amd/display: Create amdgpu_dm_hdcp 2019-10-03 09:10:58 -05:00
amdgpu_dm.c Merge tag 'amd-drm-fixes-5.13-2021-05-05' of https://gitlab.freedesktop.org/agd5f/linux into drm-next 2021-05-07 12:44:51 +10:00
amdgpu_dm.h drm/amd/display: Add debugfs to repress HPD and HPR_RX IRQs 2021-04-15 16:31:59 -04:00
amdgpu_dm_color.c drm/amd/display/amdgpu_dm/amdgpu_dm_color: Demote a misuse and fix another kernel-doc header 2020-12-01 16:04:45 -05:00
amdgpu_dm_crc.c drm/amd/display: use MST downstream AUX to dump DPRX CRCs 2021-04-09 16:51:35 -04:00
amdgpu_dm_crc.h drm/amd/display: Use PSP TA to read out crc 2021-03-05 15:12:09 -05:00
amdgpu_dm_debugfs.c Merge tag 'amd-drm-fixes-5.13-2021-05-05' of https://gitlab.freedesktop.org/agd5f/linux into drm-next 2021-05-07 12:44:51 +10:00
amdgpu_dm_debugfs.h drm/amd/display: Support crc on specific region 2021-03-05 15:11:47 -05:00
amdgpu_dm_hdcp.c drm/amd/display: Initialize attribute for hdcp_srm sysfs file 2021-05-13 10:46:06 -04:00
amdgpu_dm_hdcp.h drm/amdgpu/display: remove hdcp_srm sysfs on device removal 2021-02-18 16:43:08 -05:00
amdgpu_dm_helpers.c drm/amd/display: add helper for enabling mst stream features 2021-04-20 21:42:53 -04:00
amdgpu_dm_irq.c drm/amd/display: Deallocate IRQ handlers on amdgpu_dm_irq_fini 2021-04-09 16:41:12 -04:00
amdgpu_dm_irq.h
amdgpu_dm_irq_params.h drm/amd/display: Support crc on specific region 2021-03-05 15:11:47 -05:00
amdgpu_dm_mst_types.c drm/amd/display: Fix call to pass bpp in 16ths of a bit 2021-04-20 21:42:20 -04:00
amdgpu_dm_mst_types.h drm/amdgpu/display: create fake mst encoders ahead of time (v4) 2020-07-14 15:11:07 -04:00
amdgpu_dm_pp_smu.c drm/amd/pm: make DAL communicate with SMU through unified interfaces 2021-04-09 16:42:37 -04:00
amdgpu_dm_services.c drm/amd/display: Decouple amdgpu_dm_trace from service 2020-10-26 13:33:59 -04:00
amdgpu_dm_trace.h drm/amd/display: Add refresh rate trace 2021-04-09 16:47:57 -04:00