base507c.c (6833d2a0c778252929805fabfdc89e4e181fcb82) base507c.c (66f7b7bddfe60a708c7711e47c95d20db05e2110)
1/*
2 * Copyright 2018 Red Hat Inc.
3 *
4 * Permission is hereby granted, free of charge, to any person obtaining a
5 * copy of this software and associated documentation files (the "Software"),
6 * to deal in the Software without restriction, including without limitation
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 * and/or sell copies of the Software, and to permit persons to whom the

--- 87 unchanged lines hidden (view full) ---

96base507c_xlut_clr(struct nv50_wndw *wndw)
97{
98 struct nvif_push *push = wndw->wndw.push;
99 int ret;
100
101 if ((ret = PUSH_WAIT(push, 2)))
102 return ret;
103
1/*
2 * Copyright 2018 Red Hat Inc.
3 *
4 * Permission is hereby granted, free of charge, to any person obtaining a
5 * copy of this software and associated documentation files (the "Software"),
6 * to deal in the Software without restriction, including without limitation
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 * and/or sell copies of the Software, and to permit persons to whom the

--- 87 unchanged lines hidden (view full) ---

96base507c_xlut_clr(struct nv50_wndw *wndw)
97{
98 struct nvif_push *push = wndw->wndw.push;
99 int ret;
100
101 if ((ret = PUSH_WAIT(push, 2)))
102 return ret;
103
104 PUSH_NVSQ(push, NV507C, 0x00e0, 0x00000000);
104 PUSH_MTHD(push, NV507C, SET_BASE_LUT_LO,
105 NVDEF(NV507C, SET_BASE_LUT_LO, ENABLE, DISABLE));
105 return 0;
106}
107
108int
109base507c_xlut_set(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw)
110{
111 struct nvif_push *push = wndw->wndw.push;
112 int ret;

--- 215 unchanged lines hidden ---
106 return 0;
107}
108
109int
110base507c_xlut_set(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw)
111{
112 struct nvif_push *push = wndw->wndw.push;
113 int ret;

--- 215 unchanged lines hidden ---