Removing large chunks of previous developer’s code from OpenChrome DRM

Although it appears from the outside that the development pace of OpenChrome DRM has slowed down considerably over the past few months (i.e., frequency of the code commit into the OpenChrome DRM upstream repository), I have been working on implementing my own implementation of TTM memory allocator since July 2018.  After trying out several implementation ideas, I am hoping the current implementation will work out.  The code has not even been through compilation yet, and even after this, it may not work right away.  I hope to get the TTM memory allocator committed in the next few weeks.

That being said, I was told by the DRM maintainer back in June 2018 that I will need to remove the previous developer, James Simmons, developed unfinished acceleration related code before Linux kernel tree mainlining.  The thing is, I do not really like the code quality of the acceleration related code along with the fact that I want more control of the design of the acceleration related code.  I now plan to throw out all the unfinished acceleration related code.  I am in the process of doing this for the past few days, but due to various interlocking modules of the code present in the OpenChrome DRM, it is taking longer than I hoped.

My plan is to remove all of the unfinished acceleration related code, compile OpenChrome DRM to see if the code is still working fine.  After that, I plan to substitute in my own initialization code and header file.  Then, I plan to integrate my own TTM memory allocator code with OpenChrome DRM.

I will write more when I have something new to report.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s