Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 179933
b: refs/heads/master
c: 947bfc8
h: refs/heads/master
i:
  179931: db35be0
v: v3
  • Loading branch information
Alex Deucher authored and Dave Airlie committed Jan 24, 2010
1 parent 423ab0a commit ed98cf9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4eaeca33512b9774c25507b9a9bdcfe3791a5cc5
refs/heads/master: 947bfc83043181e86e3e3134da158e479c9bcc51
8 changes: 6 additions & 2 deletions trunk/drivers/gpu/drm/radeon/atom.c
Original file line number Diff line number Diff line change
Expand Up @@ -1122,8 +1122,6 @@ static void atom_execute_table_locked(struct atom_context *ctx, int index, uint3

SDEBUG(">> execute %04X (len %d, WS %d, PS %d)\n", base, len, ws, ps);

/* reset reg block */
ctx->reg_block = 0;
ectx.ctx = ctx;
ectx.ps_shift = ps / 4;
ectx.start = base;
Expand Down Expand Up @@ -1160,6 +1158,12 @@ static void atom_execute_table_locked(struct atom_context *ctx, int index, uint3
void atom_execute_table(struct atom_context *ctx, int index, uint32_t * params)
{
mutex_lock(&ctx->mutex);
/* reset reg block */
ctx->reg_block = 0;
/* reset fb window */
ctx->fb_base = 0;
/* reset io mode */
ctx->io_mode = ATOM_IO_MM;
atom_execute_table_locked(ctx, index, params);
mutex_unlock(&ctx->mutex);
}
Expand Down

0 comments on commit ed98cf9

Please sign in to comment.