aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorSaravana Kannan <[email protected]>2020-02-21 08:05:08 +0000
committerGreg Kroah-Hartman <[email protected]>2020-03-04 12:46:03 +0000
commit21eb93f432b1a785df193df1a56a59e9eb3a985f (patch)
treeb5eb0566c382adca2d60d20ef5973370eab73b78 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentdebugfs: remove return value of debugfs_create_regset32() (diff)
downloadkernel-21eb93f432b1a785df193df1a56a59e9eb3a985f.tar.gz
kernel-21eb93f432b1a785df193df1a56a59e9eb3a985f.zip
driver core: Call sync_state() even if supplier has no consumers
The initial patch that added sync_state() support didn't handle the case where a supplier has no consumers. This was because when a device is successfully bound with a driver, only its suppliers were checked to see if they are eligible to get a sync_state(). This is not sufficient for devices that have no consumers but still need to do device state clean up. So fix this. Fixes: fc5a251d0fd7ca90 (driver core: Add sync_state driver/bus callback) Signed-off-by: Saravana Kannan <[email protected]> Cc: stable <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions