History

Merge tag 'drm-next-5.5-2019-10-09' of git://people.freedesktop.org/~agd5f/linux into drm-next

drm-next-5.5-2019-10-09: amdgpu: - Additional RAS enablement for vega20 - RAS page retirement and bad page storage in EEPROM - No GPU reset with unrecoverable RAS errors - Reserve vram for page tables rather than trying to evict - Fix issues with GPU reset and xgmi hives - DC i2c over aux fixes - Direct submission for clears, PTE/PDE updates - Improvements to help support recoverable GPU page faults - Silence harmless SAD block messages - Clean up code for creating a bo at a fixed location - Initial DC HDCP support - Lots of documentation fixes - GPU reset for renoir - Add IH clockgating support for soc15 asics - Powerplay improvements - DC MST cleanups - Add support for MSI-X - Misc cleanups and bug fixes amdkfd: - Query KFD device info by asic type rather than pci ids - Add navi14 support - Add renoir support - Add navi12 support - gfx10 trap handler improvements - pasid cleanups - Check against device cgroup ttm: - Return -EBUSY with pipelining with no_gpu_wait radeon: - Silence harmless SAD block messages device_cgroup: - Export devcgroup_check_permission Signed-off-by: Dave Airlie <airlied@redhat.com>

Dave Airlie committed 7 years ago

Commit 3275a712 parents 2e79e22 1cd4d9e253 files · +11475 −4202Browse files

Showing the changes to include/linux (1 of 253 files). Show all

Unified · Split

include/linux/device_cgroup.h+4−15
@@ -12,26 +12,15 @@ · 11 unmodified lines
12#define DEVCG_DEV_ALL 4 /* this represents all devices */12#define DEVCG_DEV_ALL 4 /* this represents all devices */
13 13
14#ifdef CONFIG_CGROUP_DEVICE14#ifdef CONFIG_CGROUP_DEVICE
15extern int __devcgroup_check_permission(short type, u32 major, u32 minor,15int devcgroup_check_permission(short type, u32 major, u32 minor,
16 short access);16 short access);
17#else17#else
18static inline int __devcgroup_check_permission(short type, u32 major, u32 minor,18static inline int devcgroup_check_permission(short type, u32 major, u32 minor,
19 short access)19 short access)
20{ return 0; }20{ return 0; }
21#endif21#endif
22 22
23#if defined(CONFIG_CGROUP_DEVICE) || defined(CONFIG_CGROUP_BPF)23#if defined(CONFIG_CGROUP_DEVICE) || defined(CONFIG_CGROUP_BPF)
24static inline int devcgroup_check_permission(short type, u32 major, u32 minor,
25 short access)
26{
27 int rc = BPF_CGROUP_RUN_PROG_DEVICE_CGROUP(type, major, minor, access);
28
29 if (rc)
30 return -EPERM;
31
32 return __devcgroup_check_permission(type, major, minor, access);
33}
34
35static inline int devcgroup_inode_permission(struct inode *inode, int mask)24static inline int devcgroup_inode_permission(struct inode *inode, int mask)
36{25{
37 short type, access = 0;26 short type, access = 0;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t