]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/amd/display: Read resource_straps from registers for DCE12
authorLeo (Sunpeng) Li <sunpeng.li@amd.com>
Wed, 1 Nov 2017 14:24:51 +0000 (10:24 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 2 Nov 2017 17:06:26 +0000 (13:06 -0400)
commit4a74635ce23a4b8758047a733faf791e38032263
treefb8dc36954d9db0f40735f7418a11e17e304846f
parentb7fa8519057319aef8405923dc8fa6782fce969f
drm/amd/display: Read resource_straps from registers for DCE12

Now that the registers exist, assign them to the resource_straps struct.

v2: Fix indentation
v3: Fix trailing whitespace and checkpatch warnings.

bug: https://bugs.freedesktop.org/show_bug.cgi?id=103404
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Leo (Sunpeng) Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce120/dce120_resource.c