diff options
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/i915/intel_dp.c | 2 | ||||
-rw-r--r-- | drivers/gpu/drm/radeon/r300.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c index 2b914d732076..f4856a510476 100644 --- a/drivers/gpu/drm/i915/intel_dp.c +++ b/drivers/gpu/drm/i915/intel_dp.c | |||
@@ -232,7 +232,7 @@ intel_dp_aux_ch(struct intel_output *intel_output, | |||
232 | for (try = 0; try < 5; try++) { | 232 | for (try = 0; try < 5; try++) { |
233 | /* Load the send data into the aux channel data registers */ | 233 | /* Load the send data into the aux channel data registers */ |
234 | for (i = 0; i < send_bytes; i += 4) { | 234 | for (i = 0; i < send_bytes; i += 4) { |
235 | uint32_t d = pack_aux(send + i, send_bytes - i);; | 235 | uint32_t d = pack_aux(send + i, send_bytes - i); |
236 | 236 | ||
237 | I915_WRITE(ch_data + i, d); | 237 | I915_WRITE(ch_data + i, d); |
238 | } | 238 | } |
diff --git a/drivers/gpu/drm/radeon/r300.c b/drivers/gpu/drm/radeon/r300.c index 051bca6e3a4f..b2f5d32efb0c 100644 --- a/drivers/gpu/drm/radeon/r300.c +++ b/drivers/gpu/drm/radeon/r300.c | |||
@@ -1319,11 +1319,11 @@ static int r300_packet0_check(struct radeon_cs_parser *p, | |||
1319 | case 0x443C: | 1319 | case 0x443C: |
1320 | /* TX_FILTER0_[0-15] */ | 1320 | /* TX_FILTER0_[0-15] */ |
1321 | i = (reg - 0x4400) >> 2; | 1321 | i = (reg - 0x4400) >> 2; |
1322 | tmp = ib_chunk->kdata[idx] & 0x7;; | 1322 | tmp = ib_chunk->kdata[idx] & 0x7; |
1323 | if (tmp == 2 || tmp == 4 || tmp == 6) { | 1323 | if (tmp == 2 || tmp == 4 || tmp == 6) { |
1324 | track->textures[i].roundup_w = false; | 1324 | track->textures[i].roundup_w = false; |
1325 | } | 1325 | } |
1326 | tmp = (ib_chunk->kdata[idx] >> 3) & 0x7;; | 1326 | tmp = (ib_chunk->kdata[idx] >> 3) & 0x7; |
1327 | if (tmp == 2 || tmp == 4 || tmp == 6) { | 1327 | if (tmp == 2 || tmp == 4 || tmp == 6) { |
1328 | track->textures[i].roundup_h = false; | 1328 | track->textures[i].roundup_h = false; |
1329 | } | 1329 | } |