-
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: [5.0] Add kcl for upstream DRM VRR properties(v2)
[Why] Some userspace now expects to use vrr_capable and vrr_enabled properties for kernels < 5.0, but the DKMS build only exposes support for the legacy IOCTL for those kernels. [How] Expose the DRM properties for the connector and CRTC. The DRM functions and interface can't really be stubbed directly since they deal with state on the connector and CRTC that aren't available. Tested as passing the igt@kms_vrr tests for 4.16, and for 4.15 with a modified debugfs entry for vrr_range. 4.21 kernel doesn't exist,so it need to replace DRM_VERSION(4, 21,0) with DRM_VERSION(5, 0, 0) Change-Id: I32544ba087c09024738adf8f1297ce580c6aabb3 Cc: Liang, Prike <Prike.Liang@amd.com> Cc: Yin, Tianci (Rico) <Tianci.Yin@amd.com> Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> Tested-by: Flora Cui <flora.cui@amd.com> Reviewed-by: changzhu <Changfeng.Zhu@amd.com>
- Loading branch information
Nicholas Kazlauskas
authored and
changzhu
committed
Mar 14, 2019
1 parent
0c9be1f
commit 4bd9f83
Showing
4 changed files
with
13 additions
and
19 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
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