Let $G$ be a semisimple, simply-connected, complex algebraic group. Fix a Borel subgroup $B$ and let $P$ be a parabolic subgroup properly containing $B$. If $M$ is a $B$-module, then we have the Leray-Serre spectral sequence corresponding to the fibration $P/B\to G/B\to G/P$
$E^{p,q}_2=H^p(G/P, H^q(P/B,M))\implies H^{p+q}(G/B,M)$
The notation $H^•(G/B, M)$ means the sheaf cohomology of the sections of the bundle $G\times_B M\to G/B$ and similarly with $G,B,M$ replaced by another group $G$ with closed subgroup $B$ and $B$-module $M$.
My question is, how can the module on the right be seen as a graded version of the module on the left? What is the filtration?