drm/radeon/kms/atom: fix shr/shl ops
Subsystems (2)
PATCH 1/1 drm/radeon/kms/atom: fix shr/shl ops
Quoted 1 line
From
049090b0d3417e47f6c9835d6e9d0624b3153eb1Mon Sep 17 00:00:00 2001
From: Alex Deucher <[email protected]>
Date: Tue, 23 Feb 2010 21:56:12 -0500
Subject: [PATCH] drm/radeon/kms/atom: fix shr/shl ops
The whole attribute table is valid for
shr/shl ops.
Fixes fdo bug 26668
--- drivers/gpu/drm/radeon/atom.c | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-)
drivers/gpu/drm/radeon/atom.c +0 -0
@@ -879,8 +879,6 @@ static void atom_op_shl(atom_exec_context *ctx,
int *ptr, int arg)
uint8_t attr = U8((*ptr)++), shift;
uint32_t saved, dst;
int dptr = *ptr;
- attr &= 0x38;
- attr |= atom_def_dst[attr >> 3] << 6;
SDEBUG(" dst: ");
dst = atom_get_dst(ctx, arg, attr, ptr, &saved, 1); shift = atom_get_src(ctx, attr, ptr);
@@ -895,8 +893,6 @@ static void atom_op_shr(atom_exec_context *ctx, int *ptr, int arg)
uint8_t attr = U8((*ptr)++), shift;
uint32_t saved, dst;
int dptr = *ptr;
- attr &= 0x38;
- attr |= atom_def_dst[attr >> 3] << 6;
SDEBUG(" dst: ");
dst = atom_get_dst(ctx, arg, attr, ptr, &saved, 1); shift = atom_get_src(ctx, attr, ptr);
Signature · 1 line
1.5.6.3
From 049090b0d3417e47f6c9835d6e9d0624b3153eb1 Mon Sep 17 00:00:00 2001
From: Alex Deucher <[email protected]>
Date: Tue, 23 Feb 2010 21:56:12 -0500
Subject: [PATCH] drm/radeon/kms/atom: fix shr/shl ops
The whole attribute table is valid for
shr/shl ops.
Fixes fdo bug 26668
--- drivers/gpu/drm/radeon/atom.c | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-)
drivers/gpu/drm/radeon/atom.c +0 -4
@@ -879,8 +879,6 @@ static void atom_op_shl(atom_exec_context *ctx, int *ptr, int arg)uint8_t attr =U8 ((*ptr)++), shift;uint32_t saved, dst;int dptr = *ptr; - attr &=0x38 ; - attr |= atom_def_dst[attr >>3 ] <<6 ;SDEBUG (" dst: " ); dst =atom_get_dst (ctx, arg, attr, ptr, &saved,1 ); shift =atom_get_src (ctx, attr, ptr);
@@ -895,8 +893,6 @@ static void atom_op_shr(atom_exec_context *ctx, int *ptr, int arg)uint8_t attr =U8 ((*ptr)++), shift;uint32_t saved, dst;int dptr = *ptr; - attr &=0x38 ; - attr |= atom_def_dst[attr >>3 ] <<6 ;SDEBUG (" dst: " ); dst =atom_get_dst (ctx, arg, attr, ptr, &saved,1 ); shift =atom_get_src (ctx, attr, ptr);
Signature · 1 line
1.5.6.3
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel