Skip to contentSkip to conversation

drm/radeon/kms: fix resume regression for some r5xx laptops

PATCH New Alex Deucher 1 participant 1 message Nov 19, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/radeon/kms: fix resume regression for some r5xx laptops

I had removed this when I switched the atom indirect io methods to use the io bar rather than the mmio bar, but it appears it's still needed.

---
 drivers/gpu/drm/radeon/atom.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/gpu/drm/radeon/atom.c +1 -0
index 8e421f6..05efb5b 100644
@@ -112,6 +112,7 @@ static uint32_t atom_iio_execute(struct atom_context *ctx, int base,
 			base += 3;
 			break;
 		case ATOM_IIO_WRITE:
+			(void)ctx->card->ioreg_read(ctx->card, CU16(base + 1));
 			ctx->card->ioreg_write(ctx->card, CU16(base + 1), temp);
 			base += 3;
 			break;
Signature · 1 line
1.7.1.1