[PATCH 3/3] drm/radeon/kms: enable writeback on remaing asics

2010-08-27 Thread Alex Deucher
On Fri, Aug 27, 2010 at 7:15 AM, Joshua Roys wrote: > On Fri, Aug 6, 2010 at 9:37 PM, Alex Deucher wrote: >> +++ b/drivers/gpu/drm/radeon/r300.c >> @@ -1332,6 +1332,12 @@ static int r300_startup(struct radeon_device *rdev) >> ? ? ? ? ? ? ? ?if (r) >> ? ? ? ? ? ? ? ? ? ? ? ?return r; >> ? ? ? ?} >

[PATCH 3/3] drm/radeon/kms: enable writeback on remaing asics

2010-08-27 Thread Alex Deucher
2010/8/27 Michel D?nzer : > On Fre, 2010-08-06 at 21:37 -0400, Alex Deucher wrote: >> This enables writeback for the CP read pointer and >> scratch regs on the remaining radeon asics. > > This doesn't work on my PowerBook. AFAIR the CP writeback isn't reliable > with at least older Apple AGP bridge

Re: [PATCH 3/3] drm/radeon/kms: enable writeback on remaing asics

2010-08-27 Thread Alex Deucher
On Fri, Aug 27, 2010 at 7:15 AM, Joshua Roys wrote: > On Fri, Aug 6, 2010 at 9:37 PM, Alex Deucher wrote: >> +++ b/drivers/gpu/drm/radeon/r300.c >> @@ -1332,6 +1332,12 @@ static int r300_startup(struct radeon_device *rdev) >>                if (r) >>                        return r; >>        } >

Re: [PATCH 3/3] drm/radeon/kms: enable writeback on remaing asics

2010-08-27 Thread Alex Deucher
2010/8/27 Michel Dänzer : > On Fre, 2010-08-06 at 21:37 -0400, Alex Deucher wrote: >> This enables writeback for the CP read pointer and >> scratch regs on the remaining radeon asics. > > This doesn't work on my PowerBook. AFAIR the CP writeback isn't reliable > with at least older Apple AGP bridge

[PATCH 3/3] drm/radeon/kms: enable writeback on remaing asics

2010-08-27 Thread Michel Dänzer
On Fre, 2010-08-06 at 21:37 -0400, Alex Deucher wrote: > This enables writeback for the CP read pointer and > scratch regs on the remaining radeon asics. This doesn't work on my PowerBook. AFAIR the CP writeback isn't reliable with at least older Apple AGP bridges and probably others as well, whi

[PATCH 3/3] drm/radeon/kms: enable writeback on remaing asics

2010-08-27 Thread Joshua Roys
On Fri, Aug 6, 2010 at 9:37 PM, Alex Deucher wrote: > +++ b/drivers/gpu/drm/radeon/r300.c > @@ -1332,6 +1332,12 @@ static int r300_startup(struct radeon_device *rdev) > ? ? ? ? ? ? ? ?if (r) > ? ? ? ? ? ? ? ? ? ? ? ?return r; > ? ? ? ?} > + > + ? ? ? /* allocate wb buffer */ > + ? ? ? radeon_wb_in

Re: [PATCH 3/3] drm/radeon/kms: enable writeback on remaing asics

2010-08-27 Thread Joshua Roys
On Fri, Aug 6, 2010 at 9:37 PM, Alex Deucher wrote: > +++ b/drivers/gpu/drm/radeon/r300.c > @@ -1332,6 +1332,12 @@ static int r300_startup(struct radeon_device *rdev) >                if (r) >                        return r; >        } > + > +       /* allocate wb buffer */ > +       radeon_wb_in

Re: [PATCH 3/3] drm/radeon/kms: enable writeback on remaing asics

2010-08-27 Thread Michel Dänzer
On Fre, 2010-08-06 at 21:37 -0400, Alex Deucher wrote: > This enables writeback for the CP read pointer and > scratch regs on the remaining radeon asics. This doesn't work on my PowerBook. AFAIR the CP writeback isn't reliable with at least older Apple AGP bridges and probably others as well, whi

[PATCH 3/3] drm/radeon/kms: enable writeback on remaing asics

2010-08-06 Thread Alex Deucher
This enables writeback for the CP read pointer and scratch regs on the remaining radeon asics. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/r100.c| 97 +- drivers/gpu/drm/radeon/r300.c| 15 +++-- drivers/gpu/drm/radeon/r420.c|

[PATCH 3/3] drm/radeon/kms: enable writeback on remaing asics

2010-08-06 Thread Alex Deucher
This enables writeback for the CP read pointer and scratch regs on the remaining radeon asics. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/r100.c| 97 +- drivers/gpu/drm/radeon/r300.c| 15 +++-- drivers/gpu/drm/radeon/r420.c|