-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drm/amdkcl: always init drm_device.dev_private
Although v5.5-rc2-1531-ge62bf83aa1bb has removed checking on dev->dev_private, some distro with kernel v5.6+ (such as ubuntu20.04-oem) may still access dev->dev_private In case of accessing dev->dev_private in drm code, init dev->dev_private to amdgpu_device. Wrap this initialization with kcl inline function for easy tracking. This patch is caused by the following patches: f9896ea drm/amdkcl: test whether drm checking on dev->dev_private 82fc7ac drm/amdgpu: Embed drm_device into amdgpu_device (v2) Signed-off-by: Yang Xiong <Yang.Xiong@amd.com> Reviewed-by: Flora Cui <flora.cui@amd.com> Acked-by: Guchun Chen <guchun.chen@amd.com> Change-Id: Ida1c4c10753865c036f21c577a3b552f4e14c2d5
- Loading branch information
Yang Xiong
authored and
Rui Teng
committed
Sep 9, 2020
1 parent
6fae19c
commit 772dce4
Showing
3 changed files
with
20 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters