mbox series

[0/3] drm/i915: Sanity Check for device memory region

Message ID 20211208153404.27546-1-ramalingam.c@intel.com (mailing list archive)
Headers show
Series drm/i915: Sanity Check for device memory region | expand

Message

Ramalingam C Dec. 8, 2021, 3:34 p.m. UTC
Changes for introducing the quick test on the device memory range and
also a test of detailed validation for each addr of the range with read
and write.

Detailed testing is optionally enabled with a modparam i915.memtest=1

And third patch fixes the driver accessible stolen memory.

v2: Adding a wrapper for the memtest [Chris]
v3: Handling a bisecting issue.

Chris Wilson (3):
  drm/i915: Exclude reserved stolen from driver use
  drm/i915: Sanitycheck device iomem on probe
  drm/i915: Test all device memory on probing

 drivers/gpu/drm/i915/gem/i915_gem_stolen.c |   3 +
 drivers/gpu/drm/i915/i915_params.c         |   3 +
 drivers/gpu/drm/i915/i915_params.h         |   1 +
 drivers/gpu/drm/i915/intel_memory_region.c | 128 +++++++++++++++++++++
 4 files changed, 135 insertions(+)

Comments

Ramalingam C Dec. 14, 2021, 9:45 a.m. UTC | #1
On 2021-12-08 at 21:04:01 +0530, Ramalingam C wrote:
> Changes for introducing the quick test on the device memory range and
> also a test of detailed validation for each addr of the range with read
> and write.
> 
> Detailed testing is optionally enabled with a modparam i915.memtest=1
> 
> And third patch fixes the driver accessible stolen memory.
> 
> v2: Adding a wrapper for the memtest [Chris]
> v3: Handling a bisecting issue.

Thanks for the review. The changes are merged.

Ram.
> 
> Chris Wilson (3):
>   drm/i915: Exclude reserved stolen from driver use
>   drm/i915: Sanitycheck device iomem on probe
>   drm/i915: Test all device memory on probing
> 
>  drivers/gpu/drm/i915/gem/i915_gem_stolen.c |   3 +
>  drivers/gpu/drm/i915/i915_params.c         |   3 +
>  drivers/gpu/drm/i915/i915_params.h         |   1 +
>  drivers/gpu/drm/i915/intel_memory_region.c | 128 +++++++++++++++++++++
>  4 files changed, 135 insertions(+)
> 
> -- 
> 2.20.1
>