mirror of
https://github.com/X11Libre/xf86-video-omap.git
synced 2026-03-23 17:19:17 +00:00
add support for AM572x in the DDX
Signed-off-by: Robert Nelson <robertcnelson@gmail.com> Signed-off-by: Rob Clark <robdclark@gmail.com>
This commit is contained in:
1
README
1
README
@@ -9,6 +9,7 @@ the following chipsets:
|
||||
+ OMAP4460
|
||||
+ OMAP5430
|
||||
+ OMAP5432
|
||||
+ AM572x
|
||||
|
||||
|
||||
NOTE: this driver is work in progress.. you probably don't want to try
|
||||
|
||||
@@ -95,6 +95,7 @@ static SymTabRec OMAPChipsets[] = {
|
||||
/* { 4470, "OMAP4470 with <redacted> ;-)" }, */
|
||||
{ 0x5430, "OMAP5430 with PowerVR SGX544 MP" },
|
||||
{ 0x5432, "OMAP5432 with PowerVR SGX544 MP" },
|
||||
{ 0x0752, "AM572x with PowerVR SGX544 MP" },
|
||||
{-1, NULL }
|
||||
};
|
||||
|
||||
@@ -620,6 +621,7 @@ OMAPPreInit(ScrnInfoPtr pScrn, int flags)
|
||||
case 0x4460:
|
||||
case 0x5430:
|
||||
case 0x5432:
|
||||
case 0x0752:
|
||||
if (xf86LoadSubModule(pScrn, SUB_MODULE_PVR)) {
|
||||
INFO_MSG("Loaded the %s sub-module", SUB_MODULE_PVR);
|
||||
} else {
|
||||
@@ -663,6 +665,7 @@ OMAPAccelInit(ScreenPtr pScreen)
|
||||
case 0x4460:
|
||||
case 0x5430:
|
||||
case 0x5432:
|
||||
case 0x0752:
|
||||
INFO_MSG("Initializing the \"%s\" sub-module ...", SUB_MODULE_PVR);
|
||||
pOMAP->pOMAPEXA = InitPowerVREXA(pScreen, pScrn, pOMAP->drmFD);
|
||||
if (pOMAP->pOMAPEXA) {
|
||||
|
||||
@@ -184,7 +184,7 @@ static inline Bool has_video(OMAPPtr pOMAP)
|
||||
|
||||
static inline Bool has_dmm(OMAPPtr pOMAP)
|
||||
{
|
||||
return pOMAP->chipset >= 0x4430;
|
||||
return pOMAP->chipset >= 0x4430 || pOMAP->chipset == 0x0752;
|
||||
}
|
||||
|
||||
static inline Bool has_rotation(OMAPPtr pOMAP)
|
||||
|
||||
Reference in New Issue
Block a user