add support for AM572x in the DDX
PATCH 1/1 add support for AM572x in the DDX
--- README | 1 + src/omap_driver.c | 3 +++ src/omap_driver.h | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-)
README +1 -0
@@ -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
src/omap_driver.c +3 -0
@@ -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) {
src/omap_driver.h +1 -1
@@ -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)
Signature · 6 lines
2.1.3 _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel
Adding the freedreno ML to the Cc list :-)
-Emil
Quoted 63 lines · Robert Nelson
Signed-off-by Robert Nelson <[email protected]>--- README | 1 + src/omap_driver.c | 3 +++ src/omap_driver.h | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-)README +1
-0@@ -9,6 +9,7 @@ the following chipsets: + OMAP4460 + OMAP5430 + OMAP5432 + + AM572x NOTE: this driver is work in progress.. you probably don't want to trysrc/omap_driver.c +3
-0@@ -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) {src/omap_driver.h +1
-2@@ -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) --2.1.3
Quoted 4 lines
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 1 line · Emil Velikov
Adding the freedreno ML to the Cc list :-)
Sorry Emil,
underneath this is omapdrm + PowerVR, so i should have prefixed it as:
"xf86-video-omap"...
Regards,
Signature · 6 lines
Robert Nelson http://www.rcn-ee.com/ _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 8 lines · Robert Nelson
Quoted 1 line · Emil Velikov
Adding the freedreno ML to the Cc list :-)
Sorry Emil,
underneath this is omapdrm + PowerVR, so i should have prefixed it as:
"xf86-video-omap"...
Hi Robert,
My sleep deprived brain read omap, but registered freedreno. Or perhaps I'm a bit excited about the contributions from the CodeAurora/QCom guys in the latter case, which clouded my judgement :-)
Cheers,
Emil
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 9 lines · Emil Velikov
Quoted 8 lines · Robert Nelson
Quoted 1 line · Emil Velikov
Adding the freedreno ML to the Cc list :-)
Sorry Emil,
underneath this is omapdrm + PowerVR, so i should have prefixed it as:
"xf86-video-omap"...
Quoted 6 lines
Hi Robert,
My sleep deprived brain read omap, but registered freedreno. Or perhaps I'm a bit excited about the contributions from the CodeAurora/QCom guys in the latter case, which clouded my judgement :-)
We are all excited about the CodeAurora/QCom guys contributions. ;) I make sure to point that out daily in my imgtec dealings. ;)
Regards,
Signature · 6 lines
Robert Nelson http://www.rcn-ee.com/ _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 7 lines · Robert Nelson
Quoted 1 line · Emil Velikov
Adding the freedreno ML to the Cc list :-)
Sorry Emil,
underneath this is omapdrm + PowerVR, so i should have prefixed it as:
"xf86-video-omap"...
Hey Robert,
I can update xf86-video-omap.. where there some other patches wanted/desired (has_dmm() iirc?)
BR,
-R
Quoted 5 lines
Regards,
--
Robert Nelson
http://www.rcn-ee.com/
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 6 lines · Rob Clark
Quoted 5 lines · Robert Nelson
Quoted 1 line · Emil Velikov
Adding the freedreno ML to the Cc list :-)
Sorry Emil,
Quoted 7 lines
Quoted 2 lines
underneath this is omapdrm + PowerVR, so i should have prefixed it as:
"xf86-video-omap"...Hey Robert,
I can update xf86-video-omap.. where there some other patches wanted/desired (
has_dmm()iirc?)
Hi Rob,
The version i posted today has the "has_dmm" change merged in, which other then the README update is the only change I made.
static inline Bool has_dmm(OMAPPtr pOMAP)
{
- return pOMAP->chipset >= 0x4430;
+ return pOMAP->chipset >= 0x4430 || pOMAP->chipset == 0x0752;
}
Haven't really heard back from TI about all the other random changes they made to their fork of your xf86-video-omap tree:
http://git.ti.com/gitweb/?p=glsdk/xf86-video-omap.git;a=summary
Regards,
Signature · 6 lines
Robert Nelson http://www.rcn-ee.com/ _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 26 lines · Robert Nelson
Quoted 6 lines · Rob Clark
Quoted 5 lines · Robert Nelson
Quoted 1 line · Emil Velikov
Adding the freedreno ML to the Cc list :-)
Sorry Emil,
Quoted 7 lines
Quoted 2 lines
underneath this is omapdrm + PowerVR, so i should have prefixed it as:
"xf86-video-omap"...Hey Robert,
I can update xf86-video-omap.. where there some other patches wanted/desired (
has_dmm()iirc?)Hi Rob,
The version i posted today has the "
has_dmm" change merged in, which other then the README update is the only change I made.static inline Bool
has_dmm(OMAPPtr pOMAP)
{src/omap_driver.h +1
-1-return pOMAP->chipset >=0x4430 ; +return pOMAP->chipset >=0x4430 || pOMAP->chipset ==0x0752 ; }
Quoted 4 lines
Haven't really heard back from TI about all the other random changes they made to their fork of your xf86-video-omap tree:
http://git.ti.com/gitweb/?p=glsdk/xf86-video-omap.git;a=summary
gotcha, well I've pushed your patch. I don't really have the hw unpacked and setup to test these days, but if someone confirm latest master is good then I suppose I should spin a release tag for distro's to pick up..
BR,
-R
Quoted 5 lines
Regards,
--
Robert Nelson
http://www.rcn-ee.com/
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 4 lines
gotcha, well I've pushed your patch. I don't really have the hw unpacked and setup to test these days, but if someone confirm latest master is good then I suppose I should spin a release tag for distro's to pick up..
Thanks Rob!
I'll test and re-confirm on my x15 alpha board when i'm back in the lab on monday.
Regards,
Signature · 6 lines
Robert Nelson http://www.rcn-ee.com/ _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 9 lines · Robert Nelson
Quoted 4 lines
gotcha, well I've pushed your patch. I don't really have the hw unpacked and setup to test these days, but if someone confirm latest master is good then I suppose I should spin a release tag for distro's to pick up..
Thanks Rob!
I'll test and re-confirm on my x15 alpha board when i'm back in the lab on monday.
I tested xf86-video-omap HEAD on my dra7-evm, and X starts fine now.
Tomi
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel