[Intel-gfx] [PATCH 5/5] drm/i915: debugfs entries for [e]LLC

Ben Widawsky ben at bwidawsk.net
Thu Jul 4 20:46:05 CEST 2013


On Thu, Jul 04, 2013 at 08:43:58PM +0200, Daniel Vetter wrote:
> On Thu, Jul 4, 2013 at 8:40 PM, Ben Widawsky <ben at bwidawsk.net> wrote:
> > On Thu, Jul 04, 2013 at 08:14:41PM +0200, Daniel Vetter wrote:
> >> On Thu, Jul 04, 2013 at 11:02:07AM -0700, Ben Widawsky wrote:
> >> > To make users life a little easier figuring out what they have on their
> >> > system.
> >> >
> >> > Ideally, I'd really like to report LLC size, but it turned out to be a
> >> > bit of a pain. Maybe I'll revisit it in the future.
> >> >
> >> > Signed-off-by: Ben Widawsky <ben at bwidawsk.net>
> >>
> >> I think a getparam for eLLC would be neat, so that usespace can use it to
> >> tune working set sizes.
> >> -Daniel
> >>
> > And I assume drop debugfs?
> 
> Yeah, I guess the DRM_INFO message in dmesg should be good enough
> then. For userspace's convenience we could even look into exposing the
> LLC size with a getparam.
> -Daniel
>

I would like to do this since we have easy access to cpuid. I know Chad
really wants it. If you'll accept the patch, I'll write it.

> --
> Daniel Vetter
> Software Engineer, Intel Corporation
> +41 (0) 79 365 57 48 - http://blog.ffwll.ch

-- 
Ben Widawsky, Intel Open Source Technology Center



More information about the Intel-gfx mailing list