You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
drm/i915: don't use ->driver_private anymore
Thanks to the to_intel_bo helper, this change is rather trivial. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Acked-by: Eric Anholt <eric@anholt.net> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
committed by
Dave Airlie
parent
c397b9084c
commit
62b8b21515
@@ -747,7 +747,7 @@ struct drm_i915_gem_object {
|
||||
atomic_t pending_flip;
|
||||
};
|
||||
|
||||
#define to_intel_bo(x) ((struct drm_i915_gem_object *) (x)->driver_private)
|
||||
#define to_intel_bo(x) container_of(x, struct drm_i915_gem_object, base)
|
||||
|
||||
/**
|
||||
* Request queue structure.
|
||||
|
||||
Reference in New Issue
Block a user