aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/dce_v8_0.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2015-09-02 08:33:42 -0400
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-09-02 08:33:42 -0400
commite93c28f39375558409329a02a767d5cadfcc4a31 (patch)
tree9f1b4b5ce765b887b6002cded59fc934e6c9c012 /drivers/gpu/drm/amd/amdgpu/dce_v8_0.c
parent85a62bf9d8ef8d533635270ae985281c58e8c974 (diff)
parent6fa2d197936ba0b8936e813d0adecefac160062b (diff)
Merge tag 'drm-intel-next-fixes-2015-09-02' into drm-intel-next-queued
Backmerge -fixes since there's more DDI-E related cleanups on top of the pile of -fixes for skl that just landed for 4.3. Conflicts: drivers/gpu/drm/i915/intel_display.c drivers/gpu/drm/i914/intel_dp.c drivers/gpu/drm/i915/intel_lrc.c Conflicts are all fairly harmless adjacent line stuff. Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
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;