From e537b8f24ced62fd91cceaeaede14da49248782d Mon Sep 17 00:00:00 2001
From: Murai Takashi <tmurai01@gmail.com>
Date: Thu, 5 May 2016 17:11:48 +0900
Subject: [PATCH 18/24] accelerants/radeon: fix gcc6 build
* Reindent source code, to fix gcc6
'-Werror=misleading-indentation' warnings.
---
src/add-ons/accelerants/radeon/Cursor.c | 8 ++++----
src/add-ons/accelerants/radeon/impactv.c | 4 ++--
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/add-ons/accelerants/radeon/Cursor.c b/src/add-ons/accelerants/radeon/Cursor.c
index f4f0bba..0e09752 100644
a
|
b
|
void moveOneCursor( accelerator_info *ai, int crtc_idx, int x, int y )
|
187 | 187 | xorigin = 0; |
188 | 188 | yorigin = 0; |
189 | 189 | |
190 | | if( x < 0 ) |
191 | | xorigin = -x; |
| 190 | if( x < 0 ) |
| 191 | xorigin = -x; |
192 | 192 | |
193 | | if( y < 0 ) |
194 | | yorigin = -y; |
| 193 | if( y < 0 ) |
| 194 | yorigin = -y; |
195 | 195 | |
196 | 196 | if( crtc_idx == 0 ) { |
197 | 197 | OUTREG( ai->regs, RADEON_CUR_HORZ_VERT_OFF, RADEON_CUR_LOCK |
diff --git a/src/add-ons/accelerants/radeon/impactv.c b/src/add-ons/accelerants/radeon/impactv.c
index f2bf208..823ee8d 100644
a
|
b
|
void Radeon_CalcImpacTVRegisters(
|
509 | 509 | (1 << RADEON_TV_CLOCK_SEL_CNTL_BYTCLKD_SHIFT); |
510 | 510 | |
511 | 511 | values->tv_clkout_cntl = 0x09; |
512 | | if( !internal_encoder ) |
513 | | values->tv_clkout_cntl |= 1 << 5; |
| 512 | if( !internal_encoder ) |
| 513 | values->tv_clkout_cntl |= 1 << 5; |
514 | 514 | |
515 | 515 | values->tv_htotal = mode->timing.h_total - 1; |
516 | 516 | values->tv_hsize = mode->timing.h_display; |