It depends. The main question is whether the public viewing the poster might think it was sponsored or otherwise affiliated with the trademark owner. But, of course, the more famous the mark and wealthy the owner, the more likely that owner is to vigilantly go after suspected infringers. (And note that trademark owners actually do need to go after true infringers or they can lose rights.)
Looking prospectively, however, you'll not only want to consider whether the use would be non-infringing in the final analysis, but whether it's so obviously non-infringing as a matter of law that you could get attorneys fees back if the owner did sue you.
You might like to check out
this article.