curs.c (597473720f4dc69749542bfcfed4a927a43d935e) curs.c (8ef23b6f6a79e6fa2a169081d2d76011fffa0482)
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

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

26int
27nv50_curs_new(struct nouveau_drm *drm, int head, struct nv50_wndw **pwndw)
28{
29 struct {
30 s32 oclass;
31 int version;
32 int (*new)(struct nouveau_drm *, int, s32, struct nv50_wndw **);
33 } curses[] = {
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

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

26int
27nv50_curs_new(struct nouveau_drm *drm, int head, struct nv50_wndw **pwndw)
28{
29 struct {
30 s32 oclass;
31 int version;
32 int (*new)(struct nouveau_drm *, int, s32, struct nv50_wndw **);
33 } curses[] = {
34 { GA102_DISP_CURSOR, 0, cursc37a_new },
34 { TU102_DISP_CURSOR, 0, cursc37a_new },
35 { GV100_DISP_CURSOR, 0, cursc37a_new },
36 { GK104_DISP_CURSOR, 0, curs907a_new },
37 { GF110_DISP_CURSOR, 0, curs907a_new },
38 { GT214_DISP_CURSOR, 0, curs507a_new },
39 { G82_DISP_CURSOR, 0, curs507a_new },
40 { NV50_DISP_CURSOR, 0, curs507a_new },
41 {}

--- 12 unchanged lines hidden ---
35 { TU102_DISP_CURSOR, 0, cursc37a_new },
36 { GV100_DISP_CURSOR, 0, cursc37a_new },
37 { GK104_DISP_CURSOR, 0, curs907a_new },
38 { GF110_DISP_CURSOR, 0, curs907a_new },
39 { GT214_DISP_CURSOR, 0, curs507a_new },
40 { G82_DISP_CURSOR, 0, curs507a_new },
41 { NV50_DISP_CURSOR, 0, curs507a_new },
42 {}

--- 12 unchanged lines hidden ---