diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-10-09 21:55:33 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-10-18 15:05:07 +0200 |
commit | 53155c0a5949d5cc3bd434d838e5b0c6e0542f9b (patch) | |
tree | 71847f8cfd39ccf953ad305250589485f6dd6615 /include | |
parent | aa5f8021811aede2e40aa715c55fbd87d945a443 (diff) | |
download | linux-53155c0a5949d5cc3bd434d838e5b0c6e0542f9b.tar.bz2 |
drm/i915: check gem bo size when creating framebuffers
It's better to catch such fallout early, and this way we can rely on
the checking done by the drm core on fb->heigh/width at modeset time.
If we ever support planar formats on intel we might want to look into
a common helper to do all this, but for now this is good enough.
v2: Take tiling into account, requested by Ville.
v3: Fix tile height on gen2, spotted by Ville.
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Requested-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions