Commit 10690b8
committed
drm/i915/display: Add intel_fb_bo_framebuffer_fini
Xe needs intel_fb_bo_framebuffer_fini for taking care of unpinning the fb
and taking reference. In i915 this can be empty.
Also move intel_frontbuffer_get to be done after
intel_fb_bo_framebuffer_init to have reasonable sequences:
intel_fb_bo_framebuffer_init
intel_frontbuffer_get
...
intel_frontbuffer_put
intel_fb_bo_framebuffer_fini
v2: Empty function instead of define
Signed-off-by: Jouni Högander <[email protected]>
Reviewed-by: Maarten Lankhorst <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]1 parent 7054b55 commit 10690b8
File tree
3 files changed
+26
-13
lines changed- drivers/gpu/drm/i915/display
3 files changed
+26
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1889 | 1889 | | |
1890 | 1890 | | |
1891 | 1891 | | |
| 1892 | + | |
| 1893 | + | |
1892 | 1894 | | |
1893 | 1895 | | |
1894 | 1896 | | |
| |||
1989 | 1991 | | |
1990 | 1992 | | |
1991 | 1993 | | |
1992 | | - | |
1993 | | - | |
1994 | | - | |
1995 | | - | |
1996 | 1994 | | |
1997 | 1995 | | |
| 1996 | + | |
| 1997 | + | |
| 1998 | + | |
| 1999 | + | |
| 2000 | + | |
1998 | 2001 | | |
| 2002 | + | |
1999 | 2003 | | |
2000 | 2004 | | |
2001 | 2005 | | |
| |||
2004 | 2008 | | |
2005 | 2009 | | |
2006 | 2010 | | |
2007 | | - | |
| 2011 | + | |
2008 | 2012 | | |
2009 | 2013 | | |
2010 | 2014 | | |
| |||
2015 | 2019 | | |
2016 | 2020 | | |
2017 | 2021 | | |
2018 | | - | |
| 2022 | + | |
2019 | 2023 | | |
2020 | 2024 | | |
2021 | 2025 | | |
2022 | 2026 | | |
2023 | 2027 | | |
2024 | 2028 | | |
2025 | 2029 | | |
2026 | | - | |
| 2030 | + | |
2027 | 2031 | | |
2028 | 2032 | | |
2029 | 2033 | | |
| |||
2034 | 2038 | | |
2035 | 2039 | | |
2036 | 2040 | | |
2037 | | - | |
| 2041 | + | |
2038 | 2042 | | |
2039 | 2043 | | |
2040 | 2044 | | |
2041 | 2045 | | |
2042 | 2046 | | |
2043 | 2047 | | |
2044 | 2048 | | |
2045 | | - | |
| 2049 | + | |
2046 | 2050 | | |
2047 | 2051 | | |
2048 | 2052 | | |
| |||
2053 | 2057 | | |
2054 | 2058 | | |
2055 | 2059 | | |
2056 | | - | |
| 2060 | + | |
2057 | 2061 | | |
2058 | 2062 | | |
2059 | 2063 | | |
| |||
2062 | 2066 | | |
2063 | 2067 | | |
2064 | 2068 | | |
2065 | | - | |
| 2069 | + | |
2066 | 2070 | | |
2067 | 2071 | | |
2068 | 2072 | | |
| |||
2071 | 2075 | | |
2072 | 2076 | | |
2073 | 2077 | | |
2074 | | - | |
| 2078 | + | |
2075 | 2079 | | |
2076 | 2080 | | |
2077 | 2081 | | |
| |||
2088 | 2092 | | |
2089 | 2093 | | |
2090 | 2094 | | |
2091 | | - | |
| 2095 | + | |
2092 | 2096 | | |
| 2097 | + | |
| 2098 | + | |
2093 | 2099 | | |
2094 | 2100 | | |
2095 | 2101 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
14 | 19 | | |
15 | 20 | | |
16 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
| |||
0 commit comments