nouveau : nv10 graph move clipping value to per channel init
parent
5d623935c0
commit
e9b604ed3f
|
@ -640,6 +640,10 @@ int nv10_graph_context_create(drm_device_t *dev, int channel) {
|
|||
NV_WRITE_CTX(NV04_PGRAPH_PATTERN_SHAPE, 0x00000000);
|
||||
NV_WRITE_CTX(NV04_PGRAPH_BETA_AND , 0xFFFFFFFF);
|
||||
|
||||
NV_WRITE_CTX(NV03_PGRAPH_ABS_UCLIP_XMIN, 0);
|
||||
NV_WRITE_CTX(NV03_PGRAPH_ABS_UCLIP_YMIN, 0);
|
||||
NV_WRITE_CTX(NV03_PGRAPH_ABS_UCLIP_XMAX, 0x7fff);
|
||||
NV_WRITE_CTX(NV03_PGRAPH_ABS_UCLIP_YMAX, 0x7fff);
|
||||
|
||||
NV_WRITE_CTX(NV03_PGRAPH_XY_LOGIC_MISC0, 0x0001ffff);
|
||||
/* is it really needed ??? */
|
||||
|
@ -692,11 +696,6 @@ int nv10_graph_init(drm_device_t *dev) {
|
|||
NV_WRITE(NV10_PGRAPH_STATE , 0xFFFFFFFF);
|
||||
NV_WRITE(NV04_PGRAPH_FIFO , 0x00000001);
|
||||
|
||||
NV_WRITE(NV03_PGRAPH_ABS_UCLIP_XMIN, 0);
|
||||
NV_WRITE(NV03_PGRAPH_ABS_UCLIP_YMIN, 0);
|
||||
NV_WRITE(NV03_PGRAPH_ABS_UCLIP_XMAX, 0x7fff);
|
||||
NV_WRITE(NV03_PGRAPH_ABS_UCLIP_YMAX, 0x7fff);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue