Files
android_kernel_xiaomi_sm8450/drivers/gpu/drm
Leo Li 805ab8f7da drm/amd/display: Fix "dc has no member named dml" compile error
For DCN disabled builds, dc->dml is stripped out. Therefore, guard usage
in dc_create_state() with CONFIG_DRM_AMD_DC_DCN1_0.

It fixes the following error:

drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c: In function 'dc_create_state':
>> drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:1237:34: error: 'struct dc' has no member named 'dml'
     memcpy(&context->bw_ctx.dml, &dc->dml, sizeof(struct display_mode_lib));
                                     ^~

Signed-off-by: Leo Li <sunpeng.li@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-04-03 11:57:14 -05:00
..
2019-01-24 13:20:42 +01:00
2019-01-24 13:20:42 +01:00
2019-01-29 15:45:21 +01:00
2019-01-29 15:45:21 +01:00
2019-01-24 13:20:42 +01:00
2019-03-11 15:40:29 +01:00
2019-03-19 15:04:03 -05:00
2019-01-24 13:20:42 +01:00
2018-11-20 14:56:18 +01:00
2019-01-29 15:45:21 +01:00
2019-02-18 13:27:15 +10:00
2019-02-04 10:21:17 +01:00
2019-01-12 13:07:58 +01:00
2018-11-30 10:57:18 +01:00