I would also agree that conversation with the teacher would be a good idea. DD11 had a similar experience in 3rd grade and it went from your child's behavior to actually disruptive behavior. She would initially entertain herself and then later she would talk with others even if they were not done with their work. Once the work was nothing but review for state testing, she stopped bringing homework home and just tuned out from the entire learning process. All her previous teachers would give her advanced work but for some reason this teacher was reluctant to do it. I have since learned that it's important for DD to stay academically challenged during her school day and finding ways to communicate with teachers to make it happen.
Jen