On Mon, Apr 16, 2018 at 10:52:59AM -0700, Eric Anholt wrote:
> Chris Wilson writes:
>
> > Quoting Jordan Crouse (2018-04-05 23:06:53)
> >> On Thu, Apr 05, 2018 at 04:00:47PM -0600, Jordan Crouse wrote:
> >> > The i915 DRM driver very cleverly used ascii85 encodin
be cleaner for the caller as suggested by Chris Wilson
Signed-off-by: Jordan Crouse
---
drivers/gpu/drm/i915/i915_gpu_error.c | 35 +++-
include/linux/ascii85.h | 39 +++
2 files changed, 43 insertions(+), 31 deletions(-)
create mode 100
On Tue, Nov 20, 2018 at 05:07:29PM +0530, Sharat Masetty wrote:
> The current implementation of ascii85_encode() does not copy the encoded
> buffer 'z' to the output buffer in case the input is zero. This patch
> simply adds this missing piece. This makes it easier to use this
> function to encode
be cleaner for the caller as suggested by Chris Wilson
Signed-off-by: Jordan Crouse
---
drivers/gpu/drm/i915/i915_gpu_error.c | 34 +++
include/linux/ascii85.h | 39 +++
2 files changed, 43 insertions(+), 30 deletions(-)
create mode 100
-> err_puts pointed out by the 01.org bot
v2: Update API to be cleaner for the caller as suggested by Chris Wilson
Reviewed-by: Chris Wilson
Signed-off-by: Jordan Crouse
---
drivers/gpu/drm/i915/i915_gpu_error.c | 34 +++-
include/linux/ascii85.h |
The i915 DRM driver very cleverly used ascii85 encoding for their
GPU state file. Move the encode functions to a general header file to
support other drivers that might be interested in the same
functionality.
Reviewed-by: Chris Wilson
Signed-off-by: Jordan Crouse
drivers/gpu/drm/i915
On Thu, Apr 05, 2018 at 04:00:47PM -0600, Jordan Crouse wrote:
> The i915 DRM driver very cleverly used ascii85 encoding for their
> GPU state file. Move the encode functions to a general header file to
> support other drivers that might be interested in the same
> functionality.
I
then by all means
lets do what feels best.
Suggestions and flames welcome. Coming immediately after will be the drm/msm
stack that uses this in anger.
Jordan Crouse (1):
include: Move ascii85 functions from i915 to linux/ascii85.h
drivers/gpu/drm/i915/i915_gpu_error.c | 24 +---
in
The i915 DRM driver very cleverly used ascii85 encoding for their
GPU state file. Move the encode functions to a general header file to
support other drivers that might be interested in the same
functionality.
Signed-off-by: Jordan Crouse
---
drivers/gpu/drm/i915/i915_gpu_error.c | 24
-off-by: Jordan Crouse
---
drivers/gpu/drm/i915/i915_gpu_error.c | 38 ++
include/linux/ascii85.h | 39 +++
2 files changed, 45 insertions(+), 32 deletions(-)
create mode 100644 include/linux/ascii85.h
diff --git a
10 matches
Mail list logo