nv50,nvc0: Remove duplicate logic from nvc0_set_framebuffer_state()
authorEdward O'Callaghan <eocallaghan@alterapraxis.com>
Sun, 14 Feb 2016 21:54:30 +0000 (08:54 +1100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Sun, 14 Feb 2016 22:56:54 +0000 (23:56 +0100)
commit331f963b7e34e292300fb17f86310c76be07d644
tree639d5bd0100114ac13e5c0185771ea8436e10c5c
parentcbf24a01dd3d8170ded0aef310053e0493a62ede
nv50,nvc0: Remove duplicate logic from nvc0_set_framebuffer_state()

We already have this logic in the gallium/util functions so
lets reduce some entropy while here.

V.2:
  Apply change to nv50 also as suggested by Samuel Pitoiset.

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/gallium/drivers/nouveau/nv50/nv50_state.c
src/gallium/drivers/nouveau/nvc0/nvc0_state.c