aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/dce_v8_0.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/dce_v8_0.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/dce_v8_0.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/dce_v8_0.c b/drivers/gpu/drm/amd/amdgpu/dce_v8_0.c
index cc050a329c49..c86911c2ea2a 100644
--- a/drivers/gpu/drm/amd/amdgpu/dce_v8_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/dce_v8_0.c
@@ -770,11 +770,11 @@ static u32 dce_v8_0_line_buffer_adjust(struct amdgpu_device *adev,
770 buffer_alloc = 2; 770 buffer_alloc = 2;
771 } else if (mode->crtc_hdisplay < 4096) { 771 } else if (mode->crtc_hdisplay < 4096) {
772 tmp = 0; 772 tmp = 0;
773 buffer_alloc = (adev->flags & AMDGPU_IS_APU) ? 2 : 4; 773 buffer_alloc = (adev->flags & AMD_IS_APU) ? 2 : 4;
774 } else { 774 } else {
775 DRM_DEBUG_KMS("Mode too big for LB!\n"); 775 DRM_DEBUG_KMS("Mode too big for LB!\n");
776 tmp = 0; 776 tmp = 0;
777 buffer_alloc = (adev->flags & AMDGPU_IS_APU) ? 2 : 4; 777 buffer_alloc = (adev->flags & AMD_IS_APU) ? 2 : 4;
778 } 778 }
779 } else { 779 } else {
780 tmp = 1; 780 tmp = 1;