Age | Commit message (Collapse) | Author |
|
Partially revert "Minor refactoring of pATI->Block0Base computation."
This parially reverts commit 2c8b33b761e4411451aea1eea3a89d629aeea40d.
|
|
|
|
|
|
I can't see how these tests could fail on 32-bit. OTOH they are potentially
problematic with 64-bit PCI addresses.
|
|
- We reset write-combining of the FB when MMIO registers fall in the linear
aperture.
- We set MMIOInLinear in all three aperture mappings since the mapping code
depends on it.
- We map the linear aperture in its entirety for MMIOInLinear also.
This simplifies mapping of HW cursor and the LE aperture on BE archs, as
they always fall in the linear aperture.
- I assumed that BAR[2] is page-aligned (we know it's 4K-aligned for sure).
|
|
We will not be able to handle this when we do mappings for PCI BARs only and
it should be handled with a CPIO driver anyway.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This requires a drm > 1.26 to work
|
|
Cosmetic.
|
|
Factor out to seperate function.
|
|
Move LCD block from atimode.c to atimach64.c .
|
|
|
|
respect that all source planar yuv planes are already dword aligned.
Some attempts to fix up odd widths and odd heights (which are a bit strange
for 4:2:0 formats). They still don't quite work 100% correctly (at the borders)
but neither do they with packed yuv formats.
While here, fix totally broken packed UYVY format by inserting missing break...
Both bugs reported by Felipe Contreras.
|
|
These regs are more useful than just multimedia
|
|
This option allows you to disable the DRI per card. It also
removes the "RN50Force3D" option as it is now covered by this
option. RN50 users should set this to TRUE if they want to force
the DRI on.
|
|
|
|
|
|
Match ATILock - ATIUnlock.
|
|
|
|
Move {Initialize,Close}XVideo from atixv.c to atimach64xv.c .
|
|
Merge ATIXVInitializeAdaptor() in ATIMach64XVInitialiseAdaptor().
|
|
|
|
Merge ATIInitializeAcceleration() in ATIMach64AccelInit().
|
|
Move ATIResizeOffscreenLinear() from atiaccel.c to atimach64xv.c and make it
static. It is only used by XV memory management functions.
|
|
- we require a PCI device (pVideo != NULL)
- map the VGA framebuffer with xf86MapDomainMemory()
|
|
|
|
Fixes a bug where shadowfb would not be enabled by default in the non-accel
case because pATI->PCIInfo is now set after ATIProcessOptions() is called.
|
|
|
|
Allow user to force the DRI on for RN50 chips.
3D is not guaranteed to work on these chips,
however in some cases it does.
fixes bug 9802.
|
|
|
|
|
|
|
|
This will be handled with an option somehow.
|
|
|
|
From README.ati:
Clocks for supported programmable clock generators:
The driver currently supports all programmable clock generators known
to exist on Mach64 adapters.
Clocks for unsupported programmable clock generators:
This case is unlikely to occur, but is documented for the sake of
completeness.
Thus:
- check for (pATI->ProgrammableClock > ATI_CLOCK_FIXED) &&
(pATI->ProgrammableClock < ATI_CLOCK_MAX)
- drop "probe_clocks" option
- pATIHW->ClockUnmap is no longer used
- pATIHW->ClockMap is only used with NewHW.crtc which is always ATI_CRTC_MACH64
and has the identity map, so drop it
- (pATI->ProgrammableClock != ATI_CLOCK_INTERNAL) => (pATI->depth <= 8)
|
|
- (pATI->BankInfo.BankSize = 0) in all cases, cull pATI->BankInfo
- only keep the minimal pATIHW.SetBank interface for save/restore
- clean ATISwap() a little, (NewHW.crtc != ATI_CRTC_VGA)
- (UseSmallApertures == TRUE) <=> pATI->VGAAdapter
|
|
- drop (pATI->OptionLinear == FALSE)
- AcceleratorVideoRAM is always set, i.e. VGAVideoRAM is not used
- pATI->LinearBase is always set
- xf86LinearVidMem() is now checked in atipreinit() for both CPIO and MMIO
|
|
- cull (pATI->NewHW.crtc != ATI_CRTC_MACH64).
|
|
- cull (pATI->Adapter != ATI_ADAPTER_MACH64)
- treat pATI->VGAAdapter as Bool
|
|
- Chip < ATI_CHIP_88800GXC
- Chipset != ATI_CHIPSET_ATI
- Adapter != ATI_ADAPTER_MACH64
- depth < 8
|
|
- Chip < ATI_CHIP_88800GXC
- Chipset != ATI_CHIPSET_ATI
- Adapter != ATI_ADAPTER_MACH64
- depth < 8
atimode.c only:
- NewHW.crtc != ATI_CRTC_MACH64
This allows to drop VGACalculate(), VGAWonderCalculate() cruft early.
|
|
- ChipHasSUBSYS_CNTL
- Coprocessor
- SharedAccelerator
- SharedVGA <=> (VGAAdapter != ATI_ADAPTER_NONE)
|
|
This was not set anyway, because configure.ac would compute ATIMISC_NON_PCI and
then test ATI_AVOID_NON_PCI to set AVOID_NON_PCI...
|
|
This is mainly due to the cards having a different resource 1.
Fixes 6796
|
|
|