Lindsay Lohan may have lost out on the chance to play infamous porn star Linda Lovelace, but she's about to star opposite one of the biggest names in adult entertainment.

The perpetually troubled starlet has managed to land another gig amidst new drama involving a crashed Porsche. Controversial author Bret Easton Ellis revealed that Lohan would star opposite porn star James Deen in his new movie "The Canyons."

On June 12, Ellis tweeted, "And I am beyond thrilled that James Deen and Lindsay Lohan will be playing the parts of Christian and Tara in THE CANYONS by BEE."

Ellis also revealed that filming will take place July 9 through 31 in Los Angeles, and expressed his excitement in the project, adding: "Could not have dreamed of a better cast. Lindsay nailed it..."

"The Canyons" is a contemporary thriller that documents "five twenty-somethings' quest for power, love, sex and success in 2012 Hollywood," and will be directed by Paul Schrader, according to the film's Kickstarter page.

Lohan is currently portraying Elizabeth Taylor in the Lifetime biopic "Liz & Dick," and though she would be working with a controversial cast member, more roles in films is what Lohan needs to get her career back on track.

Though Ellis couldn't wait to announce the cast, a source tells E! News, that Lohan is still working out the details and hasn't officially signed on to the film yet. According to the source, Lohan is drawn to the film because of the opportunity to work with Schrader, who wrote classic movies such as "Taxi Driver" and "Raging Bull."

"He's an amazing filmmaker and it's an amazing role for her. She couldn't be happier," said the source, who also addressed the issue of working alongside a known porn star. "If she had a problem with James Deen, she wouldn't have pursued the role."

"The Canyons" will be the first mainstream role for Deen, 25, who was profiled last year in GOOD magazine and featured on "Nightline" because of his fan base, which is predominately made up of teenage girls.

Loading Slideshow...
  • Lindsay Lohan

    Lindsay Lohan attends the 2012 White House Correspondents' Association Dinner held at the Washington Hilton on April 28, 2012 in Washington, DC. This was the 98th annual dinner and was hosted by Jimmy Kimmel. (Photo by Kristoffer Tripplaar-Pool/Getty Images)

  • Lindsay Lohan

    Lindsay Lohan attends the 98th Annual White House Correspondents' Association Dinner at the Washington Hilton on April 28, 2012 in Washington, DC. (Photo by Stephen Lovekin/Getty Images)

  • Lindsay Lohan

    Actress Lindsay Lohan attends day 3 of the 2012 Coachella Valley Music & Arts Festival at the Empire Polo Field on April 15, 2012 in Indio, California. (Photo by Christopher Polk/Getty Images for Coachella)

  • Lindsay Lohan Probation Hearing

    Lindsay Lohan attends her probation hearing with attorney Shawn Chapman Holley (not pictured) at the Airport Courthouse on March 29, 2012 in Los Angeles, California. Judge Stephanie Sautner ended Lohan's formal probation after concluding that she has completed the terms of her sentence for her 2007 DUI conviction and probation violations. Lohan is now on informal probation until May 2014 for her 2011 Venice, California jewelry theft conviction. (Photo by Joe Klamer-Pool/Getty Images)

  • Lindsay Lohan

    Actress Lindsay Lohan attends a probation progress report hearing at Superior Court in Los Angeles, California, March 29, 2012. Los Angeles Superior Court Judge Stephanie Sautner decided to take Lohan off probation from a 2007 drunken driving case. Sautner also decided that Lohan will no longer have to meet with a probation officer or appear in court on her 2011 shoplifting case, as long as she obeys all laws through May 2014. AFP PHOTO / POOL / JOE KLAMAR (Photo credit should read JOE KLAMAR/AFP/Getty Images)

  • Lindsay Lohan

    Actress Lindsay Lohan attends Domingo Zapata's Oscar Art Show Presented by Mr. C Beverly Hills on February 22, 2012 in Beverly Hills, California. (Getty)

  • Lindsay Lohan

    Lindsay Lohan leaves the Airport Courthouse after her probation update hearing on February 22, 2012 in Los Angeles, California. Lohan is currently performing 480 hours of community service at the Los Angeles County Coroner's office and attending court ordered psychotherapy sessions stemming from a 2007 drunk-driving conviction and a jewelry theft conviction earlier this year. (Getty)

  • Lindsay Lohan

  • Lindsay Lohan

  • Lindsay Lohan

  • Lindsay Lohan

  • Lindsay Lohan

  • Lindsay Lohan

  • Lindsay Lohan

  • Lindsay Lohan

  • Lindsay Lohan

  • Lindsay Lohan

  • Lindsay Lohan

  • Lindsay Lohan

  • Lindsay Lohan

  • Lindsay Lohan

  • Lindsay Lohan

  • Lindsay Lohan

  • Lindsay Lohan

  • Lindsay Lohan

  • Lindsay Lohan

  • Lindsay Lohan

  • Lindsay Lohan

  • Lindsay Lohan

  • Lindsay Lohan

  • Lindsay Lohan

  • Lindsay Lohan

  • Ali, Lindsay and Dina Lohan

CORRECTION: A previous version inaccurately stated that Paul Schrader directed "Taxi Driver" and "Raging Bull." While Schrader wrote these pictures, Martin Scorsese directed them. The article has been corrected above.

Also on HuffPost: