base827c.c (53e0a3e70de69dc9f498d26c6b5495b2771ee374) base827c.c (119608a7f3f1ef899f1f98d05306340b92834836)
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

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

48 .acquire = base507c_acquire,
49 .release = base507c_release,
50 .sema_set = base507c_sema_set,
51 .sema_clr = base507c_sema_clr,
52 .ntfy_reset = base507c_ntfy_reset,
53 .ntfy_set = base507c_ntfy_set,
54 .ntfy_clr = base507c_ntfy_clr,
55 .ntfy_wait_begun = base507c_ntfy_wait_begun,
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

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

48 .acquire = base507c_acquire,
49 .release = base507c_release,
50 .sema_set = base507c_sema_set,
51 .sema_clr = base507c_sema_clr,
52 .ntfy_reset = base507c_ntfy_reset,
53 .ntfy_set = base507c_ntfy_set,
54 .ntfy_clr = base507c_ntfy_clr,
55 .ntfy_wait_begun = base507c_ntfy_wait_begun,
56 .olut_core = 1,
57 .xlut_set = base507c_xlut_set,
58 .xlut_clr = base507c_xlut_clr,
56 .image_set = base827c_image_set,
57 .image_clr = base507c_image_clr,
59 .image_set = base827c_image_set,
60 .image_clr = base507c_image_clr,
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,
67 0x00000002 << (head * 8), pwndw);
68}
61 .update = base507c_update,
62};
63
64int
65base827c_new(struct nouveau_drm *drm, int head, s32 oclass,
66 struct nv50_wndw **pwndw)
67{
68 return base507c_new_(&base827c, base507c_format, drm, head, oclass,
69 0x00000002 << (head * 8), pwndw);
70}