Skip to content

Commit

Permalink
FIXUP: drm/vc4: Add support for margins to fkms
Browse files Browse the repository at this point in the history
  • Loading branch information
pelwell authored and popcornmix committed Apr 27, 2020
1 parent 1850c95 commit a488f72
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions drivers/gpu/drm/vc4/vc4_firmware_kms.c
Original file line number Diff line number Diff line change
Expand Up @@ -264,23 +264,6 @@ static inline struct vc4_crtc *to_vc4_crtc(struct drm_crtc *crtc)
return container_of(crtc, struct vc4_crtc, base);
}

struct vc4_crtc_state {
struct drm_crtc_state base;

struct {
unsigned int left;
unsigned int right;
unsigned int top;
unsigned int bottom;
} margins;
};

static inline struct vc4_crtc_state *
to_vc4_crtc_state(struct drm_crtc_state *crtc_state)
{
return (struct vc4_crtc_state *)crtc_state;
}

struct vc4_fkms_encoder {
struct drm_encoder base;
bool hdmi_monitor;
Expand Down

0 comments on commit a488f72

Please # to comment.