Commit d964985c authored by Shayenne da Luz Moura's avatar Shayenne da Luz Moura Committed by Gerd Hoffmann

drm/qxl: Remove exceding whiteline

Remove extra whiteline to clean the checkpatch.pl check:

CHECK: Please don't use multiple blank lines
Signed-off-by: default avatarShayenne da Luz Moura <shayenneluzmoura@gmail.com>
Link: http://patchwork.freedesktop.org/patch/msgid/5b95e1d4d515d02d01b829ddc5b3ca80af29e2e2.1540579956.git.shayenneluzmoura@gmail.comSigned-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
parent 408799eb
...@@ -369,7 +369,6 @@ void qxl_io_flush_surfaces(struct qxl_device *qdev) ...@@ -369,7 +369,6 @@ void qxl_io_flush_surfaces(struct qxl_device *qdev)
wait_for_io_cmd(qdev, 0, QXL_IO_FLUSH_SURFACES_ASYNC); wait_for_io_cmd(qdev, 0, QXL_IO_FLUSH_SURFACES_ASYNC);
} }
void qxl_io_destroy_primary(struct qxl_device *qdev) void qxl_io_destroy_primary(struct qxl_device *qdev)
{ {
wait_for_io_cmd(qdev, 0, QXL_IO_DESTROY_PRIMARY_ASYNC); wait_for_io_cmd(qdev, 0, QXL_IO_DESTROY_PRIMARY_ASYNC);
......
...@@ -34,7 +34,6 @@ ...@@ -34,7 +34,6 @@
#include "qxl_drv.h" #include "qxl_drv.h"
#include "qxl_object.h" #include "qxl_object.h"
#if defined(CONFIG_DEBUG_FS) #if defined(CONFIG_DEBUG_FS)
static int static int
qxl_debugfs_irq_received(struct seq_file *m, void *data) qxl_debugfs_irq_received(struct seq_file *m, void *data)
......
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#ifndef H_QXL_DEV #ifndef H_QXL_DEV
#define H_QXL_DEV #define H_QXL_DEV
......
...@@ -960,7 +960,6 @@ static struct drm_encoder *qxl_best_encoder(struct drm_connector *connector) ...@@ -960,7 +960,6 @@ static struct drm_encoder *qxl_best_encoder(struct drm_connector *connector)
return &qxl_output->enc; return &qxl_output->enc;
} }
static const struct drm_encoder_helper_funcs qxl_enc_helper_funcs = { static const struct drm_encoder_helper_funcs qxl_enc_helper_funcs = {
}; };
......
...@@ -342,7 +342,6 @@ void qxl_draw_dirty_fb(struct qxl_device *qdev, ...@@ -342,7 +342,6 @@ void qxl_draw_dirty_fb(struct qxl_device *qdev,
if (ret) if (ret)
goto out_release_backoff; goto out_release_backoff;
ret = qxl_image_init(qdev, release, dimage, surface_base, ret = qxl_image_init(qdev, release, dimage, surface_base,
left, top, width, height, depth, stride); left, top, width, height, depth, stride);
qxl_bo_kunmap(bo); qxl_bo_kunmap(bo);
......
...@@ -23,7 +23,6 @@ ...@@ -23,7 +23,6 @@
* Alon Levy * Alon Levy
*/ */
#ifndef QXL_DRV_H #ifndef QXL_DRV_H
#define QXL_DRV_H #define QXL_DRV_H
...@@ -133,7 +132,6 @@ struct qxl_mman { ...@@ -133,7 +132,6 @@ struct qxl_mman {
struct ttm_bo_device bdev; struct ttm_bo_device bdev;
}; };
struct qxl_memslot { struct qxl_memslot {
uint8_t generation; uint8_t generation;
uint64_t start_phys_addr; uint64_t start_phys_addr;
...@@ -372,7 +370,6 @@ int qxl_mode_dumb_mmap(struct drm_file *filp, ...@@ -372,7 +370,6 @@ int qxl_mode_dumb_mmap(struct drm_file *filp,
struct drm_device *dev, struct drm_device *dev,
uint32_t handle, uint64_t *offset_p); uint32_t handle, uint64_t *offset_p);
/* qxl ttm */ /* qxl ttm */
int qxl_ttm_init(struct qxl_device *qdev); int qxl_ttm_init(struct qxl_device *qdev);
void qxl_ttm_fini(struct qxl_device *qdev); void qxl_ttm_fini(struct qxl_device *qdev);
......
...@@ -285,7 +285,6 @@ int qxl_device_init(struct qxl_device *qdev, ...@@ -285,7 +285,6 @@ int qxl_device_init(struct qxl_device *qdev,
(unsigned long)qdev->surfaceram_base, (unsigned long)qdev->surfaceram_base,
(unsigned long)qdev->surfaceram_size); (unsigned long)qdev->surfaceram_size);
INIT_WORK(&qdev->gc_work, qxl_gc_work); INIT_WORK(&qdev->gc_work, qxl_gc_work);
return 0; return 0;
......
...@@ -74,7 +74,6 @@ void qxl_ttm_placement_from_domain(struct qxl_bo *qbo, u32 domain, bool pinned) ...@@ -74,7 +74,6 @@ void qxl_ttm_placement_from_domain(struct qxl_bo *qbo, u32 domain, bool pinned)
} }
} }
int qxl_bo_create(struct qxl_device *qdev, int qxl_bo_create(struct qxl_device *qdev,
unsigned long size, bool kernel, bool pinned, u32 domain, unsigned long size, bool kernel, bool pinned, u32 domain,
struct qxl_surface *surf, struct qxl_surface *surf,
...@@ -266,7 +265,6 @@ static int __qxl_bo_unpin(struct qxl_bo *bo) ...@@ -266,7 +265,6 @@ static int __qxl_bo_unpin(struct qxl_bo *bo)
return r; return r;
} }
/* /*
* Reserve the BO before pinning the object. If the BO was reserved * Reserve the BO before pinning the object. If the BO was reserved
* beforehand, use the internal version directly __qxl_bo_pin. * beforehand, use the internal version directly __qxl_bo_pin.
......
...@@ -38,7 +38,6 @@ void qxl_gem_prime_unpin(struct drm_gem_object *obj) ...@@ -38,7 +38,6 @@ void qxl_gem_prime_unpin(struct drm_gem_object *obj)
WARN_ONCE(1, "not implemented"); WARN_ONCE(1, "not implemented");
} }
struct sg_table *qxl_gem_prime_get_sg_table(struct drm_gem_object *obj) struct sg_table *qxl_gem_prime_get_sg_table(struct drm_gem_object *obj)
{ {
WARN_ONCE(1, "not implemented"); WARN_ONCE(1, "not implemented");
......
...@@ -282,7 +282,6 @@ void qxl_release_backoff_reserve_list(struct qxl_release *release) ...@@ -282,7 +282,6 @@ void qxl_release_backoff_reserve_list(struct qxl_release *release)
ttm_eu_backoff_reservation(&release->ticket, &release->bos); ttm_eu_backoff_reservation(&release->ticket, &release->bos);
} }
int qxl_alloc_surface_release_reserved(struct qxl_device *qdev, int qxl_alloc_surface_release_reserved(struct qxl_device *qdev,
enum qxl_surface_cmd_type surface_cmd_type, enum qxl_surface_cmd_type surface_cmd_type,
struct qxl_release *create_rel, struct qxl_release *create_rel,
......
...@@ -331,7 +331,6 @@ static int qxl_bo_move(struct ttm_buffer_object *bo, bool evict, ...@@ -331,7 +331,6 @@ static int qxl_bo_move(struct ttm_buffer_object *bo, bool evict,
if (ret) if (ret)
return ret; return ret;
if (old_mem->mem_type == TTM_PL_SYSTEM && bo->ttm == NULL) { if (old_mem->mem_type == TTM_PL_SYSTEM && bo->ttm == NULL) {
qxl_move_null(bo, new_mem); qxl_move_null(bo, new_mem);
return 0; return 0;
...@@ -418,7 +417,6 @@ void qxl_ttm_fini(struct qxl_device *qdev) ...@@ -418,7 +417,6 @@ void qxl_ttm_fini(struct qxl_device *qdev)
DRM_INFO("qxl: ttm finalized\n"); DRM_INFO("qxl: ttm finalized\n");
} }
#define QXL_DEBUGFS_MEM_TYPES 2 #define QXL_DEBUGFS_MEM_TYPES 2
#if defined(CONFIG_DEBUG_FS) #if defined(CONFIG_DEBUG_FS)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment