drm/ast: Remove obsolete or unused cursor state
The ast driver's data structures store unused or uncecessary cursor state. Most of the cursor state is already stored elsewhere and can be retrieved when necessary. Remove the obsolete fields and adapt users accordingly. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Acked-by: Gerd Hoffmann <kraxel@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190613073041.29350-4-tzimmermann@suse.de
This commit is contained in:
@@ -101,10 +101,6 @@ struct ast_private {
|
||||
int fb_mtrr;
|
||||
|
||||
struct drm_gem_object *cursor_cache;
|
||||
uint64_t cursor_cache_gpu_addr;
|
||||
/* Acces to this cache is protected by the crtc->mutex of the only crtc
|
||||
* we have. */
|
||||
struct ttm_bo_kmap_obj cache_kmap;
|
||||
int next_cursor;
|
||||
bool support_wide_screen;
|
||||
enum {
|
||||
@@ -236,9 +232,6 @@ struct ast_connector {
|
||||
|
||||
struct ast_crtc {
|
||||
struct drm_crtc base;
|
||||
struct drm_gem_object *cursor_bo;
|
||||
uint64_t cursor_addr;
|
||||
int cursor_width, cursor_height;
|
||||
u8 offset_x, offset_y;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user