base827c.c (261fcfa96991d6652b061262c1879cc0bdd1aa3a) base827c.c (53e0a3e70de69dc9f498d26c6b5495b2771ee374)
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

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

58 .lut = base507c_lut,
59 .update = base507c_update,
60};
61
62int
63base827c_new(struct nouveau_drm *drm, int head, s32 oclass,
64 struct nv50_wndw **pwndw)
65{
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

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

58 .lut = base507c_lut,
59 .update = base507c_update,
60};
61
62int
63base827c_new(struct nouveau_drm *drm, int head, s32 oclass,
64 struct nv50_wndw **pwndw)
65{
66 return base507c_new_(&base827c, base507c_format, drm, head, oclass, pwndw);
66 return base507c_new_(&base827c, base507c_format, drm, head, oclass,
67 0x00000002 << (head * 8), pwndw);
67}
68}