projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce2127c
)
drm/amdgpu/display/dm: handle FBC dc feature parameter
author
Alex Deucher
<
[email protected]
>
Tue, 6 Nov 2018 20:19:49 +0000
(15:19 -0500)
committer
Alex Deucher
<
[email protected]
>
Tue, 6 Nov 2018 21:45:56 +0000
(16:45 -0500)
Set the dc_config properly when the option is enabled.
Reviewed-by: Harry Wentland <
[email protected]
>
Signed-off-by: Alex Deucher <
[email protected]
>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
index 289ddd52cac489d1ad243eba732b72ecc7442957..d3f5cb1795bf87315fd75c981557a6fcd5e3e5aa 100644
(file)
--- a/
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
+++ b/
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
@@
-429,6
+429,9
@@
static int amdgpu_dm_init(struct amdgpu_device *adev)
adev->asic_type < CHIP_RAVEN)
init_data.flags.gpu_vm_support = true;
+ if (amdgpu_dc_feature_mask & DC_FBC_MASK)
+ init_data.flags.fbc_support = true;
+
/* Display Core create. */
adev->dm.dc = dc_create(&init_data);