diff options
author | Katarzyna Dec <katarzyna.dec@intel.com> | 2018-04-11 10:15:01 +0200 |
---|---|---|
committer | Arkadiusz Hiler <arkadiusz.hiler@intel.com> | 2018-04-12 23:56:55 +0300 |
commit | 80e4910581c7310258375a003a5de9a57ed24546 (patch) | |
tree | e0677efbef0605a984dd0ee4a5b35057e25cd39b /lib/media_fill_gen9.c | |
parent | 098b05b21e2935269b477125ef0b7c6729df4cb0 (diff) |
lib: Adjust refactored gpu_fill library to our coding style
While I am making changes in gpgpu and media fill area let's
adjust code to our coding style.
v2: rebased on series new version (patch is now last from
series so change seems larger)
v3: rebased
Signed-off-by: Katarzyna Dec <katarzyna.dec@intel.com>
Cc: Lukasz Kalamarz <lukasz.kalamarz@intel.com>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Reviewed-by: Radoslaw Szwichtenberg <radoslaw.szwichtenberg@intel.com>
Diffstat (limited to 'lib/media_fill_gen9.c')
-rw-r--r-- | lib/media_fill_gen9.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/media_fill_gen9.c b/lib/media_fill_gen9.c index d1335fe6..a9a829f2 100644 --- a/lib/media_fill_gen9.c +++ b/lib/media_fill_gen9.c @@ -47,8 +47,8 @@ static const uint32_t media_kernel[][4] = { void gen9_media_fillfunc(struct intel_batchbuffer *batch, struct igt_buf *dst, - unsigned x, unsigned y, - unsigned width, unsigned height, + unsigned int x, unsigned int y, + unsigned int width, unsigned int height, uint8_t color) { uint32_t curbe_buffer, interface_descriptor; @@ -60,7 +60,8 @@ gen9_media_fillfunc(struct intel_batchbuffer *batch, batch->ptr = &batch->buffer[BATCH_STATE_SPLIT]; curbe_buffer = gen7_fill_curbe_buffer_data(batch, color); - interface_descriptor = gen8_fill_interface_descriptor(batch, dst, media_kernel, sizeof(media_kernel)); + interface_descriptor = gen8_fill_interface_descriptor(batch, dst, + media_kernel, sizeof(media_kernel)); assert(batch->ptr < &batch->buffer[4095]); /* media pipeline */ |